ICARE: cross-domain text classification with incremental class-aware representation and distillation learning
Summary
The paper proposes ICARE, a framework combining instance selection via representation learning and feature/logit-level knowledge distillation to enable cross-domain text classification while mitigating catastrophic forgetting in multi-task NLI systems, showing significant gains in target accuracy and reduced forgetting across benchmark datasets.
View Cached Full Text
Cached at: 11/20/26, 09:02 AM
# ICARE: Cross-Domain Text Classification with Incremental Class-Aware Representation and Distillation Learning Source: [https://arxiv.org/html/2611.24959](https://arxiv.org/html/2611.24959) Son DuongEmail:[son\.dc232248M@sis\.hust\.edu\.vn](mailto:[email protected])Affiliation:School of Information and Communications Technology, Hanoi University of Science and Technology, Dai Co Viet, Hanoi, 10000, VietnamTruong X\. TranEmail:[truong\.tran@psu\.edu](mailto:[email protected])Affiliation:School of Science, Engineering and Technology, Penn State Harrisburg, The Pennsylvania State University, PA, USAHai\-Anh TranEmail:[anhth@soict\.hust\.edu\.vn](mailto:[email protected])Affiliation:School of Information and Communications Technology, Hanoi University of Science and Technology, Dai Co Viet, Hanoi, 10000, Vietnam ###### 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](https://github.com/CongSon01/ICARE_NLP.git)\. ###### keywords Cross\-domain text classification, Knowledge distillation, Incremental Learning, LLMs\. ††equal\-contributors:These authors contributed equally to this work\.††equal\-contributors:These authors contributed equally to this work\.††equal\-contributors:These authors contributed equally to this work\.## 1Introduction Natural language processing \(NLP\) models, particularly those powered by large language models \(LLMs\), have achieved remarkable progress in recent years[Cheng et al\. \(2024\)](https://arxiv.org/html/2611.24959#bib.bib11);[Su et al\. \(2024\)](https://arxiv.org/html/2611.24959#bib.bib12);[Xi et al\. \(2023\)](https://arxiv.org/html/2611.24959#bib.bib13)\. Text classification tasks are evolving beyond basic functionalities like spam detection or sentiment analysis within a single domain but now demand the ability to learn continuously in an ever\-evolving world[Biesialska et al\. \(2020\)](https://arxiv.org/html/2611.24959#bib.bib14)\. The ability to learn and adapt across different domains is crucial in today’s dynamic world\. For example, a news classifier needs to handle emerging topics like COVID\-19 or cryptocurrency news that weren’t present in the initial training data\. This challenge has led to the rise of domain adaptation \(DA\) techniques[Ramponi and Plank \(2020\)](https://arxiv.org/html/2611.24959#bib.bib15);[Alqahtani et al\. \(2023\)](https://arxiv.org/html/2611.24959#bib.bib16)\. DA aims to enhance trained models from source domains to perform effectively in a target domain\. Within DA, cross\-domain text classification \(CDTC\) specifically focuses on effectively classifying text in a target domain while leveraging knowledge learned from source domains\. Catastrophic Forgetting presents a challenge in CDTC, as deep neural networks \(DNNs\) trained on new target domain data often forget the classification tasks learned from source domains[Wang et al\. \(2024\)](https://arxiv.org/html/2611.24959#bib.bib17)\. This forgetting hinders the effectiveness of CDTC, as the model needs to retain knowledge from both source and target domains for accurate classification across domains\. To address this challenge of catastrophic forgetting in CDTC, incremental learning \(IL\) has emerged as a promising approach[Wang et al\. \(2024\)](https://arxiv.org/html/2611.24959#bib.bib17);[Bhatt et al\. \(2024\)](https://arxiv.org/html/2611.24959#bib.bib22)\. IL enables models to achieve a positive transfer of knowledge from source domains to the target domain while preserving the memory of previously learned classifications\. Existing incremental learning approaches for NLP tasks can be broadly classified into two categories: replay\-based methods[Sun et al\. \(2019\)](https://arxiv.org/html/2611.24959#bib.bib18);[de Masson D’Autume et al\. \(2019\)](https://arxiv.org/html/2611.24959#bib.bib19)and regularization\-based methods[Yang et al\. \(2019\)](https://arxiv.org/html/2611.24959#bib.bib20);[Huang et al\. \(2021\)](https://arxiv.org/html/2611.24959#bib.bib3)\. Replay\-based methods store and reuse old examples during new task training to maintain past knowledge\. Regularization\-based methods, on the other hand, impose constraints on model parameters to prevent excessive changes that could lead to forgetting prior tasks\. However, both approaches can encounter limitations related totraining resource constraints\. Replay methods can incur high memory costs due to storing old samples, while regularization methods can lead to extended training times\. CDTC models encounter additional challenges stemming from inherent differences in text expression between source and target domains\. This can lead to overfitting, particularly on source domain instances with labels that are specific to that domain and not generalizable to the target domain\. To address this issue, several studies have proposed methods to improve model generalization, such as domain adversarial training[Pan et al\. \(2022\)](https://arxiv.org/html/2611.24959#bib.bib25);[Wu et al\. \(2021\)](https://arxiv.org/html/2611.24959#bib.bib23), task\-specific knowledge\-based approaches[Zhou et al\. \(2020\)](https://arxiv.org/html/2611.24959#bib.bib24), and class\-aware methods[Yang et al\. \(2023\)](https://arxiv.org/html/2611.24959#bib.bib26)\. These methods leverage the shared characteristics between the source and target domains to enhance the model’s ability to learn transferable knowledge\. However, CDTC becomes even more intricate when dealing with agnostic target domains\. In these scenarios, the task in the target domain is significantly different from the tasks in the source domains, and these approaches might suffer fromgradient vanishing or exploding issues\. For instance, a model trained for sentiment classification on source domains \(e\.g\., movie reviews\) might struggle when applied to a target domain for the news classification task\. Traditional methods that rely on shared characteristics between domains become less effective\. This is because the significant difference in tasks makes it difficult for the model to find common ground for learning\. the model might prioritize learning completely new patterns for the target task, neglecting to maintain the knowledge acquired from source domains\. This can lead to the model forgetting previously learned patterns entirely\. Despite the success of domain adaptation \(DA\) and CDTC techniques, adapting language models to continually learn and retain knowledge across different domains remains challenging\. Current CDTC methods often fail to balance the model’s ability to generalize to new domains while retaining previously learned information from source domains\. This imbalance typically results in catastrophic forgetting, where the model’s performance on prior domains degrades as it learns new tasks\. Such forgetting is particularly problematic in scenarios where emerging domains lack similarity to the source data, as the model struggles to maintain relevant knowledge without extensive retraining\. Furthermore, conventional methods fall short in scenarios with high memory or computational constraints, limiting their practical deployment\. Given these challenges, there is a strong need for a method that ensures robust knowledge retention and efficient adaptation, even when faced with diverse and evolving domain\-specific data\. To address the aforementioned challenges, we propose a novel method calledIncrementalClass\-AwareRepresentation and Distillation Learning \(ICARE\) for cross\-domain text classification\. ICARE employs a two\-pronged strategy that tackles both inefficient source data utilization and gradient vanishing/exploding issues\. First, ICARE processes text into subword tokens and extracts semantically feature\-rich vectors through a feature extractor phase utilizing backbones \(e\.g\., RoBERTa111[https://huggingface\.co/FacebookAI/roberta\-base](https://huggingface.co/FacebookAI/roberta-base), XLNet222[https://huggingface\.co/xlnet/xlnet\-base\-cased](https://huggingface.co/xlnet/xlnet-base-cased), BERT333[https://huggingface\.co/google\-bert/bert\-base\-uncased](https://huggingface.co/google-bert/bert-base-uncased), and DistillBERT444[https://huggingface\.co/distilbert/distilbert\-base\-uncased](https://huggingface.co/distilbert/distilbert-base-uncased)\)\. Upon obtaining these feature vectors, a small proportion of class\-aware representation examples \(e\.g\., 5% samples selected via a herding strategy[Bovenzi et al\. \(2023\)](https://arxiv.org/html/2611.24959#bib.bib27)\) are stored and rehearsed to mitigate catastrophic forgetting and inflating memory during the training\. This targeted selection helps retain crucial knowledge from source domains \(mitigating catastrophic forgetting\) while keeping memory constraints in check\. Additionally, ICARE leverages knowledge distillation techniques[Xu et al\. \(2023\)](https://arxiv.org/html/2611.24959#bib.bib28)\(both feature\-level and logit\-level\) to transfer knowledge from the feature extractor to a lightweight classifier\. This knowledge transfer helps the classifier learn effectively in the agnostic target domain\. Furthermore, ICARE integrates pruning techniques and a carefully designed objective function within the distillation process\. This combined approach helps prevent overfitting by restraining the growth of unnecessary parameters in the classifier, especially when dealing with the challenges of agnostic target domains\. Experiments on four publicly available datasets demonstrate that ICARE outperforms existing benchmarks\. To sum up, the contributions of this work are as follows: - ∙\\bulletConceptualizing CDTC as Incremental Learning: The work presents a novel formulation of CDTC as an incremental learning task with constraints and objectives\. This reframing allows us to leverage existing techniques from incremental learning to improve performance in CDTC\. - ∙\\bulletThe ICARE Framework: ICARE addresses CDTC by leveraging class\-aware experience representation and knowledge distillation learning\. This two\-pronged approach ensures both stability \(retaining knowledge from source domains\) and plasticity \(adapting to the target domain\) while efficiently managing memory constraints by curbing redundant storage of source data\. - ∙\\bulletEmpirical Validations and Benchmarks Results: The work presents the set of comprehensive experiments and benchmark results on four publicly available datasets commonly used in CDTC research\. These datasets encompass a variety of domains to assess ICARE’s generalizability\. The remainder of this paper is organized as follows: Section[2](https://arxiv.org/html/2611.24959#S2)reviews a brief discussion of related research on CDTC and incremental learning\. Section[3](https://arxiv.org/html/2611.24959#S3)provides the formal definition, terminology and detailed components of the proposed ICARE framework\. Section[4](https://arxiv.org/html/2611.24959#S4)presents the experimental setup considered, with corresponding results discussed in Section[3](https://arxiv.org/html/2611.24959#S3)\. Section[5](https://arxiv.org/html/2611.24959#S5)concludes the research with suggestions for future research\. ## 2Related Works This section provides a concise review of relevant research in CDTC and explores techniques within incremental learning, such as representation learning and knowledge distillation\. Table 1:Related work for cross\-domain text classification- ×\\timesAbbreviations:Techniques:○ Task\-specific knowledge\-based approach, ◐ Domain adversarial training, ● Class\-aware method;IL methods:\(Data\) Data\-Centric methods, \(Model\) Model\-Centric methods, \(Alg\) Algorithm\-Centric methods;Encoder:\(Self\) Their private encoder, \(BERT\) Bidirectional Encoder Representations from Transformers, \(RoBERTa\) Robustly Optimized BERT Pretraining Approach, \(CNN\) Convolutional Neural Network;Joint Training:\(WP\) Word prediction, \(EP\) Emoticon Prediction, \(RP\) Rating Prediction, \(DC\) Domain Classification, \(SP\) Sentence Classification, \(KD\) Knowledge Distillation, \(VAT\) Virtual adversarial training, \(VAE\) Variational Auto Encoder, \(Reg\) Regularization; Cross\-domain text classification\.CDTC aims to transfer knowledge from source domains to a target domain, enhancing classification accuracy by leveraging the comprehensive knowledge learned\. Earlier methodologies typically trained each domain \(or topic\) on separate independent models and aggregated their outputs for final predictions[Liu et al\. \(2015\)](https://arxiv.org/html/2611.24959#bib.bib29);[Wu and Huang \(2015\)](https://arxiv.org/html/2611.24959#bib.bib30)\. The most recent CDTC methods[Li et al\. \(2022\)](https://arxiv.org/html/2611.24959#bib.bib31);[Zhou et al\. \(2020\)](https://arxiv.org/html/2611.24959#bib.bib24);[Wu and Shi \(2022\)](https://arxiv.org/html/2611.24959#bib.bib2);[Huang et al\. \(2021\)](https://arxiv.org/html/2611.24959#bib.bib3)facilitate generalization by capturing key features or attributes of both source and target domains\. These methodologies can be categorized into three main groups: task\-specific knowledge\-based approaches, domain adversarial training techniques, and class\-aware methods, which demonstrate state\-of\-the\-art \(SoA\) performance\. As a summary of the reviewed works is presented in Table[1](https://arxiv.org/html/2611.24959#S2.T1)\. The abbreviations of the table represent an abstract overview of the original meaning of the research\. In[Wu and Shi \(2022\)](https://arxiv.org/html/2611.24959#bib.bib2), for instance, two loss functions are employed for sentence and domain classification, the abbreviations can be adjusted to denote ”Text classification” \(TC\) and ”Domain classification” \(DC\)\. Task\-specific knowledge\-based approaches supplement task\-related source knowledge within the target domain\. Li et al\.[Li et al\. \(2022\)](https://arxiv.org/html/2611.24959#bib.bib31)leverage Abstract Meaning Representation \(AMR\), which integrates text\- and sentiment\-driven semantic graphs for cross\-domain generalization\. Zhou et al\.[Zhou et al\. \(2020\)](https://arxiv.org/html/2611.24959#bib.bib24)propose an abbreviation called SENTIX, which utilizes available annotations and lexicons to re\-train the language model\. Domain adversarial training techniques aid in learning features across different domains by minimizing the difference between source and target instances\. Wu et al\.[Wu and Shi \(2022\)](https://arxiv.org/html/2611.24959#bib.bib2)propose a dual adversarial co\-learning \(DACL\) method, which combines discriminator\-based and classifier\-based adversarial learning\. Results demonstrate the effectiveness of this method in feature extraction via adverbial alignment\. Hu et al\.[Wu and Shi \(2022\)](https://arxiv.org/html/2611.24959#bib.bib2)introduced Regularized Conditional Alignment \(RCA\) as a solution to challenges encountered in CDTC \(e\.g\., neglecting class\-aware information\) during adversarial alignment and scarcity of labeled data across domains\. RCA aligns joint distributions of domains and classes to bolster discriminative features and integrates entropy minimization and virtual adversarial training to enhance model robustness\. Class\-aware methods exploit multiple discriminative source domain labels to extract category\-invariant features more effectively\. Huang et al\.[Huang et al\. \(2021\)](https://arxiv.org/html/2611.24959#bib.bib3)propose an Information disentanglement\-based regularization \(IDBR\) method\. IDBR separates generic and specific features from the latent feature space of the source domain and utilizes generic features to promote cross\-domain generalization\. Song et al\.[Song et al\. \(2024\)](https://arxiv.org/html/2611.24959#bib.bib1)introduce a feature disentanglement framework called Target Domain Agnostic Feature Disentanglement \(TACIT\), which employs Variational Auto\-Encoders to dynamically separate robust and unrobust features\. Furthermore, a feature distillation task is incorporated to promote the distinction between unrobust and robust features, compelling the former to mimic the output of the teacher\. Text\-based domain adaptation refers to techniques that allow a machine learning model trained in one domain \(source domain\) to perform well in another domain \(target domain\), where the data distribution differs between the two domains\. In natural language processing \(NLP\), domain adaptation is essential because text from different domains \(e\.g\., legal documents vs\. social media posts\) often varies in vocabulary, structure, and style, making it difficult for models trained on one domain to generalize well to others\. Peng et al\.[Peng et al\. \(2013\)](https://arxiv.org/html/2611.24959#bib.bib51)propose a Marginalized Denoising Autoencoder with Graph Regularization \(GmSDA\) for domain adaptation, aiming to improve sentiment classification by learning domain\-invariant features\. The model enhances the traditional marginalized stacked denoising autoencoder \(mSDA\) by incorporating graph regularization to preserve the local geometric structure of the data\. Wei et al\.[Wei et al\. \(2016\)](https://arxiv.org/html/2611.24959#bib.bib52)introduce a Deep Nonlinear Feature Coding \(DNFC\) framework for unsupervised domain adaptation, which enhances the marginalized stacked denoising autoencoder \(mSDA\) by incorporating Maximum Mean Discrepancy \(MMD\) for domain divergence minimization and kernelization for nonlinear coding\. DNFC addresses the limitations of mSDA by ensuring the learned features have minimal distribution discrepancy between source and target domains and by capturing nonlinear data relationships\. In another work, Wei et al\.[Wei et al\. \(2018\)](https://arxiv.org/html/2611.24959#bib.bib53)explore why marginalized stacked denoising autoencoders \(mSDA\) enhance domain adaptation tasks, focusing on adaptive regularization with Gaussian and Bernoulli dropout noise\. It proposes a new variant, mSDA with multinomial dropout noise \(mSDAmd\), which better handles feature correlations, leading to improved adaptation performance and faster convergence\. Additionally, the authors introduce the deep transferable feature coding \(DTFC\) framework, which minimizes domain divergence through maximum mean discrepancy to further improve unsupervised domain adaptation\. Incremental Learning\.The objective of IL is to achieve effective adaptation between old and new knowledge, overcoming the challenge of catastrophic forgetting while ensuring stability and plasticity\. Existing IL researches[Zhou et al\. \(2023\)](https://arxiv.org/html/2611.24959#bib.bib32)could be broadly categorized into three main categories: Data\-Centric, Model\-Centric, and Algorithm\-Centric method\. The Data\-Centric methods entail reviewing former classes and mitigating forgetting through experience replay, representation techniques, and regularization[Bang et al\. \(2021\)](https://arxiv.org/html/2611.24959#bib.bib33);[De Lange and Tuytelaars \(2021\)](https://arxiv.org/html/2611.24959#bib.bib34)\. The Model\-Centric methods directly optimize knowledge transfer among tasks or enhance representation capabilities through example representations[Yoon et al\. \(2017\)](https://arxiv.org/html/2611.24959#bib.bib35);[Li et al\. \(2019\)](https://arxiv.org/html/2611.24959#bib.bib36)\. The Algorithm\-Centric method focuses on designing algorithms to minimize interference between source and target tasks[Zhou et al\. \(2022\)](https://arxiv.org/html/2611.24959#bib.bib37);[Liu et al\. \(2021\)](https://arxiv.org/html/2611.24959#bib.bib38)\. Among these approaches, Data\-Centric methods have found widespread application in NLP tasks, enabling continual acquisition of novel world knowledge from streams of textual sentences without forgetting[Radford et al\. \(2019\)](https://arxiv.org/html/2611.24959#bib.bib39)\. Knowledge distillation is a fundamental approach for establishing student\-teacher mappings[Ye and Bors \(2021\)](https://arxiv.org/html/2611.24959#bib.bib54)in CIL with various formats \(logits, features, and relationships\)\. Due to their inherent flexibility, knowledge distillation\-based methods have been extensively applied to a range of incremental learning tasks, including person re\-identification[Pu et al\. \(2021\)](https://arxiv.org/html/2611.24959#bib.bib49);[Pu et al\. \(2023\)](https://arxiv.org/html/2611.24959#bib.bib50), question answering[Wang et al\. \(2020\)](https://arxiv.org/html/2611.24959#bib.bib40), and relation extraction[Zhao et al\. \(2022\)](https://arxiv.org/html/2611.24959#bib.bib41);[Huang et al\. \(2024b\)](https://arxiv.org/html/2611.24959#bib.bib42)\. However, they often suffer from large memory costs or considerable training times due to storing excessive old samples and model parameters \(related to resource constraints\)\. Prabhu et al\.[Prabhu et al\. \(2020\)](https://arxiv.org/html/2611.24959#bib.bib55)introduce GDumb, a simple continual learning approach that outperforms many complex methods by using a greedy sampling strategy to store balanced samples and training a model from scratch only on these samples at test time, challenging the current benchmarks and assumptions in continual learning\. Ye et al\.[Ye and Bors \(2024a\)](https://arxiv.org/html/2611.24959#bib.bib56)present Self\-Supervised Adversarial Variational Learning \(SS\-AVL\), a hybrid model combining Variational Autoencoders \(VAEs\) and Generative Adversarial Networks \(GANs\) to learn interpretable and disentangled data representations without real data, using self\-supervised learning and mutual information maximization to optimize the inference and generator networks separately, demonstrating improved performance in complex image generation and representation tasks\. The authors also introduce the Continual Variational Autoencoder \(CAA\)[Ye and Bors \(2024b\)](https://arxiv.org/html/2611.24959#bib.bib57), a task\-free continual learning model that uses a dynamic, bio\-inspired memory system to manage temporary and long\-term data storage, enabling the model to generate diverse images and maintain robust representations across evolving data streams without explicit task boundaries\. Zenke et al\.[Zenke et al\. \(2017\)](https://arxiv.org/html/2611.24959#bib.bib58)introduce Synaptic Intelligence \(SI\), a continual learning approach that reduces catastrophic forgetting by tracking each synapse’s importance during training, enabling the model to selectively protect critical synapses and retain previously acquired knowledge across tasks, mirroring aspects of biological neural networks\. Overall, existing CDTC research primarily focuses on scenarios where the source and target domains share some underlying similarities\. These methods typically rely on identifying commonalities between source and target knowledge for effective knowledge transfer\. However, this approach becomes significantly less effective when dealing with agnostic target domains, where the task in the target domain is fundamentally different from those encountered in the source domains\. This limitation motivates the development of ICARE, a novel framework specifically designed for CDTC in agnostic target domains\. ICARE tackles the dual challenges of catastrophic forgetting and agnostic target features by leveraging techniques from incremental learning to relearn class\-aware experience representations while simultaneously utilizing previous knowledge from the source domains\. In addition, while leveraging past knowledge is crucial, directly rehearsing all source domain examples can be memory\-intensive\. Our research aims to address this by strategically enhancing representation methods by rehearsing only a limited number of carefully selected examples during training\. Figure 1:An example of Cross\-Domain Text Classification \(CDTC\) problemFigure 2:ICARE framework\. It mainly contains aClass\-Aware Experience Representationblock for selecting exemplars, along withKnowledge Distillationblock to transfer knowledge from the previous modelℱct−1\\mathcal\{F\}^\{t\-1\}\_\{c\}to the current modelℱct\\mathcal\{F\}^\{t\}\_\{c\}, andTraining Objectivephase designed to balance the stability\-plasticity trade\-off\.indicates that previous model parameters remain unchanged during training\.present the our key components analysing\. ## 3Methodology This section delves into the inner workings of ICARE, the proposed framework for addressing the dual challenges of catastrophic forgetting and target\-agnostic features in CDTC\. The section will establish the problem formulation and lay the groundwork with key symbolic definitions\. Following this foundation, a detailed exploration of ICARE’s components is presented\. ### 3\.1Conceptualizing CDTC as Incremental Learning and ICARE solutions Building upon CDTC methods[Wu and Shi \(2022\)](https://arxiv.org/html/2611.24959#bib.bib2);[Huang et al\. \(2021\)](https://arxiv.org/html/2611.24959#bib.bib3);[Song et al\. \(2024\)](https://arxiv.org/html/2611.24959#bib.bib1), a sequence of incremental learning tasks is formulated within the unsupervised domain adaptation setting, facilitating the transfer of acquired knowledge from the source domains to the target domain\. Table 2:Notation DescriptionProblem Definition:Consider a CDTC problem withTTdifferent tasks, and the domain \(or dataset\) of thettht^\{th\}task is denoted asStS^\{t\}\. A sentence\-label pair\(xt,yt\)∈St\(x^\{t\},y^\{t\}\)\\in S^\{t\}consists ofxjt=\[w1t,…,wnt\]\\textbf\{x\}^\{t\}\_\{j\}=\[w\_\{1\}^\{t\},\.\.\.,w\_\{n\}^\{t\}\]to represent a sentence with wordsw1tw\_\{1\}^\{t\}towntw\_\{n\}^\{t\}andyjt\\textbf\{y\}^\{t\}\_\{j\}to represent the corresponding one\-hot encoded label belonging to the class label spaceCtC^\{t\}\. The crucial aspect here is that the class label spaces of different tasks are entirely distinct\. There is no overlap label between any two text classification tasks\. This signifies that when considering the current taskttas the target, all labels inCtC^\{t\}are new and completely different from the combined set⋃i=1t−1Ci\\bigcup\_\{i=1\}^\{t\-1\}C^\{i\}of classes learned from previous sources of the1st1^\{st\}task to the\(t−1\)th\(t\-1\)^\{th\}task\. This characteristic is also known as the agnostic target domain\. For instance, consider the example CDTC problem layout in Figure[1](https://arxiv.org/html/2611.24959#S2.F1), where each text classification task has its unique set of class labels\. The model might learn to classify a social tweet as joy, trust, or surprise, then in the next task, learn to classify news articles into different categories like entertainment or sports\. The difficulty lies in training the model on these new tasks while preserving its knowledge from previous tasks\. The model shouldn’t “forget” how to classify emails as spam just because it’s now learning about news categories\. To manage knowledge from previously encountered classes \(source domains\) within the current task \(where the labels are entirely different\), we leverage a set of sentences called exemplar memoryRtR^\{t\}\. This memory set, inspired by concepts introduced in[Huang et al\. \(2024a\)](https://arxiv.org/html/2611.24959#bib.bib4);[Huang et al\. \(2021\)](https://arxiv.org/html/2611.24959#bib.bib3), stores a small number of representative sentences \(exemplars\) for each class in the previous source tasks\. Importantly, the size of this memory is strictly controlled to be significantly smaller than the number of training examples in the current domain \(\|Rt\|≪\|St\|\\left\|R^\{t\}\\right\|\\ll\\left\|S^\{t\}\\right\|\), ensuring efficient memory usage\. Objective:The primary objective is to train the classification modelOPENℱt\)\\mathcal\{F\}^\{t\}\)at thettht^\{th\}task that can accurately classify text \(sentences\) belonging to both the current target domain and all previous source domains\. To achieve this dual goal, we aim to minimize the model’s generalization errorE\(ℱt\)E\(\\mathcal\{F\}^\{t\}\)across all tasks, ensuring it can accurately classify sentences \(text\) from both the new and old classes even though the target domain is agnostic \(completely different labels\): min\(E\(ℱt\)\)=min\(∑i=1T𝔼\(xi,yi\)∼𝒯iℒ\(ℱ\(xi\),yi\)\)min\(E\(\\mathcal\{F\}^\{t\}\)\)=min\(\\sum\_\{i=1\}^\{T\}\\mathbb\{E\}\_\{\(\\textbf\{x\}^\{i\},\\textbf\{y\}^\{i\}\)\\sim\\mathcal\{T\}^\{i\}\}\\mathcal\{L\}\(\\mathcal\{F\}\(\\textbf\{x\}^\{i\}\),\\textbf\{y\}^\{i\}\)\)\(1\) ICARE Framework Solutions:The framework ICARE \(or Incremental Class\-Aware Representation and Distillation Learning\) is specifically designed to tackle the challenges of CDTC in agnostic target domains\. Figure[2](https://arxiv.org/html/2611.24959#S2.F2)illustrates how ICARE addresses the CDTC problem when transitioning between the\(t−1\)th\(t\-1\)^\{th\}task \(source\) andttht^\{th\}task \(target\)\. As the figure depicts on the left side, thettht^\{th\}task presents an agnostic target domain, where the label space is entirely different from previous tasks\. To navigate this challenge, ICARE leverages a two\-stage model, denoted asℱt=ℱet∘ℱct\\mathcal\{F\}^\{t\}=\\mathcal\{F\}^\{t\}\_\{e\}\\circ\\mathcal\{F\}^\{t\}\_\{c\}at thett\-th task, which is composed of aFeature Extractorℱet\\mathcal\{F\}^\{t\}\_\{e\}and aTask Classifierℱct\\mathcal\{F\}^\{t\}\_\{c\}\. The two\-stage modelℱt\\mathcal\{F\}^\{t\}for thettht^\{th\}task is illustrated at the top of Figure[2](https://arxiv.org/html/2611.24959#S2.F2), while the bottom stages are for theℱt\\mathcal\{F\}^\{t\}of the\(t−1\)th\(t\-1\)^\{th\}task\. The final step of the ICARE framework is theTraining Objectphase \(depicted on the right side of the figure\), which is designed to balance the learning objective betweenℱt\\mathcal\{F\}^\{t\}and its predecessorℱt−1\\mathcal\{F\}^\{t\-1\}\. Further descriptions of these are as follows: - ∙\\bulletTraining Data forℱt\\mathcal\{F\}^\{t\}: To address the agnostic target domain challenge, the training dataZtZ^\{t\}forℱt\\mathcal\{F\}^\{t\}is designed to combine the new data and some exemplar data selected from the previous task\. Hence,Zt=St∪RtZ^\{t\}=S^\{t\}\\cup R^\{t\}\. The setRtR^\{t\}is referred to as exemplar memory\. The selection ofRtR^\{t\}is done by the supportive block called Class\-Aware Experience Representation \(will be explained later\)\. - ∙\\bulletFeature Extractorℱet\\mathcal\{F\}^\{t\}\_\{e\}: This stage processes the input sentences inZtZ^\{t\}\. First, it tokenizes the sentences using subword tokenizer techniques to break them down into smaller unitsx=\[t1,…,tk\]\\textbf\{x\}=\[t\_\{1\},\.\.\.,t\_\{k\}\]\. Next, it employsNbN\_\{b\}encoder blocks \(e\.g\., BERT and DistillBERT embeddings\) to convert these tokens into vector representations\. The resulting features are captured ine=\[e\[CLS\]Nb,e1Nb,…,eCNb,e\[SEP\]Nb\]\\textbf\{e\}=\[e^\{N\_\{b\}\}\_\{\[\\text\{CLS\}\]\},e\_\{1\}^\{N\_\{b\}\},\.\.\.,e\_\{C\}^\{N\_\{b\}\},e^\{N\_\{b\}\}\_\{\[\\text\{SEP\}\]\}\], wheree\[CLS\]Nbe^\{N\_\{b\}\}\_\{\[\\text\{CLS\}\]\}specifically represents the overall text output representation\. - ∙\\bulletTask Classifierℱct\\mathcal\{F\}^\{t\}\_\{c\}with Knowledge Distillation: The task classifierℱct\\mathcal\{F\}^\{t\}\_\{c\}is designed to classify thee\[CLS\]Nbe^\{N\_\{b\}\}\_\{\[\\text\{CLS\}\]\}text representation\.ℱct\\mathcal\{F\}^\{t\}\_\{c\}is built to learn upon the previous task classifierℱct−1\\mathcal\{F\}^\{t\-1\}\_\{c\}\. ICARE adds more output neurons toℱct\\mathcal\{F\}^\{t\}\_\{c\}compared toℱct−1\\mathcal\{F\}^\{t\-1\}\_\{c\}to accommodate class labels of all previous tasks and new tasktt\. Furthermore, ICARE employs a Knowledge Distillation block to leverage knowledge from the previous model during training, enhancing the classifier’s ability to learn effectively in the agnostic target domain\. - ∙\\bulletTraining Objective: This phase is a novelty step in the ICARE framework to balance the crucial trade\-off between stability and plasticity\. It combines two loss functions: a standard text classification loss and a knowledge distillation loss\. The classification loss guides the model towards accurate target domain classification, while the knowledge distillation loss leverages the transferred knowledge from the previous model\. This combined objective function steers the model towards optimal performance in agnostic target domains\. A key aspect of ICARE’s effectiveness lies in its ability to leverage previously learned knowledge for effective adaptation in agnostic target domains\. To achieve this, ICARE incorporates two novel components within its framework, as illustrated in the middle section of Figure[2](https://arxiv.org/html/2611.24959#S2.F2): - ∙\\bulletClass\-Aware Experience Representation: This block strategically selects informative examples from the source domain\. It achieves this by analyzing their proximity to the average centroid \(representative point\) within a latent space\. By prioritizing these informative exemplars, ICARE ensures efficient memory usage while retaining crucial knowledge for the target domain\. - ∙\\bulletKnowledge Distillation: This block facilitates the transfer of knowledge from a previously trained model \(ℱct−1\\mathcal\{F\}^\{t\-1\}\_\{c\}\) to the current model \(ℱct\\mathcal\{F\}^\{t\}\_\{c\}\)\. This knowledge transfer helps the current model learn effectively in the target domain, even when it significantly differs from the source domain\. The three innovative components \- Class\-Aware Experience Representation, Knowledge Distillation with Classifier Expansion, and Training Objective \- work in tandem to address the challenges of catastrophic forgetting and target\-agnostic features, enabling the ICARE framework to excel in complex agnostic target domain scenarios\. The following sections will provide the intricate details of these three novelty components of the ICARE framework\. ### 3\.2Class\-Aware Experience Representation for Exemplar Selection Algorithm 1Class\-Aware Experience RepresentationInput:The set of new sentencesStS\_\{t\}, the set of previous sentencesZt−1Z^\{t\-1\}in taskt−1t\-1,γ\\gamma\(ratio ofRtR^\{t\}toStS^\{t\}\); Require:Feature Extractorℱet−1\\mathcal\{F\}^\{t\-1\}\_\{e\} Output:Exemplar\-setRtR^\{t\}; 1: Rt=∅R^\{t\}=\\emptyset 2: Nrt=γ⋅\|St\|N^\{t\}\_\{r\}=\\gamma\\cdot\|S^\{t\}\|⊳\\trianglerightNumber of exemplars inRtR^\{t\}; 3: Nclassold=\|Unique\(yjt−1\)\|∼ColdN^\{old\}\_\{class\}=\\left\|\\text\{Unique\}\(\\textbf\{y\}^\{t\-1\}\_\{j\}\)\\right\|\\sim C^\{old\}⊳\\trianglerightNumber of old classes; 4: Nct=⌈Nrt/Nclassold⌉N^\{t\}\_\{c\}=\\left\\lceil N^\{t\}\_\{r\}/N^\{old\}\_\{class\}\\right\\rceil⊳\\trianglerightNumber of exemplars per class; 5:forc = 1 to NclassoldN^\{old\}\_\{class\}do 6: Dc=\{\(x,y\)∈Zt−1\|y=c\}\\textbf\{D\}\_\{c\}=\\\{\(\\textbf\{x\},y\)\\in Z^\{t\-1\}\|y=c\\\} 7: μc=1\|Dc\|∑x∈Dcℱet−1\(x\)\\mu\_\{c\}=\\frac\{1\}\{\\left\|\\textbf\{D\}\_\{c\}\\right\|\}\\sum\_\{\\textbf\{x\}\\in\\textbf\{D\}\_\{c\}\}\\mathcal\{F\}\_\{e\}^\{t\-1\}\(\\textbf\{x\}\)⊳\\trianglerightCluster mean; 8:fork ←\\leftarrow1 to NctN^\{t\}\_\{c\}do⊳\\trianglerightHerding selection; 9:ifk =1then 10: dd= 0 11:endif 12: xk=argmin\{x,y\}∈Dc\{μc−1k\[ℱet−1\(x\)\+d\]\}x\_\{k\}=\\underset\{\\left\\\{\\textbf\{x\},y\\right\\\}\\in\\textbf\{D\}\_\{c\}\}\{argmin\}\\left\\\{\\mu\_\{c\}\-\\frac\{1\}\{k\}\\left\[\\mathcal\{F\}\_\{e\}^\{t\-1\}\(\\textbf\{x\}\)\+d\\right\]\\right\\\} 13: dd= d \+ ℱet−1\(xk\)\\mathcal\{F\}\_\{e\}^\{t\-1\}\(x\_\{k\}\) 14: Rt←\(xk,c\)R^\{t\}\\leftarrow\(x\_\{k\},c\) 15:endfor 16:endfor 17:Return RtR^\{t\} One of the core challenges in continual learning scenarios like agnostic target domain text classification is catastrophic forgetting\. This phenomenon occurs when a model trained on multiple tasks forgets previously learned information as it adapts to new tasks\. To address this challenge, the proposed Class\-Aware Experience Representation module of the framework ICARE is designed to address the challenge of redundant learning and weight drift that can occur when training models across domains\. In many cross\-domain tasks, simply re\-using all examples from the source domain for rehearsal can lead to performance degradation, as highly similar sentences may result in redundant learning[Bovenzi et al\. \(2023\)](https://arxiv.org/html/2611.24959#bib.bib27)\. This, in turn, causes unnecessary updates to model parameters \(weight drift\), ultimately affecting performance on the target domain\. The purpose of this module is to strategically form an exemplar memory set by selecting a limited number of diverse and informative examples \(exemplars\) from the source domain for rehearsal\. By prioritizing exemplars that are representative and diverse for each class, this module ensures that the learning process focuses on key instances, thus improving generalization to the target domain while minimizing the risk of weight drift\. The procedure of this block is presented in Algorithm[1](https://arxiv.org/html/2611.24959#alg1)\. Algorithm[1](https://arxiv.org/html/2611.24959#alg1)outlines the detailed process for constructing the exemplar memoryRtR^\{t\}for the current tasktt\. The algorithm leverages the previously stored sentencesZt−1Z^\{t\-1\}from source domains and the feature extractorℱet−1\\mathcal\{F\}\_\{e\}^\{t\-1\}from the model in the previous taskt−1t\-1\. The algorithm aims to create a small set of exemplars with the ratioγ=0\.05\\gamma=0\.05to the size ofStS^\{t\}\(the set of sentences encountered in the target domain of tasktt\)\. The algorithm employs a hearing selection, which prioritizes samples closest to the centroid \(most representative of the class\) while also ensuring some level of diversity within the chosen exemplars\. The step\-by\-step procedure of Algorithm[1](https://arxiv.org/html/2611.24959#alg1)is as follows: - ∙\\bulletInitializeRtR^\{t\}as an empty set \(Line 1\): The algorithm starts by initializing an empty set to store the exemplar\. - ∙\\bulletCalculating Exemplar Distribution per Class \(Lines 2\-4\): This step calculates a uniform number of samplesNcN\_\{c\}for each class in the source domain to include in the exemplar memoryRtR^\{t\}\. It considers the desired size ofRtR^\{t\}\(referred to asNrtN^\{t\}\_\{r\}\) and the number of known classesNclassoldN^\{old\}\_\{class\}encountered in previous source domains\. This ensures an even distribution of exemplars across all classes\. The calculation ofNcN\_\{c\}is as follows: Nrt=γ⋅\|St\|N^\{t\}\_\{r\}=\\gamma\\cdot\|S^\{t\}\|\(2\)Nclassold=\|Unique\(yjt−1\)\|∼ColdN^\{old\}\_\{class\}=\\left\|\\text\{Unique\}\(\\textbf\{y\}^\{t\-1\}\_\{j\}\)\\right\|\\sim C^\{old\}\(3\)Nct=⌈Nrt/Nclassold⌉N^\{t\}\_\{c\}=\\left\\lceil N^\{t\}\_\{r\}/N^\{old\}\_\{class\}\\right\\rceil\(4\) - ∙\\bulletSelecting Informative Exemplar per Class \(Lines 5\-13\): This section focuses on selectingNcN\_\{c\}exemplar samples for each class from the source domain\. The algorithm iterates over each classccin the source domain and processes the following steps: - ⋄\\diamondLine 5: Get all candidate samples belonging to the current classcc\. For convenience, we denote this set of candidate samples per class asDcD\_\{c\} - ⋄\\diamondLine 7: Calculate the centroidμc\\mu\_\{c\}\(cluster mean\) for each classccin the latent space \(a high\-dimensional representation learned by the feature extractor\)\. This centroid represents the “center of mass” for all examples within a class: μc←1\|Dc\|∑\(x,y\)∈Dyℱet−1\(x\)\\mu\_\{c\}\\leftarrow\\frac\{1\}\{\\left\|\\textbf\{D\}\_\{c\}\\right\|\}\\sum\_\{\(\\textbf\{x\},y\)\\in\\textbf\{D\}\_\{y\}\}\\mathcal\{F\}\_\{e\}^\{t\-1\}\(\\textbf\{x\}\)\(5\) - ⋄\\diamondLine 8\-13: Employ the herding selection to chooseNcN\_\{c\}exemplar samples of the current classcc\. The selection process favors samples closest to the centroidμc\\mu\_\{c\}in the latent space\. While prioritizing centrality, herding selection also ensures some level of variation among the chosen exemplars\. This helps prevent the model from overfitting to a narrow set of exemplar characteristics within each class\. These selected exemplars for the current classccare added to theRtR^\{t\}exemplar memory\. - ∙\\bulletReturning the exemplar memory \(line 14\)\. After all classes in the source domain have been considered, the algorithm returns theRtR^\{t\}exemplar memory\. After obtaining the exemplar memory setRtR^\{t\}, ICARE combines it withStS^\{t\}to form the training setZt=Rt∪StZ^\{t\}=R^\{t\}\\cup S^\{t\}for the model at the current tasktt\. ### 3\.3Knowledge Distillation with Weight Pruning Catastrophic forgetting occurs when a model forgets previously learned information as it adapts to new tasks\. To combat this, ICARE utilizes knowledge distillation through two complementary techniques: feature\-level and logit\-level distillation\. In this framework, the current classification modelℱct\\mathcal\{F\}^\{t\}\_\{c\}\(student model\) aims to replicate the behavior of the previous modelℱct−1\\mathcal\{F\}^\{t\-1\}\_\{c\}\(the teacher model\), while simultaneously learning new, unknown classes\. Knowledge from the teacher model is distilled and selectively pruned to form the student model \(feature\-level distillation\), which retains essential knowledge \(e\.g\., identifying key features for emotion classification\)\. The student model is then expanded and trained on new datasets, with the primary objective of replicating the predictions and probability distributions of the teacher model \(logit\-level distillation\)[Pu et al\. \(2023\)](https://arxiv.org/html/2611.24959#bib.bib50)\. The detailed procedures are outlined as follows\. Weight Pruning for Model Efficiency:First, ICARE employs a weight pruning technique inspired by[Mao et al\. \(2023\)](https://arxiv.org/html/2611.24959#bib.bib5)\. As the number of learning tasks grows, the model size can become unwieldy\. Weight pruning can help to combat this by identifying and removing weights with minimal impact on the model’s performance, effectively reducing the model size \(number of training parameters\) for improved efficiency\. The specific implementation involves a zero\-one mask matrixMMand a weight thresholdThSThSto prune weights in the teacher model, as shown in the following equations: M\[i,j\]=\{0,if\|Wij\|<ThS1,otherwiseM\[i,j\]=\\begin\{cases\}0,&\\text\{if\}\\ \\left\|W\_\{ij\}\\right\|<ThS\\\\ 1,&\\text\{otherwise\}\\end\{cases\}\(6\) The weight parameters of the current classification modelℱct\\mathcal\{F\}\_\{c\}^\{t\}is initially pruned from the previous modelℱct−1\\mathcal\{F\}\_\{c\}^\{t\-1\}as follow: W~\(ℱct\)=W\(ℱct−1\)⊙M\(ℱct−1\)\\tilde\{W\}^\{\(\\mathcal\{F\}\_\{c\}^\{t\}\)\}=W^\{\(\\mathcal\{F\}\_\{c\}^\{t\-1\}\)\}\\odot M^\{\(\{\\mathcal\{F\}\}\_\{c\}^\{t\-1\}\)\}\(7\) Knowledge Distillation Loss:Next, ICARE facilitates the knowledge transfer between the teacher and student models by incorporating the Knowledge Distillation LossℒKD\\mathcal\{L\}\_\{KD\}\. Here’s a breakdown of howℒKD\\mathcal\{L\}\_\{KD\}achieves this knowledge transfer\. Traditionally, models are trained using the ground\-truth labels, which are one\-hot encoded vectors representing the true class for each data point\. These labels are essentially “hard” targets, providing a definitive answer\. However, in knowledge distillation,ℒKD\\mathcal\{L\}\_\{KD\}utilizes the similarity between the student model’s soft probabilities \(denoted asp~t\\widetilde\{p\}^\{t\}\) and the teacher model’s soft probabilities \(denoted asp~t−1\\widetilde\{p\}^\{t\-1\}\)\. These soft probabilities are typically the distribution of probabilities across all possible classes\. This “softness” allows the student model to learn not just the most likely class \(as indicated by the highest probability in the distribution\) but also gain insights into the teacher’s confidence level for each class\.ℒKD\\mathcal\{L\}\_\{KD\}essentially quantifies the difference between two probability distributions using the Kullback\-Leibler divergence \(KLD, denoted as𝒟KL\(\.\|\|\.\)\\mathcal\{D\}\_\{KL\}\(\.\|\|\.\)\)[Kullback \(1951\)](https://arxiv.org/html/2611.24959#bib.bib6)as depicted in Equation[8](https://arxiv.org/html/2611.24959#S3.E8)\. ℒKD≜H\(p~t−1,p~t\)=\|Cold\+Ct\|−1∑i=1Cold\+Ct𝒟KL\(p~t−1\(eit,ℱt−1,τ\),p~t\(eit,ℱt,τ\)\)\\begin\{split\}\\mathcal\{L\}\_\{KD\}&\\triangleq H\(\\widetilde\{p\}^\{t\-1\},\\widetilde\{p\}^\{t\}\)\\\\ &=\\left\|C^\{old\}\+C^\{t\}\\right\|^\{\-1\}\\sum\_\{i=1\}^\{C^\{old\}\+C^\{t\}\}\\mathcal\{D\}\_\{KL\}\\left\(\\widetilde\{p\}^\{t\-1\}\\left\(\\textbf\{e\}^\{t\}\_\{i\};\\mathcal\{F\}^\{t\-1\};\\tau\\right\),\\widetilde\{p\}^\{t\}\\left\(\\textbf\{e\}^\{t\}\_\{i\};\\mathcal\{F\}^\{t\};\\tau\\right\)\\right\)\\end\{split\} \(8\) In this context, a lowerℒKD\\mathcal\{L\}\_\{KD\}value indicates that the student model’s predictions are getting closer to those of the teacher model, signifying successful knowledge transfer\. As shown in Equation[8](https://arxiv.org/html/2611.24959#S3.E8),ℒKD\\mathcal\{L\}\_\{KD\}uses the distillation temperatureτ\\tauto reduce the variance of the probability distribution\. A higher temperatureτ\\tausoftens the probability distributions of both the teacher and student models, making them smoother and easier for the student to learn from\. This is particularly helpful in scenarios where the teacher model might have very high confidence \(probabilities close to 1\) for certain classes\. By softening these probabilities, the student has a better chance of understanding the underlying reasoning behind the teacher’s predictions\. Conversely, a lower temperatureτ\\tauallows for more focused learning, where the student primarily concentrates on replicating the teacher’s most confident predictions\. ### 3\.4Training Objective This section delves into the training objective, a crucial element in ICARE that guides the model towards optimal performance\. ICARE tackles the trade\-off between adapting to new data \(plasticity\) and retaining prior knowledge \(stability\) through its training objective\. This objective is incorporated through a combined loss function during training: Text Classification LossℒTC\\mathcal\{L\}\_\{TC\}and Knowledge Distillation LossℒKD\\mathcal\{L\}\_\{KD\}\. Knowledge Distillation LossℒKD\\mathcal\{L\}\_\{KD\}\(Equation[8](https://arxiv.org/html/2611.24959#S3.E8)\) has been presented in the previous section to ensure the target model inherits knowledge from previous models, mitigating catastrophic forgetting and promoting stability\. The Text Classification LossℒTC\\mathcal\{L\}\_\{TC\}is a standard loss that measures the discrepancy between the model’s predictions \(represented by probabilities\) and the actual ground\-truth labels\. While the underlying mathematical details involve cross\-entropy loss, the core concept ofℒTC\\mathcal\{L\}\_\{TC\}is to minimize this discrepancy, ensuring the model aligns its predictions with the true labels for the new data\. The combined loss function for training modelℱt\\mathcal\{F\}^\{t\}is depicted in Equation[9](https://arxiv.org/html/2611.24959#S3.E9): ℒ=λ⋅ℒTC\+\(1−λ\)⋅ℒKD\\mathcal\{L\}=\\lambda\\cdot\\mathcal\{L\}\_\{TC\}\+\(1\-\\lambda\)\\cdot\\mathcal\{L\}\_\{KD\}\(9\)where0≤λ≤10\\leq\\lambda\\leq 1is the weighted coefficient\. Theλ\\lambdavalue allows ICARE to balance the trade\-off between adapting to new data \(plasticity\) and retaining prior knowledge \(stability\)\. When lambda is closer to 1, the emphasis is placed onLTC\{L\}\_\{TC\}to prioritize the model’s ability to classify data accurately in the new target domain\. Conversely, a lambda value closer to 0 gives more weight toℒKD\\mathcal\{L\}\_\{KD\}emphasizes knowledge transfer from the previous model\. In addition, the cruciality of incorporating the knowledge distillation lossℒKD\\mathcal\{L\}\_\{KD\}into the loss functionℒ\\mathcal\{L\}for the training model of the student model can be formally proved by the smoothness characteristic of soft probabilities\. For a quick recall,ℒKD\\mathcal\{L\}\_\{KD\}is computed from the difference between soft prediction probabilities of the student and teacher models, whileLTC\{L\}\_\{TC\}is obtained from the hard prediction probabilities\. We have observed that soft prediction probabilities have lower variance than hard prediction probabilities\. This characteristic is formally stated in Lemma[1](https://arxiv.org/html/2611.24959#Thmtheorem1)\. This smoother guidance translates to a more stable student model that can effectively adapt to new data while retaining knowledge from previous tasks\. ###### Lemma 1\. The variance of hard probabilities is greater than that of soft probabilities, such thatvar\(p~\)≤var\(p¯\)var\(\\widetilde\{p\}\)\\leq var\(\\overline\{p\}\)\. ###### Proof\. To simplify, the input layer consists of two values, 0 and 1 \(i\.e\., binary classification\)\. The equivalence regarding the variance of the probability distributionppis expressed as follows: var\(p\)=E\(\(p−E\(p\)\)2\)=E\(p2\)−E\(p\)2=E\(p2\)−1C2\\begin\{split\}var\(p\)&=\\text\{E\}\(\(p\-\\text\{E\}\(p\)\)^\{2\}\)\\\\ &=\\text\{E\}\(p^\{2\}\)\-\\text\{E\}\(p\)^\{2\}\\\\ &=\\text\{E\}\(p^\{2\}\)\-\\frac\{1\}\{C^\{2\}\}\\\\ \\end\{split\}\(10\)WhereCCis the number of classes and E represents the expected value \(or expectation\)\. Given that1C2\\frac\{1\}\{C^\{2\}\}is a constant, to demonstratevar\(p~\)≤var\(p¯\)var\(\\widetilde\{p\}\)\\leq var\(\\overline\{p\}\), we can simplify the proof to: E\(p~2\)≤E\(p¯2\)\\text\{E\}\(\\widetilde\{p\}^\{2\}\)\\leq\\text\{E\}\(\\overline\{p\}^\{2\}\)\(11\)A sigmoid functionσ\\sigmawith distillation temperatureτ\\tau: σ\(e,τ\)=exp\(ei/τ\)∑i=1Cold\+Ctexp\(ei/τ\)\\sigma\(\\textbf\{e\},\\tau\)=\\frac\{\\text\{exp\}\(e\_\{i\}/\\tau\)\}\{\\sum\_\{i=1\}^\{C^\{old\}\+C^\{t\}\}\\text\{exp\}\(e\_\{i\}/\\tau\)\}\(12\)Define: F≜E\(p~2\)=∑i=1Cold\+Ct\(σ\(e,τ\)\)2F\\triangleq\\text\{E\}\(\\widetilde\{p\}^\{2\}\)=\\sum\_\{i=1\}^\{C^\{old\}\+C^\{t\}\}\(\\sigma\(\\textbf\{e\},\\tau\)\)^\{2\}\(13\)Herein, the derivative of the sigmoid functionδσ\(x\)\\delta\\sigma\(x\)is expressed as follows: δσ\(x\)δx=σ\(x\)⋅\(1−σ\(x\)\)\\begin\{split\}\\frac\{\\delta\\sigma\(x\)\}\{\\delta x\}&=\\sigma\(x\)\\cdot\(1\-\\sigma\(x\)\)\\end\{split\}\(14\)Thus: δFδτ=∑i=1Cold\+Ct\(δσ\(e,τ\)\)2δτ=∑i=1Cold\+Ct\(δσ\(e,τ\)\)2δσ\(e,τ\)⋅δσ\(e,τ\)δe/τ⋅δe/τδτ=∑i=1Cold\+Ct2⋅σ\(ei,τ\)⋅σ\(ei,τ\)⋅\(1−σ\(ei,τ\)\)⋅δe/τδτ=∑i=1Cold\+Ct2⋅σ\(ei,τ\)2⋅\(1−σ\(ei,τ\)\)⋅−e2τ2\\begin\{split\}\\frac\{\\delta F\}\{\\delta\\tau\}&=\\sum\_\{i=1\}^\{C^\{old\}\+C^\{t\}\}\\frac\{\\left\(\\delta\\sigma\(\\textbf\{e\},\\tau\)\\right\)^\{2\}\}\{\\delta\\tau\}\\\\ &=\\sum\_\{i=1\}^\{C^\{old\}\+C^\{t\}\}\\frac\{\\left\(\\delta\\sigma\(\\textbf\{e\},\\tau\)\\right\)^\{2\}\}\{\\delta\\sigma\(\\textbf\{e\},\\tau\)\}\\cdot\\frac\{\\delta\\sigma\(\\textbf\{e\},\\tau\)\}\{\\delta\\textbf\{e\}/\\tau\}\\cdot\\frac\{\\delta\\textbf\{e\}/\\tau\}\{\\delta\\tau\}\\\\ &=\\sum\_\{i=1\}^\{C^\{old\}\+C^\{t\}\}2\\cdot\\sigma\(\\textbf\{e\}\_\{i\},\\tau\)\\cdot\\sigma\(\\textbf\{e\}\_\{i\},\\tau\)\\cdot\(1\-\\sigma\(\\textbf\{e\}\_\{i\},\\tau\)\)\\cdot\\frac\{\\delta\\textbf\{e\}/\\tau\}\{\\delta\\tau\}\\\\ &=\\sum\_\{i=1\}^\{C^\{old\}\+C^\{t\}\}2\\cdot\\sigma\(\\textbf\{e\}\_\{i\},\\tau\)^\{2\}\\cdot\(1\-\\sigma\(\\textbf\{e\}\_\{i\},\\tau\)\)\\cdot\\frac\{\-\\textbf\{e\}^\{2\}\}\{\\tau^\{2\}\}\\\\ \\end\{split\}\(15\)Sinceσ\(e,τ\)∈\(0,1\)\\sigma\(\\textbf\{e\},\\tau\)\\in\(0,1\)andei≥0\\textbf\{e\}\_\{i\}\\geq 0, 2⋅σ\(ei,τ\)2⋅\(1−σ\(ei,τ\)\)⋅−e2τ2≤0,∀ei,i=1,Cold\+Ct¯2\\cdot\\sigma\(\\textbf\{e\}\_\{i\},\\tau\)^\{2\}\\cdot\(1\-\\sigma\(\\textbf\{e\}\_\{i\},\\tau\)\)\\cdot\\frac\{\-\\textbf\{e\}^\{2\}\}\{\\tau^\{2\}\}\\leq 0,\\forall\\textbf\{e\}\_\{i\},i=\\overline\{1,C^\{old\}\+C^\{t\}\}\(16\)That meansδFδτ≤0\\frac\{\\delta F\}\{\\delta\\tau\}\\leq 0, indicating thatFFis a decreasing function\. Consequently,σ\(e,τ\)≤σ\(e,1\)\\sigma\(\\textbf\{e\},\\tau\)\\leq\\sigma\(\\textbf\{e\},1\), implyingE\(p~2\)≤E\(p¯2\)\\text\{E\}\(\\widetilde\{p\}^\{2\}\)\\leq\\text\{E\}\(\\overline\{p\}^\{2\}\), which in turn leads tovar\(p~\)≤var\(p¯\)var\(\\widetilde\{p\}\)\\leq var\(\\overline\{p\}\)\. ∎ ## 4Experiments and Evaluations This section presents the experiments and benchmark results for evaluating ICARE performance\. ### 4\.1Experimental Setups #### 4\.1\.1Datasets We evaluate our methods on six benchmark text classification datasets, covering diverse domains like news \(AG News[Zhang et al\. \(2015\)](https://arxiv.org/html/2611.24959#bib.bib7), 20 Newsgroup[Albishre et al\. \(2015\)](https://arxiv.org/html/2611.24959#bib.bib48)\), question\-and\-answer \(Yahoo\! Answers[Chang et al\. \(2008\)](https://arxiv.org/html/2611.24959#bib.bib8)\), Wikipedia article classification \(DBPedia[Mendes et al\. \(2012\)](https://arxiv.org/html/2611.24959#bib.bib9)\), and sentiment analysis \(Yelp[Zhang et al\. \(2015\)](https://arxiv.org/html/2611.24959#bib.bib7), Amazon[Zhang et al\. \(2015\)](https://arxiv.org/html/2611.24959#bib.bib7)\)\. To ensure fair impact with respect to the amount of data in each domain, we created reduced versions of most datasets by randomly sampling data points from the original training and development sets\. Additionally, to ensure the specificity of the training tasks, in the 20 Newsgroup dataset, the topics of Religion and Politics are only selected and processed, while Computer Science and Entertainment topics are utilized in the AGNews dataset\. The Amazon dataset is merged with the Yelp dataset classes due to their semantic similarities[de Masson D’Autume et al\. \(2019\)](https://arxiv.org/html/2611.24959#bib.bib19)\. Tab\.[3](https://arxiv.org/html/2611.24959#S4.T3)shows a detailed overview of four benchmark text classification datasets, including the number of classes, domain types, and the quantity of data samples in Train, Dev, and Test subsets\. Table 3:Dataset Statistics #### 4\.1\.2Scenarios To see how well ICARE performs in different situations, we evaluate it in both simple and complex learning scenarios: - ∙\\bulletSingle\-source domain \(SSD\): The classification model learns from data in one domain \(e\.g\., sentiment analysis\) and then adapts to a completely different target domain \(e\.g\., Wikipedia classification\)\. Both source and target domains have five classes\. - ∙\\bulletMulti\-source domains \(MSD\): The model tackles a more complex scenario with multiple sequential learning tasks\. Imagine learning from sentiment analysis \(Yelp \+ Amazon\), then Wikipedia \(DBPedia\), then news \(AGNews \+ 20NG\), and finally question\-and\-answer \(Yahoo\)\. At each step, the model leverages knowledge from previous tasks while\. In this scenario, at timett, there aret−1t\-1source domains and 1 target domain\. For example, at timet=4t=4, three classification tasks \(e\.g\., sentiment, Wikipedia, and news classification\) are considered as source domains, while Q&A classification is regarded as the target domain\. #### 4\.1\.3Model Implementation All experiments are executed with PyTorch library and HuggingFace Transformers frameworks[Wolf et al\. \(2020\)](https://arxiv.org/html/2611.24959#bib.bib21)on NVIDIA RTX A5000 GPUs with 15GB memory\. These models undergo training for 10 epochs with a batch size of 8 and a maximum sequence length of 256 \(i\.e\., the first 256 tokens\)\. The balancing hyper\-parameterλ\\lambdais set to 0\.5 for balancing the weights between old knowledge and new knowledge\. The learning rate is set to1e−51e\-5, utilizing the Adam[Loshchilov and Hutter \(2017\)](https://arxiv.org/html/2611.24959#bib.bib10)as optimizer\. For the Class\-Aware Experience Representation block, the impact ofγ\\gammaratio of exemplar samples over new data is analyzed by exploring various values \(e\.g\., 0\.01, 0\.05, 0\.5, 0\.8\)\. Att=0t=0, the number of old samples is insufficient for selection; thus,γ\\gammais fixed at 0\.05\. For the Knowledge Distillation block, we explore different values of the distillation temperatureτ\\tau, ranging from 1 to 10, to choose a suitable one\. Other hyper\-parameters will be presented later in appropriate sections\. #### 4\.1\.4Performance metrics To assess classification model effectiveness in continual learning scenarios, we utilize several accuracy\-based metrics - ∙\\bulletAverage Class AccuracyACC\_CACC\\textunderscore C: This metric calculates the average accuracy across all tasks encountered during training\. It provides a general sense of ICARE’s overall performance\. - ∙\\bulletOld Class AccuracyACC\_OldACC\\textunderscore Old: This metric focuses on how well ICARE maintains accuracy for previously learned classesColdC^\{old\}as it encounters new tasks\. It assesses ICARE’s ability to prevent catastrophic forgetting\. - ∙\\bulletNew Class AccuracyACC\_NewACC\\textunderscore New: This metric evaluates ICARE’s ability to adapt and learn new classesCtC^\{t\}effectively in each target domain of the current tasktt\. The mathematical formula for calculating the Class Average AccuracyACC\_CACC\\textunderscore Cover a group of categoriesCCis provided in Equation[17](https://arxiv.org/html/2611.24959#S4.E17): ACC\_C=Acuracy\(C\)=∑c∈CTPcNCACC\\textunderscore C=Acuracy\(C\)=\\frac\{\\sum\_\{c\\in C\}TP\_\{c\}\}\{N^\{C\}\}\(17\)whereTPcTP\_\{c\}is the number of True Positive classification for the specific classcc\. It should be noted that the CDTC problem considers the overall class labelsC=Cold⋃CtC=C^\{old\}\\bigcup C^\{t\}as the combination of old class labelsColdC^\{old\}and the new classesCtC^\{t\}learning at tasktt\. Hence, the calculation forACC\_OldACC\\textunderscore OldandACC\_NewACC\\textunderscore Newcan be done by alternatively applying Equation[17](https://arxiv.org/html/2611.24959#S4.E17)for theColdC^\{old\}andCtC^\{t\}class labels\. In addition to the previous metrics, we also employ a Forgetting metric to assess how well ICARE mitigates catastrophic forgetting\. As depicted in Equation[18](https://arxiv.org/html/2611.24959#S4.E18), this metric calculates the average difference between the best accuracy achieved on previous tasks and the average accuracy on subsequent tasks\. A lower forgetting value indicates that ICARE is effectively retaining knowledge from previous tasks while learning new ones\. Forget=1t∑i=1t−1maxi≤s<t\{Avg\(Csold\)\}−Avgi\(Ct\)Forget=\\frac\{1\}\{t\}\\sum\_\{i=1\}^\{t\-1\}\\text\{max\}\_\{i\\leq s<t\}\\\{Avg\(C^\{old\}\_\{s\}\)\\\}\-Avg\_\{i\}\(C^\{t\}\)\(18\) ### 4\.2Results and Discussion #### 4\.2\.1Evaluating Components of ICARE Frameworks ##### Model Selection for Feature Extractor For the Feature Extractor,ℱet\\mathcal\{F\}^\{t\}\_\{e\}, in ICARE, we explored four pre\-trained language models \(BERT, RoBERTa, XLNet, and DistilBERT\)\. These models are powerful at capturing semantic information from text data\. Table[4](https://arxiv.org/html/2611.24959#S4.T4)illustrates the results of ICARE with different Feature Extractors in the complex MSD scenario with a three\-layer LSTM model for text classification\. Overall, the RoBERTa extractor achieved the highest performance in three out of four metrics \(highestACC\_CACC\\textunderscore C: 87\.58%, highestACC\_NewACC\\textunderscore New: 80\.82%, second bestACC\_OldACC\\textunderscore Old: 89\.60%, and lowestForgetForget: 8\.74%\)\. XLNet achieves the bestACC\_OldACC\\textunderscore Old\(89\.71%\), indicating it might be slightly better at retaining previously learned knowledge in this complex scenario\. These findings suggest that RoBERTa can offer a good balance between adapting to new data and retaining past knowledge in MSD tasks\. Table 4:Impact of Feature Extractor Models\.Comparison among different state\-of\-the\-art feature extractor models in the multi\-source domains \(MSD\) scenario\.Boldfaceindicates the best results\. Values are averaged over 2 runs\.Figure 3:Impact of Classification\.Comparison of different classifier architectures\. Upward arrows \(↑\\uparrow\) indicate higher values are preferable, whereas downward arrows \(↓\\downarrow\) indicate lower values are preferable\. Values are averaged over 2 runs\. ##### Exploring classification models for the Classifier component A primary component of ICARE, the classifier modelℱc\\mathcal\{F\}\_\{c\}, makes predictions on new data\. We explored four different models forℱc\\mathcal\{F\}\_\{c\}\. These models belong to two groups: - ∙\\bulletLinear Models: Single\-layer and three\-layer Linear models have been tested\. The linear models, also known as one\-layer and three\-layer feedforward neural networks, offer a simple and efficient approach to classification\. - ∙\\bulletLSTM Models: Single\-layer and three\-layer LSTM networks are tested\. For a short recall, LSTM is a type of recurrent neural network that can effectively capture long\-range dependencies within text data\. Figure[3](https://arxiv.org/html/2611.24959#S4.F3)presents the results of testing different ICARE versions with these four classifiers\. All versions use the same RoBERTa model for Feature Extractor\. As per the obtained results, The three\-layer linear model achieves the highest accuracy for current tasks \(ACC\_C: 86\.68%\) and old tasks \(ACC\_Old: 88\.60%\), indicating strong performance in preserving previously learned knowledge\. Although it does not perform best in retaining established knowledge \(ACC\_C: 86\.31%, ACC\_Old: 88\.34%\), the three\-layer LSTM model demonstrates superior capability in learning new classes, achieving the highest new task accuracy \(ACC\_New: 82\.41%\) and exhibiting the lowest forgetting rate \(Forget: 7\.32%\)\. This suggests a better balance between retaining past knowledge and adapting to new information\. Considering all performance metrics, the three\-layer LSTM model emerges as the preferred choice for the classifier in ICARE\. It offers a good trade\-off between remembering past knowledge and effectively learning new classes in continual learning scenarios\. ##### Exemplar Selection Strategies: Balancing Performance and Efficiency This section explores the effectiveness of different exemplar selection strategies in ICARE\. As described in Algorithm[1](https://arxiv.org/html/2611.24959#alg1)\(refer to Section[3\.2](https://arxiv.org/html/2611.24959#S3.SS2)for the algorithm details\), ICARE utilizes a selection process to choose representative data points \(exemplars\) from past tasks\. Here, we compare three strategies: - ∙\\bulletRandom Selection: A baseline approach where exemplars are chosen randomly from the previous task’s data\. - ∙\\bulletRainbow Memory \(Rainbow\)[Bang et al\. \(2021\)](https://arxiv.org/html/2611.24959#bib.bib33): This method selects exemplars based on their diversity\. By applying various transformations, each exemplar is perturbed to calculate an uncertainty score, which reflects the model’s response variation when processing both the original and perturbed versions\. The exemplars are then ranked according to their diversity, and selected at regular intervals to ensure comprehensive coverage of the entire data space\. - ∙\\bulletHerding Selection \(Herding\): A more sophisticated approach described in Algorithm[1](https://arxiv.org/html/2611.24959#alg1)for the Class\-Aware Experience Representation block\. It strategically selects exemplars that can improve the model’s ability to distinguish between old and new classes \(refer to Algorithm[1](https://arxiv.org/html/2611.24959#alg1)for details\)\. Table[5](https://arxiv.org/html/2611.24959#S4.T5)presents the results of these strategies\. We evaluate them based on two key factors: the accuracy metrics and Selection Time555Selection time: the time required to select the desired exemplar samples\. This measure is computed throughtime\.process\_time\(\)function in Python to capture only the actual run\-time on the CPUs \(i\.e\., sequentially\)\.\(the selection time represents the time it takes to select the desired exemplars using each strategy\.\) As the table shows, the Herding and Rainbow methods consistently outperform the Random method in terms of accuracy metrics\. This suggests that both Herding and Rainbow select exemplars to achieve a better balance between retaining past knowledge and adapting to new classes\. Rainbow demonstrates strong performance inACC\_NewACC\\textunderscore New, achieving a score of 81\.35%, slightly lower than theACC\_CACC\\textunderscore CandACC\_OldACC\\textunderscore Oldof the Herding method\. Furthermore, Rainbow’s Forget metric, at 8\.12, indicates that this method is more effective in mitigating knowledge degradation compared to both Herding and Random\. In terms of selection time, Rainbow is significantly slower, taking approximately 450 seconds, nearly 9 times longer than Herding\. This delay reflects the complexity and higher computational demands of the Rainbow method\. Although Rainbow demonstrates impressive performance, especially in learning new tasks, the extended selection time makes it less suitable for time\-sensitive applications compared to Herding, which offers a more efficient trade\-off between accuracy and speed\. Table 5:Effect of Representation\.Comparison of different selection Strategies\.Boldfaceindicates the best results\. Values are averaged over 2 runs\.Figure 4:Impact of Coefficients for Distillation\.Comparison of different distillation temperature valuesτ=\{1,2,3,5,8,10\}\\tau=\\\{1,2,3,5,8,10\\\}based on the minimum, maximum, and average accuracy and forget metrics\. ##### Coefficients for Distillation\. Knowledge distillation plays a crucial role in ICARE by transferring knowledge from the teacher model to the student model\. One key hyperparameter in this process is the distillation temperatureτ\\tau, which may affect the classification performance of ICARE\. Figure[4](https://arxiv.org/html/2611.24959#S4.F4)illustrates how varying the distillation temperature values \(τ=\{1,2,3,5,8,10\}\\tau=\\\{1,2,3,5,8,10\\\}\) affects ICARE’s accuracy across the accuracy and forgetting metrics\. Based on the result, we can observe that: - ∙\\bulletBalancing Forgetting and Accuracy: As the temperature parameterτ\\tauincreases from 1 to 10, both the minimum and average accuracy metrics exhibit a concave upward trend, peaking atτ=5\\tau=5with values of 79\.52% and 87\.77%, respectively\. This observation suggests that an optimal temperature can effectively mitigate forgetting while preserving overall accuracy\. The Forget metric further supports this finding, achieving its best value of 8\.75% atτ=5\\tau=5\. - ∙\\bulletMax Accuracy Consistency: Interestingly, the maximum accuracy across all temperature values remains relatively stable, generally within a range of 96\.03%\. Based on these findings, we select a temperature ofτ=5\\tau=5as the optimal trade\-off for our analyses\. This value offers a good balance between mitigating forgetting and maintaining overall accuracy during knowledge distillation in ICARE\. ##### Impact of Exemplar Ratio Table 6:Impact of Exemplar Ratio\.Performance metrics for varying exemplar ratio \(γ\\gamma\)\. Values are averaged over two runs\.After completing the training for the taskttht^\{th\}, a subset of old samples \(γ⋅\|St\|\\gamma\\cdot\|S^\{t\}\|\) is retained for re\-training during the task\(t\+1\)th\(t\+1\)^\{th\}\. Table[6](https://arxiv.org/html/2611.24959#S4.T6)summarizes the impact of the exemplar ratio \(γ=\{0\.01,0\.05,0\.5,0\.8\}\\gamma=\\\{0\.01,0\.05,0\.5,0\.8\\\}\) on key performance metrics\. As the exemplar ratio increases, the Forget metric decreases from 10\.16 atγ=0\.01\\gamma=0\.01to 7\.54 atγ=0\.8\\gamma=0\.8, indicating the model’s improved ability to retain knowledge from previous tasks\. However,ACC\_NewACC\\\_Newexhibits a decline, reaching its lowest value of 77\.05% atγ=0\.8\\gamma=0\.8\. The average accuracy \(ACC\_CACC\\\_C\) peaks at 89\.76% whenγ=0\.8\\gamma=0\.8, but this comes with a substantial increase in computational cost as the Total Training Time666Total Training time: The time refers to the total duration required to execute the entire program, including the Class\-Aware Experience Representation, Knowledge Distillation, and Training modules\.rises to approximately 281 minutes\. These results demonstrate the influence ofγ\\gammaon the fundamental trade\-off between stability \(retaining existing knowledge\) and plasticity \(acquiring new information\) in learning systems\. As shown in the table, whenγ=0\.05\\gamma=0\.05, we have a balance between learning new tasks and preserving the old performance \(ACC\_CACC\\\_C\) = 87\.58%,ACC\_OldACC\\\_Old=89\.6%, andACC\_NewACC\\\_New= 80\.82%\) with a low total training time \(168 minutes\)\. Based on the obtained results, this study adoptsγ=0\.05\\gamma=0\.05as the primary configuration to evaluate the performance of the proposed ICARE model, offering a balance between experimental cost and the trade\-off across key performance metrics\. This observation also referred to the related works[Simon et al\. \(2022\)](https://arxiv.org/html/2611.24959#bib.bib59);[Zhao et al\. \(2023\)](https://arxiv.org/html/2611.24959#bib.bib43);[Luo et al\. \(2023b\)](https://arxiv.org/html/2611.24959#bib.bib60), where the size of the exemplar set is typically kept small, around 4 to 5% of the training dataset to optimize memory usage and efficiency\. #### 4\.2\.2Overall classification performance comparison Figure 5:Performance Evaluation\.The center table reports the per\-approach metrics, with the best \(bold green\) and worst \(bold red\)\. The last row indicates the improvement of ICARE compared to the best\-performing IL benchmark\.The overall comparison of ICARE and other IL methods \(Fine\-tune[Luo et al\. \(2023a\)](https://arxiv.org/html/2611.24959#bib.bib46), Replay[Sun et al\. \(2020\)](https://arxiv.org/html/2611.24959#bib.bib45), LwF Learning without Forgetting[Boschini et al\. \(2022\)](https://arxiv.org/html/2611.24959#bib.bib47), and iCaRL[Bovenzi et al\. \(2021\)](https://arxiv.org/html/2611.24959#bib.bib44)\) on both SSD and MSD scenarios is illustrated in Figure[5](https://arxiv.org/html/2611.24959#S4.F5)\. For the SSD scenario, ICARE achieves the highest class average accuracyACC\_CACC\\textunderscore C: 97\.27%\) and accuracy on new classes \(ACC\_NewACC\\textunderscore New: 96\.61%\) compared to the benchmarks\. However, the Replay method performs slightly better in terms of forgetting previously learned information \(Replay: 1\.16% vs\. ICARE’s 1\.32% \)\. These results suggest that ICARE demonstrates a robust capability in adapting to new classes\. However, the incremental improvement in this case is relatively minor\. In the MSD scenario, ICARE demonstrates a significant advantage in this more complex scenario\. The other methods seem to struggle with remembering past knowledge after training on multiple domains\. ICARE excels, particularly on new classes in the current task \(target domain\), achieving an accuracy of around 80\.82%, which is about 3\.33% improvement over the best\-performed benchmark \(iCaRL\)\. This finding indicates that as the number of tasks increases, ICARE showcases a significant superiority over existing models\. Specifically, the metricsACCNewACC\_\{\\text\{New\}\}and Forget highlight ICARE’s ability to effectively adapt to new classes while retaining knowledge of previously learned classes\. #### 4\.2\.3Ablation Studies\. We present ablation studies to investigate the effectiveness of each component in the ICARE framework\. This experiment systematically removes individual components from the proposed model \(ICARE\) and evaluates the impact on performance\. Fine\-tune denotes the performance of our baseline model using the cross\-entropy loss[Luo et al\. \(2023a\)](https://arxiv.org/html/2611.24959#bib.bib46), but without the CARE, KD components, and the text classification loss𝓛𝑻𝑪\\bm\{\\mathcal\{L\}\_\{TC\}\}, knowledge distillation loss𝓛𝑲𝑫\\bm\{\\mathcal\{L\}\_\{KD\}\}\. Table 7:Ablations of ICARE Components\. Comparison of the ICARE without one of the four contributions in multi\-source domains \(MSD\) scenario\. ✓ denotes utilization, ✗ denotes non\-utilization\. The reported values are the average of 2 runs\.- ×\\timesAbbreviations:CARE: whether Class\-Aware Experience Representation block is utilized;KD: whether Knowledge Distillation block is utilized;𝓛𝑻𝑪\\bm\{\\mathcal\{L\}\_\{TC\}\}: whether Text classification loss is utilized;𝓛𝑲𝑫\\bm\{\\mathcal\{L\}\_\{KD\}\}, whether Knowledge Distillation loss is utilized; Table[7](https://arxiv.org/html/2611.24959#S4.T7)highlights the significance of each component within the ICARE framework in the MSD scenario\. Ablated models show a clear drop in performance compared to the full ICARE setup\. The ”Fine\-tune \+ CARE \+ KD \+ L\_TC” variant achieves anACC\_AvgACC\\textunderscore Avgof 83\.72% and a Forget metric of 9\.84, both of which are noticeably lower than the complete ICARE model’sACC\_AvgACC\\textunderscore Avgof 87\.58% and Forget metric of 8\.75\. This suggests that the integration of all components \(CARE, KD,LTCL\_\{TC\}, andℒKD\\mathcal\{L\}\_\{KD\}\)is crucial for maximizing retention and adaptation in multi\-domain learning\. The ICARE model \(ours\) demonstrates superior performance, especially with its low Forget rate of 8\.75 and highACC\_OldACC\\textunderscore Old\(89\.60%\) andACC\_NewACC\\textunderscore New\(80\.82%\), reflects its balanced handling of stability and plasticity\. This integrated approach enables ICARE to retain prior knowledge effectively while learning new classes, making it well\-suited for continual learning applications in complex, evolving domains\. ## 5Conclusions This paper proposes the Incremental Class\-Aware Representation and Distillation Learning \(ICARE\) method for cross\-domain text classification, designed to mitigate issues related to training resources and gradient vanishing/exploding\. Specifically, we developed a class\-aware representation module to tackle catastrophic forgetting and reduce excessive memory usage during training\. We also introduced a knowledge distillation module that transfers feature\-level and logit\-level knowledge from the source domain to address over\-parameterization issues\. Our experiments highlight the superiority of ICARE over baseline methods\. In the single\-source domain scenario, ICARE achieved the highest class average accuracy \(97\.27%\) and accuracy on new classes \(96\.61%\) compared to four benchmarks: Fine\-tune, Replay, LwF, and iCaRL\. In the multi\-source domain scenario, ICARE achieved an accuracy of approximately 80\.82%, surpassing the best\-performing benchmark, iCaRL, by 3\.33%\. Future work will focus on addressing challenges in sequence generation and sequence labeling\. ## 6Acknowledgement The study of Son Duong was funded by the Master, PhD Scholarship Programme of Vingroup Innovation Foundation \(VINIF\), code VINIF\.2023\.ThS\.113\. ## References - K\. Albishre, M\. Albathan, and Y\. LiEffective 20 newsgroups dataset cleaning\.In2015 IEEE/WIC/ACM International Conference on Web Intelligence and Intelligent Agent Technology \(WI\-IAT\),Vol\.3,pp\. 98–101\.Cited by:[§4\.1\.1](https://arxiv.org/html/2611.24959#S4.SS1.SSS1.p1.1)\. - Alqahtaniet al\.\(2023\)Y\. Alqahtani, N\. Al\-Twairesh, and A\. AlsanadA comparative study of effective domain adaptation approaches for arabic sentiment classification\.Applied Sciences13\(3\),pp\. 1387\.Cited by:[§1](https://arxiv.org/html/2611.24959#S1.p1.1)\. - Banget al\.\(2021\)J\. Bang, H\. Kim, Y\. Yoo, J\. Ha, and J\. ChoiRainbow memory: continual learning with a memory of diverse samples\.InProceedings of the IEEE/CVF conference on computer vision and pattern recognition,pp\. 8218–8227\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p7.1),[2nd item](https://arxiv.org/html/2611.24959#S4.I4.i2.p1.1)\. - Bhattet al\.\(2024\)G\. Bhatt, J\. Ross, and L\. SigalPreventing catastrophic forgetting through memory networks in continuous detection\.arXiv preprint arXiv:2403\.14797\.Cited by:[§1](https://arxiv.org/html/2611.24959#S1.p2.1)\. - Biesialskaet al\.\(2020\)M\. Biesialska, K\. Biesialska, and M\. R\. Costa\-JussaContinual lifelong learning in natural language processing: a survey\.arXiv preprint arXiv:2012\.09823\.Cited by:[§1](https://arxiv.org/html/2611.24959#S1.p1.1)\. - Boschiniet al\.\(2022\)M\. Boschini, L\. Bonicelli, A\. Porrello, G\. Bellitto, M\. Pennisi, S\. Palazzo, C\. Spampinato, and S\. CalderaraTransfer without forgetting\.InEuropean Conference on Computer Vision,pp\. 692–709\.Cited by:[§4\.2\.2](https://arxiv.org/html/2611.24959#S4.SS2.SSS2.p1.1)\. - Bovenziet al\.\(2023\)G\. Bovenzi, A\. Nascita, L\. Yang, A\. Finamore, G\. Aceto, D\. Ciuonzo, A\. Pescapé, and D\. RossiBenchmarking class incremental learning in deep learning traffic classification\.IEEE Transactions on Network and Service Management\.Cited by:[§1](https://arxiv.org/html/2611.24959#S1.p5.1),[§3\.2](https://arxiv.org/html/2611.24959#S3.SS2.p1.1)\. - Bovenziet al\.\(2021\)G\. Bovenzi, L\. Yang, A\. Finamore, G\. Aceto, D\. Ciuonzo, A\. Pescape, and D\. RossiA first look at class incremental learning in deep learning mobile traffic classification\.arXiv preprint arXiv:2107\.04464\.Cited by:[§4\.2\.2](https://arxiv.org/html/2611.24959#S4.SS2.SSS2.p1.1)\. - Changet al\.\(2008\)M\. Chang, L\. Ratinov, D\. Roth, and V\. SrikumarImportance of semantic representation: dataless classification\.\.InAaai,Vol\.2,pp\. 830–835\.Cited by:[§4\.1\.1](https://arxiv.org/html/2611.24959#S4.SS1.SSS1.p1.1)\. - Chenget al\.\(2024\)Y\. Cheng, C\. Zhang, Z\. Zhang, X\. Meng, S\. Hong, W\. Li, Z\. Wang, Z\. Wang, F\. Yin, J\. Zhao,et al\.Exploring large language model based intelligent agents: definitions, methods, and prospects\.arXiv preprint arXiv:2401\.03428\.Cited by:[§1](https://arxiv.org/html/2611.24959#S1.p1.1)\. - De Lange and Tuytelaars \(2021\)M\. De Lange and T\. TuytelaarsContinual prototype evolution: learning online from non\-stationary data streams\.InProceedings of the IEEE/CVF international conference on computer vision,pp\. 8250–8259\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p7.1)\. - de Masson D’Autumeet al\.\(2019\)C\. de Masson D’Autume, S\. Ruder, L\. Kong, and D\. YogatamaEpisodic memory in lifelong language learning\.Advances in Neural Information Processing Systems32\.Cited by:[§1](https://arxiv.org/html/2611.24959#S1.p2.1),[§4\.1\.1](https://arxiv.org/html/2611.24959#S4.SS1.SSS1.p1.1)\. - Huanget al\.\(2024a\)L\. Huang, Z\. An, Y\. Zeng, C\. Yang, X\. Yu, and Y\. XuExemplar\-free class incremental learning via incremental representation\.arXiv preprint arXiv:2403\.16221\.Cited by:[§3\.1](https://arxiv.org/html/2611.24959#S3.SS1.p4.1)\. - Huanget al\.\(2024b\)M\. Huang, M\. Xiao, L\. Wang, and Y\. DuDP\-cre: continual relation extraction via decoupled contrastive learning and memory structure preservation\.arXiv preprint arXiv:2403\.02718\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p8.1)\. - Huanget al\.\(2021\)Y\. Huang, Y\. Zhang, J\. Chen, X\. Wang, and D\. YangContinual learning for text classification with information disentanglement based regularization\.arXiv preprint arXiv:2104\.05489\.Cited by:[§1](https://arxiv.org/html/2611.24959#S1.p2.1),[§2](https://arxiv.org/html/2611.24959#S2.p2.1),[§2](https://arxiv.org/html/2611.24959#S2.p5.1),[§3\.1](https://arxiv.org/html/2611.24959#S3.SS1.p1.1),[§3\.1](https://arxiv.org/html/2611.24959#S3.SS1.p4.1)\. - Kullback \(1951\)S\. KullbackKullback\-leibler divergence\.Cited by:[§3\.3](https://arxiv.org/html/2611.24959#S3.SS3.p6.1)\. - Liet al\.\(2022\)S\. Li, Z\. Wang, X\. Jiang, and G\. ZhouCross\-domain sentiment classification using semantic representation\.InFindings of the Association for Computational Linguistics: EMNLP 2022,pp\. 289–299\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p2.1),[§2](https://arxiv.org/html/2611.24959#S2.p3.1)\. - Liet al\.\(2019\)X\. Li, Y\. Zhou, T\. Wu, R\. Socher, and C\. XiongLearn to grow: a continual structure learning framework for overcoming catastrophic forgetting\.InInternational conference on machine learning,pp\. 3925–3934\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p7.1)\. - Liuet al\.\(2015\)X\. Liu, J\. Gao, X\. He, L\. Deng, K\. Duh, and Y\. WangRepresentation learning using multi\-task deep neural networks for semantic classification and information retrieval\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p2.1)\. - Liuet al\.\(2021\)Y\. Liu, B\. Schiele, and Q\. SunAdaptive aggregation networks for class\-incremental learning\.InProceedings of the IEEE/CVF conference on Computer Vision and Pattern Recognition,pp\. 2544–2553\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p7.1)\. - Loshchilov and Hutter \(2017\)I\. Loshchilov and F\. HutterDecoupled weight decay regularization\.arXiv preprint arXiv:1711\.05101\.Cited by:[§4\.1\.3](https://arxiv.org/html/2611.24959#S4.SS1.SSS3.p1.1)\. - Luoet al\.\(2023a\)Y\. Luo, Z\. Yang, F\. Meng, Y\. Li, J\. Zhou, and Y\. ZhangAn empirical study of catastrophic forgetting in large language models during continual fine\-tuning\.arXiv preprint arXiv:2308\.08747\.Cited by:[§4\.2\.2](https://arxiv.org/html/2611.24959#S4.SS2.SSS2.p1.1),[§4\.2\.3](https://arxiv.org/html/2611.24959#S4.SS2.SSS3.p1.1)\. - Luoet al\.\(2023b\)Z\. Luo, Y\. Liu, B\. Schiele, and Q\. SunClass\-incremental exemplar compression for class\-incremental learning\.InProceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition,pp\. 11371–11380\.Cited by:[§4\.2\.1](https://arxiv.org/html/2611.24959#S4.SS2.SSS1.Px5.p2.1)\. - Maoet al\.\(2023\)C\. Mao, Q\. Liang, C\. Pan, and I\. SchizasA statistical approach for neural network pruning with application to internet of things\.EURASIP Journal on Wireless Communications and Networking2023\(1\),pp\. 1–21\.Cited by:[§3\.3](https://arxiv.org/html/2611.24959#S3.SS3.p2.1)\. - Mendeset al\.\(2012\)P\. N\. Mendes, M\. Jakob, and C\. BizerDBpedia: a multilingual cross\-domain knowledge base\.European Language Resources Association \(ELRA\)\.Cited by:[§4\.1\.1](https://arxiv.org/html/2611.24959#S4.SS1.SSS1.p1.1)\. - Panet al\.\(2022\)L\. Pan, C\. Hang, A\. Sil, and S\. PotdarImproved text classification via contrastive adversarial training\.InProceedings of the AAAI Conference on Artificial Intelligence,Vol\.36,pp\. 11130–11138\.Cited by:[§1](https://arxiv.org/html/2611.24959#S1.p3.1)\. - Penget al\.\(2013\)Y\. Peng, S\. Wang, and B\. LuMarginalized denoising autoencoder via graph regularization for domain adaptation\.InNeural Information Processing: 20th International Conference, ICONIP 2013, Daegu, Korea, November 3\-7, 2013\. Proceedings, Part II 20,pp\. 156–163\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p6.1)\. - Prabhuet al\.\(2020\)A\. Prabhu, P\. H\. Torr, and P\. K\. DokaniaGdumb: a simple approach that questions our progress in continual learning\.InComputer Vision–ECCV 2020: 16th European Conference, Glasgow, UK, August 23–28, 2020, Proceedings, Part II 16,pp\. 524–540\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p8.1)\. - Puet al\.\(2021\)N\. Pu, W\. Chen, Y\. Liu, E\. M\. Bakker, and M\. S\. LewLifelong person re\-identification via adaptive knowledge accumulation\.InProceedings of the IEEE/CVF conference on computer vision and pattern recognition,pp\. 7901–7910\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p8.1)\. - Puet al\.\(2023\)N\. Pu, Z\. Zhong, N\. Sebe, and M\. S\. LewA memorizing and generalizing framework for lifelong person re\-identification\.IEEE Transactions on Pattern Analysis and Machine Intelligence\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p8.1),[§3\.3](https://arxiv.org/html/2611.24959#S3.SS3.p1.1)\. - Radfordet al\.\(2019\)A\. Radford, J\. Wu, R\. Child, D\. Luan, D\. Amodei, I\. Sutskever,et al\.Language models are unsupervised multitask learners\.OpenAI blog1\(8\),pp\. 9\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p7.1)\. - Ramponi and Plank \(2020\)A\. Ramponi and B\. PlankNeural unsupervised domain adaptation in nlp—a survey\.arXiv preprint arXiv:2006\.00632\.Cited by:[§1](https://arxiv.org/html/2611.24959#S1.p1.1)\. - Simonet al\.\(2022\)C\. Simon, M\. Faraki, Y\. Tsai, X\. Yu, S\. Schulter, Y\. Suh, M\. Harandi, and M\. ChandrakerOn generalizing beyond domains in cross\-domain continual learning\.InProceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition,pp\. 9265–9274\.Cited by:[§4\.2\.1](https://arxiv.org/html/2611.24959#S4.SS2.SSS1.Px5.p2.1)\. - Songet al\.\(2024\)R\. Song, F\. Giunchiglia, Y\. Li, M\. Tian, and H\. XuTACIT: a target\-agnostic feature disentanglement framework for cross\-domain text classification\.InProceedings of the AAAI Conference on Artificial Intelligence,Vol\.38,pp\. 18999–19007\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p5.1),[§3\.1](https://arxiv.org/html/2611.24959#S3.SS1.p1.1)\. - Suet al\.\(2024\)J\. Su, C\. Jiang, X\. Jin, Y\. Qiao, T\. Xiao, H\. Ma, R\. Wei, Z\. Jing, J\. Xu, and J\. LinLarge language models for forecasting and anomaly detection: a systematic literature review\.arXiv preprint arXiv:2402\.10350\.Cited by:[§1](https://arxiv.org/html/2611.24959#S1.p1.1)\. - Sunet al\.\(2019\)F\. Sun, C\. Ho, and H\. LeeLamol: language modeling for lifelong language learning\.arXiv preprint arXiv:1909\.03329\.Cited by:[§1](https://arxiv.org/html/2611.24959#S1.p2.1)\. - Sunet al\.\(2020\)J\. Sun, S\. Wang, J\. Zhang, and C\. ZongDistill and replay for continual language learning\.InProceedings of the 28th international conference on computational linguistics,pp\. 3569–3579\.Cited by:[§4\.2\.2](https://arxiv.org/html/2611.24959#S4.SS2.SSS2.p1.1)\. - Wanget al\.\(2024\)L\. Wang, X\. Zhang, H\. Su, and J\. ZhuA comprehensive survey of continual learning: theory, method and application\.IEEE Transactions on Pattern Analysis and Machine Intelligence\.Cited by:[§1](https://arxiv.org/html/2611.24959#S1.p2.1)\. - Wanget al\.\(2020\)Z\. Wang, S\. V\. Mehta, B\. Póczos, and J\. CarbonellEfficient meta lifelong\-learning with limited memory\.arXiv preprint arXiv:2010\.02500\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p8.1)\. - Weiet al\.\(2016\)P\. Wei, Y\. Ke, and C\. K\. GohDeep nonlinear feature coding for unsupervised domain adaptation\.\.InIJCAI,pp\. 2189–2195\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p6.1)\. - Weiet al\.\(2018\)P\. Wei, Y\. Ke, and C\. K\. GohFeature analysis of marginalized stacked denoising autoenconder for unsupervised domain adaptation\.IEEE transactions on neural networks and learning systems30\(5\),pp\. 1321–1334\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p6.1)\. - Wolfet al\.\(2020\)T\. Wolf, L\. Debut, V\. Sanh, J\. Chaumond, C\. Delangue, A\. Moi, P\. Cistac, T\. Rault, R\. Louf, M\. Funtowicz,et al\.Transformers: state\-of\-the\-art natural language processing\.InProceedings of the 2020 conference on empirical methods in natural language processing: system demonstrations,pp\. 38–45\.Cited by:[§4\.1\.3](https://arxiv.org/html/2611.24959#S4.SS1.SSS3.p1.1)\. - Wu and Huang \(2015\)F\. Wu and Y\. HuangCollaborative multi\-domain sentiment classification\.In2015 IEEE international conference on data mining,pp\. 459–468\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p2.1)\. - Wu and Shi \(2022\)H\. Wu and X\. ShiAdversarial soft prompt tuning for cross\-domain sentiment analysis\.InProceedings of the 60th Annual Meeting of the Association for Computational Linguistics \(Volume 1: Long Papers\),pp\. 2438–2447\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p2.1),[§2](https://arxiv.org/html/2611.24959#S2.p4.1),[§3\.1](https://arxiv.org/html/2611.24959#S3.SS1.p1.1)\. - Wuet al\.\(2021\)Y\. Wu, D\. Inkpen, and A\. El\-RobyConditional adversarial networks for multi\-domain text classification\.arXiv preprint arXiv:2102\.10176\.Cited by:[§1](https://arxiv.org/html/2611.24959#S1.p3.1)\. - Xiet al\.\(2023\)Z\. Xi, W\. Chen, X\. Guo, W\. He, Y\. Ding, B\. Hong, M\. Zhang, J\. Wang, S\. Jin, E\. Zhou,et al\.The rise and potential of large language model based agents: a survey\.arXiv preprint arXiv:2309\.07864\.Cited by:[§1](https://arxiv.org/html/2611.24959#S1.p1.1)\. - Xuet al\.\(2023\)Q\. Xu, M\. Wu, X\. Li, K\. Mao, and Z\. ChenDistilling universal and joint knowledge for cross\-domain model compression on time series data\.arXiv preprint arXiv:2307\.03347\.Cited by:[§1](https://arxiv.org/html/2611.24959#S1.p5.1)\. - Yanget al\.\(2023\)F\. Yang, Y\. Che, M\. Kang, S\. Liu, and Z\. FuContinual text classification based on knowledge distillation and class\-aware experience replay\.Knowledge and Information Systems65\(10\),pp\. 3923–3944\.Cited by:[§1](https://arxiv.org/html/2611.24959#S1.p3.1)\. - Yanget al\.\(2019\)W\. Yang, W\. Lu, and V\. W\. ZhengA simple regularization\-based algorithm for learning cross\-domain word embeddings\.arXiv preprint arXiv:1902\.00184\.Cited by:[§1](https://arxiv.org/html/2611.24959#S1.p2.1)\. - Ye and Bors \(2021\)F\. Ye and A\. G\. BorsLifelong teacher\-student network learning\.IEEE Transactions on Pattern Analysis and Machine Intelligence44\(10\),pp\. 6280–6296\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p8.1)\. - Ye and Bors \(2024a\)F\. Ye and A\. G\. BorsSelf\-supervised adversarial variational learning\.Pattern Recognition148,pp\. 110156\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p8.1)\. - Ye and Bors \(2024b\)F\. Ye and A\. G\. BorsTask\-free continual generation and representation learning via dynamic expansionable memory cluster\.InProceedings of the AAAI Conference on Artificial Intelligence,Vol\.38,pp\. 16451–16459\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p8.1)\. - Yoonet al\.\(2017\)J\. Yoon, E\. Yang, J\. Lee, and S\. J\. HwangLifelong learning with dynamically expandable networks\.arXiv preprint arXiv:1708\.01547\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p7.1)\. - Zenkeet al\.\(2017\)F\. Zenke, B\. Poole, and S\. GanguliContinual learning through synaptic intelligence\.InInternational conference on machine learning,pp\. 3987–3995\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p8.1)\. - Zhanget al\.\(2015\)X\. Zhang, J\. Zhao, and Y\. LeCunCharacter\-level convolutional networks for text classification\.Advances in neural information processing systems28\.Cited by:[§4\.1\.1](https://arxiv.org/html/2611.24959#S4.SS1.SSS1.p1.1)\. - Zhaoet al\.\(2022\)K\. Zhao, H\. Xu, J\. Yang, and K\. GaoConsistent representation learning for continual relation extraction\.arXiv preprint arXiv:2203\.02721\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p8.1)\. - Zhaoet al\.\(2023\)L\. Zhao, J\. Lu, Y\. Xu, Z\. Cheng, D\. Guo, Y\. Niu, and X\. FangFew\-shot class\-incremental learning via class\-aware bilateral distillation\.InProceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition,pp\. 11838–11847\.Cited by:[§4\.2\.1](https://arxiv.org/html/2611.24959#S4.SS2.SSS1.Px5.p2.1)\. - Zhouet al\.\(2022\)D\. Zhou, F\. Wang, H\. Ye, L\. Ma, S\. Pu, and D\. ZhanForward compatible few\-shot class\-incremental learning\.InProceedings of the IEEE/CVF conference on computer vision and pattern recognition,pp\. 9046–9056\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p7.1)\. - Zhouet al\.\(2023\)D\. Zhou, Q\. Wang, Z\. Qi, H\. Ye, D\. Zhan, and Z\. LiuDeep class\-incremental learning: a survey\.arXiv preprint arXiv:2302\.03648\.Cited by:[§2](https://arxiv.org/html/2611.24959#S2.p7.1)\. - Zhouet al\.\(2020\)J\. Zhou, J\. Tian, R\. Wang, Y\. Wu, W\. Xiao, and L\. HeSentix: a sentiment\-aware pre\-trained model for cross\-domain sentiment analysis\.InProceedings of the 28th international conference on computational linguistics,pp\. 568–579\.Cited by:[§1](https://arxiv.org/html/2611.24959#S1.p3.1),[§2](https://arxiv.org/html/2611.24959#S2.p2.1),[§2](https://arxiv.org/html/2611.24959#S2.p3.1)\.
Similar Articles
I-CARE: Analysis of interference-related phenomena in a controllable, diverse and representative unlearning setting for text-to-image models
This paper introduces I-CARE, a methodology for systematically analyzing interference in machine unlearning for text-to-image models, providing formal definitions and an open-source framework to enable reproducible study.
CARE: Condition-Aware Representation Regularization for Diffusion Models
The paper introduces CARE, a condition-aware representation regularization framework for diffusion models that improves sample quality and training efficiency by dynamically modulating feature distributions based on condition similarity. Empirically, it achieves significant reductions in FID and faster convergence for both class-to-image and text-to-image tasks.
RAFT: Data Refinement and Adaptive Distillation for Domain Fine-Tuning with Alleviated Forgetting
RAFT is a two-stage framework for domain-specific fine-tuning of LLMs that addresses catastrophic forgetting by refining supervision data and using on-policy distillation with adaptive loss balancing, achieving significant improvements on domain accuracy while recovering general capabilities.
Rationale-Guided Knowledge Distillation for Cross-Lingual Stance Detection
This paper proposes a rationale-guided knowledge distillation framework for cross-lingual stance detection, using chain-of-thought prompting from large language models to train a compact student model with dual-path distillation and contrastive learning.
LC-ICL: Label-Guided Contrastive In-Context Learning for Robust Information Extraction
This paper proposes LC-ICL, a novel few-shot technique that uses both correct and incorrect examples with error-cause labels to improve large language models' performance on information extraction tasks like named entity recognition and relation extraction.