arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.08608cs.CV
收藏

学习配置用于图像描述的神经模块

Learning to Collocate Neural Modules for Image Captioning

Nanyang Technological University(南洋理工大学)

Xu Yang, Hanwang Zhang, Jianfei Cai

摘要:

我们不会一个字一个字地从头开始说话;我们的大脑会很快构建一个像\textsc{sth do sth at someplace}这样的模式,然后填写详细的描述。为了使现有的编码器-解码器图像字幕,如人类一样的推理,我们提出了一个新的框架:学习搭配神经模块(CNM),以生成连接视觉编码器和语言解码器的“内部模式”。与视觉问答中广泛使用的神经模块网络不同,语言(即问题)是完全可观察的,用于字幕的CNM更具挑战性,因为语言正在生成,因此部分可观察。为此,我们为CNM培训做出了以下技术贡献:1)紧凑的模块设计-一个功能词,三个视觉内容词(如名词、形容词和动词); 2)软模块融合和多步模块执行,在部分观察中增强视觉推理; 3)模块控制器忠实于词性搭配的语言损失(形容词在名词之前)。在具有挑战性的MS-COCO图像描述基准上进行的大量实验验证了我们的CNM图像标题的有效性。特别是,CNM在Karpathy split上实现了最先进的127.9 CIDEr-D,并在官方服务器上实现了单一模型126.0 c40。CNM对很少的训练样本也是鲁棒的,例如,通过对每个图像只训练一个句子,与强基线相比,CNM可以将性能损失减半。

英文摘要:

We do not speak word by word from scratch; our brain quickly structures a pattern like \textsc{sth do sth at someplace} and then fill in the detailed descriptions. To render existing encoder-decoder image captioners such human-like reasoning, we propose a novel framework: learning to Collocate Neural Modules (CNM), to generate the `inner pattern' connecting visual encoder and language decoder. Unlike the widely-used neural module networks in visual Q\&A, where the language (ie, question) is fully observable, CNM for captioning is more challenging as the language is being generated and thus is partially observable. To this end, we make the following technical contributions for CNM training: 1) compact module design --- one for function words and three for visual content words (eg, noun, adjective, and verb), 2) soft module fusion and multi-step module execution, robustifying the visual reasoning in partial observation, 3) a linguistic loss for module controller being faithful to part-of-speech collocations (eg, adjective is before noun). Extensive experiments on the challenging MS-COCO image captioning benchmark validate the effectiveness of our CNM image captioner. In particular, CNM achieves a new state-of-the-art 127.9 CIDEr-D on Karpathy split and a single-model 126.0 c40 on the official server. CNM is also robust to few training samples, eg, by training only one sentence per image, CNM can halve the performance loss compared to a strong baseline.

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

↑