Skip to Main content Skip to Navigation
Journal articles

Augmenting Transformers with KNN-Based Composite Memory for Dialog

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.
Document type :
Journal articles
Complete list of metadata

Cited literature [46 references]  Display  Hide  Download
Contributor : Angela Fan Connect in order to contact the contributor
Submitted on : Wednesday, November 11, 2020 - 12:14:08 AM
Last modification on : Friday, July 8, 2022 - 10:10:47 AM
Long-term archiving on: : Friday, February 12, 2021 - 6:03:20 PM


Files produced by the author(s)



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



Record views


Files downloads