TL;DR
The Planner-Actor-Evaluator (PAE) framework enables reinforcement learning (RL) agents to "absorb" external knowledge—like natural language instructions—to solve complex tasks with sparse rewards. By creating an automated curriculum and aligning text with visual states, PAE achieves a 148% performance boost and 40% faster convergence compared to traditional exploration methods.
The Challenge of Sparse Rewards
Reinforcement Learning agents are notoriously inefficient in "sparse reward" environments—scenarios where the agent only receives a positive signal after executing a long, specific sequence of actions (e.g., finding a key, navigating a maze, and opening a door). Without guidance, agents rely on aimless trial-and-error, which is computationally expensive and often fails.
While humans use external knowledge like manuals or hints to skip this blind exploration phase, RL agents struggle to integrate discrete text with continuous internal strategies. The authors identify three main hurdles to overcoming this:
- Knowledge Acquisition: Representing expert knowledge without costly human labeling.
- Integration: Bridging the semantic gap between linguistic concepts and environmental states.
- Synergistic Updating: Ensuring that as the agent improves, the knowledge guidance evolves alongside it.
The PAE Framework
To address these challenges, the authors propose the Planner-Actor-Evaluator (PAE) framework, a hierarchical approach to knowledge-guided RL.
- The Planner (The Teacher): Operating with a global view of the environment, the Planner selects the most relevant piece of natural language knowledge (e.g., "pick up the blue key") from an external knowledge base. It uses a cross-attention mechanism to align BERT-encoded text with visual state features.
- The Actor (The Student): The Actor executes actions based on partial, local observations and the instruction provided by the Planner. To ensure the Actor actually utilizes the hint, PAE employs a Mutual Information (MI) objective, rewarding the Actor for reaching states statistically correlated with the specific instruction.
- The Evaluator (The Feedback Loop): This module provides an intrinsic reward to the Planner if the Actor successfully completes the sub-task within a time limit. This dynamic effectively creates an automatic curriculum, teaching the Planner to provide challenges that are neither too easy nor too hard.
Key Insights
- Automatic Curriculum Generation: The Planner naturally learns to sequence tasks, starting with simple goals and progressively introducing complex instructions only after the Actor masters the basics.
- Bridging Modalities: By using cross-attention, the model learns to attend to the specific pixels in its visual observation that correspond to the linguistic concepts in the instructions.
- Grounding Language: Simply providing a hint isn't enough; agents often ignore them. Maximizing mutual information forces the Actor to ground the language in its physical experience.
- Interpretability: Unlike "black box" RL models, PAE is highly interpretable. Observers can monitor the Planner’s output to understand exactly what sub-goal the agent is attempting at any given moment.
Performance and Results
The framework was evaluated on 11 challenging tasks across two primary suites: BabyAI (grid-world navigation with linguistic instructions) and MiniHack (complex, procedurally generated roguelike levels).
PAE consistently outperformed both vanilla RL baselines and existing state-of-the-art language-guided methods:
- Massive Performance Gains: PAE improved average performance by 148% over non-knowledge-guided baselines like RND or ICM.
- Faster Convergence: The framework achieved convergence at least 40% faster than standard exploration methods.
- State-of-the-Art Language Integration: When compared to other language-aware models like L-AMIGo, PAE demonstrated a 13% improvement in overall performance and 31% faster convergence.
Limitations and Future Work
While highly effective, PAE currently relies on environments that provide a "Knowledge Oracle" (a pre-defined set of instructions). Future iterations could leverage Large Language Models (LLMs) to generate this knowledge dynamically. Additionally, expanding the system to process multimodal knowledge (like video tutorials) and integrating real-time human suggestions could make the agent even more adaptable to novel, real-world scenarios.
Summary updated