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

一种更好的参与方式:视频问答树的注意力

A Better Way to Attend: Attention with Trees for Video Question Answering

Zhejiang University(浙江大学)

Hongyang Xue, Wenqing Chu, Zhou Zhao, Deng Cai

摘要:

提出了一种新的视频问答注意力模型。注意力模型的主要思想是定位于视觉数据中信息量最大的部分。注意力机制现在很流行。然而,大多数现有的视觉注意力机制将问题视为一个整体。它们忽略了词级语义,每个词可以有不同的注意力,有些词不需要注意。他们也不考虑句子的语义结构。虽然用于视频问答的扩展软注意(E-SA)模型利用了词级注意,但它在长问句上表现不佳。在本文中,我们提出了异构树结构记忆网络(HTreeMN)的视频问答。我们提出的方法是基于问句的语法分析树。HTreeMN不同地处理单词,其中\textit{visual}单词用注意模块处理,而\textit{verbal}单词不用注意模块处理。它还利用了句子的语义结构,通过结合邻居的递归结构的分析树。对文字的理解和对视频的理解从叶子到根进行传播和融合。此外,我们建立了一个层次化的注意力机制来提取关注特征。我们在两个数据集上评估我们的方法。实验结果表明,我们的HTreeMN模型优于其他注意力模型,特别是在复杂的问题。我们的代码可以在github上找到。我们的代码可在www.example.com上获得

英文摘要:

We propose a new attention model for video question answering. The main idea of the attention models is to locate on the most informative parts of the visual data. The attention mechanisms are quite popular these days. However, most existing visual attention mechanisms regard the question as a whole. They ignore the word-level semantics where each word can have different attentions and some words need no attention. Neither do they consider the semantic structure of the sentences. Although the Extended Soft Attention (E-SA) model for video question answering leverages the word-level attention, it performs poorly on long question sentences. In this paper, we propose the heterogeneous tree-structured memory network (HTreeMN) for video question answering. Our proposed approach is based upon the syntax parse trees of the question sentences. The HTreeMN treats the words differently where the \textit{visual} words are processed with an attention module and the \textit{verbal} ones not. It also utilizes the semantic structure of the sentences by combining the neighbors based on the recursive structure of the parse trees. The understandings of the words and the videos are propagated and merged from leaves to the root. Furthermore, we build a hierarchical attention mechanism to distill the attended features. We evaluate our approach on two datasets. The experimental results show the superiority of our HTreeMN model over the other attention models especially on complex questions. Our code is available on github. Our code is available at https://github.com/ZJULearning/TreeAttention

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

↑