Abstract
In many real-world scenarios where extrinsic rewards to the agent are extremely sparse, curiosity has emerged as a useful concept providing intrinsic rewards that enable the agent to explore its environment and acquire information to achieve its goals. Despite their strong performance on many sparse-reward tasks, existing curiosity approaches rely on an overly holistic view of state transitions and do not allow for a structured understanding of specific aspects of the environment. In this paper, we formulate curiosity based on grounded question answering by encouraging the agent to ask questions about the environment and be curious when the answers to these questions change. We show that natural language questions encourage the agent to uncover specific knowledge about their environment, such as the physical properties of objects as well as their spatial relationships with other objects, which serve as valuable curiosity rewards to solve sparse-reward tasks more efficiently.
Introduction
Reinforcement learning (RL) agents often struggle in "sparse-reward" environments—scenarios where a success signal is only received after a long, precise sequence of actions. To overcome this, researchers utilize curiosity-driven exploration, which provides "intrinsic rewards" for discovering new states. However, traditional curiosity methods like the Intrinsic Curiosity Module (ICM) or Random Network Distillation (RND) are typically "holistic," meaning they evaluate the entire visual scene or state transition at once. This lack of structure makes it difficult for agents to focus on specific, meaningful changes, such as the relationship between two objects.
Humans, by contrast, ask targeted questions to build a structured understanding of the world. This paper introduces ASK & EXPLORE (ANE), a framework that leverages natural language questions as a structured probe for exploration.
Methodology: The "Answer Flip" Reward
Instead of rewarding the agent for seeing a novel pixel arrangement, ANE rewards the agent when its actions cause the answer to a natural language question to change. This is referred to as an "answer flip."
At each step, the agent has access to a set of questions (e.g., "Is there a blue ball behind the cyan ball?"). If the answer to a question flips (e.g., from False to True) between state $s_t$ and $s_{t+1}$, the agent receives an intrinsic reward. To prevent the agent from exploiting a single easy interaction, the system maintains a reservoir of questions. If a question's answer flips too frequently, it is replaced with a new one. The authors demonstrate that this method works both with ground-truth environment labels and learned Visual Question Answering (VQA) models.
Experimental Setup
The study utilizes the CLEVR-Robot Environment, a physics-based interaction playground built on MuJoCo. It features objects with diverse properties (color, material, shape) and supports CLEVR-style language for complex spatial queries. The framework was evaluated on two main tasks:
- Object Alignment: A dense reward setting.
- Object Ordering: An extremely sparse reward setting.
Key Results
ANE significantly outperformed standard PPO and popular curiosity methods like ICM and RND in sparse-reward tasks. While baseline models often failed to achieve any success in the "Object Ordering" task, ANE achieved a success probability of approximately 40%.
An important finding was the impact of question complexity. While "three-hop" questions provide more detailed spatial information, they are often too difficult for an agent to "flip" consistently during early exploration. Consequently, "one-hop" questions—which focus on simple properties—were found to be the most effective for driving progress in sparse environments. Furthermore, using a learned VQA model yielded results nearly identical to ground-truth labels, proving the method's portability to scenarios where the agent must learn to perceive and understand simultaneously.
Conclusion and Future Work
ASK & EXPLORE demonstrates that language acts as a powerful, compositional medium for structured exploration. By focusing on "answer flips," agents can identify meaningful changes in their environment that are likely relevant to their goals. Future work will focus on enabling agents to generate their own relevant questions in open-ended environments and scaling the approach to more diverse real-world navigation and manipulation tasks.
Summary updated