Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Continual Learning for Text Classification with Information Disentanglement Based Regularization

About

Continual learning has become increasingly important as it enables NLP models to constantly learn and gain knowledge over time. Previous continual learning methods are mainly designed to preserve knowledge from previous tasks, without much emphasis on how to well generalize models to new tasks. In this work, we propose an information disentanglement based regularization method for continual learning on text classification. Our proposed method first disentangles text hidden spaces into representations that are generic to all tasks and representations specific to each individual task, and further regularizes these representations differently to better constrain the knowledge required to generalize. We also introduce two simple auxiliary tasks: next sentence prediction and task-id prediction, for learning better generic and specific representation spaces. Experiments conducted on large-scale benchmarks demonstrate the effectiveness of our method in continual text classification tasks with various sequences and lengths over state-of-the-art baselines. We have publicly released our code at https://github.com/GT-SALT/IDBR.

Yufan Huang, Yanzhe Zhang, Jiaao Chen, Xuezhi Wang, Diyi Yang• 2021

Related benchmarks

TaskDatasetResultRank
Text ClassificationAGNews, Amazon, DBPedia, Yahoo, and Yelp (test)
Exact Match (EM)78.1
55
NLP ClassificationWebNLP
S2 Test Accuracy76.1
16
NLP ClassificationGLUE
Average Test Accuracy (S1)77.7
14
Continual LearningGLUE (val)
Aggregate Score79.7
12
Continual LearningWebNLP (val)
Stage 2 Score75.9
12
Continual LearningWebNLP Length-5 sub-sampled (test)
Accuracy (S2)72.63
11
Continual LearningWebNLP Length-3 sub-sampled (test)
Accuracy (S6)71.8
11
Showing 7 of 7 rows

Other info

Follow for update