Scalable Evaluation and Neural Models for Compositional Generalization

Giacomo Camposampiero, Pietro Barbiero, Michael Hersche, Roger Wattenhofer, Abbas Rahimi
11/4/2025
cs.LGcs.AI

Official code: IBM/scalable-compositional-generalization (5 stars, MIT, last commit 2025-11-05).

Abstract

Compositional generalization-a key open challenge in modern machine learning-requires models to predict unknown combinations of known concepts. However, assessing compositional generalization remains a fundamental challenge due to the lack of standardized evaluation protocols and the limitations of current benchmarks, which often favor efficiency over rigor. At the same time, general-purpose vision architectures lack the necessary inductive biases, and existing approaches to endow them compromise scalability. As a remedy, this paper introduces: 1) a rigorous evaluation framework that unifies and extends previous approaches while reducing computational requirements from combinatorial to constant; 2) an extensive and modern evaluation on the status of compositional generalization in supervised vision backbones, training more than 5000 models; 3) Attribute Invariant Networks, a class of models establishing a new Pareto frontier in compositional generalization, achieving a 23.43% accuracy improvement over baselines while reducing parameter overhead from 600% to 16% compared to fully disentangled counterparts. Our code is available at https://github.com/IBM/scalable-compositional-generalization.

View on arXivView PDF

Code Implementations(1)

MIT

code implementation for the paper "Scalable Evaluation and Neural Models for Compositional Generalization" accepted at NeurIPS 2025.

52Shell, PythonSep 29, 202511 months agoMIT

Similar Papers

Cite this paper

@article{camposampiero2025scalable,
  title  = {Scalable Evaluation and Neural Models for Compositional Generalization},
  author = {Giacomo Camposampiero and Pietro Barbiero and Michael Hersche and Roger Wattenhofer and Abbas Rahimi},
  year   = {2025},
  eprint = {2511.02667},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.02667v2}
}

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

Discussion