[Paper Review] Probing Emergent Semantics in Predictive Agents via Question Answering
This paper proposes a question-answering (QA) probing framework to decode and analyze the emergent propositional knowledge in predictive agents trained via self-supervised visual prediction. By applying QA to internal representations of agents trained with SimCore and action-conditional CPC in a 3D environment, the authors show that generative predictive models (especially SimCore) learn rich, compositional knowledge of objects, properties, and spatial relations—enabling accurate factual reasoning without gradient backpropagation into the agent.
Recent work has shown how predictive modeling can endow agents with rich knowledge of their surroundings, improving their ability to act in complex environments. We propose question-answering as a general paradigm to decode and understand the representations that such agents develop, applying our method to two recent approaches to predictive modeling -action-conditional CPC (Guo et al., 2018) and SimCore (Gregor et al., 2019). After training agents with these predictive objectives in a visually-rich, 3D environment with an assortment of objects, colors, shapes, and spatial configurations, we probe their internal state representations with synthetic (English) questions, without backpropagating gradients from the question-answering decoder into the agent. The performance of different agents when probed this way reveals that they learn to encode factual, and seemingly compositional, information about objects, properties and spatial relations from their physical environment. Our approach is intuitive, i.e. humans can easily interpret responses of the model as opposed to inspecting continuous vectors, and model-agnostic, i.e. applicable to any modeling approach. By revealing the implicit knowledge of objects, quantities, properties and relations acquired by agents as they learn, question-conditional agent probing can stimulate the design and development of stronger predictive learning objectives.
Motivation & Objective
- To investigate whether predictive agents trained via self-supervised visual prediction acquire propositional knowledge about objects, properties, and spatial relations in their internal representations.
- To develop a model-agnostic, interpretable method for diagnosing the factual knowledge encoded in neural agent representations.
- To compare the knowledge acquisition capabilities of different predictive modeling approaches—specifically SimCore versus action-conditional CPC—using a question-answering diagnostic framework.
- To demonstrate that question-answering can serve as a general-purpose, human-interpretable tool for analyzing the implicit knowledge of agents trained without explicit supervision on symbolic facts.
- To evaluate whether agents can learn invariant object identities and relational knowledge solely through egocentric future prediction, without direct supervision on language or symbols.
Proposed method
- Train agents in a visually rich 3D environment (DeepMind Lab) using exploration objectives with and without auxiliary predictive losses.
- Apply two predictive modeling methods: action-conditional CPC (Guo et al., 2018) and SimCore (Gregor et al., 2019), which predict future egocentric observations.
- Train a separate, non-differentiable QA decoder to predict answers to synthetic English questions based on the agent’s internal state representations.
- Use 'stop gradient' to prevent backpropagation from the QA head into the agent, ensuring the QA task is purely a probe of learned representations.
- Design a diverse set of questions covering object identity, color, shape, quantity, and spatial relations (e.g., 'What is the color of the cube?')
- Evaluate QA accuracy as a proxy for the agent’s internal knowledge of the environment, comparing predictive and non-predictive agents across multiple environments and settings.
Experimental results
Research questions
- RQ1Can predictive agents trained via self-supervised visual prediction learn and encode factual, compositional knowledge about objects, properties, and spatial relations in their internal representations?
- RQ2How does the choice of predictive modeling architecture (e.g., contrastive vs. generative) affect the quality and type of propositional knowledge acquired by the agent?
- RQ3To what extent can question-answering serve as a model-agnostic, interpretable diagnostic tool for probing the internal knowledge of agents trained without explicit supervision on symbolic facts?
- RQ4Do agents trained solely on egocentric prediction develop invariant representations of object identity and properties, even without explicit supervision on these attributes?
- RQ5Can QA performance reliably distinguish between agents that learn rich world models and those that do not, even when they perform similarly on downstream tasks?
Key findings
- SimCore agents achieved the highest question-answering accuracy across all question types, significantly outperforming both action-conditional CPC and vanilla LSTM agents.
- The QA probe revealed that SimCore agents encoded detailed, compositional knowledge about object shapes, colors, quantities, and spatial relations, even though no explicit supervision on these attributes was provided.
- Action-conditional CPC agents, while effective at navigation and exploration, showed limited ability to answer factual questions, indicating weaker encoding of propositional knowledge.
- The QA framework successfully decoded knowledge about object identity and properties without backpropagating gradients into the agent, confirming that the representations are semantically rich and stable.
- The method generalized across environments: the same hyperparameters used in the first environment yielded consistent results in DeepMind Lab, demonstrating robustness and transferability.
- The results suggest that generative predictive models (like SimCore) are more effective than contrastive models (like CPC) at forming internal representations that support factual reasoning and language-like generalization.
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.