Skip to main content
QUICK REVIEW

[Paper Review] Learning Symbolic Rules for Interpretable Deep Reinforcement Learning

Zhihao Ma, Yuzheng Zhuang|arXiv (Cornell University)|Mar 15, 2021
Reinforcement Learning in RoboticsComputer Science34 references8 citations
TL;DR

This paper proposes Neural Symbolic Reinforcement Learning (NSRL), a framework that integrates neural attention networks with first-order logic reasoning to enable interpretable deep reinforcement learning. By learning symbolic rules through differentiable multi-hop reasoning, NSRL achieves competitive performance on complex environments like Montezuma’s Revenge and Blocks World while extracting human-readable logical rules, offering superior interpretability and scalability over prior neuro-symbolic methods.

ABSTRACT

Recent progress in deep reinforcement learning (DRL) can be largely attributed to the use of neural networks. However, this black-box approach fails to explain the learned policy in a human understandable way. To address this challenge and improve the transparency, we propose a Neural Symbolic Reinforcement Learning framework by introducing symbolic logic into DRL. This framework features a fertilization of reasoning and learning modules, enabling end-to-end learning with prior symbolic knowledge. Moreover, interpretability is achieved by extracting the logical rules learned by the reasoning module in a symbolic rule space. The experimental results show that our framework has better interpretability, along with competing performance in comparison to state-of-the-art approaches.

Motivation & Objective

  • To address the lack of interpretability in deep reinforcement learning (DRL) by embedding symbolic logic into the policy learning process.
  • To reduce dependency on expert-designed rules or oracle transition models, enabling end-to-end learning with prior knowledge.
  • To improve scalability and memory efficiency compared to existing differentiable inductive logic programming (ILP) methods.
  • To enable intrinsic interpretability by extracting and visualizing the most relevant logical rules used in action selection.
  • To demonstrate that neuro-symbolic reasoning can achieve competitive performance in complex, high-dimensional environments like Montezuma’s Revenge.

Proposed method

  • Introduces a neuro-logic reasoning module based on multi-hop attention networks to perform relational reasoning over symbolic states.
  • Employs differentiable forward chaining via attention mechanisms to learn and reason over first-order logic (FOL) rules in an end-to-end manner.
  • Uses attention weights across reasoning paths to estimate rule confidence, enabling extraction of high-confidence symbolic rules.
  • Applies hierarchical reinforcement learning (HRL) to decompose tasks, allowing the high-level policy to reason symbolically while low-level policies interact with the environment.
  • Leverages matrix multiplication techniques to efficiently compute relational paths, improving scalability over traditional differentiable ILP.
  • Extracts interpretable chain-like logical rules from attention-weighted paths, providing human-readable explanations for action selection.

Experimental results

Research questions

  • RQ1Can a neuro-symbolic framework achieve both high performance and intrinsic interpretability in deep reinforcement learning?
  • RQ2How can symbolic reasoning be integrated into deep RL without relying on manually designed rule templates or oracle models?
  • RQ3What is the scalability and memory efficiency of a differentiable neuro-symbolic RL framework compared to existing ILP-based approaches?
  • RQ4To what extent can attention-based reasoning extract meaningful, human-readable logical rules from raw state representations?
  • RQ5Can such a framework solve complex, high-dimensional environments like Montezuma’s Revenge while maintaining interpretability?

Key findings

  • NSRL achieves competitive performance on Montezuma’s Revenge and Blocks World, with returns within 0.008 of the state-of-the-art NLRL method.
  • NSRL reduces memory usage by 2.7× and inference time by 4.5× compared to NLRL, demonstrating superior scalability.
  • The framework successfully extracts interpretable FOL rules such as 'Move(X,Y) ← GoalOn(X,Y)' and 'Move(man,door) ← WithObject(man,key) ∧ KeyToDoor(key,door)' from attention-weighted reasoning paths.
  • In the Blocks World domain, NSRL learned five distinct logical rules with high attention confidence, directly linking state conditions to actions.
  • NSRL outperforms MLP and NLM agents in both performance and interpretability, as these models cannot extract or explain symbolic rules.
  • The attention mechanism effectively identifies the most relevant relational paths, which are then interpreted as logical rules with human-readable semantics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.