NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

ConPET: Continual Parameter-Efficient Tuning for Large Language Models

Chenyang Song, Xu Han, Zheni Zeng, Kuai Li, Chen Chen, Zhiyuan Liu, Maosong Sun, Tao YangarXiv 2023

TL;DR

This paper introduces ConPET, a novel framework for continually adapting Large Language Models (LLMs) to new tasks without catastrophic forgetting and with significantly reduced computational costs. ConPET achieves this by combining Parameter-Efficient Tuning (PET) with dynamic replay strategies and, in its advanced version, a modular architecture with a selector, enabling task-number-independent training complexity.

What Problem Does This Paper Address?

Large Language Models (LLMs) are incredibly powerful, but adapting them to new, evolving tasks in real-world scenarios presents a significant challenge. Traditional fine-tuning methods are computationally expensive, require vast amounts of memory, and suffer from "catastrophic forgetting," where learning new tasks degrades performance on previously learned ones. Existing continual learning methods, often designed for smaller models, struggle with the scale and complexity of LLMs. This paper tackles the problem of efficient and effective continual adaptation of LLMs, aiming to overcome high training costs, memory demands, and the forgetting issue, all while maintaining scalability as new tasks emerge.

Methods

ConPET is a generalizable paradigm that integrates Parameter-Efficient Tuning (PET) with continual learning strategies. PET methods, like LoRA, tune only a small fraction of an LLM's parameters, drastically reducing computational and memory overhead. ConPET offers two main versions:

  • Static ConPET: This version adapts existing memory-based continual learning methods to LLMs. It leverages PET to reduce tuning costs and employs a dynamic replay strategy. Instead of a fixed, limited memory, it samples from the full historical data dynamically, with a restriction on the maximum batch number per step to control complexity. This approach aims to alleviate over-fitting and forgetting while being more robust than traditional fixed replay.
  • Dynamic ConPET: To address the scalability limitations of Static ConPET, especially with a large number of tasks or complex knowledge schemas, Dynamic ConPET introduces a modular architecture. It comprises a backbone LLM, a set of task-specific PET modules, and a PET module selector. This "Mixture-of-Experts" (MoE)-style approach assigns different PET modules to different task schemas. A PET module selector dynamically chooses the most relevant PET modules for a given input, ensuring a constant forward propagation cost regardless of the total number of tasks. A cache system is also used to store and reuse computed logits, further improving efficiency.

Datasets

The paper evaluates ConPET on six datasets for continual knowledge extraction tasks:

  • Entity Typing:
    • FewNERD (SUP)
    • OntoNotes 5.0
    • BBN
  • Relation Extraction:
    • FewRel
    • TACRED
    • ACE 2005

These datasets are split into task sequences to simulate a continual learning scenario.

Key Insights and Ideas

  • PET is Crucial for LLM Continual Learning: The paper strongly demonstrates that Parameter-Efficient Tuning is not just a cost-saving measure but a necessity for making continual learning feasible for LLMs. The drastic reduction in tunable parameters (over 3,000x) is key.
  • Dynamic Replay Outperforms Fixed Replay: Static ConPET's dynamic sampling strategy for historical data proves more effective than traditional fixed replay methods, leading to better performance and robustness.
  • Modularity for Scalability: Dynamic ConPET's MoE-like architecture with a PET module selector is essential for handling a large and growing number of tasks, preventing the linear growth of computational costs seen in other dynamic-architecture methods.
  • Task Split Matters for Dynamic ConPET: The way tasks are split significantly impacts Dynamic ConPET's performance, highlighting a trade-off between the PET module selector's ability to distinguish tasks and the individual PET modules' performance on those tasks. This suggests future work could explore more sophisticated, knowledge-aware task splitting or hierarchical module organization.

Key Results

  • Significant Performance Gains: Both Static and Dynamic ConPET consistently outperform baseline methods (EMR, EA-EMR, CRL) adapted with PET alone, often by a margin of at least 5 points on average accuracy.
  • Cost Reduction: Static ConPET reduces the scale of tunable parameters by over 3,000 times compared to full-parameter tuning.
  • Scenario-Specific Effectiveness: Static ConPET excels on smaller datasets where a single PET module suffices. Dynamic ConPET demonstrates its advantage on larger datasets (like FewNERD) with more complex schemas, showcasing its superior scalability.
  • PET's Rationality: Ablation studies on BERT-Large show that PET adaptation leads to only a minor performance drop while drastically reducing the number of tunable parameters, validating its use.
  • PET Module Pre-Selection Benefits: Experiments show that PET module pre-selection in Dynamic ConPET significantly improves performance, likely by reducing interference between task-specific modules.

Limitations and Future Work

  • Gap to Upper Bound: While ConPET significantly improves upon baselines, there remains a gap between its performance and an "upper bound" setting (Limitless) that has linearly growing complexity. This indicates room for further improvement.
  • Task Split Strategy: The paper acknowledges that random task splits might not be optimal and suggests exploring more intelligent, knowledge-aware hierarchical organization of PET modules for better performance and scalability.
  • Broader Applications: The authors propose extending ConPET to more diverse continual learning scenarios, such as adapting LLMs to heterogeneous tools, and further refining task split strategies.

Summary updated

BibTeX
@misc{song2023conpet,
  author = {Chenyang Song and Xu Han and Zheni Zeng and Kuai Li and Chen Chen and Zhiyuan Liu and Maosong Sun and Tao Yang},
  title = {{ConPET: Continual Parameter-Efficient Tuning for Large Language Models}},
  year = {2023},
  eprint = {2309.14763},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.14763},
}
Figure