mlsanityData to 14 Oct 2026

Towards Anytime Fine-tuning: Continually Pre-trained Language Models with Hypernetwork Prompt

arXiv 2310.13024 ↗First posted 19 Oct 2023cs.CL cs.AI cs.LGcited by 8

Not on the map. Why?

Abstract (arXiv)

Continual pre-training has been urgent for adapting a pre-trained model to a multitude of domains and tasks in the fast-evolving world. In practice, a continually pre-trained model is expected to demonstrate not only greater capacity when fine-tuned on pre-trained domains but also a non-decreasing performance on unseen ones. In this work, we first investigate such anytime fine-tuning effectiveness of existing continual pre-training approaches, concluding with unanimously decreased performance on unseen domains. To this end, we propose a prompt-guided continual pre-training method, where we train a hypernetwork to generate domain-specific prompts by both agreement and disagreement losses. The agreement loss maximally preserves the generalization of a pre-trained model to new domains, and the disagreement one guards the exclusiveness of the generated hidden states for each domain. Remarkably, prompts by the hypernetwork alleviate the domain identity when fine-tuning and promote knowledge transfer across domains. Our method achieved improvements of 3.57% and 3.4% on two real-world datasets (including domain shift and temporal shift), respectively, demonstrating its efficacy.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 54 of its 81 references that are in the map. First posted on arXiv 19 Oct 2023.

Builds on

54 of 81 references.

References · 54

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  6. 2016Overcoming catastrophic forgetting in neural networkscited by 4,787
  7. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  8. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  9. 2016Learning without Forgettingcited by 2,496
  10. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,565
  11. 2017Memory Aware Synapses: Learning what (not) to forgetcited by 1,105
  12. 2018Efficient Lifelong Learning with A-GEMcited by 1,058
38 more
  1. 2022Mass-Editing Memory in a Transformercited by 1,001
  2. 2021Learning to Prompt for Continual Learningcited by 944
  3. 2020Dark Experience for General Continual Learning: a Strong, Simple Baselinecited by 911
  4. 2021Robust fine-tuning of zero-shot modelscited by 797
  5. 2018Overcoming catastrophic forgetting with hard attention to the taskcited by 681
  6. 2022DualPrompt: Complementary Prompting for Rehearsal-free Continual Learningcited by 642
  7. 2020Pre-trained Models for Natural Language Processing: A Surveycited by 505
  8. 2022CODA-Prompt: COntinual Decomposed Attention-based Prompting for Rehearsal-Free Continual Learningcited by 450
  9. 2019Orthogonal Gradient Descent for Continual Learningcited by 369
  10. 2020BERTweet: A pre-trained language model for English Tweetscited by 346
  11. 2018Multi-Task Identification of Entities, Relations, and Coreference for Scientific Knowledge Graph Constructioncited by 322
  12. 2019Learn to Grow: A Continual Structure Learning Framework for Overcoming Catastrophic Forgettingcited by 302
  13. 2021Co2L: Contrastive Continual Learningcited by 244
  14. 2021SPoT: Better Frozen Model Adaptation through Soft Prompt Transfercited by 235
  15. 2023Progressive Prompts: Continual Learning for Language Modelscited by 197
  16. 2019Episodic Memory in Lifelong Language Learningcited by 188
  17. 2019BERT Post-Training for Review Reading Comprehension and Aspect-based Sentiment Analysiscited by 176
  18. 2021Towards Continual Knowledge Learning of Language Modelscited by 174
  19. 2019LAMOL: LAnguage MOdeling for Lifelong Language Learningcited by 160
  20. 2021Training Networks in Null Space of Feature Covariance for Continual Learningcited by 143
  21. 2020Knowledge Distillation Meets Self-Supervisioncited by 142
  22. 2022Knowledge Distillation with the Reused Teacher Classifiercited by 141
  23. 2019Scalable and Order-robust Continual Learning with Additive Parameter Decompositioncited by 125
  24. 2017Few-Shot Image Recognition by Predicting Parameters from Activationscited by 122
  25. 2021Continual World: A Robotic Benchmark For Continual Reinforcement Learningcited by 116
  26. 2021Lifelong Pretraining: Continually Adapting Language Models to Emerging Corporacited by 115
  27. 2021LFPT5: A Unified Framework for Lifelong Few-shot Language Learning Based on Prompt Tuning of T5cited by 104
  28. 2021Continual Learning for Text Classification with Information Disentanglement Based Regularizationcited by 86
  29. 2022How catastrophic can catastrophic forgetting be in linear regression?cited by 81
  30. 2021The Evolution of Out-of-Distribution Robustness Throughout Fine-Tuningcited by 75
  31. 2022ELLE: Efficient Lifelong Pre-training for Emerging Datacited by 70
  32. 2019Hierarchically Structured Meta-learningcited by 68
  33. 2021Adapting BERT for Continual Learning of a Sequence of Aspect Sentiment Classification Taskscited by 46
  34. 2022Information-theoretic Online Memory Selection for Continual Learningcited by 42
  35. 2021Learning Compatible Embeddingscited by 37
  36. 2021Learn Continually, Generalize Rapidly: Lifelong Knowledge Accumulation for Few-shot Learningcited by 35
  37. 2021Mosaicking to Distill: Knowledge Distillation from Out-of-Domain Datacited by 32
  38. 2020Lifelong Language Knowledge Distillationcited by 31

50 most cited of 54 All 54 (JSON)

Built on by

Cited by year

Citing papers per year: 2024: 5; 2025: 3.

8 papers.