LPCD: Unified Framework from Layer-Wise to Submodule Quantization
Yuma Ichikawa, Yudai Fujimoto, Akira Sakai
TL;DR
LPCD introduces a unified submodule-centric quantization framework that extends post-training quantization beyond layers by optimizing submodules in the output space and projecting back with existing layer-wise quantizers. It unifies QEP, LoaQ, and classical layer-wise PTQ as special cases, and demonstrates substantial reductions in quantization error across QK, VO, and Up-Down submodules in large Transformer models. Experiments on LLaMA and Qwen show LPCD consistently improves perplexity and zero-shot accuracy across bit-widths, particularly at 3-2 bits, while preserving compatibility with standard PTQ pipelines. The approach offers a scalable, hardware-friendly path to deploy ultra-low-bit LLMs and suggests future extensions to nonlinear submodules and KV-cache joint quantization.
Abstract
Post-training quantization (PTQ) aims to preserve model-level behavior; however, most methods focus on individual linear layers. Even recent extensions, such as QEP and LoaQ, which mitigate error propagation or target specific submodules, still rely on layer-wise formulations and fail to capture the behavior of larger submodules. We introduce Layer-Projected Coordinate Descent (LPCD), a unified framework that extends PTQ beyond layers by optimizing relaxed objectives across arbitrary submodules and projecting the solutions with layer-wise quantizers. LPCD generalizes existing methods and provides a principled approach to quantizing complex submodules while maintaining the efficiency and compatibility of layer-wise PTQ pipelines. Across diverse LLM architectures and bit-widths, LPCD-based submodule quantization consistently enhances both layer-wise PTQ methods and existing submodule approaches.
