LoRA-Drop: Temporal LoRA Decoding for Efficient LLM Inference
Hossein Rajabzadeh, Maryam Dialameh, Chul B. Park, Il-Min Kim, Hyock Ju Kwon
TL;DR
LoRA-Drop targets the latency bottleneck in autoregressive LLM inference by temporally scheduling a fixed subset of transformer layers to run in a lightweight LoRA mode, with periodic full-refresh steps to prevent drift. By exploiting temporal redundancy in hidden states, it reduces per-token compute and KV-cache updates without routing networks, and is designed as a plug-and-play enhancement for pretrained models. Across four open-weight LLMs, it delivers up to 2.6x decoding speedups and 40–55% KV-cache reductions with less than 0.5 percentage-point accuracy loss on reasoning, code, and multilingual benchmarks, establishing a practical Pareto frontier for adaptive-capacity inference. The approach relies on a model-specific drop-layer list derived from empirical redundancy measurements and requires only modest continual fine-tuning of LoRA parameters, enabling straightforward deployment on constrained hardware.
Abstract
Autoregressive large language models (LLMs) are bottlenecked by sequential decoding, where each new token typically requires executing all transformer layers. Existing dynamic-depth and layer-skipping methods reduce this cost, but often rely on auxiliary routing mechanisms or incur accuracy degradation when bypassed layers are left uncompensated. We present \textbf{LoRA-Drop}, a plug-and-play inference framework that accelerates decoding by applying a \emph{temporal compute schedule} to a fixed subset of intermediate layers: on most decoding steps, selected layers reuse the previous-token hidden state and apply a low-rank LoRA correction, while periodic \emph{refresh} steps execute the full model to prevent drift. LoRA-Drop requires no routing network, is compatible with standard KV caching, and can reduce KV-cache footprint by skipping KV updates in droppable layers during LoRA steps and refreshing periodically. Across \textbf{LLaMA2-7B}, \textbf{LLaMA3-8B}, \textbf{Qwen2.5-7B}, and \textbf{Qwen2.5-14B}, LoRA-Drop achieves up to \textbf{2.6$\times$ faster decoding} and \textbf{45--55\% KV-cache reduction} while staying within \textbf{0.5 percentage points (pp)} of baseline accuracy. Evaluations on reasoning (GSM8K, MATH, BBH), code generation (HumanEval, MBPP), and long-context/multilingual benchmarks (LongBench, XNLI, XCOPA) identify a consistent \emph{safe zone} of scheduling configurations that preserves quality while delivering substantial efficiency gains, providing a simple path toward adaptive-capacity inference in LLMs. Codes are available at https://github.com/hosseinbv/LoRA-Drop.git.
