Retrieval Augmentation for Deep Neural Networks
Preprint
Abstract
Deep neural networks have achieved state-of-the-art results in various vision and/or language tasks. Despite the use of large training datasets, most models are trained by iterating over single input-output pairs, discarding the remaining examples for the current prediction. In this work, we actively exploit the training data, using the information from nearest training examples to aid the prediction both during training and testing. Specifically, our approach uses the target of the most similar training example to initialize the memory state of an LSTM model, or to guide attention mechanisms. We apply this approach to image captioning and sentiment analysis, respectively through image and text retrieval. Results confirm the effectiveness of the proposed approach for the two tasks, on the widely used Flickr8 and IMDB datasets. Our code is publicly available at http://github.com/RitaRamo/retrieval-augmentation-nn.Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- Beneath the Tip of the Iceberg: Current Challenges and New Directions in Sentiment Analysis ResearchIEEE Transactions on Affective Computing, 2023
- A Multi-Level Attention Model for Remote Sensing Image CaptionsRemote Sensing, 2020
- Norm-Based Curriculum Learning for Neural Machine Translation2020
- Billion-Scale Similarity Search with GPUsIEEE Transactions on Big Data, 2019
- Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks2019
- Retrieve and Refine: Improved Sequence Generation Models For Dialogue2018
- Sentiment Analysis Using Deep Learning Techniques: A ReviewInternational Journal of Advanced Computer Science and Applications, 2017
- Framing Image Description as a Ranking Task: Data, Models and Evaluation MetricsJournal of Artificial Intelligence Research, 2013