CLOct 17, 2023

TEQ: Trainable Equivalent Transformation for Quantization of LLMs

arXiv:2310.10944v112 citationsh-index: 10Has Code
Originality Incremental advance
AI Analysis

This addresses the computational demands of LLMs for deployment, though it is incremental as it builds on existing quantization methods.

The paper tackles the problem of quantizing large language models (LLMs) to low-precision weights (e.g., 3-4 bits) while maintaining accuracy, achieving results on-par with state-of-the-art methods using a lightweight training process with only 1K steps and fewer than 0.1% of original trainable parameters.

As large language models (LLMs) become more prevalent, there is a growing need for new and improved quantization methods that can meet the computationalast layer demands of these modern architectures while maintaining the accuracy. In this paper, we present TEQ, a trainable equivalent transformation that preserves the FP32 precision of the model output while taking advantage of low-precision quantization, especially 3 and 4 bits weight-only quantization. The training process is lightweight, requiring only 1K steps and fewer than 0.1 percent of the original model's trainable parameters. Furthermore, the transformation does not add any computational overhead during inference. Our results are on-par with the state-of-the-art (SOTA) methods on typical LLMs. Our approach can be combined with other methods to achieve even better performance. The code is available at https://github.com/intel/neural-compressor.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes