paper-with-me

Papers

A Global Past-Future Early Exit Method for Accelerating Inference of Pre-trained Language Models

2021-06-01 · NAACL 2021 4 · Kaiyuan Liao, Yi Zhang, Xuancheng Ren, Qi Su, Xu sun, Bin He

Early exit mechanism aims to accelerate the inference speed of large-scale pre-trained language models. The essential idea is to exit early without passing through all the inference layers at the inference stage. To make accurate predictions for downstream tasks, the hierarchical linguistic information embedded in all layers should be jointly considered. However, much of the research up to now has been limited to use local representations of the exit layer. Such treatment inevitably loses information of the unused past layers as well as the high-level features embedded in future layers, leading to sub-optimal performance. To address this issue, we propose a novel Past-Future method to make comprehensive predictions from a global perspective. We first take into consideration all the linguistic information embedded in the past layers and then take a further step to engage the future information which is originally inaccessible for predictions. Extensive experiments demonstrate that our method outperforms previous early exit methods by a large margin, yielding better and robust performance.

📄 PDF Abstract BibTeX

Code (1)

lancopku/early-exit 공식 구현 pytorch

Similar Papers 제목 키워드 기반

LGViT: Dynamic Early Exiting for Accelerating Vision Transformer

2023-08-01 · Guanyu Xu, Jiawei Hao, Li Shen, Han Hu 외

Recently, the efficient deployment and acceleration of powerful vision transformers (ViTs) on resource-limited edge devices for providing multimedia services have become attractive tasks. Although early exiting is a feas…

Accelerating Frank-Wolfe via Averaging Step Directions

2022-05-24 · Zhaoyue Chen, Yifan Sun

The Frank-Wolfe method is a popular method in sparse constrained optimization, due to its fast per-iteration complexity. However, the tradeoff is that its worst case global convergence is comparatively slow, and importan…

DE$^3$-BERT: Distance-Enhanced Early Exiting for BERT based on Prototypical Networks

2024-02-03 · Jianing He, Qi Zhang, Weiping Ding, Duoqian Miao 외

Early exiting has demonstrated its effectiveness in accelerating the inference of pre-trained language models like BERT by dynamically adjusting the number of layers executed. However, most existing early exiting methods…

DuoDiff: Accelerating Diffusion Models with a Dual-Backbone Approach

2024-10-12 · Daniel Gallo Fernández, Răzvan-Andrei Matişan, Alejandro Monroy Muñoz, Ana-Maria Vasilcoiu 외

Diffusion models have achieved unprecedented performance in image generation, yet they suffer from slow inference due to their iterative sampling process. To address this, early-exiting has recently been proposed, where …

DenoisingImage Generation

VEE-BERT: Accelerating BERT Inference for Named Entity Recognition via Vote Early Exiting

2022-01-16 · ACL ARR January 2022 1 · Anonymous

Named entity recognition (NER) is of great importance for a wide range of tasks, such as medical health record understanding, document analysis, dialogue understanding. BERT and its variants are the most performing model…

Dialogue Understandingnamed-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)+1