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

一种改进视觉问答模型收敛性和准确性的简单损失函数

A Simple Loss Function for Improving the Convergence and Accuracy of Visual Question Answering Models

National University of Singapore(新加坡国立大学)

Ilija Ilievski, Jiashi Feng

摘要:

视觉问答作为最近提出的多模态学习任务,受到了深度学习界的广泛关注。最近,重点是开发新的表示融合方法和注意力机制,以实现卓越的性能。另一方面,很少关注模型的损失函数,这可以说是训练深度学习模型的最重要方面之一。流行的做法是使用交叉熵损失函数,该函数惩罚给予词汇表中除特定问题的单个最常见答案之外的所有答案的概率。然而,VQA评估函数将预测的答案与给定问题的所有真实答案进行比较,如果存在匹配,则给出部分点。这导致模型的交叉熵损失与VQA评估函数计算的模型准确度之间的差异。在这项工作中,我们提出了一种新的损失,称为软交叉熵,它考虑了所有的地面真理的答案,从而减少了损失的准确性差异。提出的损失导致VQA模型的训练收敛性得到改善,准确度提高了1.6%。

英文摘要:

Visual question answering as recently proposed multimodal learning task has enjoyed wide attention from the deep learning community. Lately, the focus was on developing new representation fusion methods and attention mechanisms to achieve superior performance. On the other hand, very little focus has been put on the models' loss function, arguably one of the most important aspects of training deep learning models. The prevailing practice is to use cross entropy loss function that penalizes the probability given to all the answers in the vocabulary except the single most common answer for the particular question. However, the VQA evaluation function compares the predicted answer with all the ground-truth answers for the given question and if there is a matching, a partial point is given. This causes a discrepancy between the model's cross entropy loss and the model's accuracy as calculated by the VQA evaluation function. In this work, we propose a novel loss, termed as soft cross entropy, that considers all ground-truth answers and thus reduces the loss-accuracy discrepancy. The proposed loss leads to an improved training convergence of VQA models and an increase in accuracy as much as 1.6%.

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

↑