ORCAID: Oblique Rule-Based Continuous-Action Interpretation for Deep RL Policies

Ignacio D. Lopez-Miguel, Ezio Bartocci, Thomas Eiter, Martin Tappler

TL;DR

ORCAID introduces an efficient method to distill opaque, deep reinforcement learning (RL) policies operating in continuous action spaces into concise, human-readable IF-THEN rules. By leveraging oblique decision trees that split state spaces using hyperplanes combined with local linear models, it delivers high-fidelity explanations with a fraction of the complexity of standard methods. Remarkably, these distilled rules can even be used to systematically discover weaknesses and improve the original deep RL policy.

What Problem Does This Paper Address?

Deep reinforcement learning (RL) has achieved stunning success in complex control tasks, from robotics to fine-tuning large language models. However, the policies learned by deep neural networks are notorious "black boxes." This opacity makes them difficult to verify, debug, or deploy in safety-critical applications, especially with strict new regulations like the EU AI Act demanding transparency.

While several Explainable RL (XRL) methods exist, most are limited to discrete action spaces. When applied to continuous control problems, standard methods like standard decision trees (e.g., CART) generate massive, axis-aligned trees that are too large for a human to comprehend. This paper addresses the challenge of extracting small, highly accurate, and interpretable surrogate models from deep RL agents operating in continuous action spaces over mixed continuous-discrete state spaces.

Methods

The authors introduce ORCAID (Oblique Rule-Based Continuous-Action Interpretation for Deep RL Policies), which operates in three main phases embedded within a DAgger (Dataset Aggregation) loop to mitigate model drift:

Figure 2: Overview of our proposed method.
  1. Data Collection & Augmentation: Trajectories are sampled from the deep RL agent. To prevent regression bias toward frequently visited states, the states are clustered using $k$-means. The centroids are then resampled with Gaussian noise to expand state-space coverage and prevent overfitting.
  2. Oblique Tree Learning: Instead of standard axis-aligned splits (e.g., $x_1 \le 0.5$), ORCAID constructs an oblique decision tree where splits are defined by hyperplanes (linear combinations of features, like $0.8x - 0.6v \le 0$). Inside each leaf, a separate ordinary least-squares (OLS) linear regression model is fitted for each action dimension. Features with negligible impact are pruned via backward elimination.
  3. Simplification & Merging: Adjacent leaf regions with similar local linear models are iteratively merged. The final complex tree structure is simplified into a concise set of rules expressed in Disjunctive Normal Form (DNF) using the Quine-McCluskey optimization method.

Datasets

The method was evaluated across nine standard continuous control problems from the Gymnasium benchmark suite:

  • Simple tasks: Mountain Car (MC), Pendulum (P), Inverted Pendulum (IP).
  • Mixed state spaces: Lunar Lander (LL), which features both continuous and discrete states.
  • Complex multi-dimensional tasks: Inverted Double Pendulum (IDP), Reacher (R), Swimmer (S), Hopper (H), and Half Cheetah (HC).

Key Insights and Ideas

  • The Power of Oblique Splits: Axis-aligned decision trees require a "staircase" approximation to represent curvilinear control boundaries, leading to massive trees. Oblique hyperplanes capture these boundaries compactly with significantly fewer splits.
Figure 1: DT vs. Oblique DT.
  • Active Policy Improvement: Instead of just passively explaining a policy, ORCAID rules can actively improve it. By taking the extracted rules and mirroring them across known environmental symmetries (e.g., left/right reflections), the authors created a testing framework that exposes blind spots where the original deep RL network failed to generalize perfectly.
  • LLM-as-a-Judge for XRL: Recognizing that parameter counts don't fully capture "understandability," the authors utilized six state-of-the-art Large Language Models (LLMs) as independent control experts to evaluate the semantic quality, physical coherence, and debuggability of the explanations.

Key Results

ORCAID was compared against three state-of-the-art baselines: standard CART Decision Trees, Cubist, and RuleFit.

  • Fidelity & Performance: ORCAID consistently matched or exceeded the task performance (reward ratio) of the original deep RL agent, outperforming RuleFit and standard Decision Trees, which frequently failed to solve the tasks (sometimes dropping below a 75% reward ratio).
  • Drastic Size Reduction: ORCAID achieved its high performance with significantly smaller model sizes. For instance, in the Lunar Lander environment, ORCAID achieved a ~90% reward ratio with a model size score of 316, whereas a standard Decision Tree required a size score of 4,099 to achieve a dismal 39% reward ratio.
  • Policy Enhancement: In environments like Hopper and Swimmer, enforcing mirrored ORCAID rules over the original deep RL policy consistently discovered flaws and yielded higher returns than the baseline neural network.
  • Human-Like Interpretability: In the LLM-as-a-Judge evaluation, ORCAID swept the board, receiving significantly higher scores for human comprehensibility and physical coherence. LLMs noted that standard DTs felt like "chaotic patchworks," whereas ORCAID provided "physically motivated" strategies.

Limitations and Future Work

While ORCAID scales well up to 17-dimensional state spaces and 6-dimensional action spaces (like Half Cheetah), extremely high-dimensional inputs might still require an explicit upfront dimensionality reduction or feature selection step. Additionally, the current data collection framework assumes deterministic policies; extending the leaf nodes to support independent linear-Gaussian models would be a natural next step to fully support stochastic RL policies.

Summary updated

BibTeX
@inproceedings{lopezmiguel2026orcaid,
  author = {Ignacio D. Lopez-Miguel and Ezio Bartocci and Thomas Eiter and Martin Tappler},
  title = {{ORCAID: Oblique Rule-Based Continuous-Action Interpretation for Deep RL Policies}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=uSYUHzQCCR},
}
Figure