Progressive Memory Banks for Incremental Domain Adaptation

Nabiha Asghar, Lili Mou, Kira A. Selby, Kevin D. Pantasdo, Pascal Poupart +1 more
11/1/2018
cs.CLcs.AIcs.LG

Official code: nabihach/IDA (13 stars, Python, Apache-2.0, last commit 2020-01-08).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

nabihach/IDAOfficial100%
Apache-2.0
132PythonDec 4, 20186 years agoApache-2.0

Similar Papers

Cite this paper

@article{asghar2018progressive,
  title  = {Progressive Memory Banks for Incremental Domain Adaptation},
  author = {Nabiha Asghar and Lili Mou and Kira A. Selby and Kevin D. Pantasdo and Pascal Poupart and Xin Jiang},
  year   = {2018},
  eprint = {1811.00239},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.00239}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1811.00239.svg)](https://codeofpaper.com/paper/1811.00239)

Discussion