Jiwen Lu, Xianglong Liu, Jinyang Guo, Yifu Ding, Shenghao Jin
We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Ultra low-bit quantization brings substantial efficiency for Transformer-based models, but the accuracy degradation and limited GPU support hinder its widely usage. In this paper, we analyze the zero-point distortion in binarization and propose Binary Weights & Ternary Activations (BWTA) quantization scheme, which projects the tiny values to zero and maintains 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, fast convergence. For inference, we develop a BWTA MatMul CUDA kernel with Instruction-Level Parallel Bitpack and comprehensive binary/ternary MatMul implementations for linear and attention operators, allowing seamless intergration across Transformer architectures. Experiments show BWTA approaches full-precision performance for BERT (average -3.5% on GLUE with <2% drop on five tasks), and comparable perplexity and accuracy performance for LLMs. For efficiency, it achieves 16-24× kernel-level speedups over FP16 on NVIDIA GPUs, and 216-330 tokens/s end-to-end speedup in prefill with less memory footprint on LLMs. As an algorithm-hardware co-design, BWTA demonstrates practical, low-latency ultra-low-bit inference without sacrificing model quality.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2604.03957")
get_code_for_paper("2604.03957")
have("2604.03957")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2604.03957.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2604.03957)
Connect an agent — have() is free.