Skip to main content
QUICK REVIEW

[Paper Review] Neural Logic Reinforcement Learning

Zhengyao Jiang, Shan Luo|arXiv (Cornell University)|Apr 24, 2019
Reinforcement Learning in RoboticsComputer Science29 references14 citations
TL;DR

This paper proposes Neural Logic Reinforcement Learning (NLRL), a novel framework that combines differentiable inductive logic programming (DILP) with policy gradient methods to learn interpretable, generalizable policies in reinforcement learning. NLRL represents policies as first-order logic rules, achieving near-optimal performance on block manipulation and cliff-walking tasks while enabling human-readable, logically structured decision-making with strong generalization across environment variations.

ABSTRACT

Deep reinforcement learning (DRL) has achieved significant breakthroughs in various tasks. However, most DRL algorithms suffer a problem of generalizing the learned policy which makes the learning performance largely affected even by minor modifications of the training environment. Except that, the use of deep neural networks makes the learned policies hard to be interpretable. To address these two challenges, we propose a novel algorithm named Neural Logic Reinforcement Learning (NLRL) to represent the policies in reinforcement learning by first-order logic. NLRL is based on policy gradient methods and differentiable inductive logic programming that have demonstrated significant advantages in terms of interpretability and generalisability in supervised tasks. Extensive experiments conducted on cliff-walking and blocks manipulation tasks demonstrate that NLRL can induce interpretable policies achieving near-optimal performance while demonstrating good generalisability to environments of different initial states and problem sizes.

Motivation & Objective

  • To address the lack of interpretability and generalization in deep reinforcement learning (DRL) policies.
  • To enable policy learning in sequential decision-making tasks using first-order logic representations.
  • To leverage differentiable inductive logic programming (DILP) for scalable, interpretable policy induction in RL.
  • To improve policy generalization across varying initial states and problem sizes without requiring environment dynamics to be known.
  • To extend DILP beyond supervised tasks into reinforcement learning, enabling unsupervised concept discovery in decision-making.

Proposed method

  • NLRL integrates policy gradient reinforcement learning with differentiable inductive logic programming (DILP) to learn policies as first-order logic rules.
  • The framework uses a differentiable logic network to represent and optimize logical rules end-to-end via gradient-based learning.
  • Policies are structured as a hierarchy of invented predicates (e.g., pred1, pred2) that build up to action decisions (e.g., move, up, right).
  • The model is trained using a policy gradient objective, where the policy is parameterized by logic rules and differentiable through the DILP module.
  • The system learns to induce auxiliary predicates that capture relational structure in state space, enabling abstract, interpretable reasoning.
  • The final action policy is derived via forward-chaining inference on the learned rules, with confidence scores attached to each rule.

Experimental results

Research questions

  • RQ1Can first-order logic rules be effectively used to represent and learn interpretable policies in deep reinforcement learning?
  • RQ2Can DILP-based policies generalize across different initial states and problem sizes in RL environments?
  • RQ3Does combining DILP with policy gradients yield policies that are both near-optimal and human-readable?
  • RQ4How does the interpretability and generalization of NLRL compare to standard DRL models in complex sequential tasks?
  • RQ5Can NLRL discover useful relational abstractions (e.g., top block, floor-attached block) without human-provided concepts?

Key findings

  • NLRL achieved near-optimal performance on both the block manipulation and cliff-walking tasks, with the agent learning policies that are interpretable and logically structured.
  • In the STACK task, the agent induced rules such as move(X,Y) ← pred3(Y), pred4(X,Y), where pred3 identifies the top block in a column of at least two blocks.
  • The induced policy for cliff-walking included rules like up() ← current(X,Y), zero(Y), correctly identifying upward movement from the bottom row.
  • Despite suboptimal behaviors (e.g., unnecessary downward moves), the policies were logically consistent and interpretable, with confidence scores indicating rule reliability.
  • The framework demonstrated strong generalization, maintaining performance across different initial positions and problem sizes, even when the optimal policy was not perfectly learned.
  • The system successfully discovered abstract relational concepts (e.g., blocks on the floor, top blocks) through unsupervised rule induction, without prior human labeling.

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.