Data Distributional Properties As Inductive Bias for Systematic Generalization

Felipe del Río, Alain Raymond-Saez, Daniel Florea, Rodrigo Toro Icarte, Julio Hurtado, Cristian Buc Calderon, Alvaro Soto

Abstract

Systematic generalization—the ability of artificial intelligence to recombine known concepts in novel ways—remains a significant challenge for deep neural networks (DNNs). This paper investigates whether systematic generalization can be induced solely by altering the distributional properties of training data, rather than through architectural or algorithmic changes. By modulating data diversity, burstiness, and latent intervention within a multi-modal masked language modeling framework, we demonstrate that increasing data diversity and reducing mutual information between latent factors can lead to an 89% absolute increase in out-of-distribution accuracy. Our findings suggest that specific data properties act as an inductive bias, guiding models toward modular, parallel neural representations that facilitate reasoning by analogy.

Introduction

Deep Neural Networks (DNNs) often exhibit "brittleness" when faced with out-of-distribution (OOD) scenarios. While they excel in independent and identically distributed (i.i.d.) settings, they struggle with Systematic Generalization (SG). For instance, a model trained on "red cubes" and "blue spheres" may fail to recognize a "blue cube" because it has spuriously associated the color blue with the spherical shape.

While most research focuses on architectural modifications or novel loss functions to address this, this study explores a more fundamental question: Can the "shape" of the data distribution itself serve as an inductive bias for generalization? We explore how modulating the environment in which a model learns can force it to develop more robust and modular internal representations.

Experimental Framework

The researchers employed a multi-modal Masked Language Modeling (MMLM) task using a synthetic dataset based on the CLEVR framework. In this task, the model is presented with an image containing various objects and a corresponding text query with a masked attribute (e.g., "a small red [MASK] sphere"). The model's objective is to predict the missing property based on the visual and textual context.

The Multi-modal Masked Language Modeling (MMLM) task setup, showing the visual input and the encoder architecture used to predict masked attributes.

To evaluate systematic generalization, the researchers utilized a "Systematic Split." The training set (Split A) contains only specific combinations of attributes (e.g., cubes never appear in certain colors), while the test set (Split B) contains the held-out combinations. This setup tests whether the model can generalize its understanding of "cube" and "color" to combinations it has never seen.

Data Distributional Properties

The study modulated three key properties of the training data:

  1. Diversity: Increasing the number of possible values for a latent factor (e.g., expanding from 8 colors to 216 colors).
  2. Burstiness: Restricting the variety of a latent factor within a single instance (e.g., limiting an image to 3 colors even if the global dataset contains 200).
  3. Latent Intervention: Randomly jittering a latent factor (like hue) during training to break spurious correlations between that factor and others.

Results and Analysis

The most significant finding was the impact of attribute diversity. Simply increasing the variety of colors in the training set allowed the model to disentangle the concepts of "color" and "shape," leading to massive gains in OOD performance.

Comparison of shape accuracy between low-diversity (8 colors) and high-diversity (216 colors) training sets across different dataset fractions.

As shown in the results, increasing color diversity from 8 to 216 colors resulted in an 89% absolute increase in accuracy on the OOD shape task. Furthermore, models trained on high-diversity data proved to be significantly more sample-efficient; a model trained on only 25% of the high-diversity dataset still outperformed the full-size low-diversity baseline.

Analysis of Normalized Mutual Information (NMI) confirmed an inverse correlation between NMI and generalization. When the training data makes it difficult to predict one attribute from another (low NMI), the model is effectively forced to learn them as independent, modular blocks of knowledge.

The Geometry of Generalization

To understand the mechanism behind these gains, the researchers analyzed the geometry of the model's internal representations. They found that high-diversity data induces parallelism in neural vectors. In such a representation, the vector transformation from "red" to "blue" is consistent regardless of whether the object is a cube or a cylinder. This geometric structure allows the model to perform a form of vector analogy to solve unseen combinations. The researchers developed a "p-score" to measure this parallelism, which showed a strong 0.73 Pearson correlation with OOD performance.

Conclusion

This research demonstrates that data distributional properties are a powerful, often overlooked lever for improving systematic generalization. By increasing diversity and reducing mutual information, we can guide models toward modular representations without changing their underlying architecture. While this study utilized synthetic data to maintain control over latent factors, it provides a roadmap for investigating how these principles might be applied to large-scale, real-world datasets where latent factors are more complex and entangled.

Summary updated

BibTeX
@inproceedings{rio2025data,
  author = {Felipe del Río and Alain Raymond-Saez and Daniel Florea and Rodrigo Toro Icarte and Julio Hurtado and Cristian Buc Calderon and Alvaro Soto},
  title = {{Data Distributional Properties As Inductive Bias for Systematic Generalization}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.02383},
}
Figure