T-MAC: CPU Renaissance via Table Lookup for Low-Bit LLM Deployment on Edge
Not on the map. Why?
Abstract (arXiv)
The deployment of Large Language Models (LLMs) on edge devices is increasingly important to enhance on-device intelligence. Weight quantization is crucial for reducing the memory footprint of LLMs on devices. However, low-bit LLMs necessitate mixed precision matrix multiplication (mpGEMM) of low precision weights and high precision activations during inference. Existing systems, lacking native support for mpGEMM, resort to dequantize weights for high precision computation. Such an indirect way can lead to a significant inference overhead. In this paper, we introduce T-MAC, an innovative lookup table(LUT)-based method designed for efficient low-bit LLM (i.e., weight-quantized LLM) inference on CPUs. T-MAC directly supports mpGEMM without dequantization, while simultaneously eliminating multiplications and reducing additions required. Specifically, T-MAC transforms the traditional data-type-centric multiplication to bit-wise table lookup, and enables a unified and scalable mpGEMM solution. Our LUT-based kernels scale linearly to the weight bit-width. Evaluated on low-bit Llama and BitNet models, T-MAC demonstrates up to 4x increase in throughput and 70% reduction in energy consumption compared to llama.cpp. For BitNet-b1.58-3B, T-MAC delivers a token generation throughput of 30 tokens/s with a single core and 71 tokens/s with eight cores on M2-Ultra, and 11 tokens/s on lower-end devices like Raspberry Pi 5, which significantly exceeds the adult average reading speed. T-MAC with LUT-based computing paradigm, paves the way for the practical deployment of low-bit LLMs on resource-constrained edge devices without compromising computational efficiency. The system is open-sourced at https://github.com/microsoft/T-MAC .
Key facts. Cited by 47 papers in the map (data through 7 Oct 2026). Builds on 17 of its 32 references that are in the map. First posted on arXiv 25 Jun 2024.
Builds on
17 of 32 references.
References · 17
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 881
- 2024Yi: Open Foundation Models by 01.AIcited by 706
- 2022The case for 4-bit precision: k-bit Inference Scaling Lawscited by 247
- 2023BitNet: Scaling 1-bit Transformers for Large Language Modelscited by 175
- 2018Learning to Optimize Tensor Programscited by 138
- 2024BitDistiller: Unleashing the Potential of Sub-4-Bit LLMs via Self-Distillationcited by 80
- 2024OneBit: Towards Extremely Low-bit Large Language Modelscited by 77
5 more
- 2021Multiplying Matrices Without Multiplyingcited by 30
- 2023LUT-NN: Empower Efficient Neural Network Inference with Centroid Learning and Table Lookupcited by 19
- 2023DeepGEMM: Accelerated Ultra Low-Precision Inference on CPU Architectures using Lookup Tablescited by 8
- 2023Look-Up mAI GeMM: Increasing AI GeMMs Performance by Nearly 2.5x via msGeMMcited by 3
- 2020High Throughput Matrix-Matrix Multiplication between Asymmetric Bit-Width Operandscited by 1
Built on by
Citing papers per year: 2024: 5; 2025: 21; 2026: 21.
47 papers.
Sort:
By area:
- 2024EfficientQAT: Efficient Quantization-Aware Training for Large Language Modelscited by 123
- 2024Large Language Model Inference Acceleration: A Comprehensive Hardware Perspectivecited by 36
- 2025Sustainable LLM Inference for Edge AI: Evaluating Quantized LLMs for Energy Efficiency, Output Accuracy, and Inference Latencycited by 32
- 2024BlueLM-V-3B: Algorithm and System Co-Design for Multimodal Large Language Models on Mobile Devicescited by 25
- 2025Bitnet.cpp: Efficient Edge Inference for Ternary LLMscited by 17
- 2024LUT Tensor Core: A Software-Hardware Co-Design for LUT-Based Low-Bit LLM Inferencecited by 14
- 20241-bit AI Infra: Part 1.1, Fast and Lossless BitNet b1.58 Inference on CPUscited by 9
- 2025TeLLMe: An Energy-Efficient Ternary LLM Accelerator for Prefilling and Decoding on Edge FPGAscited by 5
- 2026Sherry: Hardware-Efficient 1.25-Bit Ternary Quantization via Fine-grained Sparsificationcited by 5
- 2026AngelSlim: A more accessible, comprehensive, and efficient toolkit for large model compressioncited by 5
- 2025BTC-LLM: Efficient Sub-1-Bit LLM Quantization via Learnable Transformation and Binary Codebookcited by 4
- 2025LUT-LLM: Efficient Large Language Model Inference with Memory-based Computations on FPGAscited by 4
35 more
- 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
- 2025Scaling Up On-Device LLMs via Active-Weight Swapping Between DRAM and Flashcited by 3
- 2025CodeGEMM: A Codebook-Centric Approach to Efficient GEMM in Quantized LLMscited by 3
- 2025Fairy2i: Training Complex LLMs from Real LLMs with All Parameters in ± 1, ± icited by 2
- 2025Binary Neural Networks for Large Language Model: A Surveycited by 1
- 2025LCD: Advancing Extreme Low-Bit Clustering for Large Language Models via Knowledge Distillationcited by 1
- 2025Pushing the Envelope of LLM Inference with Ultra-Low-Bit Quantized Modelscited by 1
- 2025Rethinking 1-bit Optimization Leveraging Pre-trained Large Language Modelscited by 1
- 2025Tiny but Mighty: A Software-Hardware Co-Design Approach for Efficient Multimodal Inference on Battery-Powered Small Devicescited by 1
- 2025TeLLMe v2: An Efficient End-to-End Ternary LLM Prefill and Decode Accelerator with Table-Lookup Matmul on Edge FPGAscited by 1
- 2025Vec-LUT: Vector Table Lookup for Parallel Ultra-Low-Bit LLM Inference on Edge Devicescited by 1
- 2026SFMP: Fine-Grained, Hardware-Friendly and Search-Free Mixed-Precision Quantization for Large Language Modelscited by 1
- 2026Breaking the 1.58-bit Barrier for Ternary LLMscited by 1
- 2025MagicVL-2B: Empowering Vision-Language Models on Mobile Devices with Lightweight Visual Encoders via Curriculum Learningcited by 0
- 2025SAIL: SRAM-Accelerated LLM Inference System with Lookup-Table-based GEMVcited by 0
- 2025ELUTQ: Optimizing Quantization Accuracy under LUT-Based Computation for Edge LLMscited by 0
- 2025BitRL-Light: 1-bit LLM Agents with Deep Reinforcement Learning for Energy-Efficient Smart Home Lighting Optimizationcited by 0
- 2026Vec-QMDP: Vectorized POMDP Planning on CPUs for Real-Time Autonomous Drivingcited by 0
- 2026pQuant: Towards Effective Low-Bit Language Models via Decoupled Linear Quantization-Aware Trainingcited by 0
- 2026CodeQuant: Unified Clustering and Quantization for Enhanced Outlier Smoothing in Low-Precision Mixture-of-Expertscited by 0
- 2026FairyFuse: Multiplication-Free LLM Inference on CPUs via Fused Ternary Kernelscited by 0
- 2026ViM-Q: Scalable Algorithm-Hardware Co-Design for Vision Mamba Model Inference on FPGAcited by 0
- 2026Litespark Inference For CPUs: Ultra-Fast SIMD Framework for Ternary (1.58-bit) Language Modelscited by 0
- 2026SPEAR: A System for Post-Quantization Error-Adaptive Recovery Enabling Efficient Low-Bit LLM Servingcited by 0
- 2026SMEPilot: Characterizing and Optimizing LLM Inference with Scalable Matrix Extensionscited by 0
- 2026Cache-Resident LLM Inference in GB-Scale Last-Level Cachescited by 0
- 2026StreamDQ: Near-Memory Weight DeQuantization in Custom HBM for Scalable AI Inference Accelerationcited by 0
- 2026PolyQ: Codesigning End-to-End Quantization Framework for Scalable Edge CPU LLM Inferencecited by 0
- 2026ExaGEMM: Exploration Framework for CPU-Driven ML Inference via Associative In-Register Computing for Low-Bit GEMMcited by 0
- 2026Tied Trit-Planes: Constraining PTQTP to a Uniform Nine-Level Quantizer, with a Persistent Folded Format for Disk-Streamed Mixture-of-Experts Servingcited by 0
- 2026Where Post-Training Quantization Breaks Text Embedders: A Measured Map Across Four Embedder Familiescited by 0
- 2026Empowering Hybrid Attention Models on NPUscited by 0
- 2026Dynamic Flow, Static Graph: KV Cache Reuse for Efficient LLM Serving on Mobile NPUscited by 0
- 2026On the Relationship between Model Quantization and Model Inversion Attackscited by 0
- 2026On the Relationship between Model Quantization and Model Inversion Attacks30 Sep 2026
- 2026Dynamic Flow, Static Graph: KV Cache Reuse for Efficient LLM Serving on Mobile NPUs28 Sep 2026
- 2026Empowering Hybrid Attention Models on NPUs26 Sep 2026
- 2026Where Post-Training Quantization Breaks Text Embedders: A Measured Map Across Four Embedder Families14 Sep 2026
- 2026Breaking the 1.58-bit Barrier for Ternary LLMs14 Sep 2026
- 2026Tied Trit-Planes: Constraining PTQTP to a Uniform Nine-Level Quantizer, with a Persistent Folded Format for Disk-Streamed Mixture-of-Experts Serving9 Aug 2026
- 2026ExaGEMM: Exploration Framework for CPU-Driven ML Inference via Associative In-Register Computing for Low-Bit GEMM16 Jul 2026
- 2026PolyQ: Codesigning End-to-End Quantization Framework for Scalable Edge CPU LLM Inference16 Jul 2026
- 2026StreamDQ: Near-Memory Weight DeQuantization in Custom HBM for Scalable AI Inference Acceleration9 Jul 2026
- 2026Cache-Resident LLM Inference in GB-Scale Last-Level Caches24 Jun 2026
- 2026SMEPilot: Characterizing and Optimizing LLM Inference with Scalable Matrix Extensions15 Jun 2026
- 2026SPEAR: A System for Post-Quantization Error-Adaptive Recovery Enabling Efficient Low-Bit LLM Serving4 Jun 2026
35 more
- 2026Litespark Inference For CPUs: Ultra-Fast SIMD Framework for Ternary (1.58-bit) Language Models7 May 2026
- 2026ViM-Q: Scalable Algorithm-Hardware Co-Design for Vision Mamba Model Inference on FPGA3 May 2026
- 2026FairyFuse: Multiplication-Free LLM Inference on CPUs via Fused Ternary Kernels22 Apr 2026
- 2026CodeQuant: Unified Clustering and Quantization for Enhanced Outlier Smoothing in Low-Precision Mixture-of-Experts12 Apr 2026
- 2026pQuant: Towards Effective Low-Bit Language Models via Decoupled Linear Quantization-Aware Training26 Feb 2026
- 2026Vec-QMDP: Vectorized POMDP Planning on CPUs for Real-Time Autonomous Driving9 Feb 2026
- 2026AngelSlim: A more accessible, comprehensive, and efficient toolkit for large model compression7 Feb 2026
- 2026SFMP: Fine-Grained, Hardware-Friendly and Search-Free Mixed-Precision Quantization for Large Language Models1 Feb 2026
- 2026Sherry: Hardware-Efficient 1.25-Bit Ternary Quantization via Fine-grained Sparsification12 Jan 2026
- 2025CodeGEMM: A Codebook-Centric Approach to Efficient GEMM in Quantized LLMs19 Dec 2025
- 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
- 2025BitRL-Light: 1-bit LLM Agents with Deep Reinforcement Learning for Energy-Efficient Smart Home Lighting Optimization23 Nov 2025
- 2025T-SAR: A Full-Stack Co-design for CPU-Only Ternary LLM Inference via In-Place SIMD ALU Reorganization17 Nov 2025
- 2025LUT-LLM: Efficient Large Language Model Inference with Memory-based Computations on FPGAs9 Nov 2025
- 2025ELUTQ: Optimizing Quantization Accuracy under LUT-Based Computation for Edge LLMs22 Oct 2025
- 2025DynaKV: Enabling Accurate and Efficient Long-Sequence LLM Decoding on Smartphones20 Oct 2025
- 2025TeLLMe v2: An Efficient End-to-End Ternary LLM Prefill and Decode Accelerator with Table-Lookup Matmul on Edge FPGAs3 Oct 2025
- 2025SAIL: SRAM-Accelerated LLM Inference System with Lookup-Table-based GEMV30 Sep 2025
- 2025Tiny but Mighty: A Software-Hardware Co-Design Approach for Efficient Multimodal Inference on Battery-Powered Small Devices25 Sep 2025
- 2025Rethinking 1-bit Optimization Leveraging Pre-trained Large Language Models9 Aug 2025
- 2025Pushing the Envelope of LLM Inference with Ultra-Low-Bit Quantized Models8 Aug 2025
- 2025MagicVL-2B: Empowering Vision-Language Models on Mobile Devices with Lightweight Visual Encoders via Curriculum Learning3 Aug 2025
- 2025BTC-LLM: Efficient Sub-1-Bit LLM Quantization via Learnable Transformation and Binary Codebook24 May 2025
- 2025LCD: Advancing Extreme Low-Bit Clustering for Large Language Models via Knowledge Distillation23 May 2025
- 2025TeLLMe: An Energy-Efficient Ternary LLM Accelerator for Prefilling and Decoding on Edge FPGAs22 Apr 2025
- 2025Scaling Up On-Device LLMs via Active-Weight Swapping Between DRAM and Flash11 Apr 2025
- 2025Sustainable LLM Inference for Edge AI: Evaluating Quantized LLMs for Energy Efficiency, Output Accuracy, and Inference Latency4 Apr 2025
- 2025Binary Neural Networks for Large Language Model: A Survey26 Feb 2025
- 2025Bitnet.cpp: Efficient Edge Inference for Ternary LLMs17 Feb 2025
- 2024BlueLM-V-3B: Algorithm and System Co-Design for Multimodal Large Language Models on Mobile Devices16 Nov 2024
- 20241-bit AI Infra: Part 1.1, Fast and Lossless BitNet b1.58 Inference on CPUs21 Oct 2024
- 2024Large Language Model Inference Acceleration: A Comprehensive Hardware Perspective6 Oct 2024
- 2024LUT Tensor Core: A Software-Hardware Co-Design for LUT-Based Low-Bit LLM Inference12 Aug 2024
- 2024EfficientQAT: Efficient Quantization-Aware Training for Large Language Models10 Jul 2024
- 2024Large Language Model Inference Acceleration: A Comprehensive Hardware Perspectivecited by 36
- 2026AngelSlim: A more accessible, comprehensive, and efficient toolkit for large model compressioncited by 5
- 2025LUT-LLM: Efficient Large Language Model Inference with Memory-based Computations on FPGAscited by 4
- 2025DynaKV: Enabling Accurate and Efficient Long-Sequence LLM Decoding on Smartphonescited by 4
- 2025SAIL: SRAM-Accelerated LLM Inference System with Lookup-Table-based GEMVcited by 0
- 2026SPEAR: A System for Post-Quantization Error-Adaptive Recovery Enabling Efficient Low-Bit LLM Servingcited by 0
- 2026SMEPilot: Characterizing and Optimizing LLM Inference with Scalable Matrix Extensionscited by 0
- 2026Cache-Resident LLM Inference in GB-Scale Last-Level Cachescited by 0
- 2026StreamDQ: Near-Memory Weight DeQuantization in Custom HBM for Scalable AI Inference Accelerationcited by 0
- 2026Dynamic Flow, Static Graph: KV Cache Reuse for Efficient LLM Serving on Mobile NPUscited by 0
- 2026Dynamic Flow, Static Graph: KV Cache Reuse for Efficient LLM Serving on Mobile NPUs28 Sep 2026
- 2026StreamDQ: Near-Memory Weight DeQuantization in Custom HBM for Scalable AI Inference Acceleration9 Jul 2026
- 2026Cache-Resident LLM Inference in GB-Scale Last-Level Caches24 Jun 2026
- 2026SMEPilot: Characterizing and Optimizing LLM Inference with Scalable Matrix Extensions15 Jun 2026
- 2026SPEAR: A System for Post-Quantization Error-Adaptive Recovery Enabling Efficient Low-Bit LLM Serving4 Jun 2026
- 2026AngelSlim: A more accessible, comprehensive, and efficient toolkit for large model compression7 Feb 2026
- 2025LUT-LLM: Efficient Large Language Model Inference with Memory-based Computations on FPGAs9 Nov 2025
- 2025DynaKV: Enabling Accurate and Efficient Long-Sequence LLM Decoding on Smartphones20 Oct 2025
- 2025SAIL: SRAM-Accelerated LLM Inference System with Lookup-Table-based GEMV30 Sep 2025
- 2024Large Language Model Inference Acceleration: A Comprehensive Hardware Perspective6 Oct 2024
- 2024BlueLM-V-3B: Algorithm and System Co-Design for Multimodal Large Language Models on Mobile Devicescited by 25
- 2025Tiny but Mighty: A Software-Hardware Co-Design Approach for Efficient Multimodal Inference on Battery-Powered Small Devicescited by 1
- 2025MagicVL-2B: Empowering Vision-Language Models on Mobile Devices with Lightweight Visual Encoders via Curriculum Learningcited by 0
- 2025Tiny but Mighty: A Software-Hardware Co-Design Approach for Efficient Multimodal Inference on Battery-Powered Small Devices25 Sep 2025
- 2025MagicVL-2B: Empowering Vision-Language Models on Mobile Devices with Lightweight Visual Encoders via Curriculum Learning3 Aug 2025
- 2024BlueLM-V-3B: Algorithm and System Co-Design for Multimodal Large Language Models on Mobile Devices16 Nov 2024
- 2024EfficientQAT: Efficient Quantization-Aware Training for Large Language Modelscited by 123
- 2025Sustainable LLM Inference for Edge AI: Evaluating Quantized LLMs for Energy Efficiency, Output Accuracy, and Inference Latencycited by 32
- 2025Bitnet.cpp: Efficient Edge Inference for Ternary LLMscited by 17
- 2024LUT Tensor Core: A Software-Hardware Co-Design for LUT-Based Low-Bit LLM Inferencecited by 14
- 20241-bit AI Infra: Part 1.1, Fast and Lossless BitNet b1.58 Inference on CPUscited by 9
- 2025TeLLMe: An Energy-Efficient Ternary LLM Accelerator for Prefilling and Decoding on Edge FPGAscited by 5
- 2026Sherry: Hardware-Efficient 1.25-Bit Ternary Quantization via Fine-grained Sparsificationcited by 5
- 2025BTC-LLM: Efficient Sub-1-Bit LLM Quantization via Learnable Transformation and Binary Codebookcited by 4
- 2025T-SAR: A Full-Stack Co-design for CPU-Only Ternary LLM Inference via In-Place SIMD ALU Reorganizationcited by 4
- 2025Scaling Up On-Device LLMs via Active-Weight Swapping Between DRAM and Flashcited by 3
- 2025CodeGEMM: A Codebook-Centric Approach to Efficient GEMM in Quantized LLMscited by 3
- 2025Fairy2i: Training Complex LLMs from Real LLMs with All Parameters in ± 1, ± icited by 2
12 most cited of 29 All 29 (JSON)
- 2026On the Relationship between Model Quantization and Model Inversion Attacks30 Sep 2026
- 2026Empowering Hybrid Attention Models on NPUs26 Sep 2026
- 2026Where Post-Training Quantization Breaks Text Embedders: A Measured Map Across Four Embedder Families14 Sep 2026
- 2026Breaking the 1.58-bit Barrier for Ternary LLMs14 Sep 2026
- 2026ExaGEMM: Exploration Framework for CPU-Driven ML Inference via Associative In-Register Computing for Low-Bit GEMM16 Jul 2026
- 2026PolyQ: Codesigning End-to-End Quantization Framework for Scalable Edge CPU LLM Inference16 Jul 2026
- 2026Litespark Inference For CPUs: Ultra-Fast SIMD Framework for Ternary (1.58-bit) Language Models7 May 2026
- 2026FairyFuse: Multiplication-Free LLM Inference on CPUs via Fused Ternary Kernels22 Apr 2026
- 2026pQuant: Towards Effective Low-Bit Language Models via Decoupled Linear Quantization-Aware Training26 Feb 2026
- 2026SFMP: Fine-Grained, Hardware-Friendly and Search-Free Mixed-Precision Quantization for Large Language Models1 Feb 2026
- 2026Sherry: Hardware-Efficient 1.25-Bit Ternary Quantization via Fine-grained Sparsification12 Jan 2026
- 2025CodeGEMM: A Codebook-Centric Approach to Efficient GEMM in Quantized LLMs19 Dec 2025
12 newest of 29 All 29 (JSON)