BitStopper: An Efficient Transformer Attention Accelerator via Stage-fusion and Early Termination

Huizheng Wang, Hongbin Wang, Shaojun Wei, Yang Hu, Shouyi Yin · DOI

Introduction

Large Language Models (LLMs) have revolutionized natural language processing but remain computationally expensive due to the self-attention mechanism, which scales quadratically with sequence length. To mitigate this, researchers have turned to Dynamic Sparsity (DS), using low-precision "predictors" to identify and skip unimportant tokens before a high-precision "executor" performs the final computation. However, this paper identifies a critical efficiency gap in this decoupled approach.

The Predictor Paradox

The authors highlight a "Predictor Paradox": as sequence lengths grow, the predictor itself becomes a significant bottleneck. Because the predictor must still fetch every "Key" vector from memory to make its assessment, it introduces redundant memory traffic and wasted power.

Power breakdown of diverse attention schemes showing the increasing overhead of the prediction stage as sequence length grows.

As shown in the figure above, the prediction stage can consume up to 82% of total power in long-sequence scenarios (S=4k). BitStopper addresses this by eliminating the separate prediction stage entirely, merging it into the execution process through a technique called Stage-fusion.

Methods: Enabling Stage-Fusion

BitStopper replaces the traditional decoupled predictor-executor model with a unified bit-serial processing pipeline. This allows the hardware to identify sparsity at runtime during the actual computation.

Comparison between current attention sparsity methods (a) and the proposed BitStopper stage-fusion approach (b).

Core Techniques

  1. Bit-serial Enabled Stage Fusion (BESF): Instead of fetching a full 12-bit Key vector, BitStopper fetches data bit-by-bit, starting from the Most Significant Bit (MSB). It calculates partial attention scores incrementally. If a token’s score is determined to be insignificant after just a few bits, the hardware terminates the calculation early, saving both memory bandwidth and compute cycles.
  2. Lightweight Adaptive Token Selection (LATS): To maintain accuracy while pruning, LATS uses a "bit-level uncertainty margin." It calculates the maximum possible score a token could achieve with its remaining bits. If this maximum falls below a dynamic threshold, the token is safely discarded.
  3. Bit-level Asynchronous Processing (BAP): To overcome the latency inherent in bit-serial memory access, BAP allows the hardware to process bit-planes as they arrive out-of-order, ensuring high utilization of the compute units.

Evaluation and Results

The researchers evaluated BitStopper using OPT-1.3B and Llama2-7B models on benchmarks like Wikitext-2 and Dolly. The design was compared against state-of-the-art (SOTA) accelerators including Sanger and SOFA.

  • Performance: BitStopper achieves a 2.03× speedup over Sanger and 1.89× over SOFA.
  • Energy Efficiency: It delivers 2.4× better energy efficiency compared to Sanger, reaching a peak of 11.36 TOPS/W.
  • Memory Savings: DRAM access is reduced by an average of 2.9×.
  • Accuracy: The system maintains model quality within a negligible +0.1 perplexity margin compared to full 12-bit precision.

Conclusion

BitStopper demonstrates that the overhead of dynamic sparsity can be significantly reduced by fusing prediction into execution. By leveraging the "max-oriented" nature of the Softmax function and bit-serial processing, it enables aggressive, fine-grained pruning without the power penalties of traditional predictors. While currently optimized for bit-serial hardware, this approach provides a roadmap for more efficient Transformer acceleration in future specialized silicon.

Summary updated

BibTeX
@inproceedings{wang2026bitstopper,
  author = {Huizheng Wang and Hongbin Wang and Shaojun Wei and Yang Hu and Shouyi Yin},
  title = {{BitStopper: An Efficient Transformer Attention Accelerator via Stage-fusion and Early Termination}},
  booktitle = {ASP-DAC},
  year = {2026},
  doi = {10.1109/asp-dac66049.2026.11420780},
}
Figure