Augmenting Transformers with KNN-Based Composite Memory for Dialog - Archive ouverte HAL Access content directly
Journal Articles Transactions of the Association for Computational Linguistics Year : 2021

Augmenting Transformers with KNN-Based Composite Memory for Dialog

(1, 2, 3) , (2, 3) , (2, 4, 5) , (1)
1
2
3
4
5

Abstract

Various machine learning tasks can benefit from access to external information of different modalities, such as text and images. Recent work has focused on learning architectures with large memories capable of storing this knowledge. We propose augmenting generative Transformer neural networks with KNN-based Information Fetching (KIF) modules. Each KIF module learns a read operation to access fixed external knowledge. We apply these modules to generative dialog modeling, a challenging task where information must be flexibly retrieved and incorporated to maintain the topic and flow of conversation. We demonstrate the effectiveness of our approach by identifying relevant knowledge required for knowledgeable but engaging dialog from Wikipedia, images, and human-written dialog utterances, and show that leveraging this retrieved information improves model performance, measured by automatic and human evaluation.
Fichier principal
Vignette du fichier
2419-Fan-finalversion.pdf (805.68 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Loading...

Dates and versions

hal-02999678 , version 1 (11-11-2020)

Identifiers

Cite

Angela Fan, Claire Gardent, Chloé Braud, Antoine Bordes. Augmenting Transformers with KNN-Based Composite Memory for Dialog. Transactions of the Association for Computational Linguistics, 2021, 9, ⟨10.1162/tacl_a_00356⟩. ⟨hal-02999678⟩
181 View
102 Download

Altmetric

Share

Gmail Facebook Twitter LinkedIn More