Skip to main content
QUICK REVIEW

[Paper Review] Progressive Memory Banks for Incremental Domain Adaptation

Nabiha Asghar, Lili Mou|arXiv (Cornell University)|Nov 1, 2018
Domain Adaptation and Few-Shot LearningComputer Science41 references10 citations
TL;DR

This paper proposes a progressive memory bank for incremental domain adaptation (IDA) in NLP, augmenting an RNN with an attention-based memory bank that is expanded with new slots per domain. Unlike fine-tuning or hidden state expansion, the method fine-tunes all parameters while minimizing catastrophic forgetting, achieving state-of-the-art performance on MultiNLI across incremental domains with minimal performance drop on prior domains.

ABSTRACT

This paper addresses the problem of incremental domain adaptation (IDA) in natural language processing (NLP). We assume each domain comes one after another, and that we could only access data in the current domain. The goal of IDA is to build a unified model performing well on all the domains that we have encountered. We adopt the recurrent neural network (RNN) widely used in NLP, but augment it with a directly parameterized memory bank, which is retrieved by an attention mechanism at each step of RNN transition. The memory bank provides a natural way of IDA: when adapting our model to a new domain, we progressively add new slots to the memory bank, which increases the number of parameters, and thus the model capacity. We learn the new memory slots and fine-tune existing parameters by back-propagation. Experimental results show that our approach achieves significantly better performance than fine-tuning alone. Compared with expanding hidden states, our approach is more robust for old domains, shown by both empirical and theoretical results. Our model also outperforms previous work of IDA including elastic weight consolidation and progressive neural networks in the experiments.

Motivation & Objective

  • Address catastrophic forgetting in incremental domain adaptation (IDA) where domains arrive sequentially and only current domain data are accessible.
  • Develop a method that preserves knowledge from previously seen domains while adapting to new ones without retraining from scratch.
  • Propose a memory-augmented RNN architecture that increases model capacity through progressive memory bank expansion rather than hidden state growth.
  • Demonstrate that memory-based capacity expansion is more robust than hidden state expansion in preserving performance on old domains.
  • Outperform existing IDA methods including fine-tuning, elastic weight consolidation (EWC), and progressive neural networks in both single- and multi-domain settings.

Proposed method

  • Augment a recurrent neural network (RNN) with a directly parameterized memory bank of real-valued vectors to store domain-specific knowledge.
  • Retrieve memory vectors via an attention mechanism during RNN forward passes, allowing dynamic access to relevant domain information.
  • When a new domain arrives, progressively add new memory slots to the bank, increasing model capacity without modifying the RNN architecture.
  • Fine-tune all model parameters—including RNN weights and existing memory banks—using back-propagation to adapt to new data.
  • Ensure fair comparison with hidden state expansion by matching total parameter counts, isolating the effect of capacity expansion mechanism.
  • Use a one-tailed Wilcoxon signed-rank test with bootstrapping to validate statistical significance of performance differences.

Experimental results

Research questions

  • RQ1Does progressive memory bank expansion mitigate catastrophic forgetting in incremental domain adaptation compared to standard fine-tuning?
  • RQ2Is memory-based capacity expansion more robust than expanding RNN hidden states in preserving performance on previously seen domains?
  • RQ3How does the proposed method compare to established IDA techniques like elastic weight consolidation (EWC) and progressive neural networks in multi-domain settings?
  • RQ4Can the model maintain or improve performance on earlier domains as new domains are added, indicating stable continual learning?
  • RQ5Does the attention-based memory retrieval mechanism enable effective knowledge transfer across domains without requiring joint training?

Key findings

  • The proposed progressive memory bank method significantly outperforms standard fine-tuning on both source and target domains, with statistically significant gains confirmed via the Wilcoxon signed-rank test.
  • Compared to hidden state expansion, memory-based expansion causes less performance degradation on source domains, supporting the theoretical claim that memory expansion is less contaminating to existing knowledge.
  • The method achieves performance comparable to multi-task learning on all domains, despite being incremental and not requiring simultaneous access to all data.
  • The model outperforms both elastic weight consolidation (EWC) and the original progressive neural network across all domains in the multi-domain setting, with consistent improvements on older domains.
  • Performance on previous domains gradually improves as more domains are added, indicating stable continual learning behavior without catastrophic forgetting.
  • Empirical results show that the memory bank mechanism enables effective knowledge retention and transfer, even when the entire network is fine-tuned after each domain update.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.