Consistency of Compositional Generalization Across Multiple Levels

Chuanhao Li, Zhen Li, Chenchen Jing, Xiaomeng Fan, Wenbo Ye, Yuwei Wu, Yunde Jia

Introduction

Compositional generalization—the ability of a model to understand complex novel scenes by combining known atomic concepts—is a fundamental goal in vision-language research. However, current models often exhibit a lack of "compositional consistency." A model might correctly identify a "golden dog next to a white cat" but fail to recognize the "golden dog" or the "white cat" in isolation within the same context. This suggests that models often rely on spurious correlations or holistic pattern matching rather than true logical composition.

The Hierarchy of Composition

The authors identify a major gap in how models process information, defining a hierarchy of compositional complexity based on linguistic structure:

  1. Word-Word Level: Composing two basic concepts (e.g., "golden" + "cat").
  2. Phrase-Word Level: Composing a complex phrase with a word (e.g., "white cat" + "golden").
  3. Phrase-Phrase Level: Composing two complex phrases (e.g., "golden dog" + "white cat").
Illustration of multiple levels of novel compositions, including word-word level, phrase-word level and phrase-phrase level.

Logical consistency requires that if a model succeeds at a higher level, it must inherently understand the simpler components. However, existing models—even those with 37 billion parameters—frequently fail this basic logic, achieving consistency scores as low as 40%. This indicates that scale alone does not solve the compositionality problem.

Multilevel Optimization (MLO)

To address this, the paper introduces Multilevel Optimization (MLO), a meta-learning framework designed to enforce a "walk before you run" learning strategy. The core philosophy is that a model should master simple compositions before tackling complex ones.

Overview of the proposed Multilevel Optimization framework.

The MLO framework structures training through a nested optimization process:

  • Validation-Driven Curriculum: Training data is partitioned into validation sets based on compositional complexity, using phrase length as a proxy for difficulty.
  • Meta-Weight-Nets (MWN): Small auxiliary networks learn to weight training samples. These weights act as a "soft curriculum," highlighting which samples the model should focus on to satisfy specific complexity levels.
  • Nested Optimization: Model parameters are updated in an inner loop, while the meta-weights are updated in outer loops to ensure the model progressively fits the validation sets from the simplest to the most complex.

Benchmarking and Results

The researchers introduced GQA-CCG, a new benchmark derived from the GQA dataset, specifically designed to measure consistency across the three levels of complexity. They also evaluated the framework on the Charades-CG dataset for video tasks.

Key findings include:

  • Universal Consistency Boost: MLO consistently improved the consistency scores of various baseline architectures, including Attention-based and Neural Module Networks. For instance, the MAC model saw a 3.28% absolute gain in consistency.
  • State-of-the-Art Performance: A Coarse-to-Fine Reasoning (CFR) model equipped with MLO achieved 74.23% accuracy and 49.27% consistency on GQA-CCG.
  • Qualitative Success: MLO-enhanced models correctly answer sub-questions (e.g., "Is there a knife?") that baseline models miss, even when both models correctly identify the complex scene.

Conclusion

By explicitly optimizing for consistency across multiple levels of complexity, the MLO framework provides a path toward more robust and logically sound vision-language models. While a significant gap remains between AI and human-level compositional reasoning, this work highlights the importance of structured, progressive learning in achieving true understanding.

Summary updated

BibTeX
@inproceedings{li2025consistency,
  author = {Chuanhao Li and Zhen Li and Chenchen Jing and Xiaomeng Fan and Wenbo Ye and Yuwei Wu and Yunde Jia},
  title = {{Consistency of Compositional Generalization Across Multiple Levels}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  url = {https://openreview.net/forum?id=G5ISaXgKCt},
}
Figure