arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.13030cs.CLcs.CVcs.LG
收藏

深度神经网络的检索增强

Retrieval Augmentation for Deep Neural Networks

INESC-ID(INESC-ID研究所)

Rita Parada Ramos, Patrícia Pereira, Helena Moniz, Joao Paulo Carvalho, Bruno Martins

摘要:

深度神经网络已经在各种视觉和/或语言任务中取得了最先进的成果。尽管使用了大型训练数据集,但大多数模型都是通过迭代单个输入输出对来训练的,丢弃了当前预测的剩余示例。在这项工作中,我们积极地利用训练数据,使用最近的训练样本的信息来帮助训练和测试期间的预测。具体来说,我们的方法使用最相似的训练样本的目标来初始化LSTM模型的记忆状态,或者引导注意力机制。我们将这种方法应用于图像描述和情感分析,分别通过图像和文本检索。结果证实了所提出的方法的有效性,这两个任务,广泛使用的Flickr 8和IMDB数据集。我们的代码可在http://github.com/RitaRamo/retrieval-augmentation-nn上公开获取。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑