Learning from Less: Guiding Deep Reinforcement Learning with Differentiable Symbolic Planning
Zihan Ye, Oleg Arenz, Kristian Kersting
TL;DR
The paper tackles the data-efficiency bottleneck of reinforcement learning in sparse-reward settings by introducing Dylan, a differentiable symbolic planner that can serve as both a reward model and a high-level planner. Dylan encodes planning rules as differentiable tensors, uses a learnable weight matrix with softmax to compose rules, and applies forward-chaining inference to generate plan valuations that shape rewards or guide hierarchical actions. The key contributions are (1) a differentiable symbolic planner integrated into RL as an interpretable reward model, (2) adaptive reward shaping that leverages the full distribution of candidate plans, and (3) a differentiable planner capable of adaptivity and compositional generalization to solve unseen tasks without retraining. Empirical results in MiniGrid show faster convergence and better generalization for PPO and A2C when aided by Dylan, especially under harder, sparser-reward conditions, highlighting Dylan’s potential to bridge symbolic reasoning and reinforcement learning in a scalable, interpretable way.
Abstract
When tackling complex problems, humans naturally break them down into smaller, manageable subtasks and adjust their initial plans based on observations. For instance, if you want to make coffee at a friend's place, you might initially plan to grab coffee beans, go to the coffee machine, and pour them into the machine. Upon noticing that the machine is full, you would skip the initial steps and proceed directly to brewing. In stark contrast, state of the art reinforcement learners, such as Proximal Policy Optimization (PPO), lack such prior knowledge and therefore require significantly more training steps to exhibit comparable adaptive behavior. Thus, a central research question arises: \textit{How can we enable reinforcement learning (RL) agents to have similar ``human priors'', allowing the agent to learn with fewer training interactions?} To address this challenge, we propose differentiable symbolic planner (Dylan), a novel framework that integrates symbolic planning into Reinforcement Learning. Dylan serves as a reward model that dynamically shapes rewards by leveraging human priors, guiding agents through intermediate subtasks, thus enabling more efficient exploration. Beyond reward shaping, Dylan can work as a high level planner that composes primitive policies to generate new behaviors while avoiding common symbolic planner pitfalls such as infinite execution loops. Our experimental evaluations demonstrate that Dylan significantly improves RL agents' performance and facilitates generalization to unseen tasks.
