Lune

ACL2023Top-tier venue

HyPe: Better Pre-trained Language Model Fine-tuning with Hidden Representation Perturbation

Hongyi Yuan, Zheng Yuan, Chuanqi Tan, Fei Huang, Songfang Huang

Abstract

Language models with the Transformers structure have shown great performance in natural language processing. However, there still poses problems when fine-tuning pre-trained language models on downstream tasks, such as over-fitting or representation collapse. In this work, we propose HyPe, a simple yet effective fine-tuning technique to alleviate such problems by perturbing hidden representations of Transformers layers. Unlike previous works that only add noise to inputs or parameters, we argue that the hidden representations of Transformers layers convey more diverse and meaningful language information. Therefore, making the Transformers layers more robust to hidden representation perturbations can further benefit the fine-tuning of PLMs en bloc. We conduct extensive experiments and analyses on GLUE and other natural language inference datasets. Results demonstrate that HyPe outperforms vanilla fine-tuning and enhances generalization of hidden representations from different layers. In addition, HyPe acquires negligible computational overheads, and is better than and compatible with previous state-of-theart fine-tuning techniques. Codes are released at https://github.com/Yuanhy1997/HyPe .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Deberta: decoding-Enhanced Bert with Disentangled Attention cites ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators
  • Beyond IID: Optimizing Instruction Finetuning from the Perspective of Instruction Interaction and Dependency cites How Abilities in Large Language Models are Affected by Supervised Fine-tuning Data Composition
  • Revisiting Few-sample BERT Fine-tuning cites ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators
  • Revisiting Few-sample BERT Fine-tuning cites Mixout: Effective Regularization to Finetune Large-scale Pretrained Language Models
  • R-Drop: Regularized Dropout for Neural Networks cites ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators
  • RRHF: Rank Responses to Align Language Models with Human Feedback cites R-Drop: Regularized Dropout for Neural Networks
  • VersaTune: An Efficient Data Composition Framework for Training Multi-Capability LLMs cites How Abilities in Large Language Models are Affected by Supervised Fine-tuning Data Composition
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. RRHF: Rank Responses to Align Language Models with Human FeedbackHongyi Yuan, Zheng Yuan, Chuanqi Tan, Wei Wang et al.NeurIPS 2023 · 515 citations
  2. How Abilities in Large Language Models are Affected by Supervised Fine-tuning Data CompositionGuanting Dong, Hongyi Yuan, Keming Lu, Chengpeng Li et al.ACL 2024 · 39 citations
  3. VersaTune: An Efficient Data Composition Framework for Training Multi-Capability LLMsKeer Lu, Keshi Zhao, Zhuoran Zhang, Zheng Liang et al.EMNLP 2025 · 3 citations
  4. Beyond IID: Optimizing Instruction Finetuning from the Perspective of Instruction Interaction and DependencyHanyu Zhao, Li Du, Yiming Ju, Chengwei Wu et al.AAAI 2025 · 2 citations
  5. Evaluating Concurrent Robustness of Language Models Across Diverse Challenge SetsVatsal Gupta, Pranshu Pandya, Tushar Kataria, Vivek Gupta et al.EMNLP 2024 · 1 citation

Builds on12

  1. Deberta: decoding-Enhanced Bert with Disentangled AttentionPengcheng He, Xiaodong Liu, Jianfeng Gao, Weizhu ChenICLR 2021 · 3,729 citations
  2. R-Drop: Regularized Dropout for Neural NetworksXiaobo Liang, Lijun Wu, Juntao Li, Yue Wang et al.NeurIPS 2021 · 610 citations
  3. ELECTRA: Pre-training Text Encoders as Discriminators Rather Than GeneratorsKevin Clark, Minh-Thang Luong, Quoc V. Le, Christopher D. ManningICLR 2020 · 541 citations
  4. Mixout: Effective Regularization to Finetune Large-scale Pretrained Language ModelsCheolhyoung Lee, Kyunghyun Cho, Wanmo KangICLR 2020 · 233 citations
  5. Revisiting Few-sample BERT Fine-tuningTianyi Zhang, Felix Wu, Arzoo Katiyar, Kilian Q. Weinberger et al.ICLR 2021 · 172 citations

Related papers

  1. G-Tuning: Improving Generalization of Pre-trained Language Models with Generative Adversarial NetworkRongxiang Weng, Wensen Cheng, Min ZhangACL Findings 2023 · 2 citations
  2. Better Fine-Tuning by Reducing Representational CollapseArmen Aghajanyan, Akshat Shrivastava, Anchit Gupta, Naman Goyal et al.ICLR 2021 · 20 citations
  3. Representation Projection Invariance Mitigates Representation CollapseAnastasia Razdaibiedina, Ashish Khetan, Zohar S. Karnin, Daniel Khashabi et al.EMNLP Findings 2023 · 1 citation
  4. Fine-Tuning Pre-Trained Language Models Effectively by Optimizing Subnetworks AdaptivelyHaojie Zhang, Ge Li, Jia Li, Zhongjin Zhang et al.NeurIPS 2022 · 43 citations
  5. Choose Your Transformer: Improved Transferability Estimation of Transformer Models on Classification TasksLukas Garbaciauskas, Max Ploner, Alan AkbikACL Findings 2024
Dusk over the sea between two cliffs drawn in fine vertical lines