CLAIMar 27

Two-dimensional early exit optimisation of LLM inference

arXiv:2604.1859253.1h-index: 4
AI Analysis

This work improves inference efficiency for LLM-based classification tasks, offering a complementary method to existing optimizations like quantization and pruning.

The paper introduces a two-dimensional early exit strategy for LLM inference that combines layer-wise and sentence-wise exiting, achieving 1.4–2.3× speed-ups over optimal layer-wise early exit on sentiment classification tasks across four LLMs.

We introduce a two-dimensional (2D) early exit strategy that coordinates layer-wise and sentence-wise exiting for classification tasks in large language models. By processing input incrementally sentence-by-sentence while progressively activating deeper layers, our method achieves multiplicative computational savings that exceed those from optimizing either dimension independently. Experimental evaluation across four state-of-the-art LLMs (Llama 3.1, Llama 3.2, Gemma, Qwen; 3B-8B parameters) on three sentiment classification datasets demonstrates additional speed-ups of 1.4--2.3$\times$ over optimal layer-wise early exit for simpler tasks with vanilla models, with graceful degradation on complex multi-class problems. Fine-tuning reduces but does not eliminate this advantage. The approach is model-agnostic, requires only lightweight classification adapters, and is orthogonal to complementary efficiency methods such as quantization and pruning. Our findings indicate that 2D early exit strategies excel when semantic information accumulates predictably across input structure, suggesting possible applicability to sequence-processing tasks beyond sentiment classification.

Foundations

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

Your Notes