NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Generalizing to generalize: when (and when not) to be compositional in task structure learning

Nicholas Franklin, Michael J. FrankbioRxiv 2019

TL;DR

Humans don't just generalize learned behaviors; they adapt how they generalize based on the statistical structure of the environment. This study shows that people flexibly switch between combining task components (like goals and actions) or treating them independently, mirroring a "meta-generalization" strategy that optimizes learning.

What Problem Does This Paper Address?

When faced with new situations, humans and animals need to generalize what they've learned to act adaptively. A key challenge is deciding what to generalize. Should we reuse entire learned behaviors, or should we break them down into components and recombine them? For example, a musician might generalize finger movements across instruments (compositional) or transfer a song's melody to a new instrument (jointly learned structure). While theoretical models suggest a trade-off between generalizing components independently versus jointly, it's been unclear whether humans dynamically adjust their strategy based on the statistics of the task environment. This paper investigates this question, specifically in the context of reinforcement learning.

Methods

The researchers developed a series of grid-world navigation tasks where participants had to learn two key pieces of information: goal values (where to go) and state transitions (how to move). They manipulated the statistical relationship between these two components across different "contexts" (unique task variations).

They then compared human behavior to three computational models:

  1. Joint Clustering Agent: Assumes goals and transitions are learned and generalized together as an inseparable unit.
  2. Independent Clustering Agent: Assumes goals and transitions are learned and generalized separately.
  3. Meta-Generalization Agent: Dynamically arbitrates between joint and independent clustering based on the statistical evidence from the training data.

By designing tasks where these models make distinct predictions, the researchers could test which strategy best explains human generalization.

Datasets

The study used data collected from human participants performing novel navigation tasks. No pre-existing datasets were used for training or evaluation. The experiments themselves served as the benchmark.

Key Insights and Ideas

  • Humans are "meta-generalizers": People don't stick to one generalization strategy. They adapt their approach based on the task's statistical structure, choosing to generalize components independently or jointly as it becomes more advantageous.
  • Task statistics guide generalization: When the relationship between goals and actions is strong and consistent (Experiment 1), humans favor joint generalization. When this relationship is weak or ambiguous (Experiment 2 & 3), they lean towards independent generalization.
  • Compositionality is key: The findings support the idea that humans leverage compositional representations (breaking down knowledge into parts) and adaptively combine them, rather than treating learned knowledge as monolithic blocks.
  • Normative models are predictive: The "meta-generalization" agent, which dynamically weighs evidence for joint vs. independent strategies, provided the best account of human behavior across the experiments.

Key Results

  • Experiment 1 (Joint Structure): When mappings and goals were consistently paired, human generalization was best explained by a joint clustering model. Participants were more accurate in test conditions where the learned pairings were repeated.
  • Experiment 2 (Independent Structure): When mappings and goals had a weak relationship, human generalization aligned with an independent clustering model. Participants showed a preference for the most popular goal overall, regardless of the mapping.
  • Experiment 3 (Ambiguous Structure): In a task with mixed statistics, human behavior was best captured by the meta-generalization agent, showing a blend of both joint and independent strategies.
  • Across all experiments, human participants performed significantly above chance and their behavior was more accurately predicted by generalization models than by non-generalizing "flat" models.

Limitations and Future Work

  • Simplified task structure: The study used simplified "mappings" for state transitions, rather than full transition functions. While prior work suggests this simplification doesn't affect goal generalization, its impact on more complex domains is unknown.
  • Parametric effects: While evidence for meta-generalization was strong, the study found mixed evidence for a strictly parametric effect of popularity (i.e., increasingly stronger preferences for increasingly popular structures). This might be due to task difficulty or cognitive load.
  • Working memory: The authors suggest that working memory load might influence the arbitration strategy, favoring joint structure when capacity is high and independent structure as complexity increases. This offers a potential avenue for future research.
  • Individual differences: The study focused on group-level analyses. Future work could explore individual differences in generalization strategies.

Summary updated

BibTeX
@misc{franklin2019generalizing,
  author = {Nicholas Franklin and Michael J. Frank},
  title = {{Generalizing to generalize: when (and when not) to be compositional in task structure learning}},
  year = {2019},
  doi = {10.1101/547406},
  howpublished = {bioRxiv},
}

Loading related content...

Figure