Flash Transformer Accelerator for DRAM and Data Bus Bottlenecks

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional computing systems face bottlenecks in processing large language models (LLMs) due to limited DRAM capacity and slow data transfer from flash memory, leading to performance issues such as sluggish response times and system crashes.

Innovation Solution

A hardware accelerator with a neural computing unit and local memory, capable of parallel computations, offloads LLM operations from the host CPU, utilizing a bytecode execution mechanism that minimizes host intervention and optimizes data transfer.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If the LLM is stored in DRAM for fast access, then the processing speed is improved, but the cost and power consumption increase significantly

Engineering Contradiction:
Improveprocessing speedVSAvoidpower consumption
Core Design Contradiction:
SpeedVSUse of energy by moving object

Solution Approach 1:

The system divides the LLM storage and processing into two segments: frequently accessed model parameters are kept in fast DRAM, while less frequently accessed parameters are stored in slower but higher-density storage. This segmentation allows the system to achieve fast processing for critical operations while reducing overall power consumption and cost by not keeping the entire model in high-power DRAM.

Inventive Principle:
Principle #1Segmentation

2Quantity of substance

If the LLM is stored in Flash memory to reduce cost, then the storage capacity is improved, but the data transfer speed deteriorates

Engineering Contradiction:
Improvestorage capacityVSAvoiddata transfer speed
Core Design Contradiction:
Quantity of substanceVSSpeed

Solution Approach 1:

The system extracts the most frequently accessed model parameters from Flash memory and loads them into DRAM or high-speed cache memory before processing. This extraction strategy allows the system to maintain large storage capacity in Flash while ensuring that critical data is available at high speeds when needed, effectively decoupling total storage capacity from active data transfer speed.

Inventive Principle:
Principle #2Taking out (Extraction)

3Device complexity

If the host processor handles all LLM computations, then the system complexity is reduced, but the productivity deteriorates

Engineering Contradiction:
Improvesystem complexityVSAvoidprocessing throughput
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The system merges the host processor with specialized accelerators (such as GPUs, TPUs, or FPGAs) that are optimized for neural network computations. This merging creates a hybrid processing architecture where the host processor handles high-level control and data preparation, while the accelerators perform computationally intensive matrix multiplications and activations, thereby increasing overall productivity without excessively increasing system complexity.

Inventive Principle:
Principle #5Merging (Combining)

4Speed

If parallel MAC units are added to increase computation speed, then the processing speed is improved, but the device complexity increases

Engineering Contradiction:
Improvecomputation speedVSAvoidhardware complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The system designs parallel MAC units with universal functionality that can perform multiple types of neural network operations (different activation functions, various matrix dimensions, different precision formats) through a single unified architecture. This universality allows the parallel units to handle diverse computational tasks without requiring separate specialized hardware for each operation type, thereby increasing computation speed while controlling the growth of device complexity.

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

Data Source

PatentUS12487937B2Flash based transformer accelerator
Publication Date: 2025.12.02 SEMIBRAIN INC
  • US12487937B2 patent drawing
  • US12487937B2 patent drawing
  • US12487937B2 patent drawing

AI summary

The present invention discloses a hardware computing device comprising a non-transitory computer-readable storage medium configured to store one or more computer-executable instructions; a host processing unit configured to determine whether and how artificial neural network model-based computations should be assigned to a second processing unit; and a hardware accelerator configured to execute one or more artificial neural network computations assigned by the host processing unit, wherein the hardware accelerator sequentially executes instructions in an instruction stream with a single instruction fetch by detecting a successive address of a next instruction.