在图像描述的神经语言模型中包含视觉信息的结构
On Architectures for Including Visual Information in Neural Language Models for Image Description
摘要:
神经语言模型可以通过提供除了句子前缀之外的视觉信息来调节为图像生成描述。该视觉信息可以通过不同的入口点被包括到语言模型中,从而导致不同的神经架构。我们确定了四个主要的架构,我们称之为初始化注入,预注入,部分注入和合并。我们分析了这四种架构,并得出结论,性能最好的架构是init-inject,即将视觉信息注入递归神经网络的初始状态。我们使用自动评估措施和人类注释来证实这一点。然后我们分析图像对每个建筑的影响有多大。这是通过测量当一个部分句子与一个完全不同的图像组合时,模型的输出概率有多大的不同来完成的。我们发现,随着生成的单词越来越多,init-inject往往会很快受到图像的影响。另一种不同的架构称为合并,即在输出之前将视觉信息与递归神经网络的隐藏状态向量合并,失去视觉影响的速度要慢得多,这表明它可以更好地生成较长的句子。我们还观察到,合并架构可以在纯文本语言模型(迁移学习)中对其递归神经网络进行预训练,而不是像往常一样随机初始化。如果源语言模型在语言建模方面不太好,或者在图像描述生成方面过于专业化并且效率较低,则这会导致比其他架构更好的性能。我们的工作为神经架构、可解释人工智能和迁移学习的研究开辟了新的途径。
英文摘要:
A neural language model can be conditioned into generating descriptions for images by providing visual information apart from the sentence prefix. This visual information can be included into the language model through different points of entry resulting in different neural architectures. We identify four main architectures which we call init-inject, pre-inject, par-inject, and merge. We analyse these four architectures and conclude that the best performing one is init-inject, which is when the visual information is injected into the initial state of the recurrent neural network. We confirm this using both automatic evaluation measures and human annotation. We then analyse how much influence the images have on each architecture. This is done by measuring how different the output probabilities of a model are when a partial sentence is combined with a completely different image from the one it is meant to be combined with. We find that init-inject tends to quickly become less influenced by the image as more words are generated. A different architecture called merge, which is when the visual information is merged with the recurrent neural network's hidden state vector prior to output, loses visual influence much more slowly, suggesting that it would work better for generating longer sentences. We also observe that the merge architecture can have its recurrent neural network pre-trained in a text-only language model (transfer learning) rather than be initialised randomly as usual. This results in even better performance than the other architectures, provided that the source language model is not too good at language modelling or it will overspecialise and be less effective at image description generation. Our work opens up new avenues of research in neural architectures, explainable AI, and transfer learning.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。