TL;DR
This paper introduces a novel Bayesian program induction model that effectively captures how humans learn new visual concepts by combining existing parts and relations. The model demonstrates a remarkable ability to generalize across various compositional structures, outperforming traditional exemplar-based models and offering a unified computational account of human few-shot learning.
What Problem Does This Paper Address?
Humans possess an impressive ability to learn new concepts from very few examples, a skill known as few-shot learning. A key component of this ability is compositional generalization: understanding how familiar parts and their relationships can be recombined to form novel concepts. For instance, recognizing a "breakfast machine" by combining knowledge of coffee makers, toasters, and griddles. Current computer vision models, despite their successes, often struggle with this type of flexible generalization, frequently misclassifying or misinterpreting novel combinations. This paper aims to bridge this gap by investigating the diverse ways humans learn compositional visual concepts and developing a computational model that can replicate this flexibility.
Methods
The authors propose a Bayesian program induction model as their primary computational approach. This model represents concepts as probabilistic programs, which are generative models that can produce examples of a concept. The learning process involves inferring the most likely program (concept) that explains a given set of observed examples, using a Bayesian framework. A key aspect is the use of a probabilistic grammar based on λ-calculus to define a hypothesis space of possible programs, allowing for a wide range of compositions and abstractions. This grammar specifies primitive shapes and operations (like attaching parts or rotating them) that can be combined to build complex concept programs.
To evaluate their model, the authors also implement and compare it against two variants of the Generalized Context Model (GCM), a standard exemplar-based model:
- Pixel-GCM: Uses features extracted by a deep convolutional neural network (CNN) from raw pixels.
- String-GCM: Represents alien figures as strings encoding shape primitives, configurations, and orientation, and uses a weighted Levenshtein distance.
Datasets
The paper introduces a novel dataset of "alien figures" for studying compositional concept learning. These figures are programmatically generated using a set of primitive shapes and compositional rules, allowing for systematic control over different types of compositions (fixed configuration, free combination, fixed orientation, repetition). The experiments involved presenting participants with a small number of these alien figures as examples of a concept and then asking them to generalize to new, unseen figures.
Key Insights and Ideas
- Unified Account of Compositionality: The Bayesian program induction model provides a single computational framework that can account for various types of compositional generalization, moving beyond previous work that focused on specific cases.
- Human Inductive Biases: The model fitting reveals that humans exhibit strong inductive biases for orientation invariance and a preference for concepts that do not require fixed configurations of parts. This suggests that our real-world experiences with objects, which are often orientation-invariant and allow for flexible part arrangements, shape our learning.
- Limitations of Pixel-Based Models: The Pixel-GCM's poor performance highlights that simply extracting pixel-level features is insufficient for capturing the structured, compositional nature of visual concepts. These models struggle to understand underlying parts and relations.
- Strengths of Structured Models: The String-GCM, while better than Pixel-GCM, still struggles with more abstract rules and unseen primitives, underscoring the need for a more flexible, generative approach like program induction.
Key Results
The Bayesian program induction model achieved a high average correlation of r = 0.955 between its predictions and human generalization judgments across all trial types and experiments. This performance significantly surpassed the Pixel-GCM (r = 0.604) and the String-GCM (r = 0.874). The model also demonstrated robust out-of-sample predictions, accurately generalizing to more complex concepts in Experiment 2 even when parameters were fit on data from Experiment 1.
Limitations and Future Work
The authors acknowledge that their model is currently formulated to describe the class of "alien figures" and would require extensions to incorporate more primitives or different grammatical rules to handle a wider range of real-world visual concepts. Future work includes:
- Extending the Grammar: Incorporating more complex primitives and grammatical rules to model a broader spectrum of visual concepts.
- Generative Tasks: Exploring generative tasks where the model produces new examples, which can provide deeper insights into human inductive biases.
- Comparison with Neural Networks: Investigating how this framework can inform the training of neural networks for few-shot learning and meta-learning, potentially leading to more human-like compositional capabilities in AI.
- Model Comparison: Using the framework to compare different "languages of thought" theories.
Summary updated