[Paper Review] Graph schemas as abstractions for transfer learning, inference, and planning
This paper introduces graph schemas as a cognitive-inspired abstraction mechanism for rapid transfer learning, inference, and planning in partially observable environments with perceptual aliasing. By learning latent graph structures (schemas) from experience and reusing them to compose new environments, the method achieves fast map induction and planning with minimal data, outperforming baseline approaches in one-shot learning tasks and complex 2D/3D environments.
Transferring latent structure from one environment or problem to another is a mechanism by which humans and animals generalize with very little data. Inspired by cognitive and neurobiological insights, we propose graph schemas as a mechanism of abstraction for transfer learning. Graph schemas start with latent graph learning where perceptually aliased observations are disambiguated in the latent space using contextual information. Latent graph learning is also emerging as a new computational model of the hippocampus to explain map learning and transitive inference. Our insight is that a latent graph can be treated as a flexible template -- a schema -- that models concepts and behaviors, with slots that bind groups of latent nodes to the specific observations or groundings. By treating learned latent graphs (schemas) as prior knowledge, new environments can be quickly learned as compositions of schemas and their newly learned bindings. We evaluate graph schemas on two previously published challenging tasks: the memory & planning game and one-shot StreetLearn, which are designed to test rapid task solving in novel environments. Graph schemas can be learned in far fewer episodes than previous baselines, and can model and plan in a few steps in novel variations of these tasks. We also demonstrate learning, matching, and reusing graph schemas in more challenging 2D and 3D environments with extensive perceptual aliasing and size variations, and show how different schemas can be composed to model larger and more complex environments. To summarize, our main contribution is a unified system, inspired and grounded in cognitive science, that facilitates rapid transfer learning of new environments using schemas via map-induction and composition that handles perceptual aliasing.
Motivation & Objective
- To develop a unified system for rapid transfer learning in novel environments using reusable, structured abstractions.
- To address perceptual aliasing—where multiple states emit identical observations—by learning latent graph structures as priors.
- To enable fast inference and planning by matching and binding new observations to previously learned graph schemas.
- To demonstrate schema composition for modeling increasingly complex environments through modular, hierarchical abstraction.
- To validate the approach on challenging tasks requiring one-shot generalization and rapid adaptation.
Proposed method
- Leverages the clone-structured cognitive graph (CSCG) model to learn higher-order latent graph structures from observation-action sequences in partially observable environments.
- Treats learned latent graphs as flexible schemas with slots for binding new observations, enabling transfer learning via schema reuse.
- Employs a joint transition tensor to compose multiple schemas, modeling transitions between different schema states and enabling compositional generalization.
- Uses Viterbi decoding with max-product message passing to infer current state and plan shortest paths in grounded schemas.
- Applies diagonal smoothing to transition tensors to improve generalization to size and shape variations in novel environments.
- Trains using efficient walk generation with ground-truth position knowledge to ensure balanced data collection and fast convergence.
Experimental results
Research questions
- RQ1Can graph schemas enable rapid transfer learning in novel environments with minimal experience?
- RQ2How effectively can graph schemas handle perceptual aliasing in 2D and 3D environments with observation ambiguity?
- RQ3Can composed schemas model larger and more complex environments through modular abstraction?
- RQ4To what extent do graph schemas improve inference and planning speed compared to end-to-end learning?
- RQ5How does schema reuse affect performance in one-shot learning scenarios like StreetLearn and memory & planning games?
Key findings
- With 10,000 training steps, the schema-based CSCG model achieved a test NLL of 0.17, perfectly recovering the joint transition graph, while full CSCG learning without schemas required 30,000 steps and achieved a test NLL of 1.21.
- The schema-based method achieved perfect recovery of the composite transition graph with only 10,000 steps, whereas baseline CSCG learning failed to converge even with 30,000 steps.
- In shortcut-finding tasks, the schema-based planner reduced the number of re-plans and Manhattan distance to the goal across varying room sizes, with performance improving under size and shape variations due to diagonal smoothing.
- The method demonstrated successful one-shot planning in novel variations of the memory & planning game and StreetLearn, achieving fast inference and planning with minimal new data.
- Schema composition enabled modeling of complex 2D and 3D environments by combining smaller, pre-learned schemas, demonstrating scalability and modularity.
- The use of emission binding and grounded schema inference allowed accurate state estimation and path planning even after 200-step random walks with limited exploration.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.