A Unified Encoder-Decoder Framework with Entity Memory

Zhihan Zhang, Wenhao Yu, Chenguang Zhu, Meng Jiang
10/7/2022
cs.CL

Official code: DM2-ND/EDMem (16 stars, Python, last commit 2023-04-24).

Abstract

Entities, as important carriers of real-world knowledge, play a key role in many NLP tasks. We focus on incorporating entity knowledge into an encoder-decoder framework for informative text generation.

Show full abstract

Existing approaches tried to index, retrieve, and read external documents as evidence, but they suffered from a large computational overhead. In this work, we propose an encoder-decoder framework with an entity memory, namely EDMem. The entity knowledge is stored in the memory as latent representations, and the memory is pre-trained on Wikipedia along with encoder-decoder parameters. To precisely generate entity names, we design three decoding methods to constrain entity generation by linking entities in the memory. EDMem is a unified framework that can be used on various entity-intensive question answering and generation tasks. Extensive experimental results show that EDMem outperforms both memory-based auto-encoder models and non-memory encoder-decoder models.

View on arXivView PDF

Code Implementations(1)

DM2-ND/EDMemOfficial100%

Code for EMNLP 2022 paper "A Unified Encoder-Decoder Framework with Entity Memory"

162PythonOct 10, 20223 years ago

Similar Papers

Cite this paper

@article{zhang2022unified,
  title  = {A Unified Encoder-Decoder Framework with Entity Memory},
  author = {Zhihan Zhang and Wenhao Yu and Chenguang Zhu and Meng Jiang},
  year   = {2022},
  eprint = {2210.03273},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.03273}
}

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

Discussion