Sherry: Hardware-Efficient 1.25-Bit Ternary Quantization via Fine-grained Sparsification

Hong Huang, Decheng Wu, Qiangqiang Hu, Guanghua Yu, Jinhai Yang +3 more
1/12/2026
cs.LGcs.AI

Official code: Tencent/AngelSlim (1,627 stars, last commit 2026-04-29).

Abstract

The deployment of Large Language Models (LLMs) on resource-constrained edge devices is increasingly hindered by prohibitive memory and computational requirements. While ternary quantization offers a compelling solution by reducing weights to {-1, 0, +1}, current implementations suffer from a fundamental misalignment with commodity hardware. Most existing methods must choose between 2-bit aligned packing, which incurs significant bit wastage, or 1.67-bit irregular packing, which degrades inference speed. To resolve this tension, we propose Sherry, a hardware-efficient ternary quantization framework. Sherry introduces a 3:4 fine-grained sparsity that achieves a regularized 1.25-bit width by packing blocks of four weights into five bits, restoring power-of-two alignment. Furthermore, we identify weight trapping issue in sparse ternary training, which leads to representational collapse. To address this, Sherry introduces Arenas, an annealing residual synapse mechanism that maintains representational diversity during training. Empirical evaluations on LLaMA-3.2 across five benchmarks demonstrate that Sherry matches state-of-the-art ternary performance while significantly reducing model size. Notably, on an Intel i7-14700HX CPU, our 1B model achieves zero accuracy loss compared to SOTA baselines while providing 25% bit savings and 10% speed up. The code is available at https://github.com/Tencent/AngelSlim .

View on arXivView PDF

Code Implementations(1)

Tencent/AngelSlimOfficial100%

Model compression toolkit engineered for enhanced usability, comprehensiveness, and efficiency.

1,627178Shell, PythonJul 4, 20255 months agoNOASSERTION
audiodeepseekdflashdiffusioneagle+8 more

Similar Papers

Cite this paper

@article{huang2026sherry,
  title  = {Sherry: Hardware-Efficient 1.25-Bit Ternary Quantization via Fine-grained Sparsification},
  author = {Hong Huang and Decheng Wu and Qiangqiang Hu and Guanghua Yu and Jinhai Yang and Jianchen Zhu and Xue Liu and Dapeng Wu},
  year   = {2026},
  eprint = {2601.07892},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.07892v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.07892.svg)](https://codeofpaper.com/paper/2601.07892)

Discussion