Sentence Embedding Alignment for Lifelong Relation Extraction

Hong Wang, Wenhan Xiong, Mo Yu, Xiaoxiao Guo, Shiyu Chang +1 more
3/6/2019
183 citations
cs.CL

Official code: hongwang600/Lifelong_Relation_Detection (57 stars, Python, last commit 2019-08-10).

Abstract

Conventional approaches to relation extraction usually require a fixed set of pre-defined relations. Such requirement is hard to meet in many real applications, especially when new data and relations are emerging incessantly and it is computationally expensive to store all data and re-train the whole model every time new data and relations come in.

Show full abstract

We formulate such a challenging problem as lifelong relation extraction and investigate memory-efficient incremental learning methods without catastrophically forgetting knowledge learned from previous tasks. We first investigate a modified version of the stochastic gradient methods with a replay memory, which surprisingly outperforms recent state-of-the-art lifelong learning methods. We further propose to improve this approach to alleviate the forgetting problem by anchoring the sentence embedding space. Specifically, we utilize an explicit alignment model to mitigate the sentence embedding distortion of the learned model when training on new data and new relations. Experiment results on multiple benchmarks show that our proposed method significantly outperforms the state-of-the-art lifelong learning approaches.

View on arXivView PDF

Code Implementations(1)

5710PythonMar 12, 20197 years ago

Similar Papers

Cite this paper

@article{wang2019sentence,
  title  = {Sentence Embedding Alignment for Lifelong Relation Extraction},
  author = {Hong Wang and Wenhan Xiong and Mo Yu and Xiaoxiao Guo and Shiyu Chang and William Yang Wang},
  year   = {2019},
  eprint = {1903.02588},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1903.02588}
}

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/1903.02588.svg)](https://codeofpaper.com/paper/1903.02588)

Discussion