Lune

ACL Findings2022

A Simple Hash-Based Early Exiting Approach For Language Understanding and Generation

Tianxiang Sun, Xiangyang Liu, Wei Zhu, Zhichao Geng, Lingling Wu, Yilong He, Yuan Ni, Guotong Xie, Xuanjing Huang, Xipeng Qiu

摘要

Early exiting allows instances to exit at different layers according to the estimation of difficulty. Previous works usually adopt heuristic metrics such as the entropy of internal outputs to measure instance difficulty, which suffers from generalization and threshold-tuning. In contrast, learning to exit, or learning to predict instance difficulty is a more appealing way. Though some effort has been devoted to employing such "learn-to-exit" modules, it is still unknown whether and how well the instance difficulty can be learned. As a response, we first conduct experiments on the learnability of instance difficulty, which demonstrates that modern neural models perform poorly on predicting instance difficulty. Based on this observation, we propose a simple-yeteffective Hash-based Early Exiting approach (HASHEE) that replaces the learn-to-exit modules with hash functions to assign each token to a fixed exiting layer. Different from previous methods, HASHEE requires no internal classifiers nor extra parameters, and therefore is more efficient. Experimental results on classification, regression, and generation tasks demonstrate that HASHEE can achieve higher performance with fewer FLOPs and inference time compared with previous state-of-the-art early exiting methods.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • TinyBERT: Distilling BERT for Natural Language Understanding 引用了 ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
  • TinyBERT: Distilling BERT for Natural Language Understanding 引用了 Q-BERT: Hessian Based Ultra Low Precision Quantization of BERT
  • BERT Loses Patience: Fast and Robust Inference with Early Exit 引用了 ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
  • LGViT: Dynamic Early Exiting for Accelerating Vision Transformer 引用了 BERT Loses Patience: Fast and Robust Inference with Early Exit
  • Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs 引用了 BERT Loses Patience: Fast and Robust Inference with Early Exit
  • Confident Adaptive Language Modeling 引用了 BERT Loses Patience: Fast and Robust Inference with Early Exit
  • Confident Adaptive Language Modeling 引用了 Q-BERT: Hessian Based Ultra Low Precision Quantization of BERT
  • ConsistentEE: A Consistent and Hardness-Guided Early Exiting Method for Accelerating Language Models Inference 引用了 TinyBERT: Distilling BERT for Natural Language Understanding
  • ConsistentEE: A Consistent and Hardness-Guided Early Exiting Method for Accelerating Language Models Inference 引用了 BERT Loses Patience: Fast and Robust Inference with Early Exit
  • ConsistentEE: A Consistent and Hardness-Guided Early Exiting Method for Accelerating Language Models Inference 引用了 Confident Adaptive Language Modeling
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper10

  1. Model Tells You What to Discard: Adaptive KV Cache Compression for LLMsSuyu Ge, Yunan Zhang, Liyuan Liu, Minjia Zhang 等ICLR 2024 · 432 次引用
  2. Confident Adaptive Language ModelingTal Schuster, Adam Fisch, Jai Gupta, Mostafa Dehghani 等NeurIPS 2022 · 394 次引用
  3. LGViT: Dynamic Early Exiting for Accelerating Vision TransformerGuanyu Xu, Jiawei Hao, Li Shen, Han Hu 等ACM MM 2023 · 33 次引用
  4. ConsistentEE: A Consistent and Hardness-Guided Early Exiting Method for Accelerating Language Models InferenceZiqian Zeng, Yihuai Hong, Hongliang Dai, Huiping Zhuang 等AAAI 2024 · 26 次引用
  5. Candidate Soups: Fusing Candidate Results Improves Translation Quality for Non-Autoregressive TranslationHuanran Zheng, Wei Zhu, Pengfei Wang, Xiaoling WangEMNLP 2022 · 5 次引用

它引用的 Paper14

  1. ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel 等ICLR 2020 · 7,418 次引用
  2. TinyBERT: Distilling BERT for Natural Language UnderstandingXiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang 等EMNLP Findings 2020 · 1,787 次引用
  3. BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and ComprehensionMike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad 等ACL 2020 · 1,224 次引用
  4. Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTSheng Shen, Zhen Dong, Jiayu Ye, Linjian Ma 等AAAI 2020 · 656 次引用
  5. BERT Loses Patience: Fast and Robust Inference with Early ExitWangchunshu Zhou, Canwen Xu, Tao Ge, Julian J. McAuley 等NeurIPS 2020 · 473 次引用

相关 Paper

  1. COSEE: Consistency-Oriented Signal-Based Early Exiting via Calibrated Sample Weighting MechanismJianing He, Qi Zhang, Hongyun Zhang, Xuanjing Huang 等AAAI 2025 · 3 次引用
  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. You Need Multiple Exiting: Dynamic Early Exiting for Accelerating Unified Vision Language ModelShengkun Tang, Yaqing Wang, Zhenglun Kong, Tianchi Zhang 等CVPR 2023
  4. LeeBERT: Learned Early Exit for BERT with cross-level optimizationWei ZhuACL 2021
  5. Zero Time Waste: Recycling Predictions in Early Exit Neural NetworksMaciej Wolczyk, Bartosz Wójcik, Klaudia Balazy, Igor T. Podolak 等NeurIPS 2021 · 78 次引用
黄昏的海面,两侧是细线勾勒的悬崖