Lune

ACL Findings2024

CeeBERT: Cross-Domain Inference in Early Exit BERT

Divya Jyoti Bajpai, Manjesh K. Hanawal

摘要

Pre-trained Language Models (PLMs), like BERT, with self-supervision objectives exhibit remarkable performance and generalization across various tasks. However, they suffer in inference latency due to their large size. To address this issue, side branches are attached at intermediate layers, enabling early inference of samples without requiring them to pass through all layers. However, the challenge is to decide which layer to infer and exit each sample so that the accuracy and latency are balanced. Moreover, the distribution of the samples to be inferred may differ from that used for training necessitating crossdomain adaptation. We propose an online learning algorithm named Cross-Domain Inference in Early Exit BERT (CEEBERT) that dynamically determines early exits of samples based on the level of confidence at each exit point. CEEBERT learns optimal thresholds from domain-specific confidence observed at intermediate layers on the fly, eliminating the need for labeled data. Experimental results on five distinct datasets with BERT and AL-BERT models demonstrate CEEBERT's ability to improve latency by reducing unnecessary computations with minimal drop in performance. By adapting to the threshold values, CEEBERT can speed up the BERT/ALBERT models by 2× -3.5× with minimal drop in accuracy.

The source code is available at https://github.com/Div290/ CeeBERT.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • BERT Loses Patience: Fast and Robust Inference with Early Exit 引用了 ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
  • BERT Loses Patience: Fast and Robust Inference with Early Exit 引用了 Reducing Transformer Depth on Demand with Structured Dropout
  • What Layers When: Learning to Skip Compute in LLMs with Residual Gates 引用了 BERT Loses Patience: Fast and Robust Inference with Early Exit
  • What Layers When: Learning to Skip Compute in LLMs with Residual Gates 引用了 Depth-Adaptive Transformer
  • BEEM: Boosting Performance of Early Exit DNNs using Multi-Exit Classifiers as Experts 引用了 BERT Loses Patience: Fast and Robust Inference with Early Exit
  • BEEM: Boosting Performance of Early Exit DNNs using Multi-Exit Classifiers as Experts 引用了 Reducing Transformer Depth on Demand with Structured Dropout
  • Beyond Greedy Exits: Improved Early Exit Decisions for Risk Control and Reliability 引用了 BERT Loses Patience: Fast and Robust Inference with Early Exit
  • Beyond Greedy Exits: Improved Early Exit Decisions for Risk Control and Reliability 引用了 Depth-Adaptive Transformer
  • RAEE: A Robust Retrieval-Augmented Early Exit Framework for Efficient Inference 引用了 BERT Loses Patience: Fast and Robust Inference with Early Exit
  • RAEE: A Robust Retrieval-Augmented Early Exit Framework for Efficient Inference 引用了 BEEM: Boosting Performance of Early Exit DNNs using Multi-Exit Classifiers as Experts
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. What Layers When: Learning to Skip Compute in LLMs with Residual GatesFilipe Laitenberger, Dawid Jan Kopiczko, Cees G. M. Snoek, Yuki M. AsanoICLR 2026 · 6 次引用
  2. Beyond Greedy Exits: Improved Early Exit Decisions for Risk Control and ReliabilityDivya Jyoti Bajpai, Manjesh Kumar HanawalNeurIPS 2025 · 4 次引用
  3. RAEE: A Robust Retrieval-Augmented Early Exit Framework for Efficient InferenceLianming Huang, Shangyu Wu, Yufei Cui, Ying Xiong 等ICLR 2026 · 3 次引用
  4. Inconsistency-aware Multimodal Schrödinger Bridge for Deepfake LocalizationJiayu Xiong, Jing Wang, Qi Zhang, Wanlong Wang 等CVPR 2026
  5. BEEM: Boosting Performance of Early Exit DNNs using Multi-Exit Classifiers as ExpertsDivya Jyoti Bajpai, Manjesh Kumar HanawalICLR 2025

它引用的 Paper15

  1. ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel 等ICLR 2020 · 7,418 次引用
  2. Reducing Transformer Depth on Demand with Structured DropoutAngela Fan, Edouard Grave, Armand JoulinICLR 2020 · 695 次引用
  3. BERT Loses Patience: Fast and Robust Inference with Early ExitWangchunshu Zhou, Canwen Xu, Tao Ge, Julian J. McAuley 等NeurIPS 2020 · 473 次引用
  4. SPINN: synergistic progressive inference of neural networks over device and cloudStefanos Laskaridis, Stylianos I. Venieris, Mário Almeida, Ilias Leontiadis 等MobiCom 2020 · 312 次引用
  5. Depth-Adaptive TransformerMaha Elbayad, Jiatao Gu, Edouard Grave, Michael AuliICLR 2020 · 264 次引用

相关 Paper

  1. EBERT: Efficient BERT Inference with Dynamic Structured PruningZejian Liu, Fanrong Li, Gang Li, Jian ChengACL Findings 2021 · 31 次引用
  2. CascadeBERT: Accelerating Inference of Pre-trained Language Models via Calibrated Complete Models CascadeLei Li, Yankai Lin, Deli Chen, Shuhuai Ren 等EMNLP Findings 2021 · 33 次引用
  3. DAdEE: Unsupervised Domain Adaptation in Early Exit PLMsDivya Jyoti Bajpai, Manjesh K. HanawalEMNLP Findings 2024 · 2 次引用
  4. LeeBERT: Learned Early Exit for BERT with cross-level optimizationWei ZhuACL 2021
  5. SkipBERT: Efficient Inference with Shallow Layer SkippingJue Wang, Ke Chen, Gang Chen, Lidan Shou 等ACL 2022
黄昏的海面,两侧是细线勾勒的悬崖