Two-dimensional early exit optimisation of LLM inference
Institute for Research and Applications of Fuzzy Modelling(模糊建模研究与应用研究所);University of Ostrava(奥斯特拉瓦大学);Institute of Computer Science(计算机科学研究所);Faculty of Philosophy and Science(哲学与科学学院);Silesian University in Opava(奥帕瓦西里西亚大学)
Jan Hůla, David Adamczyk, Tomáš Filip, Martin Pavlíček, Petr Sosík
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.
Runaway is Ashamed, But Helpful: On the Early-Exit Behavior of Large Language Model-based Agents in Embodied Environments
Southeast University(东南大学);The University of Sydney(悉尼大学);Southeast University Shenzhen Research Institute(东南大学深圳研究院);Institute of Computing and Intelligence, Harbin Institute of Technology, Shenzhen, China(哈尔滨工业大学计算机与智能信息学院,深圳,中国);College of Computing and Data Science at Nanyang Technological University, Singapore 639798(南洋理工大学计算机与数据科学学院,新加坡)
RAEE: A Robust Retrieval-Augmented Early Exit Framework for Efficient Inference
City University of Hong Kong(香港城市大学);Mohamed bin Zayed University of Artificial Intelligence (MBZUAI)(穆罕默德·本·扎耶德人工智能大学);MILA, McGill University(麦吉尔大学机器学习研究院);National Taiwan University(台湾国立大学)
FlexEE: Self-Speculative and KV-Compatible Early Exiting for Offloading-Aware LLM Inference
University of Science and Technology of China(中国科学技术大学);Institute of Artificial Intelligence, Hefei Comprehensive National Science Center(合肥综合性国家科学中心人工智能研究院)
Early Exit Is a Natural Capability in Transformer-based Models: An Empirical Study on Early Exit without Joint Optimization
School of Computer Science and Engineering, Northeastern University(东北大学计算机科学与工程学院);Meituan(美团);Dalian Jiaotong University(大连交通大学);NiuTrans Research(牛翻译研究中心)
本文实证研究表明,基于 Transformer 的 LLM 天然具备无需额外输出层或联合优化的早退能力,并揭示了子词级 EE 行为及子层早退潜力。
The Zero-Step Thinking: An Empirical Study of Mode Selection as Harder Early Exit in Reasoning Models
The Key Laboratory of Cognition and Decision Intelligence for Complex Systems, Institute of Automation, Chinese Academy of Sciences(认知与决策智能复杂系统重点实验室,自动化研究所,中国科学院);School of Artificial Intelligence, University of Chinese Academy of Sciences(人工智能学院,中国科学院大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)
DE$^3$-BERT: Distance-Enhanced Early Exiting for BERT based on Prototypical Networks
School of Information Engineering, Tianjin University of Commerce(天津商业大学信息工程学院);School of Computer Science and Technology, Tongji University(同济大学计算机科学与技术学院);School of Artificial Intelligence and Computer Science, Nantong University(南通大学人工智能与计算机科学学院);Faculty of Data Science, City University of Macau(澳门城市大学数据科学学院);National Laboratory of Pattern Recognition, Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所模式识别国家重点实验室);DataX Research Centre, School of Computing, Macquarie University(麦考瑞大学计算学院DataX研究中心)
LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding
FAIR at Meta(Meta FAIR研究院);GenAI at Meta(Meta GenAI部门);Reality Labs at Meta(Meta Reality Labs);University of Toronto(多伦多大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);Dana-Farber Cancer Institute(丹娜法伯癌症研究院);Carnegie Mellon University(卡内基梅隆大学)
Early Exit and Multi Stage Knowledge Distillation in VLMs for Video Summarization
Department of Computer Science and Engineering, IIT Bombay(印度理工学院班加罗尔计算机科学与工程系);Center of Machine Intelligence and Data Science (C-MInDS), IIT Bombay(印度理工学院班加罗尔人工智能与数据科学中心)
Nav-EE: Navigation-Guided Early Exiting for Efficient Vision-Language Models in Autonomous Driving
Department of Computer Science, City University of Hong Kong(香港城市大学计算机科学系);Department of Computer Science, McGill University(麦吉尔大学计算机科学系);Department of Computer Science, Mohamed bin Zayed University of Artificial Intelligence(马尔代夫穆罕默德· bin·扎耶德人工智能大学计算机科学系)
COST-EFF: Collaborative Optimization of Spatial and Temporal Efficiency with Slenderized Multi-exit Language Models
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);MOE Key Laboratory of Computational Linguistics, Peking University(北京大学计算语言学教育部重点实验室)
A Simple Hash-Based Early Exiting Approach For Language Understanding and Generation
Fudan University(复旦大学);East China Normal University(华东师范大学);Ping An Health and Technology Company Limited(平安健康科技有限公司);Ping An Healthcare Technology(平安医疗科技);Ping An International Smart City Technology Company Limited(平安国际智慧城市科技有限公司);Peng Cheng Laboratory(鹏城实验室)
Training dynamic models using early exits for automatic speech recognition on resource-constrained devices
University of Trento(特伦托大学);LTCI, Télécom Paris, Institut Polytechnique de Paris(巴黎综合理工学院电信巴黎分校LTCI实验室);Johns Hopkins University(约翰斯·霍普金斯大学);Universite Paris-Saclay, LISN, CNRS(巴黎萨克雷大学LISN实验室,法国国家科学研究中心);Fondazione Bruno Kessler(布鲁诺·凯斯勒基金会)
You Need Multiple Exiting: Dynamic Early Exiting for Accelerating Unified Vision Language Model
North Carolina State University(北卡罗来纳州立大学);Google Research(谷歌研究院);Northeastern University(东北大学);University of Michigan(密歇根大学);The University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校);University of Connecticut(康涅狄格大学)