TL;DR
Humans excel at learning new visual concepts by combining familiar parts, a skill that current computer vision models struggle with. This paper introduces a Bayesian program induction model and a neuro-symbolic approach to capture this compositional generalization, showing that humans and these models can learn and generate novel visual concepts from few examples, with the neuro-symbolic model offering a more nuanced account of human inductive biases.
What Problem Does This Paper Address?
The paper tackles the challenge of compositional generalization in visual concept learning. Humans can effortlessly combine known components to understand and create novel objects (e.g., understanding a "breakfast machine" from its parts like toasters and eggs). However, state-of-the-art computer vision models often fail at this, requiring vast amounts of data and struggling to generalize flexibly. This gap highlights a fundamental difference between human and artificial intelligence in how we learn and represent visual concepts. The authors aim to bridge this gap by developing computational models that can learn and generalize from limited examples, mirroring human abilities.
Methods
The core of the paper's approach lies in Bayesian program induction. This framework treats concepts as probabilistic programs that generate visual examples. The authors design a probabilistic grammar to define a rich space of possible compositional programs. Learning a new concept involves searching for the program that best explains the observed examples under a Bayesian score.
To address limitations of purely symbolic models, they also introduce a generative neuro-symbolic (GNS) model. This hybrid approach combines the structured, compositional nature of symbolic programs with the data-driven power of neural networks. A neural encoder processes input examples, and a neuro-symbolic decoder generates new concepts part-by-part, using neural networks to learn symbolic outputs like primitive IDs and their relations. This allows the model to capture more complex statistical structures and inductive biases that might evade purely symbolic methods.
Datasets
The authors created a novel dataset of "alien figures" for their experiments. These figures are programmatically generated by combining 1-3 shape primitives in various ways, designed to instantiate different types of compositionality (fixed configurations, free combinations, orientation constraints, and abstract rules like repetition). This "alien figures" domain allows for controlled testing of compositional generalization across diverse scenarios.
Key Insights and Ideas
- Humans are remarkably adept at compositional generalization: Even with very few examples, people can infer underlying rules and apply them to novel situations, far surpassing current AI capabilities.
- Compositionality is not monolithic: Visual concepts exhibit diverse forms of composition, from fixed part arrangements (like bicycles) to more abstract rules (like "a pair of X"). A successful model must account for this diversity.
- Bayesian program induction provides a strong foundation: This approach, by treating concepts as generative programs, offers a powerful way to model human-like generalization and provides interpretable parameters that reveal inductive biases.
- Neuro-symbolic models can capture subtle human biases: While Bayesian models capture core compositional reasoning, GNS models, by integrating neural networks, can better account for nuanced human behaviors like "complete-the-pattern" biases that are not easily expressed in purely symbolic rules.
- Inductive biases are crucial for learning: Humans exhibit strong preferences (e.g., for orientation and attachment invariance) that guide their learning, and these biases can be learned and modeled computationally.
Key Results
- The full Bayesian program induction model achieved a mean correlation of r = 0.901 with human categorization judgments across various trial types, significantly outperforming lesioned versions and exemplar-based models.
- In generation tasks, the Bayesian model also provided a strong account, though the GNS model showed further improvement, particularly in capturing specific human inductive biases.
- Fitted parameters in the Bayesian model revealed strong human preferences for orientation invariance (PRI = 0.999) and attachment invariance in categorization tasks.
- The GNS model demonstrated improved performance over the Bayesian model in predicting human generations, with significant log-likelihood improvements, especially when trained with data specifically designed to teach "complete-the-pattern" and "reconfigure" biases.
Limitations and Future Work
- Data limitations for GNS: The authors acknowledge that the current dataset is insufficient to fully train the GNS model directly from human data, necessitating the use of synthetic data generated by the Bayesian model. Future work aims to scale up human data collection to enable more direct GNS training.
- Divergence between categorization and generation: Behavioral patterns differed between the two tasks, suggesting that participants might employ different reasoning strategies or have additional assumptions when generating novel examples versus classifying them. The GNS model shows promise in capturing some of these differences, but further research is needed.
- Beyond symbolic structure: The Bayesian model is limited to concepts defined by symbolic structure. Human learning may also be influenced by factors like visual motifs, symmetry, and background knowledge, which are not explicitly modeled. GNS, with its neural components, has the potential to learn these factors, but this requires further investigation.
- Extending to naturalistic data: The current work uses simplified "alien figures." Future work aims to extend these models to more complex, naturalistic images and 3D objects, and to incorporate functional aspects of concepts (e.g., how parts relate to function).
Summary updated