paper-with-me

Papers

Accelerating Inference for Pretrained Language Models by Unified Multi-Perspective Early Exiting

2022-10-01 · COLING 2022 10 · Jun Kong, Jin Wang, Liang-Chih Yu, Xuejie Zhang

Conditional computation algorithms, such as the early exiting (EE) algorithm, can be applied to accelerate the inference of pretrained language models (PLMs) while maintaining competitive performance on resource-constrained devices. However, this approach is only applied to the vertical architecture to decide which layers should be used for inference. Conversely, the operation of the horizontal perspective is ignored, and the determination of which tokens in each layer should participate in the computation fails, leading to a high redundancy for adaptive inference. To address this limitation, a unified horizontal and vertical multi-perspective early exiting (MPEE) framework is proposed in this study to accelerate the inference of transformer-based models. Specifically, the vertical architecture uses recycling EE classifier memory and weighted self-distillation to enhance the performance of the EE classifiers. Then, the horizontal perspective uses recycling class attention memory to emphasize the informative tokens. Conversely, the tokens with less information are truncated by weighted fusion and isolated from the following computation. Based on this, both horizontal and vertical EE are unified to obtain a better tradeoff between performance and efficiency. Extensive experimental results show that MPEE can achieve higher acceleration inference with competent performance than existing competitive methods.

📄 PDF Abstract BibTeX

Code (1)

junkong5/mpee 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Multi-Token Prediction via Self-Distillation

2026-02-05 · John Kirchenbauer, Abhimanyu Hans, Brian Bartoldson, Micah Goldblum 외 arxiv

Existing techniques for accelerating language model inference, such as speculative decoding, require training auxiliary speculator models and building and deploying complex inference pipelines. We consider a new approach…

MotionFlux: Efficient Text-Guided Motion Generation through Rectified Flow Matching and Preference Alignment

2025-08-27 · Zhiting Gao, Dan Song, Diqiong Jiang, Chao Xue 외 arxiv

Motion generation is essential for animating virtual characters and embodied agents. While recent text-driven methods have made significant strides, they often struggle with achieving precise alignment between linguistic…

Accelerating Large Language Model Inference via Early-Exiting Algorithms

2025-09-07 · Sangmin Bae arxiv

Large language models have achieved remarkable capabilities, but their practical deployment is hindered by significant computational costs. While adaptive computation methods like early-exiting promise to reduce these co…

OpenSLU: A Unified, Modularized, and Extensible Toolkit for Spoken Language Understanding

2023-05-17 · Libo Qin, Qiguang Chen, Xiao Xu, Yunlong Feng 외

Spoken Language Understanding (SLU) is one of the core components of a task-oriented dialogue system, which aims to extract the semantic meaning of user queries (e.g., intents and slots). In this work, we introduce OpenS…

Spoken Language Understanding

Muddit: Liberating Generation Beyond Text-to-Image with a Unified Discrete Diffusion Model

2025-05-29 · Qingyu Shi, Jinbin Bai, Zhuoran Zhao, Wenhao Chai 외

Unified generation models aim to handle diverse tasks across modalities -- such as text generation, image generation, and vision-language reasoning -- within a single architecture and decoding paradigm. Autoregressive un…

DecoderImage Generationmultimodal generationText Generation