Skip to main content
QUICK REVIEW

[Paper Review] From Buffers to Registers: Unlocking Fine-Grained FlashAttention with Hybrid-Bonded 3D NPU Co-Design

Jinxin Yu, Yudong Pan|arXiv (Cornell University)|Feb 11, 2026
Interconnection Networks and SystemsComputer Science0 citations
TL;DR

The paper presents 3D-Flow, a hybrid-bonded 3D-stacked NPU co-design that enables register-to-register dataflow for FlashAttention, achieving bubble-free vertical pipelines and significant energy and speed improvements over 2D/3D baselines.

ABSTRACT

Transformer-based models dominate modern AI workloads but exacerbate memory bottlenecks due to their quadratic attention complexity and ever-growing model sizes. Existing accelerators, such as Groq and Cerebras, mitigate off-chip traffic with large on-chip caches, while algorithmic innovations such as FlashAttention fuse operators to avoid materializing large attention matrices. However, as off-chip traffic decreases, our measurements show that on-chip SRAM accesses account for over 60% of energy in long-sequence workloads, making cache access the new bottleneck. We propose 3D-Flow, a hybrid-bonded, 3D-stacked spatial accelerator that enables register-to-register communication across vertically partitioned PE tiers. Unlike 2D multi-array architectures limited by NoC-based router-to-router transfers, 3D-Flow leverages sub-10 um vertical TSVs to sustain cycle-level operator pipelining with minimal overhead. On top of this architecture, we design 3D-FlashAttention, a fine-grained scheduling method that balances latency across tiers, forming a bubble-free vertical dataflow without on-chip SRAM roundtrips. Evaluations on Transformer workloads (OPT and QWEN models) show that our 3D spatial accelerator reduces 46-93% energy consumption and achieves 1.4x-7.6x speedups compared to state-of-the-art 2D and 3D designs.

Motivation & Objective

  • Demonstrate that on-chip SRAM becomes the new energy bottleneck as off-chip traffic decreases in long-sequence Transformer workloads.
  • Propose 3D-Flow: a hybrid-bonded, 3D-stacked systolic array enabling register-to-register inter-tier communication.
  • Develop 3D-FlashAttention: a fine-grained scheduling strategy that balances latency across vertical tiers to form bubble-free dataflow.
  • Showcase that vertically stacked PEs and in-PE softmax/pipeline enable reductions in on-chip traffic and improve energy efficiency for LLM inference.

Proposed method

  • Introduce 3D-Flow architecture: four-layer, vertically stacked PEs connected with sub-10 μm TSVs via hybrid bonding for register-to-register dataflow.
  • Design PE units per layer tailored to FlashAttention sub-operators (QK^T, max/subtract, exp/RowSum, PV/scaling).
  • Develop 3D-FlashAttention scheduling to map consecutive FlashAttention operators across tiers with latency-balanced dataflow.
  • Implement bubble-free vertical pipeline where intermediate data pass directly through TSVs instead of SRAM round-trips.
  • Evaluate energy and performance with cycle-accurate simulation and RTL-validated 4-layer 3D-Stack, using 16nm process assumptions.
  • Compare against 2D-Unfused, 2D-Fused (FuseMax, FLAT, TileFlow), Dual-SA and 3D-Base baselines on OPT and Qwen models with long sequence lengths.
Figure 1 : Energy breakdown of operator fusion and unfusion with different sequence lengths for OPT.
Figure 1 : Energy breakdown of operator fusion and unfusion with different sequence lengths for OPT.

Experimental results

Research questions

  • RQ1Can 3D integration with hybrid bonding enable cycle-level operator pipelining for FlashAttention without SRAM exchanges?
  • RQ2How much energy and throughput can be gained by mapping FlashAttention sub-operators across vertically stacked PEs with register-to-register communication?
  • RQ3What are the trade-offs in energy, area, and thermal behavior when deploying a 4-layer 3D-Flow stack for Transformer attention workloads?

Key findings

  • Energy consumption is reduced by 46% to 93% compared to 2D baselines and 32.7% to 64.2% on average compared to baselines across sequence lengths from 1K to 64K.
  • Inferences show average speedups of 7.62× vs 2D-Unfused, 1.46× vs 2D-Fused, 2.36× vs Dual-SA, and 1.43× vs 3D-Base.
  • PE utilization averages 87% across tested sequence lengths, driven by minimized memory traffic and well-balanced vertical pipeline.
  • Intermediate results flow directly between vertically stacked PEs via TSVs, eliminating SRAM round-trips and enabling bubble-free execution.
  • Heat/thermal analysis indicates safe operating temperatures for a four-layer stack with reasonable packaging, with internal temperature rise around 2.8°C in a 128×128 PE array.
Figure 2 : Overview of 3D-stacked PE array architecture and the operator mapping of each layer.
Figure 2 : Overview of 3D-stacked PE array architecture and the operator mapping of each layer.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.