paper-with-me

홈 › Papers

Precision Where It Matters: A Novel Spike Aware Mixed-Precision Quantization Strategy for LLaMA-based Language Models

2025-04-30 · Lucas Maisonnave, Cyril Moineau, Olivier Bichler, Fabrice Rastello

Large Language Models (LLMs) have demonstrated remarkable capabilities in various natural language processing tasks. However, their size presents significant challenges for deployment and inference. This paper investigates the quantization of LLMs, focusing on the LLaMA architecture and its derivatives. We challenge existing assumptions about activation outliers in LLMs and propose a novel mixed-precision quantization approach tailored for LLaMA-like models. Our method leverages the observation that activation spikes in LLaMA architectures are predominantly concentrated in specific projection layers. By applying higher precision (FP16 or FP8) to these layers while quantizing the rest of the model to lower bit-widths, we achieve superior performance compared to existing quantization techniques. Experimental results on LLaMA2, LLaMA3, and Mistral models demonstrate significant improvements in perplexity and zero-shot accuracy, particularly for 8-bit per-tensor quantization. Our approach outperforms general-purpose methods designed to handle outliers across all architecture types, highlighting the benefits of architecture-specific quantization strategies. This research contributes to the ongoing efforts to make LLMs more efficient and deployable, potentially enabling their use in resource-constrained environments. Our findings emphasize the importance of considering model-specific characteristics in developing effective quantization pipelines for state-of-the-art language models by identifying and targeting a small number of projections that concentrate activation spikes.

📄 PDF Abstract BibTeX arXiv:2504.21553

Code (0)

등록된 구현이 없습니다.

Tasks

Quantization

Methods 이 논문이 사용한 방법론

LLaMA LLaMA is a collection of foundation language models ranging from 7B to 65B parameters. It is based on the transformer architecture with various improvements that were…

Similar Papers 제목 키워드 기반

Energy-Efficient and Dequantization-Free Q-LLMs: A Spiking Neural Network Approach to Salient Value Mitigation

2025-10-22 · Chenyu Wang, Zhanglu Yan, Zhi Zhou, Xu Chen 외 arxiv

In the era of large language models (LLMs), weight-activation quantization helps fit models on edge device by reducing memory and compute bit-widths. However, three challenges persist for energy constrained hardware: (1)…

Scale When Needed: Adaptive Neuron-level Mixed Precision Quantization Aware Training

2026-05-24 · Ayush K. Varshney, Konstantinos Vandikas, Šarūnas Girdzijauskas, Adam Orucu 외 arxiv

Deploying deep neural networks on resource-constrained 6G edge devices demands aggressive compression with minimal accuracy loss. Quantization-Aware Training (QAT) has emerged as a leading compression approach; however, …

SpikeRL: A Scalable and Energy-efficient Framework for Deep Spiking Reinforcement Learning

2025-02-21 · Tokey Tahmid, Mark Gates, Piotr Luszczek, Catherine D. Schuman

In this era of AI revolution, massive investments in large-scale data-driven AI systems demand high-performance computing, consuming tremendous energy and resources. This trend raises new challenges in optimizing sustain…

continuous-controlContinuous ControlDeep Reinforcement Learning

MetaMix: Meta-state Precision Searcher for Mixed-precision Activation Quantization

2023-11-12 · Han-Byul Kim, Joo Hyung Lee, Sungjoo Yoo, Hong-Seok Kim

Mixed-precision quantization of efficient networks often suffer from activation instability encountered in the exploration of bit selections. To address this problem, we propose a novel method called MetaMix which consis…

Quantization

HAWQV3: Dyadic Neural Network Quantization

2020-11-20 · Zhewei Yao, Zhen Dong, Zhangcheng Zheng, Amir Gholami 외

Current low-precision quantization algorithms often have the hidden cost of conversion back and forth from floating point to quantized integer values. This hidden cost limits the latency improvement realized by quantizin…

Model CompressionQuantization