Consistency of Compositional Generalization across Multiple Levels

Chuanhao Li, Zhen Li, Chenchen Jing, Xiaomeng Fan, Wenbo Ye +2 more
12/18/2024
cs.CVcs.AI

Official code: NeverMoreLCH/CCG (2 stars, last commit 2024-12-19).

Abstract

Compositional generalization is the capability of a model to understand novel compositions composed of seen concepts. There are multiple levels of novel compositions including phrase-phrase level, phrase-word level, and word-word level. Existing methods achieve promising compositional generalization, but the consistency of compositional generalization across multiple levels of novel compositions remains unexplored. The consistency refers to that a model should generalize to a phrase-phrase level novel composition, and phrase-word/word-word level novel compositions that can be derived from it simultaneously. In this paper, we propose a meta-learning based framework, for achieving consistent compositional generalization across multiple levels. The basic idea is to progressively learn compositions from simple to complex for consistency. Specifically, we divide the original training set into multiple validation sets based on compositional complexity, and introduce multiple meta-weight-nets to generate sample weights for samples in different validation sets. To fit the validation sets in order of increasing compositional complexity, we optimize the parameters of each meta-weight-net independently and sequentially in a multilevel optimization manner. We build a GQA-CCG dataset to quantitatively evaluate the consistency. Experimental results on visual question answering and temporal video grounding, demonstrate the effectiveness of the proposed framework. We release GQA-CCG at https://github.com/NeverMoreLCH/CCG.

View on arXivView PDF

Code Implementations(1)

NeverMoreLCH/CCGOfficial100%
20Dec 12, 20241 years ago

Similar Papers

Cite this paper

@article{li2024consistency,
  title  = {Consistency of Compositional Generalization across Multiple Levels},
  author = {Chuanhao Li and Zhen Li and Chenchen Jing and Xiaomeng Fan and Wenbo Ye and Yuwei Wu and Yunde Jia},
  year   = {2024},
  eprint = {2412.13636},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.13636v1}
}

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/2412.13636.svg)](https://codeofpaper.com/paper/2412.13636)

Discussion