ICARE: cross-domain text classification with incremental class-aware representation and distillation learning
Son Duong, Truong X. Tran, Hai-Anh Tran
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/ICARENLP.git
Create a lesson
Related papers
Leakage-aware calibrated decision-level fusion for mental-health text classification
Shared title terminology · Wadii Boulila, Giuseppe Varone, Bilel Benjdira et al.
NER-D: A cross-domain benchmark for German NER
Shared title terminology · Marc Brinner, Philipp Cimiano, Karolina Hanna Czok et al.
Alignment without Transfer: Tokenization Impacts Cross-lingual Representations during Multilingual Language Model Pretraining
Shared title terminology · Jonathan von Rad, Pontus Stenetorp, Yao Lu
Know Your Context Bank: Repairing Inconsistency and Measuring Generalization in Context-Aware Text-to-SQL
Shared title terminology · Hailong Li, Mohammadreza Pourreza, Tal Neiman et al.
A Systematic Study of Cross-Token Transfer for Data-Efficient Non-Verbal Text-to-Speech
Shared title terminology · Jing Pan, Haibin Wu, Minxue Niu et al.
Disentangling Spurious Correlations: How IRM Handles Diverse Shortcuts in Text Classification
Shared title terminology · Paul Grunenwald, Benoît Crabbé, Guillaume Wisniewski et al.