Loss re-scaling VQA: Revisiting the LanguagePrior Problem from a Class-imbalance View

Yangyang Guo, Liqiang Nie, Zhiyong Cheng, Qi Tian, Min Zhang
10/30/2020
cs.CV

Official code: guoyang9/class-imbalance-VQA (0 stars, Python, Apache-2.0, last commit 2026-04-04).

Abstract

Recent studies have pointed out that many well-developed Visual Question Answering (VQA) models are heavily affected by the language prior problem, which refers to making predictions based on the co-occurrence pattern between textual questions and answers instead of reasoning visual contents. To tackle it, most existing methods focus on enhancing visual feature learning to reduce this superficial textual shortcut influence on VQA model decisions.

Show full abstract

However, limited effort has been devoted to providing an explicit interpretation for its inherent cause. It thus lacks a good guidance for the research community to move forward in a purposeful way, resulting in model construction perplexity in overcoming this non-trivial problem. In this paper, we propose to interpret the language prior problem in VQA from a class-imbalance view. Concretely, we design a novel interpretation scheme whereby the loss of mis-predicted frequent and sparse answers of the same question type is distinctly exhibited during the late training phase. It explicitly reveals why the VQA model tends to produce a frequent yet obviously wrong answer, to a given question whose right answer is sparse in the training set. Based upon this observation, we further develop a novel loss re-scaling approach to assign different weights to each answer based on the training data statistics for computing the final loss. We apply our approach into three baselines and the experimental results on two VQA-CP benchmark datasets evidently demonstrate its effectiveness. In addition, we also justify the validity of the class imbalance interpretation scheme on other computer vision tasks, such as face recognition and image classification.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

This is a recovery for the previously accidentally deleted repo.

00Python, ShellApr 4, 20268 months agoApache-2.0

Similar Papers

Cite this paper

@article{guo2020loss,
  title  = {Loss re-scaling VQA: Revisiting the LanguagePrior Problem from a Class-imbalance View},
  author = {Yangyang Guo and Liqiang Nie and Zhiyong Cheng and Qi Tian and Min Zhang},
  year   = {2020},
  eprint = {2010.16010},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.16010}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2010.16010.svg)](https://codeofpaper.com/paper/2010.16010)

Discussion