A dataflow architecture is a computer design in which an operation executes as soon as its input data are available, rather than when a program counter reaches the next instruction. The program is expressed as a graph of operations connected by data dependencies, and the hardware moves values along the edges of that graph. In AI hardware, dataflow architecture describes accelerators that map a neural network graph spatially onto the chip and stream tensors between compute units with minimal trips to off-chip memory.
The idea dates back to research machines of the 1970s and 1980s, which struggled with the overhead of matching tokens at fine granularity. Modern AI accelerators revived it at a coarser granularity, where whole tensor operations rather than single instructions form the nodes of the graph, which makes the approach practical for the regular, predictable workloads of deep learning.
How dataflow execution works
Dataflow execution replaces a central instruction stream with data-driven firing rules. A compiler takes the computation graph of a model, partitions it into operators, and assigns each operator to a region of compute units, memory and on-chip network. During execution, each unit fires when its operands arrive and passes results directly to the next unit.
- Graph compilation: the framework graph, for example from PyTorch, is lowered into operators, tiled and scheduled.
- Spatial placement: operators are pinned to physical compute and memory tiles so that consecutive layers sit next to each other.
- On-chip routing: a configurable interconnect carries tensors between tiles without writing them to external memory.
- Pipelined streaming: different layers process different slices of data at the same time, similar to an assembly line.
The central benefit is reduced data movement. Moving a value from external DRAM can cost one to two orders of magnitude more energy than an arithmetic operation on it, so keeping intermediate activations on chip directly improves both throughput and TOPS per watt.
Dataflow compared with other processor architectures
Dataflow architecture sits at one end of a spectrum that runs from instruction-driven to data-driven control. The table compares it with the designs it most often competes against in AI hardware.
| Architecture | Control model | Data movement | Main strength |
|---|---|---|---|
| Von Neumann CPU | Program counter, sequential instructions | Through caches and registers | Flexibility for arbitrary code |
| Data-center GPU | Many threads issuing instructions | Kernel by kernel through HBM | Mature software, broad workloads |
| Systolic array | Fixed rhythmic data pulses | Neighbor to neighbor in a grid | Dense matrix multiplication |
| Coarse-grained dataflow | Operators fire on data arrival | Tile to tile across the chip | Fused pipelines, low memory traffic |
| Fine-grained dataflow | Single instructions fire on tokens | Token matching network | Maximum parallelism, high overhead |
A systolic array is itself a narrow, fixed form of dataflow, usually serving as one building block inside a larger chip. A full dataflow architecture generalizes the principle to the whole model graph, including activations, normalization and data routing between layers.
Spatial versus temporal mapping of neural networks
The defining design choice in a dataflow accelerator is how much of the model is mapped spatially. In temporal mapping, one set of compute units runs layers one after another, as a GPU does with successive kernels. In spatial mapping, different layers occupy different parts of the chip at the same time.
| Strategy | How layers are placed | Benefit | Cost |
|---|---|---|---|
| Fully spatial | Every layer has its own region | No intermediate writes to DRAM | Model must fit on chip or across chips |
| Layer pipelining | Groups of layers in stages | High throughput for streams | Pipeline fill and drain latency |
| Temporal reuse | Same tiles run several layers | Fits larger models | More reconfiguration and memory traffic |
| Hybrid | Spatial within a block, temporal across blocks | Balances capacity and efficiency | Complex compiler scheduling |
Large language models exceed the on-chip memory of any single die, so practical systems combine spatial mapping with high-bandwidth memory or with scaling across many chips. Wafer-scale designs push the spatial approach furthest by giving a model tens of gigabytes of on-wafer SRAM spread across hundreds of thousands of cores.
Where dataflow architecture appears in AI chips
Several AI chip families describe themselves as dataflow or spatial architectures, although the degree of dataflow control varies. The SambaNova RDU uses reconfigurable compute and memory units joined by a programmable switch fabric. The Cerebras Wafer-Scale Engine routes activations across a mesh of cores that react to arriving data. The Graphcore IPU pairs many cores with distributed on-chip memory and compiler-planned exchanges, while the Groq LPU relies on fully static, compiler-determined scheduling.
The common thread is that the compiler carries most of the complexity. Instead of hardware caches and dynamic thread schedulers, these chips depend on software that knows in advance where every tensor will be and when it moves. This determinism enables predictable latency, which is valuable for real-time inference.
Trade-offs, limitations and common mistakes
Dataflow designs deliver their best results on static, regular graphs and lose ground when computation becomes irregular. The table lists typical problems and how teams address them.
| Limitation | Cause | Typical mitigation |
|---|---|---|
| Long compile times | Placement and routing of large graphs | Caching compiled graphs, fixed input shapes |
| Poor fit for dynamic shapes | Static schedules assume known sizes | Padding, bucketing of sequence lengths |
| Capacity limits | On-chip SRAM is finite | Multi-chip pipelines, off-chip HBM tiers |
| Weaker ecosystem | Smaller user base than GPUs | Framework plug-ins and vendor libraries |
| Low utilization at small batch | Pipeline stages sit idle | Batching or stream-level parallelism |
A frequent mistake is to compare dataflow chips with GPUs using peak TOPS alone. Peak numbers ignore the memory wall; a fairer comparison uses sustained throughput on a specific model, energy per token or per inference, and benchmarks such as MLPerf that fix the workload and accuracy target.
The simple explanation
A normal processor works like a cook reading a recipe one line at a time. It does step one, then step two, then step three. A dataflow chip works more like a factory assembly line. Each station starts the moment a part reaches it, then passes the part along.
AI models are a fixed chain of steps repeated millions of times. That suits an assembly line very well. Parts stay on the line instead of going back to a distant warehouse. The result is faster work with less energy, as long as the recipe does not change often.
How it is used in practice
A financial services company runs a fraud-scoring language model that must answer within 50 milliseconds for every card transaction. On its existing GPU servers, latency varies widely because each layer writes activations to memory and kernel launches compete with other workloads, so peak periods push some responses past the limit.
The infrastructure team tests a dataflow accelerator that compiles the fixed model graph once and pins every layer to a dedicated region of the chip. Input sequences are padded to two standard lengths to keep the schedule static. After deployment, latency becomes tightly predictable, staying well under the 50-millisecond target, and the team reports lower energy per inference. The trade-off is a longer compile step whenever the model is retrained, which the team accepts because updates happen monthly.