Skip to content
Book Open access

Codebook-Based Acceleration for Ternary Language Model Inference

Aug 2026 · International Symposium on Low Power Electronics and Design · 0 citations · 24 references
Computer Science

TL;DR

TERINT-GEMV is designed, a multiplier-free bit-serial accelerator that ingests the 6-bit indices directly through an on-chip lookup table, computing ternary × INT8 dot products with dynamic zero-skipping.

Abstract

Emerging 1.58-bit large language models such as BitNet restrict weights to {-1, 0, +1}, dramatically reducing model size. Yet commodity hardware fails to fully exploit this structure: each ternary value carries only log2 (3) ≈ 1.58 bits of information but must occupy a 2-bit container, wasting 21% of memory bandwidth. Furthermore the lack of native mixed-precision support forces costly runtime dequantization. We present a hardware-software co-design that addresses both inefficiencies. On the software side, we compress ternary weights to 1.5 bits per weight via a 64-entry codebook with 6-bit indices, sacrificing only 5.4% of representational capacity; Vector Quantization aware fine-tuning retains 92.6% of baseline accuracy across six benchmarks. On the hardware side, we design TERINT-GEMV, a multiplier-free bit-serial accelerator that ingests the 6-bit indices directly through an on-chip lookup table, computing ternary × INT8 dot products with dynamic zero-skipping. Synthesized using a 28 nm commercial PDK, TERINT-GEMV achieves 99.44 TOPS/W, outperforming recently published BitNet accelerators by up to 7.2× in energy efficiency, and delivers 0.065 J/token with a 2.1× throughput gain over the leading CPU-based ternary runtime at one fifth the power.

Read PDF

Similar papers

Book Open access Aug 2026

L2Mersit: A Scaling-Free Sub-8-bit Data Format for On-Device Reliable Large Language Model Serving

Experimental results demonstrate that L2Mersit achieves the highest accuracy among all 6-bit exponent-encoded formats while reducing the hardware complexity of auxiliary units for low-precision computing, resulting in a 62.7% area reduction.

M. Kim, Hyeonseong Kim, Ik-Joon Chang et al. · 0 citations
Preprint Aug 2026

Heterogeneity-Aware Microscaling for Efficient Low-Bit LLM Inference

AdaMX (Adaptive Microscaling), a heterogeneity-aware format and accelerator that removes 83% of the MXFP4 accuracy loss on commonsense and 82% on MMLU, and 43% and 27% of the NVFP4 loss across LLMs from 3B to 70B.

Junyi Luo, Xin Jiang, Tai-Hao Wen et al. · 0 citations
Jul 2026

BitNet v2: Low-bit and Sparsified Activations for 1-bit Large Language Models.

This work introduces BitNet v2 a4.8, a hybrid quantization-sparsification architecture designed to mitigate quantization errors arising from outlier activation channels, and proposes a lightweight module that applies an online Hadamard transformation prior to quantization, effectively regularizing activation distributi...

Hongyu Wang, Shuming Ma, F. Wei · 0 citations
Book Open access Jul 2026

Three Birds, One Stone: Fast, Accurate-aware and Cost-Efficient Accelerator for Ternary LLM

T-ACE is presented, a Ternary Accuracy-aware Compute Engine that enables efficient ternary LLM inference under PTQ by jointly designing the data representation and execution pipeline and integrates on-the-fly decoding and scaling directly into the ternary GEMM pipeline.

Wonseok Jung, Junseok Kang, Sangwon Shin et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.