Bitnet.cpp: Efficient Edge Inference for Ternary LLMs
Not on the map. Why?
Abstract (arXiv)
The advent of 1-bit large language models (LLMs), led by BitNet b1.58, has spurred interest in ternary LLMs. Despite this, research and practical applications focusing on efficient edge inference for ternary LLMs remain scarce. To bridge this gap, we introduce Bitnet.cpp, an inference system optimized for BitNet b1.58 and ternary LLMs. Given that mixed-precision matrix multiplication (mpGEMM) constitutes the bulk of inference time in ternary LLMs, Bitnet.cpp incorporates a novel mpGEMM library to facilitate sub-2-bits-per-weight, efficient and lossless inference. The library features two core solutions: Ternary Lookup Table (TL), which addresses spatial inefficiencies of previous bit-wise methods, and Int2 with a Scale (I2_S), which ensures lossless edge inference, both enabling high-speed inference. Our experiments show that Bitnet.cpp achieves up to a 6.25x increase in speed over full-precision baselines and up to 2.32x over low-bit baselines, setting new benchmarks in the field. Additionally, we expand TL to element-wise lookup table (ELUT) for low-bit LLMs in the appendix, presenting both theoretical and empirical evidence of its considerable potential. Bitnet.cpp is publicly available at https://github.com/microsoft/BitNet/tree/paper , offering a sophisticated solution for the efficient and practical deployment of edge LLMs.
Key facts. Cited by 22 papers in the map (data through 14 Oct 2026). Builds on 22 of its 34 references that are in the map. First posted on arXiv 17 Feb 2025.
Builds on
22 of 34 references.
References · 22
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,298
- 2023QuIP: 2-Bit Quantization of Large Language Models With Guaranteescited by 414
- 2023SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight Compressioncited by 367
- 2024The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bitscited by 308
- 2023PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPUcited by 217
10 more
- 2022LUT-GEMM: Quantized Matrix Multiplication based on LUTs for Efficient Inference in Large-Scale Generative Language Modelscited by 105
- 2024PowerInfer-2: Fast Large Language Model Inference on a Smartphonecited by 103
- 2024BitDistiller: Unleashing the Potential of Sub-4-Bit LLMs via Self-Distillationcited by 84
- 2024T-MAC: CPU Renaissance via Table Lookup for Low-Bit LLM Deployment on Edgecited by 55
- 2023QMoE: Practical Sub-1-Bit Compression of Trillion-Parameter Modelscited by 42
- 2021Multiplying Matrices Without Multiplyingcited by 30
- 2023LUT-NN: Empower Efficient Neural Network Inference with Centroid Learning and Table Lookupcited by 20
- 2024BitNet a4.8: 4-bit Activations for 1-bit LLMscited by 16
- 20241-bit AI Infra: Part 1.1, Fast and Lossless BitNet b1.58 Inference on CPUscited by 12
- 2023DeepGEMM: Accelerated Ultra Low-Precision Inference on CPU Architectures using Lookup Tablescited by 8
Built on by
Citing papers per year: 2025: 12; 2026: 10.
22 papers.
Sort:
By area:
- 2025BitVLA: 1-bit Vision-Language-Action Models for Robotics Manipulationcited by 43
- 2025Tequila: Trapping-free Ternary Quantization for Large Language Modelscited by 9
- 2025TENET: An Efficient Sparsity-Aware LUT-Centric Architecture for Ternary LLM Inference On Edgecited by 6
- 2026Sherry: Hardware-Efficient 1.25-Bit Ternary Quantization via Fine-grained Sparsificationcited by 5
- 2025Scaling Up On-Device LLMs via Active-Weight Swapping Between DRAM and Flashcited by 4
- 2025PT2-LLM: Post-Training Ternarization for Large Language Modelscited by 4
- 2025DynaKV: Enabling Accurate and Efficient Long-Sequence LLM Decoding on Smartphonescited by 4
- 2025T-SAR: A Full-Stack Co-design for CPU-Only Ternary LLM Inference via In-Place SIMD ALU Reorganizationcited by 4
- 2026vla.cpp: A Unified Inference Runtime for Vision-Language-Action Modelscited by 4
- 2025Platinum: Path-Adaptable LUT-Based Accelerator Tailored for Low-Bit Weight Matrix Multiplicationcited by 2
- 2025Fairy2i: Training Complex LLMs from Real LLMs with All Parameters in ± 1, ± icited by 2
- 2025Vec-LUT: Vector Table Lookup for Parallel Ultra-Low-Bit LLM Inference on Edge Devicescited by 2
10 more
- 2025BitHEP -- The Limits of Low-Precision ML in HEPcited by 1
- 2025Pushing the Envelope of LLM Inference with Ultra-Low-Bit Quantized Modelscited by 1
- 2026Spike-Aware INT8 Execution for Spiking Language Models on Commodity CPUscited by 1
- 2026Breaking the 1.58-bit Barrier for Ternary LLMscited by 1
- 2026MAGNET: Autonomous Expert Model Generation via Decentralized Autoresearch and BitNet Trainingcited by 0
- 2026PolyQ: Codesigning End-to-End Quantization Framework for Scalable Edge CPU LLM Inferencecited by 0
- 2026Ankhdjet: An Open-Source Compiler for Mask-Programmed Ternary Compute-in-ROM on an Open PDKcited by 0
- 2026QTEA: Ternary LLMs with Sparse Residual Salient Weight and By-Column Optimizationcited by 0
- 2026Implementation and Evaluation of BitNet Inference on a CGLA by Signed-Int4 Instructionscited by 0
- 2026SSR: Sparse Segment Reduction for Ternary GEMM Accelerationcited by 0
- 2026SSR: Sparse Segment Reduction for Ternary GEMM Acceleration6 Oct 2026
- 2026Implementation and Evaluation of BitNet Inference on a CGLA by Signed-Int4 Instructions23 Sep 2026
- 2026Breaking the 1.58-bit Barrier for Ternary LLMs14 Sep 2026
- 2026QTEA: Ternary LLMs with Sparse Residual Salient Weight and By-Column Optimization31 Aug 2026
- 2026Ankhdjet: An Open-Source Compiler for Mask-Programmed Ternary Compute-in-ROM on an Open PDK26 Aug 2026
- 2026PolyQ: Codesigning End-to-End Quantization Framework for Scalable Edge CPU LLM Inference16 Jul 2026
- 2026vla.cpp: A Unified Inference Runtime for Vision-Language-Action Models6 Jun 2026
- 2026Spike-Aware INT8 Execution for Spiking Language Models on Commodity CPUs2 Jun 2026
- 2026MAGNET: Autonomous Expert Model Generation via Decentralized Autoresearch and BitNet Training26 Mar 2026
- 2026Sherry: Hardware-Efficient 1.25-Bit Ternary Quantization via Fine-grained Sparsification12 Jan 2026
- 2025Vec-LUT: Vector Table Lookup for Parallel Ultra-Low-Bit LLM Inference on Edge Devices6 Dec 2025
- 2025Fairy2i: Training Complex LLMs from Real LLMs with All Parameters in ± 1, ± i2 Dec 2025
10 more
- 2025Platinum: Path-Adaptable LUT-Based Accelerator Tailored for Low-Bit Weight Matrix Multiplication26 Nov 2025
- 2025T-SAR: A Full-Stack Co-design for CPU-Only Ternary LLM Inference via In-Place SIMD ALU Reorganization17 Nov 2025
- 2025DynaKV: Enabling Accurate and Efficient Long-Sequence LLM Decoding on Smartphones20 Oct 2025
- 2025Tequila: Trapping-free Ternary Quantization for Large Language Models28 Sep 2025
- 2025PT2-LLM: Post-Training Ternarization for Large Language Models27 Sep 2025
- 2025TENET: An Efficient Sparsity-Aware LUT-Centric Architecture for Ternary LLM Inference On Edge17 Sep 2025
- 2025Pushing the Envelope of LLM Inference with Ultra-Low-Bit Quantized Models8 Aug 2025
- 2025BitVLA: 1-bit Vision-Language-Action Models for Robotics Manipulation9 Jun 2025
- 2025Scaling Up On-Device LLMs via Active-Weight Swapping Between DRAM and Flash11 Apr 2025
- 2025BitHEP -- The Limits of Low-Precision ML in HEP4 Apr 2025
- 2025Tequila: Trapping-free Ternary Quantization for Large Language Modelscited by 9
- 2025TENET: An Efficient Sparsity-Aware LUT-Centric Architecture for Ternary LLM Inference On Edgecited by 6
- 2026Sherry: Hardware-Efficient 1.25-Bit Ternary Quantization via Fine-grained Sparsificationcited by 5
- 2025Scaling Up On-Device LLMs via Active-Weight Swapping Between DRAM and Flashcited by 4
- 2025PT2-LLM: Post-Training Ternarization for Large Language Modelscited by 4
- 2025T-SAR: A Full-Stack Co-design for CPU-Only Ternary LLM Inference via In-Place SIMD ALU Reorganizationcited by 4
- 2025Platinum: Path-Adaptable LUT-Based Accelerator Tailored for Low-Bit Weight Matrix Multiplicationcited by 2
- 2025Fairy2i: Training Complex LLMs from Real LLMs with All Parameters in ± 1, ± icited by 2
- 2025Vec-LUT: Vector Table Lookup for Parallel Ultra-Low-Bit LLM Inference on Edge Devicescited by 2
- 2025BitHEP -- The Limits of Low-Precision ML in HEPcited by 1
- 2025Pushing the Envelope of LLM Inference with Ultra-Low-Bit Quantized Modelscited by 1
- 2026Spike-Aware INT8 Execution for Spiking Language Models on Commodity CPUscited by 1
12 most cited of 19 All 19 (JSON)
- 2026SSR: Sparse Segment Reduction for Ternary GEMM Acceleration6 Oct 2026
- 2026Implementation and Evaluation of BitNet Inference on a CGLA by Signed-Int4 Instructions23 Sep 2026
- 2026Breaking the 1.58-bit Barrier for Ternary LLMs14 Sep 2026
- 2026QTEA: Ternary LLMs with Sparse Residual Salient Weight and By-Column Optimization31 Aug 2026
- 2026Ankhdjet: An Open-Source Compiler for Mask-Programmed Ternary Compute-in-ROM on an Open PDK26 Aug 2026
- 2026PolyQ: Codesigning End-to-End Quantization Framework for Scalable Edge CPU LLM Inference16 Jul 2026
- 2026Spike-Aware INT8 Execution for Spiking Language Models on Commodity CPUs2 Jun 2026
- 2026MAGNET: Autonomous Expert Model Generation via Decentralized Autoresearch and BitNet Training26 Mar 2026
- 2026Sherry: Hardware-Efficient 1.25-Bit Ternary Quantization via Fine-grained Sparsification12 Jan 2026
- 2025Vec-LUT: Vector Table Lookup for Parallel Ultra-Low-Bit LLM Inference on Edge Devices6 Dec 2025
- 2025Fairy2i: Training Complex LLMs from Real LLMs with All Parameters in ± 1, ± i2 Dec 2025
- 2025Platinum: Path-Adaptable LUT-Based Accelerator Tailored for Low-Bit Weight Matrix Multiplication26 Nov 2025
12 newest of 19 All 19 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024Spectra: Surprising Effectiveness of Pretraining Ternary Language Models at Scale
- 2025An Extra RMSNorm is All You Need for Fine Tuning to 1.58 Bits
- 2023Agile-Quant: Activation-Guided Quantization for Faster Inference of LLMs on the Edge
- 2024LLM Inference Unveiled: Survey and Roofline Model Insights
- 2024EdgeShard: Efficient LLM Inference via Collaborative Edge Computing
- 2025DeltaLLM: Delta-Key Sparse Attention for Edge LLMs
- 2025Spectra 1.1: Scaling Laws and Efficient Inference for Ternary Language Models
- 2025Sustainable LLM Inference for Edge AI: Evaluating Quantized LLMs for Energy Efficiency, Output Accuracy, and Inference Latency