QTALE: Quantization-Robust Token-Adaptive Layer Execution for LLMs
Kanghyun Noh, Jinheon Choi, Yulwha Kim
TL;DR
The paper tackles the challenge of efficiently deploying large language models by combining token-adaptive layer execution with quantization. It introduces QTALE, a framework that (i) employs quantization-robust training to preserve diverse execution paths and (ii) provides an inference-time execution-ratio adjustment to reintroduce redundancy as needed. Empirical results across multiple LLaMA variants show that QTALE preserves accuracy close to quantized full models while achieving significant memory savings (4-bit quantization) and comparable FLOP reductions, with gaps to quantization-only baselines under 0.5% on CommonsenseQA. The approach yields practical speedups and storage reductions, enabling cost-effective deployment on constrained hardware, and demonstrates strong robustness across PTQ methods and auxiliary compression techniques.
Abstract
Large language models (LLMs) demand substantial computational and memory resources, posing challenges for efficient deployment. Two complementary approaches have emerged to address these issues: token-adaptive layer execution, which reduces floating-point operations (FLOPs) by selectively bypassing layers, and quantization, which lowers memory footprint by reducing weight precision. However, naively integrating these techniques leads to additional accuracy degradation due to reduced redundancy in token-adaptive models. We propose QTALE (Quantization-Robust Token-Adaptive Layer Execution for LLMs), a novel framework that enables seamless integration of token-adaptive execution with quantization while preserving accuracy. Conventional token-adaptive methods reduce redundancy in two ways: (1) by limiting the diversity of training paths explored during fine-tuning, and (2) by lowering the number of parameters actively involved in inference. To overcome these limitations, QTALE introduces two key components: (1) a training strategy that ensures diverse execution paths are actively explored during fine-tuning, and (2) a post-training mechanism that allows flexible adjustment of the execution ratio at inference to reintroduce redundancy when needed. Experimental results show that QTALE enables seamless integration of token-adaptive layer execution with quantization, showing no noticeable accuracy difference, with the gap to quantization-only models kept below 0.5% on CommonsenseQA benchmarks. By combining token-adaptive execution for FLOPs reduction and quantization for memory savings, QTALE provides an effective solution for efficient LLM deployment.
