Towards Anytime Fine-tuning: Continually Pre-trained Language Models with Hypernetwork Prompt
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
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,787
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2016Learning without Forgettingcited by 2,496
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,565
- 2017Memory Aware Synapses: Learning what (not) to forgetcited by 1,105
- 2018Efficient Lifelong Learning with A-GEMcited by 1,058
38 more
- 2022Mass-Editing Memory in a Transformercited by 1,001
- 2021Learning to Prompt for Continual Learningcited by 944
- 2020Dark Experience for General Continual Learning: a Strong, Simple Baselinecited by 911
- 2021Robust fine-tuning of zero-shot modelscited by 797
- 2018Overcoming catastrophic forgetting with hard attention to the taskcited by 681
- 2022DualPrompt: Complementary Prompting for Rehearsal-free Continual Learningcited by 642
- 2020Pre-trained Models for Natural Language Processing: A Surveycited by 505
- 2022CODA-Prompt: COntinual Decomposed Attention-based Prompting for Rehearsal-Free Continual Learningcited by 450
- 2019Orthogonal Gradient Descent for Continual Learningcited by 369
- 2020BERTweet: A pre-trained language model for English Tweetscited by 346
- 2018Multi-Task Identification of Entities, Relations, and Coreference for Scientific Knowledge Graph Constructioncited by 322
- 2019Learn to Grow: A Continual Structure Learning Framework for Overcoming Catastrophic Forgettingcited by 302
- 2021Co2L: Contrastive Continual Learningcited by 244
- 2021SPoT: Better Frozen Model Adaptation through Soft Prompt Transfercited by 235
- 2023Progressive Prompts: Continual Learning for Language Modelscited by 197
- 2019Episodic Memory in Lifelong Language Learningcited by 188
- 2019BERT Post-Training for Review Reading Comprehension and Aspect-based Sentiment Analysiscited by 176
- 2021Towards Continual Knowledge Learning of Language Modelscited by 174
- 2019LAMOL: LAnguage MOdeling for Lifelong Language Learningcited by 160
- 2021Training Networks in Null Space of Feature Covariance for Continual Learningcited by 143
- 2020Knowledge Distillation Meets Self-Supervisioncited by 142
- 2022Knowledge Distillation with the Reused Teacher Classifiercited by 141
- 2019Scalable and Order-robust Continual Learning with Additive Parameter Decompositioncited by 125
- 2017Few-Shot Image Recognition by Predicting Parameters from Activationscited by 122
- 2021Continual World: A Robotic Benchmark For Continual Reinforcement Learningcited by 116
- 2021Lifelong Pretraining: Continually Adapting Language Models to Emerging Corporacited by 115
- 2021LFPT5: A Unified Framework for Lifelong Few-shot Language Learning Based on Prompt Tuning of T5cited by 104
- 2021Continual Learning for Text Classification with Information Disentanglement Based Regularizationcited by 86
- 2022How catastrophic can catastrophic forgetting be in linear regression?cited by 81
- 2021The Evolution of Out-of-Distribution Robustness Throughout Fine-Tuningcited by 75
- 2022ELLE: Efficient Lifelong Pre-training for Emerging Datacited by 70
- 2019Hierarchically Structured Meta-learningcited by 68
- 2021Adapting BERT for Continual Learning of a Sequence of Aspect Sentiment Classification Taskscited by 46
- 2022Information-theoretic Online Memory Selection for Continual Learningcited by 42
- 2021Learning Compatible Embeddingscited by 37
- 2021Learn Continually, Generalize Rapidly: Lifelong Knowledge Accumulation for Few-shot Learningcited by 35
- 2021Mosaicking to Distill: Knowledge Distillation from Out-of-Domain Datacited by 32
- 2020Lifelong Language Knowledge Distillationcited by 31
50 most cited of 54 All 54 (JSON)
Built on by
Citing papers per year: 2024: 5; 2025: 3.
8 papers.
- 2024Controllable Prompt Tuning For Balancing Group Distributional Robustnesscited by 10
- 2024Demonstration of DB-GPT: Next Generation Data Interaction System Empowered by Large Language Modelscited by 9
- 2024Leveraging Encoder-only Large Language Models for Mobile App Review Feature Extractioncited by 3
- 2024ROMAS: A Role-Based Multi-Agent System for Database monitoring and Planningcited by 3
- 2025Efficient Domain-adaptive Continual Pretraining for the Process Industry in the German Languagecited by 3
- 2025DORAEMON: A Unified Library for Visual Object Modeling and Representation Learning at Scalecited by 2
- 2024Prompt-Consistency Image Generation (PCIG): A Unified Framework Integrating LLMs, Knowledge Graphs, and Controllable Diffusion Modelscited by 1
- 2025GRID: Scaling Task-Agnostic Inference in Continual Prompt Tuningcited by 1
- 2025DORAEMON: A Unified Library for Visual Object Modeling and Representation Learning at Scale6 Nov 2025
- 2025GRID: Scaling Task-Agnostic Inference in Continual Prompt Tuning19 Jul 2025
- 2025Efficient Domain-adaptive Continual Pretraining for the Process Industry in the German Language28 Apr 2025
- 2024ROMAS: A Role-Based Multi-Agent System for Database monitoring and Planning18 Dec 2024
- 2024Leveraging Encoder-only Large Language Models for Mobile App Review Feature Extraction2 Aug 2024
- 2024Prompt-Consistency Image Generation (PCIG): A Unified Framework Integrating LLMs, Knowledge Graphs, and Controllable Diffusion Models24 Jun 2024
- 2024Demonstration of DB-GPT: Next Generation Data Interaction System Empowered by Large Language Models16 Apr 2024
- 2024Controllable Prompt Tuning For Balancing Group Distributional Robustness5 Mar 2024