Reconfigurable AI Accelerator Array for Long-Sequence Processing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Self-attention-based transformers face challenges in processing long sequences due to increased computational requirements, making it difficult to model long contexts efficiently.

Innovation Solution

A computing unit with a first operator circuit and a reconfigurable array is designed to perform operations through recursive matrix generation and reconfigurable connections, supporting complex number operations, FFT, and convolution, while minimizing memory usage and optimizing throughput.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If self-attention-based transformers are used to process long sequences, then sequence modeling capability is improved, but computational requirements increase quadratically with sequence length

Engineering Contradiction:
Improvesequence modeling capabilityVSAvoidcomputational requirement
Core Design Contradiction:
Adaptability or versatilityVSPower

Solution Approach 1:

The input sequence is divided into multiple chunks that are processed independently and then combined. The transformer model processes each chunk separately rather than the entire sequence at once, reducing the quadratic computational burden while maintaining the ability to capture long-range dependencies through the chunking strategy and residual connections.

Inventive Principle:
Principle #1Segmentation

2Measurement precision

If memory is allocated to store intermediate results for long sequence processing, then processing accuracy is improved, but memory usage increases

Engineering Contradiction:
Improveprocessing accuracyVSAvoidmemory usage
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The method extracts and processes only the necessary intermediate results from each chunk rather than storing all possible intermediate states. By selectively computing and retaining only the essential information needed for final sequence modeling, memory consumption is reduced while maintaining processing accuracy.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Different memory allocation strategies are applied to different parts of the sequence processing pipeline. Critical intermediate results that impact final accuracy are stored with higher precision, while less critical data uses reduced precision or is computed on-demand, optimizing the trade-off between accuracy and memory usage.

Inventive Principle:
Principle #3Local quality

3Device complexity

If a fixed architecture is used for processing, then device complexity is reduced, but adaptability to different operations (FFT, convolution, complex number operations) is limited

Engineering Contradiction:
Improvearchitecture complexityVSAvoidoperation support capability
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The computing unit is designed with a universal architecture that can perform multiple operations including FFT, convolution, and complex number operations through a single integrated structure. The same hardware components are configured to execute different mathematical operations, eliminating the need for separate dedicated circuits for each function and reducing overall device complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS20250335536A1Artificial intelligence accelerator hardware and operating method thereof
Publication Date: 2025.10.30 SAMSUNG ELECTRONICS CO LTD
  • US20250335536A1 patent drawing
  • US20250335536A1 patent drawing
  • US20250335536A1 patent drawing

AI summary

A computing unit, a hardware accelerator including a computing unit, and a method of operating a computing unit are disclosed. The computing unit includes a first operator circuit configured to generate a matrix used for a first operation with an input chunk through a recursive operation, and a reconfigurable array configured to reconfigure a connection to an input port or an output port to perform the first operation between the matrix and the input chunk and to perform second operations, wherein the second operations are different from the first operation.