EMNLP Findings2022
Hidden State Variability of Pretrained Language Models Can Guide Computation Reduction for Transfer Learning
Shuo Xie, Jiahao Qiu, Ankita Pasad, Li Du, Qing Qu, Hongyuan Mei
摘要
While transferring a pretrained language model, common approaches conventionally attach their task-specific classifiers to the top layer and adapt all the pretrained layers. We investigate whether one could make a task-specific selection on which subset of the layers to adapt and where to place the classifier.The goal is to reduce the computation cost of transfer learning methods (e.g. fine-tuning or adapter-tuning) without sacrificing its performance.
We propose to select layers based on the variability of their hidden states given a taskspecific corpus. We say a layer is already "wellspecialized" in a task if the within-class variability of its hidden states is low relative to the between-class variability. Our variability metric is cheap to compute and doesn't need any training or hyperparameter tuning. It is robust to data imbalance and data scarcity. Extensive experiments on the GLUE benchmark demonstrate that selecting layers based on our metric can yield significantly stronger performance than using the same number of top layers and often match the performance of fine-tuning or adapter-tuning the entire language model.
问 Lune
尽管问,回答会引用原文。
Lune 会读完全文和相关的 Paper,每个回答都附上所依据的原文段落。
引用它的顶会 Paper8
- Task-Specific Skill Localization in Fine-tuned Language ModelsAbhishek Panigrahi, Nikunj Saunshi, Haoyu Zhao, Sanjeev AroraICML 2023 · 100 次引用
- Generalized Neural Collapse for a Large Number of ClassesJiachen Jiang, Jinxin Zhou, Peng Wang, Qing Qu 等ICML 2024 · 44 次引用
- Neural Collapse in Multi-label Learning with Pick-all-label LossPengyu Li, Xiao Li, Yutong Wang, Qing QuICML 2024 · 15 次引用
- Where does In-context Learning Happen in Large Language Models?Suzanna Sia, David Mueller, Kevin DuhNeurIPS 2024 · 14 次引用
- Quantifying the Variability Collapse of Neural NetworksJing Xu, Haoxiong LiuICML 2023 · 10 次引用
它引用的 Paper22
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
- Deberta: decoding-Enhanced Bert with Disentangled AttentionPengcheng He, Xiaodong Liu, Jianfeng Gao, Weizhu ChenICLR 2021 · 3,729 次引用
- Towards a Unified View of Parameter-Efficient Transfer LearningJunxian He, Chunting Zhou, Xuezhe Ma, Taylor Berg-Kirkpatrick 等ICLR 2022 · 1,182 次引用
- BERT Loses Patience: Fast and Robust Inference with Early ExitWangchunshu Zhou, Canwen Xu, Tao Ge, Julian J. McAuley 等NeurIPS 2020 · 473 次引用
- On the Stability of Fine-tuning BERT: Misconceptions, Explanations, and Strong BaselinesMarius Mosbach, Maksym Andriushchenko, Dietrich KlakowICLR 2021 · 448 次引用
相关 Paper
- On Surgical Fine-tuning for Language EncodersAbhilasha Lodha, Gayatri Belapurkar, Saloni Chalkapurkar, Yuanming Tao 等EMNLP Findings 2023 · 5 次引用
- Investigating Transferability in Pretrained Language ModelsAlex Tamkin, Trisha Singh, Davide Giovanardi, Noah D. GoodmanEMNLP Findings 2020 · 45 次引用
- How transfer learning impacts linguistic knowledge in deep NLP models?Nadir Durrani, Hassan Sajjad, Fahim DalviACL Findings 2021 · 39 次引用
- How to Determine the Most Powerful Pre-trained Language Model without Brute Force Fine-tuning? An Empirical SurveyJun Bai, Xiaofeng Zhang, Chen Li, Hanhua Hong 等EMNLP Findings 2023 · 7 次引用
- HadSkip: Homotopic and Adaptive Layer Skipping of Pre-trained Language Models for Efficient InferenceHaoyu Wang, Yaqing Wang, Tianci Liu, Tuo Zhao 等EMNLP Findings 2023 · 3 次引用
