Human-Allied Relational Reinforcement Learning

Fateme Golivand Darvishvand, Hikaru Shindo, Sahil Sidheekh, Kristian Kersting, Sriraam Natarajan

TL;DR

Standard deep reinforcement learning struggles to generalize over varying numbers of objects, while relational RL traditionally requires pre-engineered symbolic states. This paper introduces RAEL (Relational Active Advice Elicitation), a framework that lifts visual observations into object-centric symbolic representations, actively queries a human expert only in high-uncertainty states, and incorporates advice as soft relational constraints.

What Problem Does This Paper Address?

Deep Reinforcement Learning (DRL) algorithms excel at raw sensory input but are notoriously sample-inefficient, lack interpretability, and struggle to generalize across varying numbers of objects or unseen configurations. Conversely, Relational Reinforcement Learning (RRL) uses first-order logic to naturally represent relations between objects (e.g., on(block1, block2)), offering superior interpretability and zero-shot generalization. However, traditional RRL makes rigid assumptions: it requires fully structured inputs and pre-specified domain rules, making it difficult to apply to unstructured, pixel-based environments like video games.

Furthermore, while human advice can speed up learning, standard approaches either require costly, dense upfront instruction or rely on static rules that can lead to unintended loops and reward hacking. The authors address how an agent can learn interpretable relational policies directly from unstructured pixels while actively and sparingly requesting targeted expert advice under a finite budget.

Methods

The authors propose RAEL (Relational Active Advice Elicitation), which integrates four core components:

  1. Object-Centric Lifting: For pixel-based environments, RAEL uses an object-centric extractor (such as OC-Atari) to parse raw frames into symbolic states containing objects, attributes, and spatial relations.
  2. Relational Fitted Q-Learning (RFQ): State-action values are approximated using gradient-boosted relational regression trees, enabling direct induction of logical rules over first-order predicates.
  3. Entropy-Based Active Querying: After evaluation rollouts, the agent evaluates state-level uncertainty using policy entropy: $$H(s) = -\sum_{a \in \mathcal{A}} \pi(a|s) \log \pi(a|s)$$ States with peak entropy are flagged, and the agent selectively queries the human expert for advice until an allocated advice budget $B$ is exhausted.

  4. Abstraction-Aware Advice Integration: The expert provides advice $\alpha = (\varphi, \mathcal{A}^{adv})$, consisting of preferred actions $\mathcal{A}^{adv}$ and an optional relational abstraction $\varphi$ (e.g., isolating oxygenLow(.) while ignoring irrelevant diver coordinates). During training, action selection uses Probabilistic Policy Reuse (PPR) to treat advice as a soft constraint rather than a rigid rule. The target $Q$-values for advised actions are boosted by a margin $\delta > 0$ to ensure they dominate in matching states.

Raw Pixels / States ──> Object Extraction ──> Symbolic State (z)
                             │
                             ▼
                    Relational Fitted Q
                             │
                      Policy Rollouts
                             │
                 [Entropy Uncertainty H(z)]
                             │
             (High Uncertainty? Within Budget?)
                    /                 \
                  Yes                  No
                  /                     \
       Query Human Expert          Standard Exploration
    (Action + Relational Abstraction)
                  \                     /
                   ▼                   ▼
                 Probabilistic Policy Reuse & Margin Boost

Datasets & Environments

The framework was evaluated on both subsymbolic (pixel-based) and symbolic environments:

  • Atari 2600 (Kangaroo and Seaquest): Extracted via OC-Atari and simplified via Hackatari (e.g., removing thrown coconuts or missiles to isolate core relational dynamics).
  • Blocks World (Stack Task): A classic symbolic benchmark where an agent must stack blocks into a single tower, testing relational reasoning over discrete objects.
  • Oracle Rules Benchmark: For measuring policy fidelity, reference near-optimal rule sets were generated using GPT-5 acting as an expert domain oracle.

Key Insights and Ideas

  • Prior Advice Can Backfire: Unconditionally injecting human advice before learning can severely hurt performance. In threat-free Kangaroo, advising the agent to climb ladders caused it to deliberately descend just to re-climb and harvest inflated Q-values—getting stuck in an infinite loop. On-demand, active querying prevents this pathology.
  • Relational Abstractions Enable Broad Generalization: Providing an abstraction alongside action preferences allows advice to generalize beyond a specific ground state. Marking oxygenLow as the critical predicate lets the agent apply the advice regardless of where surrounding entities are located.
  • Sample Efficiency via Structure: Direct structure learning with relational regression trees dramatically outperforms gradient-based deep RL in sample-limited regimes.

Key Results

  • Sample Efficiency (300k training steps):
  • On Kangaroo, purely neural and neuro-symbolic baselines failed completely (Neural PPO: $0.0$, BlendRL: $0.0$, NUDGE: $0.0$), whereas RAEL achieved a mean return of $51$ without abstractions and $55$ with abstractions.
  • On Seaquest, NUDGE scored $20.2 \pm 18.55$ while Neural PPO and BlendRL scored $0.0$. RAEL attained $40$ (without abstractions) and $110$ (with abstractions).
  • Policy Fidelity (Match against Oracle Rules):
  • In Kangaroo with the "Monkey" threat, static advice baselines reached only $25\%$ fidelity. Active advice achieved $75\%$ without abstraction and $100\%$ with abstraction.
  • In Seaquest, fidelity increased from $21\%$ (no advice) to $44\%$ (action-only active advice) and $75\%$ (active advice with abstraction).
  • Blocks World: Active querying using policy entropy consistently demonstrated faster reward convergence and lower variance than the advice-free baseline.

Limitations and Future Work

  • Simplified Environments: The visual Atari experiments eliminated dynamic hazards (such as flying projectiles), where fast neural reactive policies often outperform deliberate logical rule evaluation.
  • Fixed Advice Budget: The advice budget was treated as a fixed manual hyperparameter ($B=3$ or $B=5$) rather than being dynamically adapted based on confidence thresholds.
  • Assumption of Expert Reliability: The model assumes the human expert (or LLM oracle) provides sound advice; it does not explicitly model advisor noise, bias, or malicious feedback.
  • Future Directions: Developing fully end-to-end differentiable neuro-symbolic pipelines, supporting multimodal environments, and automating advisor reliability weighting.

Summary updated

BibTeX
@inproceedings{darvishvand2025human,
  author = {Fateme Golivand Darvishvand and Hikaru Shindo and Sahil Sidheekh and Kristian Kersting and Sriraam Natarajan},
  title = {{Human-Allied Relational Reinforcement Learning}},
  booktitle = {ACS},
  year = {2025},
  url = {https://openreview.net/forum?id=PaexrchKMX},
}
Figure