On the generalization capacity of neural networks during generic multimodal reasoning

Takuya Ito, Soham Dan, Mattia Rigotti, James Kozloski, Murray Campbell
1/26/2024
cs.LG

No official code found. Best implementation: IBM/gcog (3 stars, Apache-2.0, last commit 2025-09-18).

Abstract

The advent of the Transformer has led to the development of large language models (LLM), which appear to demonstrate human-like capabilities. To assess the generality of this class of models and a variety of other base neural network architectures to multimodal domains, we evaluated and compared their capacity for multimodal generalization. We introduce a multimodal question-answer benchmark to evaluate three specific types of out-of-distribution (OOD) generalization performance: distractor generalization (generalization in the presence of distractors), systematic compositional generalization (generalization to new task permutations), and productive compositional generalization (generalization to more complex tasks structures). We found that across model architectures (e.g., RNNs, Transformers, Perceivers, etc.), models with multiple attention layers, or models that leveraged cross-attention mechanisms between input domains, fared better. Our positive results demonstrate that for multimodal distractor and systematic generalization, either cross-modal attention or models with deeper attention layers are key architectural features required to integrate multimodal inputs. On the other hand, neither of these architectural features led to productive generalization, suggesting fundamental limitations of existing architectures for specific types of multimodal generalization. These results demonstrate the strengths and limitations of specific architectural components underlying modern neural models for multimodal reasoning. Finally, we provide Generic COG (gCOG), a configurable benchmark with several multimodal generalization splits, for future studies to explore.

View on arXivView PDF

Code Implementations(1)

IBM/gcogCommunity100%
Apache-2.0

Generic COG (gCOG): A Compositional Generalization Dataset to Evaluate Multimodal Reasoning

32PythonFeb 7, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{ito2024generalization,
  title  = {On the generalization capacity of neural networks during generic multimodal reasoning},
  author = {Takuya Ito and Soham Dan and Mattia Rigotti and James Kozloski and Murray Campbell},
  year   = {2024},
  eprint = {2401.15030},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.15030v2},
  journal = {ICLR 2024 2024}
}

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

Discussion