paper-with-me

Papers

MATTER: Memory-Augmented Transformer Using Heterogeneous Knowledge Sources

2024-06-07 · Dongkyu Lee, Chandana Satya Prakash, Jack FitzGerald, Jens Lehmann

Leveraging external knowledge is crucial for achieving high performance in knowledge-intensive tasks, such as question answering. The retrieve-and-read approach is widely adopted for integrating external knowledge into a language model. However, this approach suffers from increased computational cost and latency due to the long context length, which grows proportionally with the number of retrieved knowledge. Furthermore, existing retrieval-augmented models typically retrieve information from a single type of knowledge source, limiting their scalability to diverse knowledge sources with varying structures. In this work, we introduce an efficient memory-augmented transformer called MATTER, designed to retrieve relevant knowledge from multiple heterogeneous knowledge sources. Specifically, our model retrieves and reads from both unstructured sources (paragraphs) and semi-structured sources (QA pairs) in the form of fixed-length neural memories. We demonstrate that our model outperforms existing efficient retrieval-augmented models on popular QA benchmarks in terms of both accuracy and speed. Furthermore, MATTER achieves competitive results compared to conventional read-and-retrieve models while having 100x throughput during inference.

📄 PDF Abstract BibTeX arXiv:2406.04670

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingQuestion AnsweringRetrieval

Similar Papers 제목 키워드 기반

An Efficient Memory-Augmented Transformer for Knowledge-Intensive NLP Tasks

2022-10-30 · Yuxiang Wu, Yu Zhao, Baotian Hu, Pasquale Minervini 외

Access to external knowledge is essential for many natural language processing tasks, such as question answering and dialogue. Existing methods often rely on a parametric model that stores knowledge in its parameters, or…

Computational EfficiencyQuestion AnsweringRetrieval

Task-Oriented Conversation Generation Using Heterogeneous Memory Networks

2019-09-25 · IJCNLP 2019 11 · Zehao Lin, Xinjing Huang, Feng Ji, Haiqing Chen 외

How to incorporate external knowledge into a neural dialogue model is critically important for dialogue systems to behave like real humans. To handle this problem, memory networks are usually a great choice and a promisi…

Decoder

Natural Answer Generation with Heterogeneous Memory

2018-06-01 · NAACL 2018 6 · Yao Fu, Yansong Feng

Memory augmented encoder-decoder framework has achieved promising progress for natural language generation tasks. Such frameworks enable a decoder to retrieve from a memory during generation. However, less research has b…

Answer GenerationDecoderQuestion AnsweringSentence+1

Memory and Knowledge Augmented Language Models for Inferring Salience in Long-Form Stories

2021-09-08 · EMNLP 2021 11 · David Wilmot, Frank Keller

Measuring event salience is essential in the understanding of stories. This paper takes a recent unsupervised method for salience detection derived from Barthes Cardinal Functions and theories of surprise and applies it …

FormLanguage ModelingLanguage ModellingRetrieval+1

Memory-Augmented Transformers: A Systematic Review from Neuroscience Principles to Enhanced Model Architectures

2025-08-14 · Parsa Omidi, Xingshuai Huang, Axel Laborieux, Bahareh Nikpour 외 arxiv

Memory is fundamental to intelligence, enabling learning, reasoning, and adaptability across biological and artificial systems. While Transformer architectures excel at sequence modeling, they face critical limitations i…

Continual Learning