Introduction
Building autonomous agents capable of complex decision-making in real-world environments typically involves a trade-off between two dominant paradigms. Reinforcement Learning (RL) excels at adapting to unknown environments through trial and error but suffers from extreme sample inefficiency. Conversely, symbolic planning leverages human-provided logic to generate efficient action sequences but remains brittle when faced with environmental changes or modeling errors.
The PEORL (Planning-Execution-Observation-Reinforcement Learning) framework addresses this gap by unifying symbolic logic-based planning with Hierarchical Reinforcement Learning (HRL). This integration allows agents to use "common sense" logic to guide exploration while simultaneously learning from experience to refine high-level plans.
The PEORL Framework
PEORL establishes a continuous feedback loop between a high-level symbolic planner and a low-level RL learner.
1. The Symbolic Layer
The high-level "brain" utilizes Action Language $BC$ and the CLINGCON Answer Set Programming (ASP) solver. This layer generates symbolic plans—sequences of high-level actions designed to achieve a goal based on a predefined logical model.
2. The Learning Layer
The low-level "muscle" employs Hierarchical R-learning. Unlike standard Q-learning, which maximizes discounted future rewards, R-learning focuses on the average reward over time. This objective is particularly suited for planning tasks where the goal is to complete a sequence of operations as efficiently as possible.
3. The Bridge: Mapping Plans to Options
The critical innovation in PEORL is the mapping of symbolic actions to "options" (sub-policies) within the HRL framework. A symbolic plan provides a "warm start" for the agent, directing its initial exploration toward logically sound paths.
As shown in the figure above, a symbolic transition path (e.g., $S_1 \xrightarrow{move(e)} S_2 \xrightarrow{activate} S_3$) is translated into a structured set of options. This guidance prevents the agent from wasting time on irrelevant or "nonsensical" actions during the early stages of learning.
4. The Feedback Loop
As the agent executes these options, it observes actual rewards and transitions. These learned values (the "gain reward" $\rho$) are fed back into the symbolic knowledge base. In subsequent iterations, the planner uses this empirical data to re-evaluate "plan quality," allowing it to discover optimal paths that were not apparent in the initial, potentially incomplete, symbolic model.
Experimental Evaluation
The authors evaluated PEORL on two benchmark domains designed to test adaptability and robustness:
- Taxi Domain: An agent navigates a grid to transport passengers. A modified scenario included a hidden "bonus" reward in a state not described in the symbolic model, testing the agent's ability to discover and incorporate new information.
- Grid World: A $20 \times 20$ environment where an agent must manipulate a door. This domain included "bumpers" (penalty zones) hidden from the symbolic planner, requiring the RL layer to learn safe navigation through experience.
Key Results and Insights
PEORL demonstrated significant advantages over pure RL, HRL, and standalone planning approaches:
- Sample Efficiency and Convergence: In the Grid World task, PEORL converged to an optimal policy in approximately 1,000 episodes, significantly faster than standard HRL.
- Discovery of Hidden Rewards: In the Taxi domain, PEORL was the only framework capable of discovering the hidden reward and automatically updating its high-level plan to exploit it. Pure planners remained stuck on the shortest logical path, missing the higher-value opportunity.
- Robustness to Incomplete Models: The system proved robust even when the symbolic model was missing critical environmental details (like the "bumpers"). The RL layer learned to avoid these hazards, and the feedback loop ensured the final plans were both logically sound and physically safe.
Conclusion
PEORL represents a significant step toward robust autonomous agents by closing the loop between symbolic reasoning and sub-symbolic learning. By using planning to guide RL and RL to improve planning, the framework achieves a level of performance and adaptability that neither paradigm can reach in isolation. Future work aims to extend this approach to continuous, high-dimensional environments using Deep Reinforcement Learning.
Summary updated