TR-PTQ: High-Accuracy Integer-Only Transformer Post Training Quantization via Taylor Region Reformulation
Eliyahu Levy, Adam Teman, Yoni Pugachov
Key points
From the paper's conclusion- We find that learned scale parameters in normalization layers and compounded approximations in GELU are the primary error contributors, whereas SoftMax remains inherently robust to aggressive quantization.
Abstract
Post-training quantization (PTQ) enables efficient deployment, yet transformer architectures remain challenging to quantize due to nonlinear layers. While existing methods attribute accuracy loss to insufficient numerical precision, often necessitating floating-point fallbacks, we demonstrate that degradation is actually driven by specific structural error sources. We find that learned scale parameters in normalization layers and compounded approximations in GELU are the primary error contributors, whereas SoftMax remains inherently robust to aggressive quantization. To address these bottlenecks, we introduce TR-PTQ, a unified integer-only formulation using shared Taylor Region (TR) exponential and logarithm primitives. This approach allows computationally expensive operations, including division and square roots, to be performed entirely in the log-domain via standard integer arithmetic. Combined with a calibration-free, outlier-aware optimization for LayerNorm parameters, our method eliminates the need for floating-point hardware units for nonlinearities, achieving less than 1.5\% absolute accuracy degradation across vision and language benchmarks.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- JointQ: Joint Scale-and-Integer Quantization for Large Language ModelsarXiv · 2026
- Test-Time Adaptation of Quantized ViTs via Single-Pass Quantizer-Aligned RecalibrationarXiv · 2026
- TileQuant: Tile as the Precision-Allocation Unit for LLM Mixed-Precision Post-Training QuantizationarXiv · 2026
- The Devil Is in the Reconstruction Loss Scale: Rethinking Optimization in LLM QuantizationarXiv · 2026
- Fractional Power-of-Two Quantization for Efficient and Effective Multiplier-Free LLM InferencearXiv · 2026
- Rethinking Post-Training Quantization for Large Vision-Language ModelsarXiv · 2026