BWTA: Accurate and Efficient Binarized Transformer by Algorithm-Hardware Co-design
Not on the map. Why?
Abstract (arXiv)
Ultra low-bit quantization brings substantial efficiency for Transformer-based models, but the accuracy degradation and limited GPU support hinder its wide usage. In this paper, we analyze zero-point distortion in binarization and propose a Binary Weights & Ternary Activations (BWTA) quantization scheme, which projects tiny values to zero and preserves the accuracy of extremely low-bit models. For training, we propose Smooth Multi-Stage Quantization, combining a Levelwise Degradation Strategy and a Magnitude-Alignment Projection Factor to enable stable and fast convergence. For inference, we develop a BWTA MatMul CUDA kernel with instruction-level parallel bit-packing and comprehensive binary/ternary MatMul implementations for both linear and attention operators, allowing seamless integration across Transformer architectures. Experiments show that BWTA approaches full-precision performance for BERT, with an average 3.5% drop on GLUE and less than 2% drop on five tasks, and achieves comparable perplexity and accuracy for LLMs. In efficiency, it delivers 16 to 24 times kernel-level speedup over FP16 on NVIDIA GPUs, and 216 to 330 tokens/s end-to-end prefill speedup with lower memory footprint on LLMs. As an algorithm-hardware co-design, BWTA demonstrates practical, low-latency ultra-low-bit inference without sacrificing model quality.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 19 of its 61 references that are in the map. First posted on arXiv 5 Apr 2026.
Builds on
19 of 61 references.
References · 19
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
- 2019Learned Step Size Quantizationcited by 628
- 2023OmniQuant: Omnidirectionally Calibrated Quantization for Large Language Modelscited by 424
- 2019Analyzing the Structure of Attention in a Transformer Language Modelcited by 243
- 2023BitNet: Scaling 1-bit Transformers for Large Language Modelscited by 189
- 2021PTQ4ViT: Post-training quantization for vision transformers with twin uniform quantizationcited by 179
- 2020TernaryBERT: Distillation-aware Ultra-low Bit BERTcited by 148
- 2024BiLLM: Pushing the Limit of Post-Training Quantization for LLMscited by 144
- 2020Training Binary Neural Networks with Real-to-Binary Convolutionscited by 112
7 more
- 2023PB-LLM: Partially Binarized Large Language Modelscited by 83
- 2022BiBERT: Accurate Fully Binarized BERTcited by 73
- 2021Subformer: Exploring Weight Sharing for Parameter Efficiency in Generative Transformerscited by 43
- 2024DB-LLM: Accurate Dual-Binarization for Efficient LLMscited by 37
- 2024Scalable MatMul-free Language Modelingcited by 25
- 2024SoftmAP: Software-Hardware Co-design for Integer-Only Softmax on Associative Processorscited by 4
- 2024Efficient Approaches for GEMM Acceleration on Leading AI-Optimized FPGAscited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2022BiT: Robustly Binarized Multi-distilled Transformer
- 2023Quantization Variation: A New Perspective on Training Transformers with Low-Bit Precision
- 2024FrameQuant: Flexible Low-Bit Quantization for Transformers
- 2023LLM-FP4: 4-Bit Floating-Point Quantized Transformers
- 2026TR-PTQ: High-Accuracy Integer-Only Transformer Post Training Quantization via Taylor Region Reformulation
- 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantization
- 2025WUSH: Near-Optimal Adaptive Transforms for LLM Quantization
- 2026QuEPT: Quantized Elastic Precision Transformers with One-Shot Calibration for Multi-Bit Switching