mlsanityData to 14 Oct 2026

Bitnet.cpp: Efficient Edge Inference for Ternary LLMs

arXiv 2502.11880 ↗First posted 17 Feb 2025cs.LG cs.AI cs.CLcited by 22

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

  1. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  2. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  3. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  4. 2016Pointer Sentinel Mixture Modelscited by 3,096
  5. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  6. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
  7. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
  8. 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,298
  9. 2023QuIP: 2-Bit Quantization of Large Language Models With Guaranteescited by 414
  10. 2023SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight Compressioncited by 367
  11. 2024The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bitscited by 308
  12. 2023PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPUcited by 217
10 more
  1. 2022LUT-GEMM: Quantized Matrix Multiplication based on LUTs for Efficient Inference in Large-Scale Generative Language Modelscited by 105
  2. 2024PowerInfer-2: Fast Large Language Model Inference on a Smartphonecited by 103
  3. 2024BitDistiller: Unleashing the Potential of Sub-4-Bit LLMs via Self-Distillationcited by 84
  4. 2024T-MAC: CPU Renaissance via Table Lookup for Low-Bit LLM Deployment on Edgecited by 55
  5. 2023QMoE: Practical Sub-1-Bit Compression of Trillion-Parameter Modelscited by 42
  6. 2021Multiplying Matrices Without Multiplyingcited by 30
  7. 2023LUT-NN: Empower Efficient Neural Network Inference with Centroid Learning and Table Lookupcited by 20
  8. 2024BitNet a4.8: 4-bit Activations for 1-bit LLMscited by 16
  9. 20241-bit AI Infra: Part 1.1, Fast and Lossless BitNet b1.58 Inference on CPUscited by 12
  10. 2023DeepGEMM: Accelerated Ultra Low-Precision Inference on CPU Architectures using Lookup Tablescited by 8

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 12; 2026: 10.

22 papers.

Sort:

By area:

  1. 2025BitVLA: 1-bit Vision-Language-Action Models for Robotics Manipulationcited by 43
  2. 2025Tequila: Trapping-free Ternary Quantization for Large Language Modelscited by 9
  3. 2025TENET: An Efficient Sparsity-Aware LUT-Centric Architecture for Ternary LLM Inference On Edgecited by 6
  4. 2026Sherry: Hardware-Efficient 1.25-Bit Ternary Quantization via Fine-grained Sparsificationcited by 5
  5. 2025Scaling Up On-Device LLMs via Active-Weight Swapping Between DRAM and Flashcited by 4
  6. 2025PT2-LLM: Post-Training Ternarization for Large Language Modelscited by 4
  7. 2025DynaKV: Enabling Accurate and Efficient Long-Sequence LLM Decoding on Smartphonescited by 4
  8. 2025T-SAR: A Full-Stack Co-design for CPU-Only Ternary LLM Inference via In-Place SIMD ALU Reorganizationcited by 4
  9. 2026vla.cpp: A Unified Inference Runtime for Vision-Language-Action Modelscited by 4
  10. 2025Platinum: Path-Adaptable LUT-Based Accelerator Tailored for Low-Bit Weight Matrix Multiplicationcited by 2
  11. 2025Fairy2i: Training Complex LLMs from Real LLMs with All Parameters in ± 1, ± icited by 2
  12. 2025Vec-LUT: Vector Table Lookup for Parallel Ultra-Low-Bit LLM Inference on Edge Devicescited by 2
10 more
  1. 2025BitHEP -- The Limits of Low-Precision ML in HEPcited by 1
  2. 2025Pushing the Envelope of LLM Inference with Ultra-Low-Bit Quantized Modelscited by 1
  3. 2026Spike-Aware INT8 Execution for Spiking Language Models on Commodity CPUscited by 1
  4. 2026Breaking the 1.58-bit Barrier for Ternary LLMscited by 1
  5. 2026MAGNET: Autonomous Expert Model Generation via Decentralized Autoresearch and BitNet Trainingcited by 0
  6. 2026PolyQ: Codesigning End-to-End Quantization Framework for Scalable Edge CPU LLM Inferencecited by 0
  7. 2026Ankhdjet: An Open-Source Compiler for Mask-Programmed Ternary Compute-in-ROM on an Open PDKcited by 0
  8. 2026QTEA: Ternary LLMs with Sparse Residual Salient Weight and By-Column Optimizationcited by 0
  9. 2026Implementation and Evaluation of BitNet Inference on a CGLA by Signed-Int4 Instructionscited by 0
  10. 2026SSR: Sparse Segment Reduction for Ternary GEMM Accelerationcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024Spectra: Surprising Effectiveness of Pretraining Ternary Language Models at Scale
  2. 2025An Extra RMSNorm is All You Need for Fine Tuning to 1.58 Bits
  3. 2023Agile-Quant: Activation-Guided Quantization for Faster Inference of LLMs on the Edge
  4. 2024LLM Inference Unveiled: Survey and Roofline Model Insights
  5. 2024EdgeShard: Efficient LLM Inference via Collaborative Edge Computing
  6. 2025DeltaLLM: Delta-Key Sparse Attention for Edge LLMs
  7. 2025Spectra 1.1: Scaling Laws and Efficient Inference for Ternary Language Models
  8. 2025Sustainable LLM Inference for Edge AI: Evaluating Quantized LLMs for Energy Efficiency, Output Accuracy, and Inference Latency