[Paper Review] Object Files and Schemata: Factorizing Declarative and Procedural Knowledge in Dynamical Systems
This paper proposes a neural network architecture called scoff that factorizes declarative knowledge (object states via object files) and procedural knowledge (dynamics via schemata) in dynamic environments. Using attention-based selection of schemata and object files, it achieves systematic generalization across multiple instances of the same object type, outperforming state-of-the-art models on intuitive physics benchmarks with significant occlusions.
Modeling a structured, dynamic environment like a video game requires keeping track of the objects and their states declarative knowledge) as well as predicting how objects behave (procedural knowledge). Black-box models with a monolithic hidden state often fail to apply procedural knowledge consistently and uniformly, i.e., they lack systematicity. For example, in a video game, correct prediction of one enemy's trajectory does not ensure correct prediction of another's. We address this issue via an architecture that factorizes declarative and procedural knowledge and that imposes modularity within each form of knowledge. The architecture consists of active modules called object files that maintain the state of a single object and invoke passive external knowledge sources called schemata that prescribe state updates. To use a video game as an illustration, two enemies of the same type will share schemata but will have separate object files to encode their distinct state (e.g., health, position). We propose to use attention to determine which object files to update, the selection of schemata, and the propagation of information between object files. The resulting architecture is a drop-in replacement conforming to the same input-output interface as normal recurrent networks (e.g., LSTM, GRU) yet achieves substantially better generalization on environments that have multiple object tokens of the same type, including a challenging intuitive physics benchmark.
Motivation & Objective
- To address the lack of systematic generalization in black-box recurrent models when predicting trajectories of multiple similar objects.
- To model structured, dynamic environments by separating persistent object states (declarative knowledge) from behavior rules (procedural knowledge).
- To achieve modularity and interpretability by encapsulating object states in active object files and dynamics in reusable schemata.
- To improve generalization in environments with multiple tokens of the same object type, especially under occlusion.
- To demonstrate that factorizing knowledge leads to more robust and efficient learning in visual dynamic environments.
Proposed method
- The model uses active object files (of) to maintain the persistent state of individual objects, including position, velocity, and other properties.
- Schemata are passive, shared parameters that define how object states evolve over time, such as physical dynamics or behavioral rules.
- Attention mechanisms select relevant object files and schemata based on input, enabling dynamic routing of information between object files.
- Object files compete via spatial attention to attend to different regions of the input, selecting the most relevant information for state updates.
- The architecture is a drop-in replacement for standard RNNs (e.g., LSTM, GRU), maintaining the same input-output interface.
- The model learns to bind specific schemata to object files through attention, enabling systematic behavior across identical object types.
Experimental results
Research questions
- RQ1Can a neural network architecture systematically generalize across multiple instances of the same object type by factorizing declarative and procedural knowledge?
- RQ2Does separating object state (object files) from dynamics (schemata) improve generalization in dynamic visual environments?
- RQ3Can attention mechanisms effectively route information between object files and select appropriate schemata for state updates?
- RQ4How does the model perform under significant occlusion, where object persistence and dynamics are hard to infer?
- RQ5Does providing excess schemata lead to unused or ineffective components, or does the model adaptively use only what is needed?
Key findings
- On the Intuitive Physics benchmark with occluded sequences, scoff achieved a relative classification error of 0.34 ± 0.05 on the O1 task (disappearing balls), outperforming prior models.
- For the O2 task (shape change), scoff achieved 0.35 ± 0.05 error, significantly lower than the baseline models.
- On the O3 task (teleportation), scoff achieved 0.42 ± 0.02 error, again outperforming competitors.
- With n_s = 10 schemata, only 3–4 were actively used in training, indicating efficient resource utilization without degradation in performance.
- The model showed no evidence of 'dead' schemata, suggesting robust training and no local optima issues with excess capacity.
- scoff demonstrated systematic generalization: correct prediction for one ghost in Pac-Man implied correct prediction for others of the same type, due to shared schemata.
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.