CTTA-T: Continual Test-Time Adaptation for Text Understanding via Teacher-Student with a Domain-aware and Generalized Teacher
About
Text understanding often suffers from domain shifts. To handle testing domains, domain adaptation (DA) is trained to adapt to a fixed and observed testing domain; a more challenging paradigm, test-time adaptation (TTA), cannot access the testing domain during training and online adapts to the testing samples during testing, where the samples are from a fixed domain. We aim to explore a more practical and underexplored scenario, continual test-time adaptation (CTTA) for text understanding, which involves a sequence of testing (unobserved) domains in testing. Current CTTA methods struggle in reducing error accumulation over domains and enhancing generalization to handle unobserved domains: 1) Noise-filtering reduces accumulated errors but discards useful information, and 2) accumulating historical domains enhances generalization, but it is hard to achieve adaptive accumulation. In this paper, we propose a CTTA-T (continual test-time adaptation for text understanding) framework adaptable to evolving target domains: it adopts a teacher-student framework, where the teacher is domain-aware and generalized for evolving domains. To improve teacher predictions, we propose a refine-then-filter based on dropout-driven consistency, which calibrates predictions and removes unreliable guidance. For the adaptation-generalization trade-off, we construct a domain-aware teacher by dynamically accumulating cross-domain semantics via incremental PCA, which continuously tracks domain shifts. Experiments show CTTA-T excels baselines.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Question Answering | XTREME QA Order 1 - Short Sequence (test) | EM57.85 | 16 | |
| Question Answering | XTREME QA Order 2 - Short Sequence (test) | EM57.99 | 16 | |
| Question Answering | XTREME QA Order 3 - Short Sequence (test) | EM58 | 16 | |
| Question Answering | XTREME QA Order 4 - Long Sequence (test) | EM60.84 | 16 | |
| Question Answering | XTREME QA Order 5 - Long Sequence (test) | EM60.92 | 16 | |
| Question Answering | XTREME QA Order 6 - Long Sequence (test) | EM0.6086 | 16 | |
| Question Answering | XTREME QA Average across all orders (test) | EM59.41 | 16 | |
| Question Answering | Short Sequence | EM58 | 12 | |
| Question Answering | Long Sequence | EM60.92 | 12 | |
| Sentiment Analysis | Sentiment Analysis Data Stream imdb, eng, zho, ara, spa, jpn, rus (test) | IMDB Acc89.95 | 6 |