Curriculum Learning Effectively Improves Low Data VQA

Narjes Askarian, Ehsan Abbasnejad, Ingrid Zukerman, Wray L. Buntine, Gholamreza HaffariALTA 2021

Abstract: Visual question answering (VQA) models, in particular modular ones, are commonly trained on large-scale datasets to achieve state-of-the-art performance. However, such datasets are sometimes not available. Further, it has been shown that training these models on small datasets significantly reduces their accuracy. In this paper, we propose curriculum-based learning (CL) regime to increase the accuracy of VQA models trained on small datasets. Specifically, we offer three criteria to rank the samples in these datasets and propose a training strategy for each criterion. Our results show that, for small datasets, our CL approach yields more accurate results than those obtained when training with no curriculum.

The Challenge of Low-Data VQA

Visual Question Answering (VQA) is a multi-modal task where a model must answer questions about an image. Modular VQA models are particularly powerful because they decompose questions into a "program" of functional units (e.g., "find red object" $\rightarrow$ "count"). However, these models are notoriously data-hungry.

When trained on small datasets, these large, complex networks tend to overfit or fail to converge. As illustrated in the figure below, performance drops precipitously as the training subset size decreases. For instance, training a state-of-the-art modular model on just 20% of the CLEVR dataset causes accuracy to plummet from nearly 97% to approximately 54%. This research investigates whether the order in which a model sees data—Curriculum Learning (CL)—can help it learn more efficiently from limited samples.

Accuracy vs Training subset size

Curriculum Learning Methods

The researchers proposed and compared three different curriculum heuristics to rank training samples from "easy" to "hard":

  1. Program Length: Assumes shorter questions (and thus shorter execution programs) are easier. The model starts with short programs and gradually moves to longer ones.
  2. Answer Hierarchy: Uses a hand-crafted taxonomy of answers. The model first learns to categorize answers into broad types (e.g., "Color" or "Shape") before learning specific values (e.g., "Cyan" or "Cube").
  3. Hard Example Mining (HEM): A dynamic approach where "hardness" is defined by the model's own loss. It uses a "warm-up" phase followed by a strategy that favors samples where the model's performance is fluctuating or poor.

Crucially, the authors introduced a submodular optimization step to ensure that the "hard" samples selected are also diverse, preventing the model from getting stuck in a loop of similar difficult examples. They also discovered that L2-norm regularization is essential to prevent the model from "forgetting" easy examples while it focuses on the hard ones.

Key Insights and Results

One of the most significant findings was the "S-Curve" jump in learning. In vanilla training, learning is often slow and prone to stagnation in low-data regimes. However, the best CL strategy (HardEx-CL) triggers a steep climb in accuracy much earlier in the training process.

Accuracy vs Epoch for HardEx-CL on various subsets

The results for the HardEx-CL method were striking:

  • On the 20% subset (s-CLEVR₂₀), the vanilla model achieved ~54.3% accuracy. With HardEx-CL and L2-norm, accuracy jumped to 87.6%—a massive 33% absolute improvement.
  • Regularization is the Catalyst: Curriculum learning in low-data settings is highly susceptible to overfitting. The authors found that CL only truly shines when paired with L2-norm regularization. Without it, the model becomes "over-confident" on the current subset of data and loses generalization.
  • The Length Trap: Surprisingly, the intuitive "start with short questions" approach (Length-CL) performed poorly. This caused the model to overfit to specific modules that appear frequently in short programs, making it struggle when those modules appeared in new contexts later.

Conclusion and Future Work

This study demonstrates that dynamic curriculum learning, specifically Hard Example Mining combined with strong regularization, can drastically improve the performance of modular VQA models when data is scarce. While the current heuristics (like Answer Hierarchy) were manually designed, future work could involve learning these hierarchies automatically. Additionally, exploring how these strategies translate to monolithic Transformer-based models remains an open area for research.

Summary updated

BibTeX
@inproceedings{askarian2021curriculum,
  author = {Narjes Askarian and Ehsan Abbasnejad and Ingrid Zukerman and Wray L. Buntine and Gholamreza Haffari},
  title = {{Curriculum Learning Effectively Improves Low Data VQA}},
  booktitle = {ALTA},
  year = {2021},
  url = {https://openreview.net/forum?id=d911AQVnHl},
}
Figure