ICARE: cross-domain text classification with incremental class-aware representation and distillation learning
arXiv:2611.24959 · doi:10.1007/s13042-025-02572-6
Abstract
The rise of powerful, fine-tuned large language models (LLMs) necessitates robust natural language inference (NLI) systems. These NLI systems ideally train across various tasks, encompassing diverse concepts like sentiment analysis, news classification, and coreference resolution. However, this continual, multi-tasking approach can lead to catastrophic forgetting, where previously learned tasks are lost, especially in domains lacking specific labels. Rehearsing past examples with labels can further exacerbate this issue by causing overfitting, hindering the system's ability to classify new categories. To tackle these challenges, this research proposes ICARE, a novel framework with two key components: an instance selection module and a knowledge distillation method. The former is based on representation learning, which meticulously selects training examples to present to the NLI system. The latter, knowledge distillation with feature and logit-level transfer, facilitates knowledge transfer between tasks. This leverages pruning techniques and optimized objective functions to transfer both essential feature-level and decision-making (logit-level) knowledge, mitigating catastrophic forgetting while adapting to new patterns. Extensive evaluations on benchmark text classification datasets have demonstrated ICARE's effectiveness. The framework achieves a significant improvement in target accuracy and reduction in the ``forgetting metric''. These results solidify ICARE's ability to preserve and leverage learned knowledge across diverse tasks, ultimately enhancing the adaptability and performance of NLI systems. The source code is available at https://github.com/CongSon01/ICARE_NLP.git
References in corpus (12)
- Decoupled Weight Decay Regularization
- Continual Learning Through Synaptic Intelligence
- Class-Incremental Learning: A Survey
- Adaptive Aggregation Networks for Class-Incremental Learning
- Lifelong Learning with Dynamically Expandable Networks
- Continual Lifelong Learning in Natural Language Processing: A Survey
- LAMOL: LAnguage MOdeling for Lifelong Language Learning
- Large Language Models for Forecasting and Anomaly Detection: A Systematic Literature Review
- Lifelong Teacher-Student Network Learning
- A Simple Regularization-based Algorithm for Learning Cross-Domain Word Embeddings
- A First Look at Class Incremental Learning in Deep Learning Mobile Traffic Classification
- Exemplar-Free Class Incremental Learning via Incremental Representation