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

Ignacio D. Lopez-Miguel
TU Wien
Vienna, Austria
ignacio.lopez@tuwien.ac.at
Ezio Bartocci
TU Wien
Vienna, Austria
ezio.bartocci@tuwien.ac.at
Thomas Eiter
TU Wien
Vienna, Austria
thomas.eiter@tuwien.ac.at
Martin Tappler
TU Wien
Vienna, Austria
martin.tappler@tuwien.ac.at


Abstract

Explainability remains a key issue in reinforcement learning (RL). Distilling an interpretable policy from an agent trained in a complex environment is particularly challenging when the action space is continuous. We introduce Orcaid, a novel method for extracting interpretable rule-based policies from RL agents operating in mixed continuous-discrete environments with continuous action spaces. Our main contribution is an efficient oblique decision tree training algorithm that partitions the state space by hyperplanes and fits local linear models. The key idea lies in a three-stage split search: efficient random initialization, local refinement, and backward elimination. Finally, adjacent leaves are merged to yield a concise set of interpretable rules describing a given deep RL policy. We evaluate Orcaid across multiple RL environments, demonstrating that the extracted rule-based policies maintain strong performance with a low number of parameters and can even be used to improve the performance of the original deep RL policy.

1 Introduction↩︎

Reinforcement learning (RL) [1] builds decision-making policies by trial and error to optimize rewards associated with a control task. It substantially advanced in the last decade by the integration of deep neural networks into training; such deep RL approaches have managed to learn to play computer games at a human level [2] and reached superhuman performance in complex board games, like Go [3]. Deep RL has also ventured into areas where reward-based task specifications are simpler than alternative formulations. Recent applications include fine-tuning LLMs [4], learning policies for control problems in the natural sciences [5], and use in several autonomous systems [6].

Figure 1: DT vs. Oblique DT.

Despite this success, the application of deep RL is hampered by the opacity of learned control policies, which are difficult to verify and understand. This has led regulators to require greater transparency in AI systems used in critical domains, e.g.the [7] and the [8]. For example, the EU AI Act specifies in Article 13.3 “The instructions for use shall contain [...] technical capabilities and characteristics of the high-risk AI system to provide information relevant to explain its output.” Explainable RL (XRL) methods [9] address this by providing human-interpretable explanations of RL policies. Explanations are often symbolic models, such as decision trees [10], which can be verified when sufficiently small, paving the way for deploying RL in safety-critical domains. However, much XRL work targets tasks with discrete control actions, as in early deep RL applications with discrete (yet very large) state spaces [2], [3].

In this paper, we address the challenge of learning small, interpretable surrogate models of RL policies with continuous action spaces and continuous-discrete state spaces. We propose Orcaid(Oblique Rule-Based Continuous-Action Interpretation for Deep RL Policies) to construct rule-based models from RL policies. Orcaid first partitions the state space by learning an oblique decision tree [11] (extended for discrete/categorical features). Unlike axis-aligned trees, oblique trees use hyperplanes that are linear combinations of features, allowing them to capture non-orthogonal boundaries compactly. As illustrated in Figure 1, an oblique decision tree can approximate a curvilinear boundary with much fewer splits than an axis-aligned decision tree.

To model continuous actions, we fit linear regressions for each action dimension inside every state-space region (leaf). We then simplify the learned tree by merging similar regions of the state space and using backward elimination to drop unnecessary features. This process generates oblique decision rules [12], known to be explainable [13], extended to produce continuous outputs via a linear model over features in each rule’s head. Experiments on nine control tasks show that Orcaid models outperform SOTA baselines by more accurately representing the original policy (fidelity), maintaining task-solving capability (performance), and achieving a smaller model size (complexity).

Our contributions can be summarized as follows:

We introduce Orcaid, an approach for learning decision rules from deep RL policies in continuous action spaces over mixed continuous-discrete state spaces.

We provide an implementation of Orcaid: https://gitlab.tuwien.ac.at/ignacio.lopez/ORCAID.

We evaluate Orcaid, showing superior performance compared to existing approaches, actionability through policy improvement, and better interpretability measured by model size.

2 Related Work↩︎

Our work focuses on explainable reinforcement learning (XRL) through decision trees and rules. Milani et al. [9] categorize XRL methods into various ways. We specifically target post-hoc feature importance explanations, aiming to interpret actions based on the current state.

VIPER [10] is an example in this category, generating Decision Trees (DTs) through imitation learning. However, VIPER and its multi-agent extension MAVIPER [14] use the CART algorithm [15] that generates DTs with axis-aligned predicates, yielding large models, and are limited to Q-value-based policies. Recently, Dhebar et al. [16] have investigated the use of DTs with nonlinear predicates using evolutionary search, but they consider only discrete actions. The same limitation also appears in [17] on policy extraction using oblique DTs, [18] on differentiable DTs for XRL, [19] on soft DTs, and [20] on IF-THEN fuzzy rules for XRL.

Similarly to us, [21] considered continuous states and actions, but using genetic programming to derive interpretable policies in the form of loop-free programs, and limited to simpler RL problems. [22] also proposed learning rules in continuous states. However, they only considered discrete actions and axis-aligned predicates. In contrast, our Orcaid approach supports mixed continuous-discrete states and continuous actions.

Additionally, some XRL methods provide insight into the temporal behavior of RL policies in relation to state transitions, either in the environment [23][25] or within policies using memory [26], [27]. We only focus on non-temporal explanations in this paper. Another area of research considers learning inherently interpretable policies [28], whereas we aim to explain opaque policies.

3 Preliminaries↩︎

3.0.0.1 Reinforcement learning

is a machine learning approach where an agent learns to maximize cumulative reward through interaction [1]. Deep RL with neural networks yields powerful but opaque policies, challenging interpretability (e.g., Go [3]). We formalize continuous control as an MDP \(\langle \mathcal{S}, \mathcal{A}, p, \rho_0, r, \gamma\rangle\) [29] with state space \(\mathcal{S}\subseteq \mathbb{R}^n\), action space \(\mathcal{A}\subseteq\mathbb{R}^m\), transition density \(p(\mathbf{s}'|\mathbf{s},\mathbf{a})\), initial state density \(\rho_0(\mathbf{s})\), reward \(r\), and discount factor \(\gamma\). The goal is to learn a policy \(\boldsymbol{\pi}: \mathcal{S}\to\mathcal{A}\) maximizing the expected discounted return \(\mathbb{E}\bigl[\sum_{t=0}^\infty \gamma^t\,r(\mathbf{s}_t,\mathbf{a}_t)\bigr]\). We use deep deterministic policy gradient (DDPG) [30] to learn policies in our experiments.

Example 1 (Mountain Car). The Mountain Car is a popular control problem in RL [31], [32]. A car starts at the bottom of a valley. By observing its continuous position and velocity, it applies continuous left/right acceleration, learning to accumulate enough energy to climb the hill.

3.0.0.2 Explainability.

We focus on explainable RL (XRL), which aims to create explanations for the decisions made by RL policies. Specifically, we focus on post-hoc explanations, especially through feature importance [9] methods. Post-hoc methods generate interpretable surrogate models that mimic non-interpretable policies, emphasizing the link between individual states and actions as opposed to long-term behavior and training influences.

We assume a given policy \(\boldsymbol{\pi}\,{:}\, \mathcal{S} \,{\rightarrow }\, \mathcal{A}\) encoded by a deep neural network. The goal is to learn a small surrogate \(\boldsymbol{\hat{\pi}}\,{:}\,{\mathcal{S}}\,{\rightarrow}\, \mathcal{A}\) producing actions close to those of \(\boldsymbol{\pi}\). As common [16], [17], [28], we measure model complexity by parameter count to assess interpretability. Closeness between actions (fidelity [9]) is measured by an error function \(\mathcal{L}(\boldsymbol{\pi}(\mathbf{s}), \boldsymbol{\hat{\pi}}(\mathbf{s}))\), like mean-squared error (MSE). We also assess performance [9], which refers to how well the generated surrogate model solves the task.

As we consider finite-horizon tasks (\(H\,{\in}\,\mathbb{N}\) steps), we measure performance by the undiscounted return \(G_\pi = \sum_{t=0}^H r_t\); hence the ratio \(G_{\boldsymbol{\hat{\pi}}}/G_{\boldsymbol{\pi}}\) should be close to \(1\). To demonstrate actionability, we adapt the Legible approach [33] from discrete to continuous environments, effectively showing that Orcaid rules provide actionable insights to improve RL policies. Furthermore, we use LLM-as-a-Judge [34] as an extra way to assess the explainability of \(\boldsymbol{\hat{\pi}}\). Finally, complementing this work, an interactive tool is developed to help explain Orcaid models (App.  9 ).

3.0.0.3 Rule mining

discovers IF-THEN rules that identify patterns (descriptive) or make predictions (predictive) [35]. Various approaches to rule mining exist, like covering algorithms [35] and tree-based methods. RuleFit [36] is an example of the latter, which uses decision trees to generate rule predicates and then incorporates them as binary features into a single, global linear model with the original features. We use trees (albeit oblique) to discover predicates that define regions within the state space and fit separate linear models per region using only the original features.

Figure 2: Overview of our proposed method.

4 Orcaid Rule Mining↩︎

Orcaid learns a rule-based surrogate model that approximates the decision-making behavior of an RL policy over continuous state and action spaces. It operates in three main phases, shown in Fig. 2:

Data Collection. We sample policy trajectories from interactions between the policy and the environment, cluster the visited states, and then resample by perturbing random centroids with noise. This data-augmentation strategy reduces the amount of data and mitigates overfitting.

Tree Learning. We construct oblique decision trees and fit a separate linear model per action dimension in each leaf, enabling a more accurate policy approximation. We use backward feature elimination to reduce the complexity of the trees and the linear functions.

Simplification & Merging. We finally produce simplified representations of the policy in the form of rules. This involves merging regions defined by decision tree nodes, simplifying the conditions that define these merged regions, and updating the associated linear models.

We further embed these steps into a DAgger (Dataset Aggregation) [37] loop to improve accuracy. Ablation results (App. 13) also justify our approach by analyzing the effect of isolating each component’s effect and varying hyperparameters.

4.0.0.1 Method Outline.

Given an RL policy \(\boldsymbol{\pi} : \mathcal{S} \rightarrow \mathcal{A}\) over continuous states \(\mathcal{S} \subseteq \mathbb{R}^n\) and actions \(\mathcal{A} \subseteq \mathbb{R}^m\), Orcaid computes a policy \(\boldsymbol{\hat{\pi}}: \mathcal{S} \rightarrow \mathcal{A}\) that approximates \(\boldsymbol{\pi}\) consisting of rules \(r_i\) of the form \(c_i \Rightarrow \boldsymbol{\hat{\pi}}_i\), where \(c_i\) is a triggering condition from the set \(C(\mathcal{S})\) of Boolean formulas over linear inequalities over states, and \(\boldsymbol{\hat{\pi}}_i\) is an action proxy from the set \(F(\mathcal{S},\mathcal{A})\) of affine functions from \(\mathcal{S}\) to \(\mathcal{A}\). The conditions \(c_i\) collectively cover \(\mathcal{S}\), and Orcaid aims to minimize both the approximation error \(\mathcal{L}(\boldsymbol{\pi},\boldsymbol{\hat{\pi}})\) and the model size of \(\boldsymbol{\hat{\pi}}\), measured by the number of parameters in the rules \(r_i\).

4.1 Data collection↩︎

The initial data collection involves the following three steps.

Agent execution. Running the original RL policy in the environment collects trajectories (state-action sequences). Each state \(\mathbf{x}=(\mathbf{x}^c,\mathbf{x}^d)\in\mathbb{R}^n\) concatenates continuous features \(\mathbf{x}^c = [x_1^c, x_2^c, \dots, x_{n_c}^c]\in[0,1]^{n_c}\) over the unit interval and binary features \(\mathbf{x}^d = [x_1^d, x_2^d, \dots, x_{n_d}^d]\in\{0,1\}^{n_d}\) (ensured by scaling or one-hot encoding).

Clustering. Trajectories visit some regions (e.g., near the initial state) far more often than others, which can bias regressions toward them. To obtain a more uniform state‑space representation, we group observed states into \(k\) clusters using k‑means, where \(k\) is chosen by the elbow method [38], collapsing dense regions into single centroids to reduce their oversampling effect.

Sampling. To mitigate potential model drift—where the surrogate model deviates from the original trajectories due to accumulated small errors—we sample states from the centroids with Gaussian noise. That is, each sampled point \(\mathbf{x}\) consists of a centroid \(\boldsymbol{\mu}_i\) chosen uniformly, to which we add noise only on the continuous features: \(\mathbf{x}\!=\!\boldsymbol{\mu}\!+\!(\epsilon_1,\dots,\epsilon_{n_c},0,\dots,0)\), with \(\epsilon_i\!\sim\!\mathcal{N}(0,\sigma)\). For each sample \(\mathbf{x}\), we query \(\boldsymbol{\pi}\) to get its action \(\mathbf{y}\!=\!\boldsymbol{\pi}(\mathbf{x})\!\in\!\mathbb{R}^{m}\) (\(m\!=\!1\) for 1-D action environments).

Clustering accelerates computation, and sampling helps prevent overfitting by covering more of the state space. This makes the surrogate model more robust to errors that accumulate during execution. In the experiments, we observed that small noise (viz. \(\sigma=0.15\), see App. 11) was enough to obtain good results without deviating too much from the original trajectories.

Random state space sampling to collect data could be an alternative, but it scales poorly with dimension. Instead, we focus on regions frequently visited by the RL agent and their neighborhoods, i.e., the relevant states for task performance.

4.2 Region Definition↩︎

Orcaid partitions the state space via oblique decision trees (i.e., using hyperplanes as branching conditions), which are then merged to form disjoint regions. To formalize this, we first introduce a condition, which is a hyperplane inequality that serves as a branching condition.

Definition 1 (Linear split condition). Let the feature vector be \(\mathbf{x} = (\mathbf{x}^c, \mathbf{x}^d) \in [0,1]^{n_c} \times \{0,1\}^{n_d}\), i.e., \(n_c\) continuous features (scaled to \([0,1]\)) and \(n_d\) binary features. A linear split condition* with weight vector \(\mathbf{w} \in \mathbb{R}^{n_c+n_d}\) and threshold \(b \in \mathbb{R}\) is the function \(c_{\mathbf{w},b}(\mathbf{x}) = \mathbb{I}\bigl( \mathbf{w} \cdot \mathbf{x} \leq b \bigr)\), where \(\mathbb{I}\) is the indicator function (1 if true, 0 otherwise).*

By imposing constraints on the weights, the same linear form can represent three kinds of splits:

Split on continuous features only. If \(\mathbf{w}^d = \mathbf{0}\), then \(c_{\mathbf{w},b}(\mathbf{x}) = \mathbb{I}(\mathbf{w}^c \cdot \mathbf{x}^c \leq b)\).

Split testing “binary feature \(i\) equals 0”. If \(\mathbf{w}^c = \mathbf{0}\), \(w_i^d = 1\), \(b = 0\), and \(w_j^d=0\) for all \(j\neq i\), then \(\mathbf{w} \cdot \mathbf{x} = x_i^d\), and the inequality \(x_i^d \leq 0\) forces \(x_i^d = 0\).

Split testing “binary feature \(i\) equals 1”. If \(\mathbf{w}^c\! =\! \mathbf{0}\), \(w_i^d\! =\! -1\), \(b\! =\! -1\), and \(w_j^d\!=\!0\) for all \(j\!\neq\! i\), then \(\mathbf{w} \cdot \mathbf{x} = -x_i^d\), and the inequality \(-x_i^d \leq -1\) simplifies to \(x_i^d \geq 1\), i.e., \(x_i^d = 1\).

If the binary features originate from one‑hot encoding a categorical variable, case 2 checks that the category is not the one represented by feature \(i\), and case 3 checks that it is that category. For a native binary variable (already 0/1), the same logic applies directly.

We now introduce regions. Each leaf of an oblique decision tree defines a simple region induced by the conditions at its ancestor nodes. Formally, simple regions are defined as follows.

Definition 2 (Simple region). Given a set \(C\) of conditions, the simple region \(R_C\) defined by \(C\) is

\(R_C = \{\mathbf{x}\in [0,1]^{n_c}\times\{0,1\}^{n_d} \mid \forall c\in C: c(\mathbf{x}) =1\, \}.\)

That is, \(\mathbf{x}\,{\in}\,R_C\) iff \(\mathbf{w}\,{\cdot}\,\mathbf{x}\,{\leq}\,b\) holds for each condition \(c_{\mathbf{w},b}\) in \(C\). For merging leaves, we need more expressive regions.

Definition 3 (Region). A region is the union \(R = \bigcup_{i=1}^k R_{C_i}, (k\geq 1),\) of simple regions \(R_{C_i}\).

Thus \(\mathbf{x} \in R\) iff for some \(R_{C_i}\) forming \(R\), \(\mathbf{w}\cdot \mathbf{x}\leq b\) holds for each condition \(c_{\mathbf{w},b}\in C_i\). Orcaid efficiently assigns points to regions via matrix multiplication, thanks to the structure of the conditions.

Figure 3: Oblique Tree Training with Hyperplane Optimization

4.3 Tree building with hyperplane optimization↩︎

Given a set of states \(X \in \mathbb{R}^{N \times n}\) and corresponding multi‑dimensional actions \(Y \in \mathbb{R}^{N \times m}\), the oblique tree recursively partitions the input space with hyperplanes, which is built using Algorithm 3. In each leaf, a pruned linear model is stored for every action dimension. The quality of a split is measured by the weighted mean squared error after fitting separate ordinary least‑squares (OLS) regressions in each child region. Each recursive step includes: (1) dimensionality reduction and scaling to handle high-dimensional state space, (2) random hyperplane initialization to find a good partitioning fast (warm start), and (3) local split optimization to partition states optimally.

Definition 4 (Weighted split MSE). Let \((\mathbf{w}, b)\) define a linear split condition as in Def. 1, i.e., the hyperplane \(\mathbf{w}\cdot \mathbf{x} = b\) splits the state space into \(L = \{i \mid \mathbf{w} \cdot \mathbf{x}_i \le b\}\), and \(R = \{i \mid \mathbf{w} \cdot \mathbf{x}_i > b\}\). For each action dimension \(k \in \{1,\dots,m\}\), let \(\hat{\boldsymbol{\beta}}^{L,k}\) and \(\hat{\boldsymbol{\beta}}^{R,k}\) the OLS coefficients fitted on \((\mathbf{X}_L, Y_{L,k})\) and \((\mathbf{X}_R, Y_{R,k})\), respectively, where \(\mathbf{X}\) is \(X\) with an added column of \(1\)s. The weighted split MSE is \[\textstyle \ell(\mathbf{w},b) \;=\; \frac{|L|}{N}\,\frac{1}{m}\sum_{k=1}^{m} \mathrm{MSE}(\mathbf{X}_L,Y_{L,k},\hat{\boldsymbol{\beta}}^{L,k}) \;+\; \frac{|R|}{N}\,\frac{1}{m}\sum_{k=1}^{m} \mathrm{MSE}(\mathbf{X}_R,Y_{R,k},\hat{\boldsymbol{\beta}}^{R,k}),\] where \(\mathrm{MSE}\) is the mean squared residual. An optimal oblique split is one that minimizes this loss.

Algorithm 3 recursively partitions the data until a stopping criterion is met – reaching max_depth, having fewer than min_spl samples (line 2), or achieving a low mean MSE by an OLS model (line 5–6) – and a leaf node is created. The algorithm creates branch conditions using FindSplit (line 9), which searches for a hyperplane \((\mathbf{w},b)\) minimizing the weighted split MSE. The data is partitioned via \(\mathbf{w}\cdot\mathbf{x}_i \le b\), and BuildNode recurses on each side (lines 10–13). The search proceeds in three stages in a reduced PCA space to improve numerical stability and speed.

Dimensionality reduction and scaling. PCA is applied to the set of states \(X\), retaining pca_dim components (line 15). The projected data \(X_{\mathrm{PCA}}\) is then min‑max scaled to \([0,1]\) (line 16). The scaler \(S\) and the PCA parameters (\(P\), mean \(\mu\)) are kept for later back‑mapping.

Random hyperplane initialization (lines 23-34). pca_dim states of \(X_{\mathrm{PCA}}\) are sampled to form a square matrix \(A\) and the system \(A\mathbf{w} = -\mathbf{1}\) is solved (line 27) to obtain a hyperplane that contains those pca_dim states. This step can be done efficiently and in parallel for multiple hyperplanes. \(A\mathbf{w} = -\mathbf{1}\) prevents the trivial \(\mathbf{w}\!=\!\mathbf{0}\) solution, forces a direction through the selected points, and absorbs the bias into the fixed offset \(-1\). Points with \(\mathbf{w}\cdot\mathbf{x}_i \le -1\) go left, others right (line 29). Only splits with at least min_spl samples per side are considered (line 30); their weighted MSE is computed (line 31), and the best \(\mathbf{w}_{\mathrm{PCA}}\) and its loss are returned (lines 32–34).

Local split optimization via differential evolution. If the loss of the best candidate exceeds max_mse (line 18), a differential evolution locally optimizes \(\mathbf{w}_{\mathrm{PCA}}\), minimizing the weighted split MSE under a constraint that both children contain at least min_spl instances (lines 19–20). The optimized vector replaces \(\mathbf{w}_{\mathrm{PCA}}\). Finally, \(\mathbf{w}_{\mathrm{PCA}}\) is transformed to the original space via \(P^{\top} S^{-1}\) (line 21).

Leaf construction (LeafNode). For every action dimension \(j\), an OLS model is fitted (line 37). Backward elimination then removes features whose absolute coefficient is smaller than \(\epsilon\) or whose removal increases the MSE by less than \(\delta\) (lines 39–40). The pruned model is stored, and the leaf node returns the set of all \(m\) linear models (line 43).

Example 2 (Mountain Car (oblique tree)). Fig. 2, block 2, shows an oblique tree of depth 3 for Mountain Car. Note that not all leaves have depth 3 since leaves stop growing if they do not have enough samples or if their MSE is below max_mse.

4.4 Simplification↩︎

After constructing the oblique decision tree, we merge adjacent regions to create a simplified rule-based model. Each rule body defines a state-space region in which it triggers, and the corresponding head defines the actions via linear models. This gives us three major benefits: (1)reduced complexity: by decreasing the number of regions, we reduce the number of linear regressions, leading to fewer parameters; (2) improved interpretability: a smaller set of regions makes the surrogate model easier to analyze; and (3) diminished overfitting: merging similar regions discourages overfitting and improves generalization. For region merging, we use the notion of active condition.

Definition 5 (Active condition). For a set \(C\) of conditions, a condition \(c_{\mathbf{w},b}\in C\) is called active in the simple region \(R_C\) if some \(\mathbf{x} \in [0,1]^{n_c}\times\{0,1\}^{n_d}\) exists such that \((1)\;c(\mathbf{x})\!=\!1\) for every \(c \in C \setminus \{c_{\mathbf{w},b}\}\), and \((2)\;\mathbf{w}\!\cdot\! \mathbf{x} = b\), i.e., the point is on the boundary of \(R_{c_{\mathbf{w},b}}\).

This definition also applies to binary features. Any leaf \(R_C\) has at least one active condition in its \(C\) (the last split), and can have all of them active. We next define when two simple regions are adjacent.

Definition 6 (Adjacent simple regions). Given sets \(C_1\) and \(C_2\) of conditions, their simple regions \(R_{C_1}\) and \(R_{C_2}\) are adjacent if a vector weight \(\mathbf{w}\) and a threshold \(b\) exists such that (i) \(c_{\mathbf{w},b}\) is active in \(R_{C_1}\) and (ii) \(c_{-\mathbf{w},-b}\) is active in \(R_{C_2}\).

Sibling leaves \(R_{C_1}\) and \(R_{C_2}\) (i.e., having the same parent \(R_C\)) are always adjacent, as they differ only by the split condition at \(R_C\). Non-sibling leaves can also be adjacent; this happens when the split condition is active in both regions.

After identifying adjacent regions, we evaluate potential merges in an iterative procedure. For each pair \(R_i\) and \(R_j\) of adjacent regions, we fit single linear regressions for each target variable on \(R=R_i \cup R_j\) and compute its mean MSE, as well as the MSE of the new and the original regressions on the subparts. Adjacent regions \(R_i\) and \(R_j\) can be merged if (1) \(\text{MSE} < \tau\) (global error bound), (2) \(\text{MSE}_{i} < \tau\) and \(\text{MSE}_{j} < \tau\) (local error bound), or (3) \(\text{MSE}_{k}\,{<}\,(1\,{+}\,\epsilon) \,{\cdot}\,\text{MSE}_k^{\text{orig}}\), \(k\,{=}\,i,j\) (rel.improvement), where \(\epsilon=0.05\) and \(\tau=2\cdot\)max_mse. The resulting merged region is the union of \(R_i\) and \(R_j\). This process repeats until no further merging is possible.

After region merging, each resulting region \(R\) is defined by one or more sets \(C_i\) of conditions that define a simple region for a leaf node. In logical terms, the definition of \(R\) amounts to a disjunction of conjunctions of conditions, i.e., a disjunctive normal form (DNF) over the set of conditions. Hence, we can simplify the merged region definitions using the QM method [39], [40]. Furthermore, for the final linear regressions, we perform backward elimination to remove irrelevant features.

The following definition is used for a fair complexity comparison of different surrogates. We measure complexity with two components: what it takes to (i) get to a decision (path conditions) and to (ii) make the decision (action logic cost).

Definition 7 (Orcaid model size). The size of an Orcaid model \(M\) is \(\|M\|\!=\!M_{conds}\! +\! M_{Bools}\! +\! M_{regrs}\), where \(M_{conds}\) is the number of non-zero coefficients in the conditions, \(M_{Bools}\) is the count of conditions used to define the regions, and \(M_{regrs}\) is the number of non-zero coefficients in the regressions. \(M_{conds}+M_{Bools}\) accounts for the path conditions, and \(M_{regrs}\) for the action logic.

Example 3 (Mountain Car (simplification)). The simplification of the oblique tree (Fig. 2, block 3) merges its leaves (simple regions) into two regions (rules): \(\mathit{Rule} \;1\) (\(c_0\lor c_2\lor c_3 \Rightarrow 0.8x + 0.4)\), and \(\mathit{Rule}\;2\), \((\lnot c_0 \land \lnot c_2 \land \lnot c_3 \Rightarrow 0.6x - 0.5v - 0.9)\). With only these two rules, we achieve the same performance as with the original RL policy. Conditions have been simplified, e.g., the two leaves \((c_0\land c_1)\) and \((c_0\land\lnot c_1)\) in the oblique tree have been simplified to \(c_0\). By Def. 7, \(\|M\|\! =\! \overbrace{\underbrace{2}_{c_0}\! +\! \underbrace{2}_{c_2}\! +\! \underbrace{1}_{c_3} }^{M_{conds}}\! +\! \overbrace{\underbrace{2}_{\text{Rule}\;1}\! +\! \underbrace{3}_{\text{Rule}\;2}}^{M_{regrs}} + \overbrace{\underbrace{3}_{\text{Rule}\;1} + \underbrace{3}_{\text{Rule}\;2}}^{M_{Bools}}\! =\! 16\).

4.5 Iterative Improvement via DAgger↩︎

To remedy the accumulation of errors between the original deep RL policy and rules, we iteratively improve rules through DAgger (Dataset Aggregation) [37] by the following steps (cf.Appendix  7 ):

Collection of expert-labeled trajectories by executing the current Orcaid model in the environment and labeling the actions in the trajectories with the original deep RL policy.

Data aggregation by keeping the states in which the Orcaid and the original actions deviate significantly. As in Section 4.1, we cluster and resample observations.

Retraining of the model on all aggregated data.

This repeats until performance stops improving or Orcaid’s actions and those of the RL agree.

5 Experiments↩︎

We empirically evaluate Orcaid on nine control problems, comparing it to (1) standard decision trees (DT) learned using CART [15] implemented in scikit-learn [41], (2) rules learned with Cubist [42], [43], and (3) RuleFit [36]. We also combine each baseline with DAgger. For DTs, this setup is effectively a Q-value-free variant of VIPER [10], including iterative aggregation and learning, but replacing Q-weighted supervision with policy labels to support general deterministic RL policies.

Our research questions are the following:

Can Orcaid learn surrogates of small size, while retaining performance?

Can Orcaid represent the RL policies accurately, i.e., achieve low MSE (fidelity)?

Can Orcaid rules improve an RL policy?

How interpretable are Orcaid models with respect to other surrogates?

For RQ1 and RQ2, we compare the average cumulative reward and MSE of each surrogate and contrast it with its model size (Def. 7). For RQ3, we adapt Legible [33]. RQ4 is related to RQ1, as model size is often used for interpretability [44]. Human evaluation can provide further insights into comprehensibility. However, it is very costly, audience-specific, and potentially biased. We thus follow the LLM-as-a-Judge framework [34] to complement model size with a comprehensive LLM-based evaluation of interpretability.

5.0.0.1 Experimental Setup & Hyperparameter Selection.

We conducted all experiments on a computing cluster with four NVIDIA A100-SXM4-40GB GPUs and two AMD EPYC CPUs. Every RL policy was trained with 3 different seeds, using the DDPG implementation of SB3 [45] (cf.App.  11 Table  4 ). Every surrogate was also trained with 3 different seeds. Thus, every result for RQ1 – RQ3 is the average of 9 runs. For RQ1, performance was evaluated by running 1,000 episodes per model.

For a fair comparison, we use identical sampling hyperparameters across all surrogates and tuned each surrogate’s main hyperparameter: tree depths for Orcaid and DT, number of rules for Cubist and RuleFit, and additionally the max_mse for Orcaid. App. 12 lists all results for all surrogate model sizes, and App.  11 , Table 5, all the sampling hyperparameters, and Orcaidmax_mse.

We evaluate Orcaid and the baselines in nine control problems [32]: from simple like Mountain Car (****MC****), to complex like Hopper (****H****) and Half Cheetah (****HC****). Lunar Lander (****LL****) was a case of mixed continuous-discrete state space. The other problems are Pendulum (****P****), Inverted Pendulum (****IP****), Inverted Double Pendulum (****IDP****), Reacher (****R****), and Swimmer (****S****).

r0.59

Figure 4: Test MSE scaled (best:0) according to the output range to allow comparisons between environments..

5.1 Empirical Results↩︎

For each environment, we learn Orcaid and DT models with increasing maximum depth and increasing maximum rules for RuleFit and Cubist, selecting the best-performing model for each surrogate until test MSE stops improving (cf. App.  12 for all results). As examples of approximated training times, for MC, DT takes \(5\)s, Cubist \(40\)s, RuleFit \(10\)s, and Orcaid\(20\)s. For HC, DT takes \(15\)s, Cubist \(22\)min, RuleFit \(2\)min, and Orcaid\(30\)min. These values also consider the time spent on model evaluation for DAgger.

Model size for baselines aligns with Def. 7 by summing (1) path conditions and (2) action logic cost. For DTs, (1) #features\(\times\)#leaves, (2) depth per leaf. For Cubist: analogous to Orcaid, but with single-feature conditions and one model per action dimension. For RuleFit, with one model per action dimension, (1) combined length of all rules, (2) #coefficients.

5.1.0.1 Performance.

Fig. [fig:plot95ratio95model95size] addresses RQ1 by contrasting performance with model size. Performance is measured by the average ratio between the cumulative reward of each surrogate and the RL policy. Orcaid performs better than or equal to the other surrogates, with RuleFit and DT being far less performant, sometimes failing to reach \(75\%\). For IDP, this can be due to the high impact of small deviations in actions on the stick’s stability, which also affects Cubist, leading to a high variance in its reward ratio. Orcaid’s model size is much smaller than DT’s (except in HC, where performance differs substantially) and smaller than RuleFit’s when performance is similar. While Cubist shows competitive ratios across most environments, even better for HC(non-significant, by the confidence intervals), its size is consistently larger than Orcaid’s (note the log scale). Overall, for RQ1, Orcaid learns smaller surrogate models with strong performance.

Table 1: No caption
4.3 4.0 3.6 4.5 3.9 3.1 4.3 2.6 2.6
DT 2.1 1.7 1.6 1.9 1.6 2.8 1.8 2.8 3.0
wins (%) 100 100 100 100 100 100 100 50 50
4.4 4.6 3.7 4.2 4.5 3.7 4.5 3.0 3.5
Cubist 2.5 1.7 1.7 2.9 1.4 1.9 1.4 3.0 2.7
wins (%) 100 100 100 100 100 100 100 50 100

l|llcllcllcll & & & &
Env. & Rate & Best & Rate & Best & Rate & Best & Rate & Best
& 53 & 5.3 & 50 & 3.9 & n/a & n/a & n/a & n/a
& 17 & 20 & 0 & 0 & 11 & 21 & 11 & 17
& 38 & 5.0 & 0 & 0 & 0 & 0 & 0 & 0
& 0 & 0 & 0 & 0 & n/a & n/a & n/a & n/a
& 61 & 4.2 & 56 & 3.3 & n/a & n/a & n/a & n/a
& 92 & 5.5 & 89 & 3.2 & n/a & n/a & n/a & n/a
& 14 & 2.9 & 19 & 2.6 & n/a & n/a & n/a & n/a

5.1.0.2 Fidelity.

To assess fidelity, we computed the MSE on test data (Fig. 4). Similar to performance, Cubist learns a surrogate that is closest to Orcaid. The other surrogates usually have higher MSEs, deviating more from the RL policy. We thus can answer RQ2 affirmatively, i.e., explanations derived by Orcaid closely represent the RL policy with smaller model sizes. In contrast with Fig. [fig:plot95ratio95model95size], lower MSE does not necessarily mean higher performance due to potential model drift, where small deviations compound over time and lead to different trajectories.

5.1.0.3 Policy Improvement.

We adapt Legible[33] to continuous state and action spaces. Legibletransforms rules to related situations, e.g., symmetric situations, then locally overrides policy decisions with selected transformed rules, yielding a new policy \(\pi'\). If \(\pi'\) achieves a higher return than \(\pi\), it exposes a weakness in \(\pi\) and improves it. This testing approach may be ineffective for perfect policies, but as in model-based software testing, the quality of surrogate models matters; we therefore study which surrogates are most effective.

To test for policy improvements, we (1) transform rules produced by surrogates by mirroring them along selected axes, and (2) enforce them by overriding RL policy decisions to identify weaknesses. We confine to symmetry, as this is the most relevant property in continuous environments. App. 8 includes the formalization of transformations, the complete results and an extra analysis.

Every surrogate was evaluated using four mirroring strategies (1 or 2 mirrored regions for 2 axes, and 1 mirrored region for 1 or 4 axes) with a random selection of \(50\) transformations for each strategy. Table 1 shows how often the transformations led to better performance (Rate) and the maximum relative improvement w.r.t. the RL policy (Best). For Cubist and RuleFit, only single-action environments can be evaluated, since they build one model per action, which prevents mirroring across regions that contain different models. RL policies for Pand MCare optimal and do not improve; thus, they are excluded. For the other environments, Orcaid-based testing finds weaknesses more consistently than other methods, and the maximum improvement is higher or comparable.

We can thus answer RQ3 positively as we could use Orcaid models to improve the RL policies – in general, more effectively than with other models. Furthermore, as Orcaid models are smaller, their mirrored rules contain fewer parameters. This makes it easier to understand both the mirrored region and how to improve the RL policy.

5.1.0.4 Interpretability.

As shown in Fig. [fig:plot95ratio95model95size], Orcaid models are smaller, strongly suggesting better interpretability. As a further interpretability analysis, and leaving a human survey for future work, we adopted the LLM-as-a-Judge framework. Based on the principles and checklist of [46], we selected 7 explainability questions relevant to feature-importance methods beyond performance, added 8 domain-specific questions for rule- and DT-based control models, and a final verdict question. We omitted performance values so LLMs focused solely on explainability. Six LLM judges rated each surrogate on a 1–5 Likert scale using a rubric, with thinking mode enabled when available. We compared Orcaid with DTs, which are typically considered interpretable, and Cubist, its closest competitor from earlier results. Table ¿tbl:tab:results95llms? reports average scores and verdict rates across the 6 judges and 15 questions (details in App.  10 ). Orcaid outperformed DTs given comparable performance, and outperformed Cubist in all environments except H, where they tied due to its small model (20 rules per action dimension), but Cubist showed worse performance. We thus have evidence for RQ4 that Orcaid rules are usually more interpretable than other methods with comparable performance.

6 Conclusion↩︎

We presented Orcaid, the first XRL method for constructing interpretable rule-based surrogate models of deep RL policies with continuous actions over mixed continuous-discrete state spaces using oblique decisions. Empirically, Orcaid achieves high fidelity and strong task performance while using few parameters, and it is typically more interpretable than standard DT (effectively a Q-value-free variant of VIPER), Cubist, and RuleFit at comparable performance.

Discussion. Our current evaluation spans tasks up to \(17\)-dimensional state and \(6\)-dimensional action spaces (HC); further scaling may require dimensionality reduction or feature selection. We model deterministic policies and collect data via environment queries (DAgger); this can limit fidelity for stochastic policies and risks model drift without query access, although the core oblique-tree learning and simplification steps remain applicable. Extending leaves with independent linear-Gaussian models per action dimension (diagonal covariance) is a natural next step toward supporting stochastic policies. Beyond quantitative metrics, we used an LLM-as-a-Judge protocol to assess interpretability; establishing agreement with human judgments remains important future work.

Our experiments suggest that rule models can match or improve the original policy, so they may be further improved by training them in the environment, i.e., re-optimization [16]. Such models could be deployed in place of deep RL policies while offering transparency. Finally, we plan to compose learned rules with environment models to verify compliance with requirements based on [47].

Appendix Title Page
7
8
9
10
11
12
13
Figure 5: Dagger-like Rule Learning Loop

7 Dagger-like Iterative Rule Learning↩︎

Based on the Dataset Aggregation (DAgger) approach, we iteratively refine the model by collecting new data points that are annotated with the RL policy. We filter in the points at which the distilled model deviates from the original RL policy. This way, we iteratively build a policy that tries to learn from previous errors.

Algorithm 5 consists of two main stages for each iteration:

Episode collection and labeling: New environment trajectories are generated using the current model \(M_{j}\). The actions from this model are compared to the ones that the original RL agent would have taken in those states. The actions from the RL agent are considered expert demonstrations.

Model refinement: The model is re-trained on an augmented dataset consisting of the original data plus the newly collected samples, where the action of the learned model deviates from the pre-trained RL agent. This refinement step is repeated until performance degrades or no more useful data can be collected.

7.1 Key Components↩︎

7.1.1 Trajectory Collection↩︎

The current model \(M_j\) is used to generate a trajectory in the environment.

At each step, an observation \(o_t\) is collected.

The learned model’s action \(a^{M_j}_t = M_j(o_t)\) is computed and stored.

The expert RL model is queried for the expert action \(a^{\pi}_t = \pi_{expert}(o_t)\), which is also stored.

The action \(a^{M_j}_t\) is executed in the environment.

The process repeats until the episode terminates.

This generates a trajectory of observation-actions triples: \(\{\dots, (o_t, a^{M_j}_t, a^{\pi}_t), \dots\}\).

7.1.2 Data Filtering and Augmentation↩︎

To ensure we do not add unnecessary data points to the training dataset, we include these steps:

Disagreement filtering: For each point in the new trajectory, the squared Euclidean distance between the learned action and the expert action is computed: \[d(o_t) = \|a^{\pi}_t - a^{M_j}_t\|_2^2\] Only observations where this distance is significant (\(d > |\mathcal{A}|/2\)) are kept, where \(|\mathcal{A}|\) is the absolute difference between the maximum and the minimum possible actions \(\|a_{max}-a_{min}\|\) (scalar values). This places the focus on the states where the RL policy and the learned model differ the most.

Clustering: The filtered points are clustered to reduce redundancy and represent different regions of the state space.

Noise augmentation: Each cluster is used as a sample, to which Gaussian noise is added. This improves model robustness and potential model drift.

7.1.3 Model fitting↩︎

After adding the new data points to the training dataset, the model is fitted to this new dataset. The retraining process is designed to be efficient.

Instead of training from scratch until depth \(j\), the algorithm starts from the previous model of depth \(j-1\) by extending it by one depth. It extends that model, optimizing oblique splits as described in Section 4.3. This increases the tree’s depth to \(j\). This only applies to Orcaid.

7.1.4 Termination↩︎

The refinement loop contains an early stopping mechanism. After each refinement attempt, the average reward of the new model \(M'_j\) is estimated.

If the average reward of \(M'_j\) is worse than the previous model of the same depth \(M_j\), the refinement is stopped.

The algorithm discards \(M'_j\) and reverts to the previous model \(M_j\).

This prevents the latest iteration from worsening the policy performance.

8 Transformations for Policy Improvement↩︎

8.1 Method for Transformation-based Improvement & Evaluation↩︎

In our evaluation for RQ3, we present an application of Orcaid-generated rules to evaluate and improve reinforcement learning (RL) policies. Following the approach proposed for rules with discrete conditions in [33], we generate alternative rules \(\mathcal{R}'\) by adapting rules \(\mathcal{R}\) learned from a given policy. By enforcing \(\mathcal{R}'\), that is, by overriding the decisions of a policy \(\pi\) according to \(\mathcal{R}'\), we can identify weaknesses in \(\pi\): if enforcing \(\mathcal{R}'\) leads to a higher return, this indicates that \(\pi\) makes suboptimal decisions in the corresponding situations. The alternative rules \(\mathcal{R}'\) capture counterfactual decisions, which we generate by exploiting domain knowledge, such as known symmetries in the environment.

This application further enhances the explainability provided by Orcaid. Instead of solely constructing a rule-based surrogate model, Orcaid-guided policy evaluation identifies a concise set of rules that pinpoint situations in which the evaluated policy makes suboptimal decisions. While a complete formalization of this evaluation approach is beyond the scope of this paper, we focus on exploiting domain symmetries by mirroring rules across selected axes.

8.1.0.1 Rule Adaptation for Orcaid.

Let \(c_i \Rightarrow \hat{\pi}_i\) be a rule \(i\), where \(c_i\) is a region and let \(MI \subseteq \{1,\ldots,n_c\}\) be a set of indices. We define \(\mathrm{\small Mirror}(c_i \Rightarrow \hat{\pi}_i,MI) = m_i \Rightarrow \hat{\pi}_i\) as function mirroring the conditions \(c_i\) across the axes given by \(MI\). To this end, Mirror inverts the coefficients for these axes, i.e., for every \(c_{\mathbf{w},b}\) in \(c_i\), we create \(c_{\mathbf{w'},b}\) such that for every \(m\in MI\): \(\mathbf{w'}[m]\) = \(-\mathbf{w}[m]\). We do not invert \(\hat{\pi}_i\) because we assume that if symmetries exist in an environment, the same linear model captures the required dependencies between states and actions. It suffices to mirror the conditions and apply the same local policy. Note that we assume that \(MI\) does not contain discrete features, because mirroring one-hot-encoded features generally does not make sense.

8.1.0.2 Rule Adaptation for DTs.

For DTs, we consider individual paths from the root to a leaf. The function \(\mathrm{\small MirrorDT}((C,l),MI)\) takes a list of axis-aligned conditions \(C\) as input and a leaf-value \(l\). It mirrors every \(c \in C\) that applies to a feature with an index in \(MI\), by inverting the relation and comparison value of \(c\). Additionally, it multiplies \(l\) by \(-1\), as DTs predict a constant value rather than using a linear function.

8.1.0.3 Rule Adaptation for CUBIST.

For CUBIST, we combine the above transformation approaches. Like DT, CUBIST uses axis-aligned conditions; therefore, we mirror them analogously. As for Orcaid, we leave the linear model for action prediction unchanged.

8.1.0.4 Rule Adaptation for RuleFit.

RuleFit uses axis-aligned rules, which we mirror in the same way as paths in DTs. However, RuleFit rules cannot be used on their own. For this reason, we create a tuple \((C,R)\) from mirroring RuleFit rules, \(C\) is a list of mirrored conditions, and \(R\) is a copy of the original RuleFit models transformed by replacing one list of rules with the mirrored list \(C\).

8.1.0.5 Mirrored Rule Selection.

Given a surrogate model, we generally cannot exhaustively mirror and test all possible rule-axis combinations, especially considering that multiple rules should be mirrored at once along multiple axes. For this reason, we apply a random selection approach parameterized by \(rs\), \(as\), and \(nm\), where \(rs\) specifies how many rules we select and mirror at once, \(as\) specifies along how many axes we mirror at most, and \(nm\) specifies the overall number of selections. For instance, if \(rs = 2\) and \(as = 2\), and \(nm = 50,\) we randomly select \(50\) pairs of rules and mirror them along \(2\) or \(1\) randomly selected axes.

Note that for DTs, we consider paths in the tree, and we ensure that all selected axes-rule combinations make sense, i.e., that a rule includes conditions on the selected axes. While we use both DTs and rules, from now on, we simply refer to sets of rules. Let \(\mathcal{MR}\) be a set of \(nm\) mirrored rule sets.

8.1.0.6 Enforcing Rules.

Given an RL policy \(\pi\), and a rule set \(\mathcal{R} \in \mathcal{MR}\), and state \(s\), we define \(\mathrm{\small Enforce}(\pi,\mathcal{R},s)\) as follows: if there is an \(r\in \mathcal{R}\) that triggers in \(s\), i.e., its conditions evaluate to true, we \(r\) to predict the action value and return it from Enforce. Otherwise, we return \(\pi(s)\). If several rules trigger, we select one of them at random. In the case of RuleFit, we check for each rule if the corresponding conditions \(C\) trigger and apply the transformed model \(R\) if they do.

Note that by the rule construction for Orcaid above, mirrored rule conditions do not overlap, which is harder to guarantee for the other models.

8.1.0.7 Rule-based Evaluation & Improvement.

We propose to combine, mirror, and enforce sets of rules to determine regions where the policy under consideration could be improved. To implement this form rule-based evaluation, we first select \(\mathcal{MR}\) using the random selection described above. Then, we execute \(n_{eval}\) episodes with \(\pi\) and without any interference to collect samples of the average undiscounted return \(G_\pi\). That is, we determine a baseline for the return.

After that, for every \(\mathcal{R} \in \mathcal{MR}\), we perform another \(n_{eval}\) episodes with \(\pi\) while enforcing the rules in \(\mathcal{R}\) via Enforce to collect samples of \(G_{\pi,\mathcal{R}}\). Overall, we get \(|\mathcal{MR}| = nm\) sets of samples. Based on these, we statistically test if and how many \(\mathcal{R}\) improve the RL policy \(\pi\). For this purpose, we use a variation of Dunnett’s test [48]. Since the basic version of Dunnett’s test for multiple comparisons assumes equal variances, we use a non-parametric bootstrapped version, which is a non-parametric adaptation of the test proposed by Alver and Zhang [49]. With this test, we determine for every \(\mathcal{R}\) if it yields a significantly larger return than the baseline policy \(\pi\), where we generally apply a significance threshold of \(p=0.05\).

8.2 Experiments↩︎

The results reported in Table 1 are different than the ones from this section because the first ones were only conducted for a single model configuration (fixed maximum depth or number of rules). The ones in this section present are cumulative, increasing the depth or the number of rules. For example, for IDP, Table 1 shows no improvement for the baselines, but in this section, we find that improvements are possible with smaller models. This occurs when the mirrored regions are too small, which is equivalent to having large models.

Tables ¿tbl:tab:mirrored95orcaid95ll?¿tbl:tab:mirrored95dt95hc? present the results for this analysis. For each environment, we tested four mirroring configurations, with varying numbers of selected mirrored regions \(rs\) and number of selected axes, i.e., features, \(as\). The tables are labeled at the top with “comb-\(as\) & random-\(rs\)-\(nm\)” to denote the mirroring configuration. In each case, we set the number of mirroring evaluations to \(nm=25\). For each evaluation with mirrored rules, we ran the environment for \(n_{eval} = 500\) episodes in parallel, whereas for the base agent, we performed \(n_{eval} =1,500\) episodes. A significant improvement is detected using a bootstrapped version of Dunnett’s test as previously mentioned. That is why the base agent is run for more episodes.

To limit the number of tests, we followed an incremental approach. For a given \(rs\) and a given \(as\), we tested whether there was an improvement for the smallest model. If there was, we stopped; if there was not, we continued to the next bigger model by increasing the maximum depth (Orcaid and DT) or the maximum number of rules (Cubist and RuleFit). The results are therefore cumulative. Rates indicate that an improvement was found at that maximum depth or maximum number of rules, or at a lower one. The best improvement follows the same idea.

We can see that for many environments (IP, S, H), an Orcaid model of depth 1 often finds a weakness. Recall that an Orcaid model with depth 1 divides the state space into just two parts. That is, enforcing a mirrored rule in one part of the space and letting the RL policy decide actions in the other part improves performance compared to having the RL policy for the entire state space. This also means that we do not need to learn a perfect Orcaid model to improve the original RL policy.

Another example of this situation appears with Cubist for IDP(Table ¿tbl:tab:mirrored95cubist95idp?), where improvements are found with smaller depths than the one that maximizes the reward ratio.

The results for a similar analysis leading to the identification of a weakness could help a user in, for example, the following two ways:

A user could enforce the mirrored rule that improves the RL policy.

A user could generate demonstrations that satisfy the rule and retrain the RL model.

The following section shows how to understand the results with an example.

Figure 6: image.

8.3 Explanation example for Swimmer↩︎

Table ¿tbl:tab:mirrored95orcaid95s? shows that weaknesses were often found with an Orcaid model of depth 1. One of such models has the following condition \(C\) to split the state space into two regions:

\[\begin{align} C \equiv &\;0.2\cdot \mathit{motor1\_rot} + 0.7\cdot\mathit{motor2\_rot} \\ & + 0.2\cdot \mathit{slider1dot} \\ & - 0.6\cdot\mathit{slider2dot} + 0.2\cdot\mathit{motor1\_rotdot} \geq 0.4 \end{align}\]

Region 0 satisfies \(C\) and has the following torques:

Figure 7: image.

Figure 8: image.

Region 1 does not satisfy \(C\) and has the following torques:

Figure 9: image.

Figure 10: image.

The feature in \(C\) with the highest positive weight is \(\mathit{motor2\_rot}\) (angle of the second rotor), and the feature with the highest negative weight is \(\mathit{slider2dot}\) (velocity of the tip along the y-axis). Thus, Region 0 corresponds to states in which the Swimmer is folded and has low upward velocity, possibly during the power stroke (thrust-generating phase). Fig. 6 shows this type of position when setting the state with our interactive tool (cf. App 9). The torque for this region is positive for both rotors, confirming that the Swimmer is generating thrust.

On the other hand, Region 1 covers states in which the Swimmer is extended with high upward motion, during a recovery stroke (reset phase). Here, therefore, the torques are negative, as one can see in their formulas.

Clearly, the Swimmer is a symmetric environment. Mirroring \(C\) by the axis given by a feature (e.g., \(\mathit{motor2\_rot}\)), we get \[\begin{align} C' \equiv &\;0.2\cdot \mathit{motor1\_rot} \mathbf{-} 0.7\cdot\mathit{motor2\_rot} \\ & + 0.2\cdot \mathit{slider1dot} \\ & - 0.6\cdot\mathit{slider2dot} + 0.2\cdot\mathit{motor1\_rotdot} \geq 0.4. \end{align}\]

As explained previously, the actions (torques) remain the same, as the linear regression should already capture variations in their inputs. In Fig. [fig:swimmer95mirrored], we can now see what the Swimmer would look like when \(C'\) is satisfied. It makes sense that this mirrored region corresponding to the satisfaction of \(C'\) behaves the same way as the original Region 0. That is, this mirrored region should also correspond to a thrust-generating phase, since the states within it are the same; only the angle has been mirrored, without affecting the region’s general purpose.

When we enforce this mirrored condition on the RL agent and observe a reward improvement, we can suspect that the RL agent has a weakness, since it has not fully learned this symmetry. Thus, we could try retraining with demonstrations that satisfy this condition. Also, we could incorporate this rule on top of the RL agent to enforce this behavior in production, and the user would know exactly how it behaves in this region. This would enhance the trust in the agent.

comb-1 & random-1-25
Max. Depth \({\leq}2\) \({\leq}4\) \({\leq}6\) \({\leq}8\) \({\leq}10\) \({\leq}12\) \({\leq}14\) \({\leq}16\) \({\leq}18\) \({\leq}20\)
Rate (%) 44 56 67 78 78 89 100
Best (%) 2.6 2.9 3.1 3.1 3.1 4.9 4.9
comb-1 & random-2-25
Rate (%) 22 44 44 56 78 89 89 89 89 100
Best (%) 3.1 3.4 3.4 3.4 4.1 4.9 4.9 4.9 4.9 4.9
comb-2 & random-2-25
Rate (%) 44 56 78 89 100
Best (%) 3.3 3.3 3.3 3.3 4.3
comb-1 & random-4-25
Rate (%) 0 22 22 44 78 100
Best (%) 0.0 3.1 3.1 3.9 4.1 4.1
No caption
comb-1 & random-1-25
Max. Depth \({\leq}1\) \({\leq}2\) \({\leq}3\) \({\leq}4\) \({\leq}5\)
Rate (%) 22 44 78 89 89
Best (%) 3.0 4.9 5.8 5.8 5.8
comb-1 & random-2-25
Rate (%) 22 78 78 100
Best (%) 3.7 4.8 4.8 4.8
comb-2 & random-2-25
Rate (%) 44 56 56 56 67
Best (%) 4.1 4.1 4.1 4.1 4.1
comb-1 & random-4-25
Rate (%) 0 22 56 78 89
Best (%) 0.0 2.8 8.2 8.2 8.2
comb-1 & random-1-25
Max. Depth \({\leq}1\) \({\leq}2\) \({\leq}3\) \({\leq}4\) \({\leq}5\)
Rate (%) 22 33 33 33 33
Best (%) 11 15 15 15 15
comb-1 & random-2-25
Rate (%) 22 33 33 33 33
Best (%) 11 18 18 18 18
comb-2 & random-2-25
Rate (%) 22 22 22 22 22
Best (%) 12 12 12 12 12
comb-1 & random-4-25
Rate (%) 22 22 22 22 22
Best (%) 10 10 10 10 10
No caption
comb-1 & random-1-25
Max.#rules \({\leq}2\) \({\leq}3\) \({\leq}4\) \({\leq}5\) \({\leq}6\) \({\leq}7\) \({\leq}8\) \({\leq}9\) \({\leq}10\)
Rate (%) 0 11 11 33 33 33 33 33 33
Best (%) 0.0 20 20 24 24 24 24 24 24
comb-1 & random-2-25
Rate (%) 0 11 11 33 33 33 33 33 33
Best (%) 0.0 21 21 24 24 24 24 24 24
comb-2 & random-2-25
Rate (%) 0 11 11 33 33 33 33 33 33
Best (%) 0.0 19 19 24 24 24 24 24 24
comb-1 & random-4-25
Rate (%) 0 11 11 33 33 33 33 33 33
Best (%) 0.0 21 21 24 24 24 24 24 24
comb-1 & random-1-25
Max. Depth \({\leq}1\) \({\leq}2\) \({\leq}3\) \({\leq}4\) \({\leq}5\) \({\leq}6\) \({\leq}7\) \({\leq}8\) \({\leq}9\) \({\leq}10\)
Rate (%) 0 0 0 0 11 11 22 22 22 22
Best (%) 0.0 0.0 0.0 0.0 17 17 17 17 17 17
comb-1 & random-2-25
Rate (%) 0 0 0 0 11 11 22 22 33 33
Best (%) 0.0 0.0 0.0 0.0 13 13 19 19 19 19
comb-2 & random-2-25
Rate (%) 0 0 0 0 11 22 22 22 22 22
Best (%) 0.0 0.0 0.0 0.0 16 19 19 19 19 19
comb-1 & random-4-25
Rate (%) 0 0 0 0 22 22 22 22 33 33
Best (%) 0.0 0.0 0.0 0.0 21 21 21 21 21 21
No caption
comb-1 & random-1-25
Max.#rules \({\leq}2\) \({\leq}4\) \({\leq}6\) \({\leq}8\) \({\leq}10\) \({\leq}12\) \({\leq}14\)
Rate (%) 25 25 25 25 50 50 50
Best (%) 8.5 8.5 8.5 8.5 13 13 13
comb-1 & random-2-25
Rate (%) 0 0 0 0 25 50 50
Best (%) 0.0 0.0 0.0 0.0 17 17 17
comb-2 & random-2-25
Rate (%) 0 0 0 0 0 0 25
Best (%) 0.0 0.0 0.0 0.0 0.0 0.0 14
comb-1 & random-4-25
Rate (%) 0 0 0 0 0 0 25
Best (%) 0.0 0.0 0.0 0.0 0.0 0.0 6.9
comb-1 & random-1-25
Max. Depth \({\leq}1\) \({\leq}2\) \({\leq}3\) \({\leq}4\)
Rate (%) 0 33 50 50
Best (%) 0.0 4.6 4.6 4.6
comb-1 & random-2-25
Rate (%) 0 33 50 50
Best (%) 0.0 4.8 4.8 4.8
comb-2 & random-2-25
Rate (%) 0 0 67 67
Best (%) 0.0 0.0 5.0 5.0
comb-1 & random-4-25
Rate (%) 0 0 50 50
Best (%) 0.0 0.0 4.0 4.0
No caption
comb-1 & random-1-25
Max.#rules \({\leq}10\) \({\leq}20\) \({\leq}40\) \({\leq}50\) \({\leq}70\) \({\leq}80\) \({\leq}100\) \({\leq}110\) \({\leq}130\) \({\leq}150\)
Rate (%) 17 33 33 50 67 83 83 83 83 83
Best (%) 3.4 5.0 5.0 5.0 5.0 5.0 5.0 5.0 5.0 5.0
comb-1 & random-2-25
Rate (%) 17 17 33 50 50 50 67 67 67 67
Best (%) 2.8 2.8 4.8 4.8 4.8 4.8 4.8 4.8 4.8 4.8
comb-2 & random-2-25
Rate (%) 17 33 33 50 50 50 50 67 67 67
Best (%) 3.2 5.0 5.0 5.0 5.0 5.0 5.0 5.0 5.0 5.0
comb-1 & random-4-25
Rate (%) 17 33 33 33 33 50 50 67 67 67
Best (%) 3.7 5.0 5.0 5.0 5.0 5.0 5.0 5.0 5.0 5.0
comb-1 & random-1-25
Max. Depth \({\leq}2\) \({\leq}4\) \({\leq}6\) \({\leq}8\) \({\leq}10\) \({\leq}12\) \({\leq}14\) \({\leq}16\) \({\leq}18\) \({\leq}20\)
Rate (%) 0 0 0 17 17 17 17 17 17 17
Best (%) 0.0 0.0 0.0 2.8 2.8 2.8 2.8 2.8 2.8 2.8
comb-1 & random-2-25
Rate (%) 0 0 0 0 0 0 17 17 17 17
Best (%) 0.0 0.0 0.0 0.0 0.0 0.0 2.8 2.8 2.8 2.8
comb-2 & random-2-25
Rate (%) 0 0 0 0 0 0 0 0 17 17
Best (%) 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 3.2 3.2
comb-1 & random-4-25
Rate (%) 0 0 0 0 0 0 0 0 0 0
Best (%) 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
No caption
comb-1 & random-1-25
Max.#rules \({\leq}3\) \({\leq}6\) \({\leq}9\) \({\leq}12\) \({\leq}15\) \({\leq}18\) \({\leq}21\) \({\leq}24\) \({\leq}27\)
Rate (%) 0 0 67 67 67 67 67 67 67
Best (%) 0.0 0.0 2.1 2.1 2.1 2.1 2.1 2.1 2.1
comb-1 & random-2-25
Rate (%) 33 33 33 33 67 67 67 67 67
Best (%) 2.1 2.1 2.1 2.1 2.2 2.2 2.2 2.2 2.2
comb-2 & random-2-25
Rate (%) 33 33 33 33 33 33 33 33 33
Best (%) 2.1 2.1 2.1 2.1 2.1 2.1 2.1 2.1 2.1
comb-1 & random-4-25
Rate (%) 0 0 0 0 0 0 0 0 0
Best (%) 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
comb-1 & random-1-25
Max. Depth \({\leq}1\) \({\leq}2\) \({\leq}3\) \({\leq}4\) \({\leq}5\)
Rate (%) 0 0 0 0 0
Best (%) 0.0 0.0 0.0 0.0 0.0
comb-1 & random-2-25
Rate (%) 0 0 0 0 0
Best (%) 0.0 0.0 0.0 0.0 0.0
comb-2 & random-2-25
Rate (%) 0 0 0 0 0
Best (%) 0.0 0.0 0.0 0.0 0.0
comb-1 & random-4-25
Rate (%) 0 0 0 0 0
Best (%) 0.0 0.0 0.0 0.0 0.0
No caption
comb-1 & random-1-25
Max. Depth \({\leq}1\) \({\leq}3\) \({\leq}5\) \({\leq}7\) \({\leq}9\) \({\leq}11\) \({\leq}13\) \({\leq}15\) \({\leq}17\) \({\leq}20\)
Rate (%) 0 0 0 0 0 0 0 0 0 0
Best (%) 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
comb-1 & random-2-25
Rate (%) 0 0 0 0 0 0 0 0 0 0
Best (%) 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
comb-2 & random-2-25
Rate (%) 0 0 0 0 0 0 0 0 0 0
Best (%) 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
comb-1 & random-4-25
Rate (%) 0 0 0 0 0 0 0 0 0 0
Best (%) 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
comb-1 & random-1-25
Max. Depth \({\leq}1\) \({\leq}2\) \({\leq}3\) \({\leq}4\) \({\leq}5\)
Rate (%) 22 67 78 89 100
Best (%) 2.5 2.5 2.5 2.5 2.5
comb-1 & random-2-25
Rate (%) 22 56 67 89 89
Best (%) 2.5 2.5 2.5 2.5 2.5
comb-2 & random-2-25
Rate (%) 11 44 67 67 67
Best (%) 0.3 1.5 1.5 1.5 1.5
comb-1 & random-4-25
Rate (%) 0 44 67 89 89
Best (%) 0.0 1.5 2.1 2.1 2.1
No caption
comb-1 & random-1-25
Max. Depth \({\leq}1\) \({\leq}2\) \({\leq}3\) \({\leq}4\) \({\leq}5\) \({\leq}6\) \({\leq}7\) \({\leq}8\) \({\leq}9\) \({\leq}10\)
Rate (%) 0 0 33 33 44 56 78 89 89 89
Best (%) 0.0 0.0 1.1 1.1 1.1 2.0 2.0 2.0 2.0 2.0
comb-1 & random-2-25
Rate (%) 0 0 33 33 33 44 78 78 78 89
Best (%) 0.0 0.0 1.1 1.1 1.1 1.1 1.1 1.1 1.1 1.1
comb-2 & random-2-25
Rate (%) 0 0 22 22 33 56 78 89 89 100
Best (%) 0.0 0.0 1.2 1.2 1.2 1.2 1.6 1.6 1.6 2.7
comb-1 & random-4-25
Rate (%) 0 0 33 33 56 78 78 89 89 89
Best (%) 0.0 0.0 1.2 1.2 1.2 1.2 1.2 1.2 1.2 1.2
comb-1 & random-1-25
Max. Depth \({\leq}1\) \({\leq}2\) \({\leq}3\) \({\leq}4\) \({\leq}5\)
Rate (%) 67 89 100
Best (%) 5.8 5.8 5.8
comb-1 & random-2-25
Rate (%) 56 78 100
Best (%) 3.6 3.6 3.6
comb-2 & random-2-25
Rate (%) 33 67 89 89 100
Best (%) 2.8 4.3 4.3 4.3 4.3
comb-1 & random-4-25
Rate (%) 11 56 78 100
Best (%) 2.8 4.6 4.6 4.6
No caption
comb-1 & random-1-25
Max. Depth \({\leq}1\) \({\leq}2\) \({\leq}3\) \({\leq}4\) \({\leq}5\) \({\leq}6\) \({\leq}7\) \({\leq}8\) \({\leq}9\) \({\leq}10\)
Rate (%) 0 0 33 44 44 78 89 89 100
Best (%) 0.0 0.0 5.9 5.9 5.9 9.1 9.1 9.1 9.1
comb-1 & random-2-25
Rate (%) 0 0 11 56 78 89 89 100
Best (%) 0.0 0.0 4.9 4.9 4.9 6.5 6.5 6.5
comb-2 & random-2-25
Rate (%) 0 0 33 56 67 89 89 89 89 100
Best (%) 0.0 0.0 5.9 5.9 5.9 5.9 5.9 5.9 5.9 5.9
comb-1 & random-4-25
Rate (%) 0 0 11 56 56 78 78 100
Best (%) 0.0 0.0 3.9 5.7 5.7 5.7 5.7 5.7
comb-1 & random-1-25
Max. Depth \({\leq}1\) \({\leq}2\) \({\leq}3\) \({\leq}4\) \({\leq}5\) \({\leq}6\)
Rate (%) 0 0 100
Best (%) 0.0 0.0 2.9
comb-1 & random-2-25
Rate (%) 0 67 100
Best (%) 0.0 2.6 2.6
comb-2 & random-2-25
Rate (%) 0 0 33 67 67 67
Best (%) 0.0 0.0 2.1 2.3 2.3 2.3
comb-1 & random-4-25
Rate (%) 0 0 0 0 67 67
Best (%) 0.0 0.0 0.0 0.0 2.7 2.7
No caption
comb-1 & random-1-25
Max. Depth \({\leq}1\) \({\leq}3\) \({\leq}5\) \({\leq}7\) \({\leq}9\) \({\leq}11\) \({\leq}13\) \({\leq}15\) \({\leq}17\) \({\leq}20\)
Rate (%) 0 38 38 38 38 38 38 38 38 38
Best (%) 0.0 2.6 2.6 2.6 2.6 2.6 2.6 2.6 2.6 2.6
comb-1 & random-2-25
Rate (%) 0 25 25 38 38 38 38 38 38 38
Best (%) 0.0 2.4 2.4 2.6 2.6 2.6 2.6 2.6 2.6 2.6
comb-2 & random-2-25
Rate (%) 43 43 57 57 57 57 57 57 57 57
Best (%) 2.6 2.6 2.6 2.6 2.6 2.6 2.6 2.6 2.6 2.6
comb-1 & random-4-25
Rate (%) 0 0 14 14 14 29 43 43 43
Best (%) 0.0 0.0 2.7 2.7 2.7 2.7 2.7 2.7 2.7

Figure 11: image.

9 Interactive State Visualization Tool↩︎

The code in interactive_representation.py implements an interactive tool for exploring the regions of a learned Orcaid model. The tool enables users to manually manipulate the state of some Gymnasium environments and observe which region the model assigns the state to, together with its corresponding action formula. Fig. 11 displays the Hopper environment in a position set manually by the user via the interface in Fig. [fig:interface95hopper]. It shows that it is in Region 1 from an Orcaid model whose linear models are displayed at the bottom of the interface.

9.1 Core Functionality↩︎

The tool’s primary purpose is to facilitate the understanding of an Orcaid learned model. It achieves this by:

Providing a graphical interface to set any valid state of the environment (Fig. [fig:interface95hopper]).

Instantaneously determining the Orcaid region for the current state (Fig. [fig:interface95hopper]).

Displaying the linear model that defines the policy within that region (Fig. [fig:interface95hopper]).

Visually updating the environment’s rendering to reflect the new state (Fig. 11).

9.2 Workflow and User Interaction↩︎

The typical workflow for a user of this tool is as follows:

Initialization: The user runs the script selecting an Orcaid model, which creates the environment and loads the model.

Exploration: The user sees a window with the environment rendering and a separate control panel.

Manipulation: By moving the sliders for qpos and qvel, the user can set the environment to any state. As they move a slider:

The environment updates.

The corresponding region of the current state for the Orcaid updates, showing the conditions and the linear model for that region, as well as the output of that model given the current state.

Hypothesis Testing: A researcher can use this to answer questions like:

“What is the policy at the edge of this region?"

“Does the model’s behavior in this region match my physical intuition?"

“How much do I need to change a certain feature to move to a different region?"

10 LLM-as-a-Judge↩︎

Quantitative metrics for model explainability, such as tree depth or number of rules, and model size, often fail to capture the semantic quality of an explanation. A model with a thousand simple but arbitrary rules is not necessarily more explainable than a model with a few complex but physically meaningful partitions. Human evaluation remains the gold standard but is costly and potentially biased.

To address this problem, we have taken the LLM-as-a-Judge framework. We have created a domain-specific evaluation questionnaire with associated rubrics to enable an LLM to act as a control expert and determine whether a model is globally explainable. We demonstrate this by comparing Orcaid with decision trees, which are typically assumed to be explainable, and with Cubist, which has the most similar reward ratio w.r.t. Orcaid.

10.1 Methodology↩︎

Our methodology consists of three main steps: (1) Context generation, (2) prompt and rubric design, and (3) execution and analysis.

10.1.1 Evidence and Context Generation↩︎

For a fair comparison, we standardize the “case file" provided to the LLM judge for each model. The case file contains:

Problem Definition. A description of the control task copied directly from the Gymnasium Documentation.

Model Representation. In order not to introduce bias into the model, we introduced the models as Model A and Model B, instead of naming them. Each feature in the model is named according to its documentation, representing a clear physical input of the model.

Model A (Orcaid): A textual description of the model with the definitions of the conditions to split the state space, the conditions for each region, and the linear models in each region.

Model B (Decision Tree): The full text describing the tree in an indented manner.

Model B (Cubist): The list of rules with their conditions and linear models per target, as a textual description.

10.1.2 Prompt and Rubric Design↩︎

We first assigned a persona (a control expert), then provided the model’s case file, and finally asked the LLM to evaluate the models based on the following questionnaire. Based on the list suggested by [46], we included 7 explainability-related questions. Additionally, we designed 8 domain-specific questions, as shown below. We assigned a meaning to each question’s score so that each LLM’s score would have the same meaning, allowing us to later summarize them all together. Each criterion is scored on a 1-5 Likert scale (5: best, 1: worst). LLMs must also provide a justification for each score, forcing them to “think” more and produce more accurate results.

10.1.2.1 Principles:

Robustness: Is the explanation consistent and reliable across different input conditions, avoiding significant variations or failures when the model is subjected to slight perturbations in the environment?
Rubrics:
5: Explanation remains unchanged under slight perturbations.
3: Slight perturbations cause noticeable changes in the explanation or in the operating modes it captures, while preserving core decision logic.
1: Explanations fail or change drastically when subjected to slight perturbations.

Bias: Does the explanation account for and reveal potential biases in the RL agent’s decision-making, ensuring that it does not systematically favor or disadvantage certain actions?
Rubrics:
5: The explanation reveals any bias in the RL agent’s decisions and provides insight into the cause for bias.
3: The explanation reveals sources of bias, but fails to capture causes, e.g., resulting from the environment.
1: The explanation completely ignores sources of systematic bias.

Transferability: Can the insights derived from the explanation be applied to similar RL models, different environments, or other tasks, ensuring generalizability beyond a single use case?
Rubrics:
5: The explanation supports reasoning about policies with partially deviating behavior and about environment variations, e.g., local obstacles or additional features.
3: The explanation supports reasoning about either policies with deviating behavior or slight environment variations, but not both.
1: The explanation overfits to the given RL policy and environments.

Human Comprehensibility: Is the explanation structured in a way that aligns with human cognitive abilities, avoiding excessive complexity while maintaining interpretability?
Rubrics:
5: A user could trace what factors led to an action decision through a low number of intuitive steps.
3: A user could trace what factors led to an action decision through either a large number of steps, requiring memorization of intermediate decisions, or steps requiring complex computation.
1: Decisions are hard to trace, requiring a large number of steps, memorization of intermediate steps, and following unintuitive decision-making.

Transparency: Does the explanation offer a clear and verifiable account of the RL agent’s decision-making process?
Rubrics:
5: The explanation captures all decision-relevant details, and its complexity admits verification and validation.
3: Some factors leading to a decision are omitted and verification and validation requires substantial engineering.
1: The explanation obscures essential details, and verification and validation are infeasible.

10.1.2.2 Good explanations:

Selective: Does the explanation focus on the most relevant and influential factors affecting the agent’s decision, avoiding unnecessary details that may overwhelm the user?
Rubrics:
5: The explanation includes mostly relevant details.
3: The explanation contains relevant details, but also details that are not necessary.
1: The explanation comprises a significant portion of unnecessary details, making it infeasible to discern what details are relevant.

Facilitating Actions: Does the explanation provide actionable insights that enable the user to modify inputs, adjust policies, or intervene effectively based on the RL system’s decision-making process?
5: The explanation provides sufficient insight for a user familiar with the environment to modify or monitor the agent’s policy, e.g., adapting to state-space changes or behavior shifts.
3: The explanation provides some insight, but modifications require familiarity with the control policy.
1: The explanation does not provide insights that support modifications with reasonable effort.

10.1.2.3 Domain-specific:

Physical coherence: Does the model’s partitioning of the state space align with the system’s meaningful physical regimes or modes? Or are the regions arbitrary, non-intuitive, and too small from a physics perspective?
Rubrics:
5: The partitions correspond to operating modes expected in the given environment, and a user can connect them to physical regimes/dynamics.
3: Some partitions reflect expected operating modes, while some are arbitrary. Establishing a connection to the dynamics requires minor mathematical transformations.
1: There is no intuitive connection between conditions in the explanation and the environment’s dynamics and physical properties.

Granularity and partitioning: How well does the model structure the state space into meaningful regions? Are these regions too large or too small? Are there any arbitrary or poorly defined regions? Is there a risk of overfitting due to excessive partitioning?
Rubrics:
5: Regions have clear, interpretable semantic meaning derived from shared constraints that align with the environment’s physical dynamics and are appropriately sized to balance complexity and interpretability.
3: Some regions have partial semantic meaning, but others are small, fragmented, or unrelated to the environment’s dynamics. Interpretability is limited.
1: Regions are arbitrary, tiny clusters with no semantic or structural coherence, making them completely uninterpretable.

Debugging: After a failure, how easy would it be to diagnose the problem? Does the model’s structure help to identify a certain physical regime, or does it give you a rule that failed in a particular small region of the state space?
Rubrics:
5: Failures can be traced to decisions in specific regions and the cause of failures can be deduced with moderate effort.
3: Users need to consider various regions and alternative decisions to trace failures, and failure causes cannot be unambiguously deduced.
1: Users need to invest substantial effort into tracing failures, e.g., studying the complete explanation, and deducing the causes of failures is hardly feasible.

Interpretability of Regions: Do regions correspond to physical behaviors? Is it easy to interpret what each region represents in terms of system dynamics?
Rubrics:
5: Users knowing the environment understand the aspects of system dynamics that prompted the definition of most regions.
3: Users knowing the environment understand the aspects of system dynamics that prompted the definition of several regions, while others do not correspond to system dynamics.
1: Users who know the environment very well cannot establish a connection between system dynamics and regions in the explanation.

Global Interpretability: Is the high-level decision-making intuitive, or is it obscured by complexity?
Rubrics:
5: Regions are appropriately sized to capture complex, meaningful behaviors without overfitting. They balance granularity and interpretability while maintaining clear semantic links to the environment’s dynamics.
3: Some regions are small or unrelated, reducing interpretability. Others capture partial semantic meaning but lack cohesion, with a mix of useful and fragmented partitions.
1: Regions are tiny, arbitrary clusters with no clear meaning, making them completely uninterpretable and disconnected from the system’s behavior.

Minimal Granularity: Is the number of regions justified by the system’s behavior and the environment’s complexity? Are there too many regions, leading to unnecessary complexity, excessive noise, and a failure to capture the essential dynamics?
Rubrics:
5: The number of regions is minimal and justified by the environment’s complexity and efficient policies. Regions capture essential dynamics without redundancy, balancing simplicity and completeness.
3: The number of regions is larger than expected for the complexity of the environment and efficient policies, leading to unnecessary cognitive load.
1: The number of regions is excessive, creating a high cognitive load. Regions are overly fragmented, with no clear justification for their quantity.

Stability Across Regions: Are transitions between regions smooth and predictable?
Rubrics:
5: Regions adjacent to each other generally predict similar actions, especially on the borders. Sudden changes in the region’s borders are justified by environmental dynamics.
3: Transitioning between regions causes jumps unnecessarily, but the magnitude of jumps is generally small. Predicting the jumps and their magnitude is not always possible.
1: The explanation generally shows non-smooth behavior with unpredictable jumps in the predicted actions.

Simplicity: Is the number of parameters justified, or are there too many, making it unnecessarily harder to understand?
Rubrics:
5: The number of parameters is minimal and well justified, directly aligning with the environment’s state-space structure and action prediction needs. Parameters are interpretable and contribute to clear, concise explanations.
3: The number of parameters is larger than ideal, with some redundancy. Parameters could be reduced while still adequately explaining actions, but interpretability is moderate.
1: The number of parameters is excessive, making the explanation infeasible to understand.

10.1.2.4 Final:

Verdict: Declare the winning model. Base your conclusion on the previous answers and on the principles of control theory and robotics. An explainable controller should be understandable, trustworthy, and verifiable. Coherence, stability, and adaptability of the global policy are important measures of explainability in this context.

10.1.3 Execution and Analysis↩︎

We used six SOTA LLMs available for free for a limited number of requests at https://openrouter.ai/:

xiaomi/mimo-v2-flash:free,

meta-llama/llama-3.3-70b-instruct:free,

deepseek/deepseek-r1-0528:free,

z-ai/glm-4.5-air:free,

qwen/qwen3-coder:free,

openai/gpt-oss-120b:free.

Every surrogate for every LLM was evaluated at a low temperature of 0.2 to get more coherent and reproducible answers. The average scores and standard errors are shown in Table 2 and Table 3.

10.1.4 Model A: Orcaid Case File↩︎

The following lines show the case file provided to the LLMs to represent an Orcaid model for Pendulum.

Model Representation:
C0: -0.24y - 0.97ang_vel <= -0.60
C1: -0.19x - 0.41y - 0.89ang_vel <= -0.87
C2: 0.30x - 0.39y - 0.87ang_vel <= -0.33
Region 0:
C0 & C1
Model: z = -4.94x + -4.66y + 6.07
Region 1:
C0 & not C1
Model: z=-1.11x-1.04y-1.41ang_vel+3.47
Region 2:
C2 & not C0
Model: z = 2.54x - 1.05y - 1.55
Region 3:
not C0 & not C2
Model: z = 2.74x + 3.20*y - 2.80

10.1.5 Model B: Decision Tree Case File↩︎

The following text shows the case file provided to the LLMs to represent a DT model for Pendulum, simplified for readability purposes.

Model Representation:
|--- ang_vel <= 0.48
| |--- x <= 0.40
| | |--- y <= 0.66
| | | |--- x <= 0.33
| | | | |--- ang_vel <= 0.06
| | | | | |--- x <= 0.16
| | | | | | |--- x <= 0.13
| | | | | | | |--- value: [-1.96]

[... removed 204 lines ...]

| | | |--- x > 0.78
| | | | |--- ang_vel <= 0.48
| | | | | |--- value: [0.49]
| | | | |--- ang_vel > 0.48
| | | | | |--- ang_vel <= 0.51
| | | | | | |--- value: [-1.41]
| | | | | |--- ang_vel > 0.51

10.1.6 Full LLM Evaluation Prompt↩︎

The following prompt was given to the LLMs for each environment. The prompt also included instructions to format their answers according to a given JSON structure, which is omitted for better readability.

You are an expert in robotics and control systems, tasked with auditing the explainability and trustworthiness of two different surrogate models that were learned from a reinforcement learning model using imitation learning.

[Gymnasium Description]

Model A is defined as follows:

[Model A Case File]

Model B is defined as follows:

[Model B Case File]

Your goal is to determine which model is more understandable, verifiable, and ultimately more trustworthy for deployment. Please evaluate both using the following rubric. Each criterion is scored on a 1-5 Likert scale, with 5 indicating a strong positive answer (’Excellent’) and 1 indicating a strong negative answer (’Very Poor’). You are also required to provide a brief justification for each score.

[Questionnaire]

10.2 Results↩︎

Table 2 shows the average score across the 6 LLMs per question and per environment when comparing Orcaid with DT. One can see that Orcaid scores better on most questions across all environments, except Hopper and Half Cheetah. For Hopper, the scores are mixed, and for Half Cheetah, DT shows slightly better results. However, Orcaid and DT are not comparable for Half Cheetah since Orcaid performs much better (reward ratio \(\sim\!75\%\) vs \(\sim\! 47\%\)). Analogously, Table 3 shows the score average for the comparison between Orcaid and Cubist, where Orcaid outperforms Cubist across all environments, with the exception of Hopper, where results are mixed.

These results clearly indicate that Orcaid might be more interpretable than DTs and Cubist, especially when the latter have similar performance to Orcaid. This is even more noticeable in the examples when Orcaid models are built from oblique trees with a small depth.

Table 2: Average scores across the 6 LLMs for the 15 questions when asked to compare and Decision Trees, per environment.
Env. Model Question
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
3.7\(\pm\)0.8 3.5\(\pm\)0.8 3.8\(\pm\)0.8 4.7\(\pm\)0.5 4.8\(\pm\)0.4 4.8\(\pm\)0.4 4.7\(\pm\)0.5 3.8\(\pm\)1.3 4.3\(\pm\)1.0 4.7\(\pm\)0.5 4.3\(\pm\)1.0 4.5\(\pm\)0.8 4.7\(\pm\)0.8 3.8\(\pm\)1.0 4.7\(\pm\)0.8
DT 2.0\(\pm\)0.9 2.8\(\pm\)0.4 1.7\(\pm\)0.8 2.0\(\pm\)0.9 2.5\(\pm\)0.8 2.5\(\pm\)0.5 2.7\(\pm\)0.8 2.5\(\pm\)0.8 2.2\(\pm\)0.8 2.2\(\pm\)0.8 2.3\(\pm\)0.8 2.2\(\pm\)0.8 1.3\(\pm\)0.8 1.8\(\pm\)0.8 1.5\(\pm\)0.8
3.5\(\pm\)0.5 3.3\(\pm\)0.8 3.7\(\pm\)0.5 4.0\(\pm\)0.0 4.3\(\pm\)0.5 4.0\(\pm\)0.0 4.2\(\pm\)0.4 3.7\(\pm\)0.8 4.0\(\pm\)0.6 4.3\(\pm\)0.5 3.7\(\pm\)0.8 4.3\(\pm\)0.5 4.3\(\pm\)0.5 3.7\(\pm\)0.8 4.5\(\pm\)0.5
DT 2.2\(\pm\)0.4 2.0\(\pm\)0.0 1.8\(\pm\)0.4 1.5\(\pm\)0.5 2.2\(\pm\)0.8 1.5\(\pm\)0.5 2.0\(\pm\)0.6 2.0\(\pm\)0.6 1.3\(\pm\)0.5 1.7\(\pm\)0.5 1.5\(\pm\)0.8 1.3\(\pm\)0.5 1.2\(\pm\)0.4 1.7\(\pm\)0.8 1.2\(\pm\)0.4
3.2\(\pm\)0.4 3.3\(\pm\)0.8 3.5\(\pm\)0.8 4.0\(\pm\)0.9 4.2\(\pm\)1.0 3.5\(\pm\)0.8 4.0\(\pm\)0.9 3.0\(\pm\)1.8 3.8\(\pm\)1.0 4.0\(\pm\)0.9 3.0\(\pm\)1.8 4.0\(\pm\)0.9 4.0\(\pm\)0.9 3.2\(\pm\)1.3 4.0\(\pm\)0.9
DT 1.5\(\pm\)0.8 2.5\(\pm\)0.8 1.7\(\pm\)0.8 1.3\(\pm\)0.5 2.2\(\pm\)1.0 1.8\(\pm\)1.0 1.7\(\pm\)0.8 2.5\(\pm\)0.8 1.2\(\pm\)0.4 1.5\(\pm\)0.8 1.8\(\pm\)1.0 1.2\(\pm\)0.4 1.2\(\pm\)0.4 1.3\(\pm\)0.5 1.3\(\pm\)0.5
4.0\(\pm\)0.9 3.5\(\pm\)0.8 4.3\(\pm\)0.8 5.0\(\pm\)0.0 5.0\(\pm\)0.0 4.8\(\pm\)0.4 5.0\(\pm\)0.0 4.0\(\pm\)0.9 4.7\(\pm\)0.8 4.7\(\pm\)0.8 4.3\(\pm\)1.0 4.7\(\pm\)0.8 4.7\(\pm\)0.8 4.2\(\pm\)1.0 5.0\(\pm\)0.0
DT 2.0\(\pm\)0.9 2.8\(\pm\)0.4 1.7\(\pm\)0.8 1.7\(\pm\)0.8 2.7\(\pm\)0.5 2.3\(\pm\)0.8 2.3\(\pm\)0.8 1.8\(\pm\)1.0 1.5\(\pm\)0.8 1.5\(\pm\)0.8 1.7\(\pm\)1.0 1.5\(\pm\)0.8 1.3\(\pm\)0.8 1.7\(\pm\)0.8 1.3\(\pm\)0.8
3.7\(\pm\)0.8 3.3\(\pm\)1.0 3.7\(\pm\)0.8 4.0\(\pm\)0.9 4.2\(\pm\)0.8 3.8\(\pm\)1.0 3.8\(\pm\)1.0 3.8\(\pm\)1.0 4.0\(\pm\)0.9 4.2\(\pm\)0.8 4.0\(\pm\)0.9 4.0\(\pm\)0.9 4.5\(\pm\)0.8 3.7\(\pm\)1.2 4.2\(\pm\)0.8
DT 1.5\(\pm\)0.5 2.5\(\pm\)0.5 1.8\(\pm\)0.8 1.3\(\pm\)0.8 2.0\(\pm\)0.9 1.7\(\pm\)0.8 1.5\(\pm\)0.8 2.3\(\pm\)0.5 1.3\(\pm\)0.8 1.5\(\pm\)0.8 1.7\(\pm\)1.0 1.3\(\pm\)0.8 1.3\(\pm\)0.8 1.3\(\pm\)0.8 1.5\(\pm\)0.8
3.0\(\pm\)0.6 2.8\(\pm\)0.4 3.2\(\pm\)1.2 2.8\(\pm\)0.8 3.5\(\pm\)0.8 2.7\(\pm\)0.8 3.2\(\pm\)1.2 3.3\(\pm\)1.0 2.8\(\pm\)0.8 3.2\(\pm\)1.2 3.2\(\pm\)1.2 3.3\(\pm\)1.0 3.7\(\pm\)1.4 3.0\(\pm\)0.6 3.2\(\pm\)1.2
DT 2.5\(\pm\)1.2 3.2\(\pm\)0.8 2.3\(\pm\)1.4 2.5\(\pm\)1.4 3.5\(\pm\)0.8 2.8\(\pm\)1.2 3.3\(\pm\)1.0 3.5\(\pm\)1.0 2.3\(\pm\)1.5 3.2\(\pm\)1.5 3.0\(\pm\)1.4 2.5\(\pm\)1.6 2.0\(\pm\)1.7 2.3\(\pm\)1.5 2.3\(\pm\)1.5
3.8\(\pm\)0.8 3.7\(\pm\)0.8 4.0\(\pm\)0.6 4.5\(\pm\)0.5 4.8\(\pm\)0.4 4.5\(\pm\)0.8 4.7\(\pm\)0.5 4.0\(\pm\)0.6 4.0\(\pm\)0.9 4.7\(\pm\)0.5 3.8\(\pm\)0.8 4.7\(\pm\)0.5 4.5\(\pm\)0.8 3.8\(\pm\)0.8 4.7\(\pm\)0.5
DT 1.8\(\pm\)0.8 2.3\(\pm\)0.5 1.8\(\pm\)0.4 1.7\(\pm\)0.5 2.2\(\pm\)0.8 2.5\(\pm\)1.4 2.0\(\pm\)0.6 2.3\(\pm\)0.5 1.3\(\pm\)0.5 1.7\(\pm\)0.5 1.8\(\pm\)0.8 1.5\(\pm\)0.5 1.2\(\pm\)0.4 1.5\(\pm\)0.5 1.2\(\pm\)0.4
2.7\(\pm\)0.8 2.7\(\pm\)0.5 3.0\(\pm\)0.6 2.5\(\pm\)1.4 3.3\(\pm\)0.5 2.5\(\pm\)1.4 3.2\(\pm\)0.8 2.3\(\pm\)1.0 2.2\(\pm\)1.0 2.8\(\pm\)1.2 1.8\(\pm\)1.0 2.3\(\pm\)1.2 2.8\(\pm\)1.3 2.5\(\pm\)0.8 2.5\(\pm\)1.4
DT 2.7\(\pm\)1.0 2.5\(\pm\)1.0 2.5\(\pm\)1.0 3.2\(\pm\)1.2 3.5\(\pm\)1.2 3.5\(\pm\)1.4 3.3\(\pm\)1.6 3.3\(\pm\)1.5 2.3\(\pm\)1.2 3.0\(\pm\)1.4 3.2\(\pm\)1.3 2.3\(\pm\)1.2 1.8\(\pm\)1.3 2.3\(\pm\)1.2 2.5\(\pm\)1.0
2.7\(\pm\)0.8 2.7\(\pm\)1.4 2.8\(\pm\)1.3 2.5\(\pm\)1.0 2.8\(\pm\)0.8 2.5\(\pm\)1.0 2.7\(\pm\)1.2 2.8\(\pm\)1.3 2.7\(\pm\)1.4 2.8\(\pm\)1.3 2.7\(\pm\)1.4 2.5\(\pm\)1.4 2.7\(\pm\)1.4 2.5\(\pm\)1.0 2.2\(\pm\)1.0
DT 2.5\(\pm\)1.0 3.3\(\pm\)1.2 2.7\(\pm\)0.8 3.0\(\pm\)0.9 3.2\(\pm\)1.2 3.5\(\pm\)0.8 3.0\(\pm\)1.1 3.3\(\pm\)1.2 2.7\(\pm\)1.4 3.3\(\pm\)1.5 3.2\(\pm\)1.5 2.8\(\pm\)1.5 2.5\(\pm\)1.5 2.7\(\pm\)1.4 2.7\(\pm\)1.4

1.75pt

Table 3: Average scores across the 6 LLMs for the 15 questions when asked to compare and Cubist, per environment.
Env. Model Question
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
3.8\(\pm\)0.8 3.2\(\pm\)0.4 3.8\(\pm\)0.8 4.7\(\pm\)0.5 5.0\(\pm\)0.0 4.8\(\pm\)0.4 4.7\(\pm\)0.5 4.5\(\pm\)0.5 4.3\(\pm\)0.8 4.5\(\pm\)0.8 4.3\(\pm\)0.8 4.8\(\pm\)0.4 4.7\(\pm\)0.5 3.8\(\pm\)0.8 4.8\(\pm\)0.4
DT 2.5\(\pm\)0.8 3.3\(\pm\)1.0 2.2\(\pm\)0.8 2.3\(\pm\)0.5 3.0\(\pm\)0.0 2.8\(\pm\)0.4 2.7\(\pm\)0.5 2.7\(\pm\)0.5 2.5\(\pm\)0.5 2.8\(\pm\)0.8 2.7\(\pm\)0.8 2.3\(\pm\)0.5 1.5\(\pm\)0.8 1.7\(\pm\)0.5 1.8\(\pm\)0.8
4.2\(\pm\)1.0 3.7\(\pm\)0.8 4.0\(\pm\)0.9 5.0\(\pm\)0.0 5.0\(\pm\)0.0 5.0\(\pm\)0.0 5.0\(\pm\)0.0 4.3\(\pm\)1.0 4.7\(\pm\)0.8 5.0\(\pm\)0.0 4.3\(\pm\)1.0 5.0\(\pm\)0.0 5.0\(\pm\)0.0 4.0\(\pm\)1.1 5.0\(\pm\)0.0
DT 2.2\(\pm\)1.0 3.0\(\pm\)0.0 2.0\(\pm\)0.9 1.2\(\pm\)0.4 2.3\(\pm\)0.8 2.0\(\pm\)0.9 2.5\(\pm\)0.8 1.8\(\pm\)1.0 1.2\(\pm\)0.4 1.7\(\pm\)1.0 1.5\(\pm\)0.8 1.3\(\pm\)0.8 1.0\(\pm\)0.0 1.3\(\pm\)0.5 1.0\(\pm\)0.0
3.5\(\pm\)0.5 3.0\(\pm\)0.6 3.5\(\pm\)0.5 3.5\(\pm\)0.5 3.8\(\pm\)0.8 3.8\(\pm\)0.4 3.7\(\pm\)0.5 3.8\(\pm\)0.8 3.7\(\pm\)0.5 3.8\(\pm\)0.8 3.7\(\pm\)1.0 3.8\(\pm\)0.8 3.8\(\pm\)0.8 3.7\(\pm\)0.5 4.0\(\pm\)0.6
DT 2.0\(\pm\)0.6 2.0\(\pm\)0.6 1.8\(\pm\)0.4 1.5\(\pm\)0.5 2.0\(\pm\)0.6 2.0\(\pm\)0.6 2.0\(\pm\)0.9 2.0\(\pm\)0.6 1.5\(\pm\)0.5 1.8\(\pm\)0.8 1.8\(\pm\)0.8 1.5\(\pm\)0.5 1.2\(\pm\)0.4 1.8\(\pm\)0.4 1.2\(\pm\)0.4
4.0\(\pm\)0.9 3.0\(\pm\)1.1 3.8\(\pm\)0.8 4.7\(\pm\)0.8 5.0\(\pm\)0.0 4.7\(\pm\)0.5 4.8\(\pm\)0.4 3.8\(\pm\)1.6 3.7\(\pm\)1.6 4.5\(\pm\)0.8 4.3\(\pm\)1.0 4.5\(\pm\)0.8 4.3\(\pm\)1.0 3.5\(\pm\)1.5 4.7\(\pm\)0.8
DT 2.8\(\pm\)1.3 3.0\(\pm\)0.0 2.5\(\pm\)0.8 2.8\(\pm\)1.0 3.3\(\pm\)0.5 3.5\(\pm\)0.8 3.3\(\pm\)0.5 3.2\(\pm\)1.3 2.8\(\pm\)1.3 3.2\(\pm\)1.3 3.2\(\pm\)1.3 2.8\(\pm\)1.3 2.7\(\pm\)1.0 2.5\(\pm\)0.8 2.3\(\pm\)1.2
3.7\(\pm\)0.8 3.7\(\pm\)0.8 3.8\(\pm\)0.8 4.3\(\pm\)0.8 5.0\(\pm\)0.0 4.7\(\pm\)0.5 4.7\(\pm\)0.5 4.7\(\pm\)0.8 4.8\(\pm\)0.4 4.8\(\pm\)0.4 4.7\(\pm\)0.8 5.0\(\pm\)0.0 4.8\(\pm\)0.4 4.0\(\pm\)0.9 5.0\(\pm\)0.0
DT 1.7\(\pm\)0.8 2.3\(\pm\)0.8 1.8\(\pm\)0.8 1.2\(\pm\)0.4 1.5\(\pm\)0.5 1.7\(\pm\)0.8 1.5\(\pm\)0.5 1.5\(\pm\)0.5 1.0\(\pm\)0.0 1.0\(\pm\)0.0 1.2\(\pm\)0.4 1.0\(\pm\)0.0 1.0\(\pm\)0.0 1.2\(\pm\)0.4 1.0\(\pm\)0.0
3.3\(\pm\)0.5 2.5\(\pm\)1.2 3.3\(\pm\)0.5 3.5\(\pm\)1.0 3.8\(\pm\)0.8 3.8\(\pm\)0.8 3.7\(\pm\)0.8 3.7\(\pm\)1.0 4.0\(\pm\)0.6 4.2\(\pm\)0.8 3.7\(\pm\)1.0 3.8\(\pm\)0.8 4.2\(\pm\)0.8 3.8\(\pm\)0.8 3.8\(\pm\)0.8
DT 1.7\(\pm\)0.8 2.0\(\pm\)1.1 1.8\(\pm\)0.8 1.5\(\pm\)0.8 2.2\(\pm\)0.8 2.5\(\pm\)1.2 2.0\(\pm\)0.9 2.3\(\pm\)0.8 1.7\(\pm\)0.8 1.7\(\pm\)0.8 2.3\(\pm\)0.8 1.7\(\pm\)0.8 1.3\(\pm\)0.8 1.8\(\pm\)0.8 1.3\(\pm\)0.8
4.0\(\pm\)0.6 3.0\(\pm\)0.6 3.8\(\pm\)0.4 4.8\(\pm\)0.4 5.0\(\pm\)0.0 4.8\(\pm\)0.4 4.8\(\pm\)0.4 4.2\(\pm\)0.4 4.7\(\pm\)0.8 4.8\(\pm\)0.4 4.3\(\pm\)0.8 4.8\(\pm\)0.4 4.7\(\pm\)0.8 4.3\(\pm\)0.8 5.0\(\pm\)0.0
DT 2.0\(\pm\)0.6 2.5\(\pm\)0.8 1.5\(\pm\)0.5 1.3\(\pm\)0.5 1.5\(\pm\)0.5 1.3\(\pm\)0.5 1.7\(\pm\)0.5 1.7\(\pm\)0.5 1.2\(\pm\)0.4 1.2\(\pm\)0.4 1.2\(\pm\)0.4 1.2\(\pm\)0.4 1.2\(\pm\)0.4 1.2\(\pm\)0.4 1.0\(\pm\)0.0
3.0\(\pm\)0.0 2.8\(\pm\)0.4 2.9\(\pm\)0.5 3.2\(\pm\)0.5 2.9\(\pm\)1.0 3.5\(\pm\)1.0 3.5\(\pm\)0.8 2.5\(\pm\)1.0 3.0\(\pm\)0.8 2.7\(\pm\)1.0 3.5\(\pm\)1.0 2.9\(\pm\)1.0 2.5\(\pm\)1.0 2.7\(\pm\)1.0 2.5\(\pm\)1.0
DT 2.5\(\pm\)1.4 3.2\(\pm\)0.4 2.5\(\pm\)1.2 2.8\(\pm\)1.2 3.0\(\pm\)1.3 3.5\(\pm\)0.8 3.7\(\pm\)1.5 3.5\(\pm\)0.8 2.7\(\pm\)1.6 3.5\(\pm\)1.5 3.5\(\pm\)0.8 2.5\(\pm\)1.5 2.5\(\pm\)1.5 2.7\(\pm\)1.5 2.5\(\pm\)1.5
3.7\(\pm\)1.2 2.8\(\pm\)1.2 4.0\(\pm\)1.1 2.7\(\pm\)1.2 3.3\(\pm\)0.8 2.8\(\pm\)1.2 3.2\(\pm\)1.0 4.0\(\pm\)1.1 3.5\(\pm\)1.2 3.5\(\pm\)1.0 4.0\(\pm\)1.1 3.8\(\pm\)1.2 3.5\(\pm\)1.2 3.8\(\pm\)1.2 3.5\(\pm\)1.2
DT 2.5\(\pm\)0.5 3.3\(\pm\)1.0 2.7\(\pm\)0.5 3.3\(\pm\)1.4 3.5\(\pm\)1.4 3.5\(\pm\)1.0 3.3\(\pm\)1.4 2.5\(\pm\)0.5 2.2\(\pm\)1.0 3.0\(\pm\)1.4 2.2\(\pm\)1.0 2.2\(\pm\)1.0 2.2\(\pm\)1.0 2.7\(\pm\)0.5 2.2\(\pm\)1.0

1.75pt

10.2.1 Qualitative Analysis↩︎

LLM’s justifications explained the scores. As an example, for Pendulum with Orcaid depth 2 (Model A) and DT depth 7 (Model B), a judge explained its verdict towards Orcaid as follows:

“Model A [Orcaid]’s strategy is clear, sound, and physically motivated. It decomposes the complex pendulum problem into a small number of physically meaningful regimes, each governed by a simple, analyzable law. This structure provides a direct path to understanding, verification, and debugging. Its global policy is coherent and robust".

On the other hand, the DT model was criticized:

“Model B [DT]’s strategy is non-existent. It is a high-resolution, data-driven lookup table that has memorized a solution. Its individual rules are simple, but the resulting global policy is a chaotic patchwork with no discernible physical basis. This lack of an overarching strategy makes it a black box, rendering it unverifiable, brittle, and ultimately untrustworthy for a real-world deployment".

Judges usually highlighted the small number of regions and parameters of Orcaid. In contrast, they criticized the excessive number of conditions/rules in the DT and Cubist models. They suggested that Orcaid regions could more likely be associated with different modes of operations, whereas DT and Cubist partitions seemed to be arbitrary and too granular.

Therefore, the results support our hypothesis that Orcaid models can be interpretable. The LLM-as-a-Judge successfully identified and valued the semantic quality of Orcaid’s global strategy.

Table 4: Hyperparameters per environment for reinforcement learning per environment.
# steps Policy Architecture Act. fun. Batch Buffer \(\gamma\) Grad. steps Learn. rate Train. freq. Learn. starts
150k MLP [512,256,128,64] ReLU 256 20k 0.95 -1 \(10^{-4}\) 1 100
300k MLP [400, 300] ReLU 256 20k 0.98 1 \(10^{-4}\) 1 1k
2000k MLP [400, 300] ReLU 256 200k 0.98 1 \(10^{-3}\) 1 10k
750k MLP [400, 300] ReLU 256 20k 0.98 1 \(10^{-4}\) 1 1k
3000k MLP [400, 300] ReLU 256 1000k 0.99 1 \(10^{-5}\) 1 10k
1000k MLP [400, 300] ReLU 256 200k 0.99 1 \(10^{-3}\) 1 10k
2000k MLP [400, 300] ReLU 256 1000k 0.9999 1 \(10^{-3}\) 1 10k
3000k MLP [400, 300] ReLU 256 1000k 0.99 1 \(3\cdot10^{-4}\) 2 25k
250k MLP [400, 300] ReLU 256 1000k 0.99 1 \(10^{-3}\) 1 10k

1.5pt

Table 5: Hyperparameters per environment for .
Environment all surrogates
#steps #clusters #samples \(\sigma\) max_mse
1k 4 1k 0.15 0.05
20k 15 5k 0.15 0.2
50k 30 5k 0.15 0.05
20k 25 5k 0.15 0.45
100k 100 20k 0.05 0.001
100k 100 20k 0.05 0.002
100k 100 20k 0.15 0.05
100k 400 20k 0.02 0.01
100k 6k 40k 0.01 0.01

10.3 Limitations↩︎

Our methodology depends on prompt design and may be sensitive to the specific LLM version. We mitigated these dependencies by using a subset of the given list in [46], homogenizing the questions across all LLMs by providing explanations for the scores, and reducing randomness by setting a low temperature and using multiple LLMs. A more extensive analysis of different LLMs and learned models, together with a human evaluation, is an important direction for future work.

11 Hyperparameters↩︎

Table 4 shows the hyperparameters used for training an agent using RL for each environment. They are the ones that can be adjusted with Stable Baselines3 (SB3). Hyperparameters not listed in the table use their default values.

These hyperparameters were selected using RL Baselines3 Zoo and Hugging Face (https://huggingface.co/) models as references. However, they were slightly fine-tuned to reduce the number of training steps and speed up convergence. One can see that most of the values are similar across environments. Convergence was reached before the end of the training steps, ensuring the RL agent had sufficient performance.

Table 5 presents the hyperparameters for Orcaid used for the experiments in the paper. Each of the hyperparameters is described as follows:

#steps: Number of steps collected from the executions of the agent interacting with the environment.

max_mse: A leaf stops growing if its MSE does not exceed max_mse. It appears in Alg.  3 . It is not scaled in the action range, so MSE values across domains cannot be compared unless one adjusts them by multiplying by \(1/(h-l)\), where \(h\) and \(l\) are the highest and lowest action values. This adjustment is made in the body of the paper, not here, because the non-scaled MSE is the one provided to our tool that implements Orcaid.

#clusters: Number of clusters used for clustering the original data collected from the executions. The algorithm that is used to cluster the points is K-means due to its high efficiency.

#samples: Number of data points sampled from the clusters, to which noise was added.

\(\sigma\): Standard deviation of the normal distribution function used to add noise to the sampled clusters.

Recall that \(\epsilon\), the relative error threshold to merge adjacent regions (stop condition no. 3, “rel. improvement” in the paper), is set to \(0.05\) for all the experiments. Also, the MSE threshold to merge regions is set to \(\tau=2\cdot\)max_mse for all the experiments. There are two main reasons to set a higher MSE threshold like this. First, this creates a more granular partition of the state space by allowing finer splits. Second, it provides flexibility to later combine smaller regions into larger ones. If both thresholds were too similar, we would have trouble finding suitable regions to merge.

Table 6: Maximum depth for and Decision Trees (MD), Maximum number of rules for Cubist and RuleFit (MNR), ratio RL rewards/surrogate model rewards, MSE test (\(\times10^{-3}\)), and model size for and baselines for all environments.
Decision Tree Cubist RuleFit
Env. MD % MSE test Size MD % MSE test Size MNR % MSE test Size MNR % MSE test Size
3 98\(\pm\)1 17\(\pm\)3 24\(\pm\)1 5 99\(\pm\)0 20\(\pm\)4 185\(\pm\)3 8 97\(\pm\)2 22\(\pm\)3 49\(\pm\)0 12 82\(\pm\)5 36\(\pm\)5 61\(\pm\)6
3 92\(\pm\)1 24\(\pm\)1 59\(\pm\)2 10 93\(\pm\)1 37\(\pm\)1 1625\(\pm\)40 30 95\(\pm\)1 21\(\pm\)1 250\(\pm\)1 10 60\(\pm\)1 104\(\pm\)3 43\(\pm\)4
4 90\(\pm\)4 71\(\pm\)1 316\(\pm\)5 14 39\(\pm\)7 102\(\pm\)1 4099\(\pm\)75 50 88\(\pm\)4 64\(\pm\)1 1161\(\pm\)9 21 79\(\pm\)7 100\(\pm\)2 137\(\pm\)10
2 84\(\pm\)10 15\(\pm\)1 19\(\pm\)1 8 85\(\pm\)9 7\(\pm\)1 848\(\pm\)44 4 82\(\pm\)12 8\(\pm\)1 27\(\pm\)0 14 78\(\pm\)6 13\(\pm\)2 61\(\pm\)7
3 103\(\pm\)1 12\(\pm\)0 146\(\pm\)4 16 5\(\pm\)0 42\(\pm\)1 4147\(\pm\)88 120 69\(\pm\)14 12\(\pm\)1 1595\(\pm\)6 27 7\(\pm\)1 43\(\pm\)1 94\(\pm\)12
4 80\(\pm\)1 3\(\pm\)0 457\(\pm\)2 16 56\(\pm\)1 7\(\pm\)0 3328\(\pm\)34 150 81\(\pm\)1 2\(\pm\)0 4820\(\pm\)47 30 42\(\pm\)1 8\(\pm\)0 212\(\pm\)6
2 90\(\pm\)2 59\(\pm\)4 62\(\pm\)3 10 95\(\pm\)1 58\(\pm\)4 2384\(\pm\)86 110 101\(\pm\)1 36\(\pm\)3 2761\(\pm\)80 14 87\(\pm\)2 65\(\pm\)4 109\(\pm\)5
4 89\(\pm\)2 51\(\pm\)1 720\(\pm\)10 18 17\(\pm\)3 56\(\pm\)2 4238\(\pm\)67 20 86\(\pm\)8 46\(\pm\)1 850\(\pm\)6 28 85\(\pm\)3 77\(\pm\)2 287\(\pm\)7
6 78\(\pm\)2 51\(\pm\)1 3215\(\pm\)130 20 47\(\pm\)4 72\(\pm\)0 6032\(\pm\)194 70 85\(\pm\)1 42\(\pm\)2 7500\(\pm\)97 32 46\(\pm\)2 81\(\pm\)1 721\(\pm\)21

1.2pt

12 Performance, MSE, model size, and time↩︎

Table 6 represents the underlying data for Fig.  [fig:plot95ratio95model95size] and Fig.  4 of the paper. They include the mean and standard error for each metric. To compute the confidence intervals with a probability of \(\alpha=0.05\) shown on the plots of the paper, we used the following formula since the number of samples was relatively small (\(N=9\)): \[\bar{x}\pm t_{0.05/2,8}\cdot SE,\] where \(SE\) is the standard error, \(SE=\sigma/\sqrt{N}\), \(t_{0.05/2,8}\) is the value of the Student’s t-distribution with \(9-1=8\) degrees of freedom whose cumulative distribution function equals \(1-\alpha/2=0.975\), i.e., \(t_{0.05/2,8}\approx2.3\).

Table 6 also includes the maximum depth (MD for Orcaid and Decision Trees) or maximum number of rules that were used (MNR for Cubist and RuleFit). The depth that is needed to reach an equal or better performance for Orcaid in comparison to Decision Trees is much smaller. Since MD with MNR are not comparable, we compared model sizes in the paper, showing that Orcaid model sizes are smaller than those of the other surrogates when the reward ratios were similar.

Tables ¿tbl:tab:orcaid95mc?¿tbl:tab:rulefit95hc? display RL reward/surrogate reward ratio in %, MSE for the training and test sets, model size calculated as explained in the paper (Def.  7 and Section  5 ), and the total training time, which includes iterative trainings and evaluations as for the DAgger methodology.

For Orcaid, neither the training time nor the model size increases exponentially. This is thanks to the stopping conditions and the simplification of regions, which reduces the number of linear regressions and conditions, thus reducing the number of parameters.

Clearly, Decision Trees are the fastest to learn due to the efficient implementation from scikit-learn. Cubist and Orcaid have similar training times, and RuleFit lies in between. However, for Cubist and RuleFit, selecting the maximum number of rules requires trying several possibilities. For example, for the extreme case of swimmer (S), for Orcaid, the best maximum depth was just \(2\), and we tried up to \(5\), whereas for Cubist we tried up to \(150\), selecting \(110\) as the best, and for RuleFit we tried up to \(14\), selecting \(14\) as the best. This adds an extra computation time that is not accounted for per single training maximum depth (resp. maximum number of rules).

For Decision Trees, one can see that they tend to overfit: the MSE train keeps decreasing, while the MSE test remains the same or slightly decreases. This seems to be avoided by Orcaid, where MSE train and test remain closer. This is probably thanks to the measures that Orcaid includes to avoid overfitting, such as early stopping, merging, and feature removal.

Maximum depth
1 2 3 4 5
Ratio (%) 55\(\pm\)4 91\(\pm\)4 98\(\pm\)1 98\(\pm\)1 98\(\pm\)1
MSE train 49\(\pm\)3 21\(\pm\)4 11\(\pm\)2 10\(\pm\)2 10\(\pm\)2
MSE test 56\(\pm\)7 26\(\pm\)5 17\(\pm\)3 17\(\pm\)4 16\(\pm\)3
Model size 10\(\pm\)0 18\(\pm\)1 24\(\pm\)1 29\(\pm\)3 31\(\pm\)3
Time (s) 30\(\pm\)2 27\(\pm\)3 20\(\pm\)2 12\(\pm\)3 8\(\pm\)2
No caption
Maximum depth
1 2 3 4 5
15\(\pm\)0 27\(\pm\)3 45\(\pm\)7 57\(\pm\)9 99\(\pm\)0
105\(\pm\)6 68\(\pm\)5 35\(\pm\)4 19\(\pm\)2 7\(\pm\)1
109\(\pm\)8 71\(\pm\)5 46\(\pm\)4 33\(\pm\)3 20\(\pm\)4
6\(\pm\)0 16\(\pm\)0 40\(\pm\)0 92\(\pm\)1 185\(\pm\)3
16\(\pm\)2 11\(\pm\)1 7\(\pm\)1 6\(\pm\)1 4\(\pm\)1
Maximum number of rules
1 2 4 5 7 8 10
Ratio (%) 32\(\pm\)1 46\(\pm\)1 74\(\pm\)5 94\(\pm\)3 97\(\pm\)2 97\(\pm\)2 100\(\pm\)1
MSE train 98\(\pm\)3 92\(\pm\)6 33\(\pm\)4 26\(\pm\)2 17\(\pm\)2 16\(\pm\)2 12\(\pm\)2
MSE test 96\(\pm\)6 91\(\pm\)8 40\(\pm\)4 34\(\pm\)3 24\(\pm\)3 22\(\pm\)3 17\(\pm\)3
Model size 3\(\pm\)0 8\(\pm\)0 21\(\pm\)0 28\(\pm\)0 42\(\pm\)1 49\(\pm\)0 62\(\pm\)1
Time (min) 3\(\pm\)1 2\(\pm\)0 1\(\pm\)0 1\(\pm\)0 1\(\pm\)0 1\(\pm\)0 1\(\pm\)0
No caption
Maximum number of rules
2 4 6 8 10 12 16
72\(\pm\)6 69\(\pm\)7 80\(\pm\)5 69\(\pm\)4 80\(\pm\)4 82\(\pm\)5 80\(\pm\)4
40\(\pm\)5 43\(\pm\)8 38\(\pm\)6 45\(\pm\)5 36\(\pm\)6 33\(\pm\)5 32\(\pm\)4
46\(\pm\)6 49\(\pm\)8 43\(\pm\)5 55\(\pm\)6 43\(\pm\)6 36\(\pm\)5 37\(\pm\)5
39\(\pm\)8 39\(\pm\)7 39\(\pm\)4 35\(\pm\)3 49\(\pm\)6 61\(\pm\)6 76\(\pm\)8
16\(\pm\)3 11\(\pm\)1 9\(\pm\)1 11\(\pm\)1 10\(\pm\)1 10\(\pm\)1 13\(\pm\)2
Table 7: No caption
Maximum depth
1 2 3 4 5
Ratio (%) 65\(\pm\)1 88\(\pm\)1 92\(\pm\)1 92\(\pm\)1 92\(\pm\)1
MSE train 73\(\pm\)2 36\(\pm\)1 21\(\pm\)1 18\(\pm\)1 18\(\pm\)1
MSE test 77\(\pm\)2 40\(\pm\)1 24\(\pm\)1 22\(\pm\)2 22\(\pm\)1
Model size 13\(\pm\)0 32\(\pm\)0 59\(\pm\)2 92\(\pm\)5 120\(\pm\)11
Time (s) 39\(\pm\)2 64\(\pm\)8 82\(\pm\)7 82\(\pm\)10 59\(\pm\)18
Maximum number of rules
1 5 10 15 20 25 30
Ratio (%) 47\(\pm\)0 66\(\pm\)1 78\(\pm\)1 86\(\pm\)1 91\(\pm\)1 93\(\pm\)1 95\(\pm\)1
MSE train 201\(\pm\)5 70\(\pm\)3 37\(\pm\)1 28\(\pm\)1 23\(\pm\)1 19\(\pm\)1 15\(\pm\)1
MSE test 203\(\pm\)5 75\(\pm\)4 44\(\pm\)2 35\(\pm\)1 28\(\pm\)1 24\(\pm\)1 21\(\pm\)1
Model size 4\(\pm\)0 34\(\pm\)1 74\(\pm\)1 115\(\pm\)1 159\(\pm\)1 205\(\pm\)1 250\(\pm\)1
Time (s) 24\(\pm\)2 29\(\pm\)2 25\(\pm\)2 29\(\pm\)4 35\(\pm\)4 26\(\pm\)3 29\(\pm\)4
No caption
Maximum number of rules
2 4 6 8 10 12
59\(\pm\)1 61\(\pm\)2 58\(\pm\)1 60\(\pm\)1 60\(\pm\)1 61\(\pm\)1
122\(\pm\)9 105\(\pm\)7 114\(\pm\)5 103\(\pm\)4 101\(\pm\)3 100\(\pm\)4
123\(\pm\)9 111\(\pm\)7 116\(\pm\)4 105\(\pm\)5 104\(\pm\)3 104\(\pm\)4
27\(\pm\)6 35\(\pm\)8 27\(\pm\)2 42\(\pm\)6 43\(\pm\)4 51\(\pm\)4
5\(\pm\)0 5\(\pm\)0 4\(\pm\)0 5\(\pm\)1 5\(\pm\)1 6\(\pm\)1
Table 8: No caption
Maximum depth
1 2 3 4 5
Ratio (%) 38\(\pm\)5 49\(\pm\)5 72\(\pm\)4 90\(\pm\)4 92\(\pm\)3
MSE train 100\(\pm\)1 85\(\pm\)1 70\(\pm\)1 58\(\pm\)1 47\(\pm\)1
MSE test 102\(\pm\)1 88\(\pm\)1 77\(\pm\)1 71\(\pm\)1 67\(\pm\)1
Model size 27\(\pm\)1 63\(\pm\)1 141\(\pm\)2 316\(\pm\)5 625\(\pm\)12
Time (min) 2\(\pm\)0 3\(\pm\)0 5\(\pm\)0 9\(\pm\)1 11\(\pm\)1
Maximum number of rules
1 2 5 20 30 40 60
Ratio (%) 42\(\pm\)2 -1\(\pm\)6 43\(\pm\)8 63\(\pm\)8 74\(\pm\)8 85\(\pm\)5 90\(\pm\)4
MSE train 108\(\pm\)1 104\(\pm\)1 79\(\pm\)1 56\(\pm\)1 51\(\pm\)1 46\(\pm\)1 40\(\pm\)1
MSE test 110\(\pm\)2 107\(\pm\)2 84\(\pm\)2 68\(\pm\)2 66\(\pm\)2 64\(\pm\)1 64\(\pm\)1
Model size 14\(\pm\)1 31\(\pm\)1 92\(\pm\)2 429\(\pm\)6 668\(\pm\)7 905\(\pm\)8 1416\(\pm\)10
Time (min) 16\(\pm\)2 33\(\pm\)5 16\(\pm\)2 10\(\pm\)1 14\(\pm\)1 15\(\pm\)2 12\(\pm\)2
No caption
Maximum number of rules
3 6 9 15 18 21 27
72\(\pm\)10 74\(\pm\)9 66\(\pm\)11 85\(\pm\)6 77\(\pm\)10 79\(\pm\)7 80\(\pm\)6
106\(\pm\)1 104\(\pm\)2 102\(\pm\)1 100\(\pm\)1 96\(\pm\)1 97\(\pm\)1 93\(\pm\)1
110\(\pm\)2 106\(\pm\)2 105\(\pm\)2 104\(\pm\)3 101\(\pm\)2 100\(\pm\)2 98\(\pm\)2
47\(\pm\)6 60\(\pm\)5 78\(\pm\)6 107\(\pm\)6 133\(\pm\)9 137\(\pm\)10 186\(\pm\)8
2\(\pm\)0 2\(\pm\)0 3\(\pm\)0 2\(\pm\)0 2\(\pm\)0 2\(\pm\)0 2\(\pm\)1
Table 9: No caption
Maximum depth
1 2 3 4 5
Ratio (%) 92\(\pm\)10 84\(\pm\)10 84\(\pm\)10 84\(\pm\)10 85\(\pm\)10
MSE train 18\(\pm\)2 14\(\pm\)1 14\(\pm\)1 14\(\pm\)1 15\(\pm\)1
MSE test 19\(\pm\)2 15\(\pm\)1 15\(\pm\)1 15\(\pm\)1 16\(\pm\)2
Model size 13\(\pm\)1 19\(\pm\)1 25\(\pm\)2 28\(\pm\)4 36\(\pm\)9
Time (s) 63\(\pm\)12 40\(\pm\)7 31\(\pm\)11 23\(\pm\)7 22\(\pm\)8
Maximum number of rules
1 2 4 5 7 8 10
Ratio (%) 101\(\pm\)5 63\(\pm\)9 82\(\pm\)12 85\(\pm\)11 91\(\pm\)10 91\(\pm\)10 98\(\pm\)6
MSE train 18\(\pm\)1 12\(\pm\)1 8\(\pm\)1 7\(\pm\)1 7\(\pm\)1 6\(\pm\)1 6\(\pm\)1
MSE test 17\(\pm\)1 12\(\pm\)1 8\(\pm\)1 8\(\pm\)1 8\(\pm\)1 7\(\pm\)1 7\(\pm\)1
Model size 4\(\pm\)0 12\(\pm\)0 27\(\pm\)0 35\(\pm\)1 50\(\pm\)1 59\(\pm\)1 77\(\pm\)1
Time (min) 4\(\pm\)0 2\(\pm\)0 2\(\pm\)0 2\(\pm\)0 2\(\pm\)0 1\(\pm\)0 1\(\pm\)0
No caption
Maximum number of rules
2 4 6 8 10 12 14
75\(\pm\)8 73\(\pm\)7 76\(\pm\)7 80\(\pm\)5 77\(\pm\)4 78\(\pm\)5 78\(\pm\)6
15\(\pm\)1 14\(\pm\)1 13\(\pm\)1 13\(\pm\)1 13\(\pm\)1 13\(\pm\)1 11\(\pm\)1
16\(\pm\)2 15\(\pm\)2 14\(\pm\)2 15\(\pm\)2 13\(\pm\)2 15\(\pm\)2 13\(\pm\)2
19\(\pm\)3 24\(\pm\)4 33\(\pm\)4 35\(\pm\)4 42\(\pm\)3 40\(\pm\)4 61\(\pm\)7
10\(\pm\)2 13\(\pm\)3 9\(\pm\)1 12\(\pm\)2 10\(\pm\)1 11\(\pm\)1 12\(\pm\)2
Table 10: No caption
Maximum depth
1 2 3 4
Ratio (%) 19\(\pm\)5 43\(\pm\)12 103\(\pm\)1 93\(\pm\)10
MSE train 35\(\pm\)1 19\(\pm\)0 12\(\pm\)0 8\(\pm\)0
MSE test 35\(\pm\)1 19\(\pm\)1 12\(\pm\)0 10\(\pm\)0
Model size 23\(\pm\)1 62\(\pm\)2 146\(\pm\)4 313\(\pm\)8
Time (min) 4\(\pm\)0 3\(\pm\)0 3\(\pm\)0 5\(\pm\)1
Maximum number of rules
10 30 50 80 100 120 150
Ratio (%) 47\(\pm\)10 59\(\pm\)10 61\(\pm\)9 58\(\pm\)9 51\(\pm\)7 69\(\pm\)7 57\(\pm\)6
MSE train 24\(\pm\)1 15\(\pm\)1 13\(\pm\)1 11\(\pm\)0 10\(\pm\)1 9\(\pm\)1 8\(\pm\)0
MSE test 25\(\pm\)1 16\(\pm\)1 14\(\pm\)1 12\(\pm\)1 12\(\pm\)1 12\(\pm\)1 11\(\pm\)1
M. size (\(\cdot10^3\)) .1\(\pm\).0 .4\(\pm\).0 .6\(\pm\).0 1.1\(\pm\).0 1.3\(\pm\).0 1.6\(\pm\).0 2.0\(\pm\).0
Time (min) 2\(\pm\)1 3\(\pm\)1 3\(\pm\)1 3\(\pm\)1 3\(\pm\)0 4\(\pm\)1 5\(\pm\)1
No caption
Maximum number of rules
3 6 9 15 18 21 27
5\(\pm\)0 6\(\pm\)1 6\(\pm\)1 6\(\pm\)1 6\(\pm\)1 6\(\pm\)1 7\(\pm\)1
51\(\pm\)2 49\(\pm\)3 48\(\pm\)2 47\(\pm\)2 46\(\pm\)1 45\(\pm\)2 42\(\pm\)1
51\(\pm\)2 49\(\pm\)2 48\(\pm\)2 47\(\pm\)2 46\(\pm\)1 45\(\pm\)2 43\(\pm\)1
32\(\pm\)9 46\(\pm\)12 44\(\pm\)5 57\(\pm\)6 66\(\pm\)5 81\(\pm\)6 94\(\pm\)12
3\(\pm\)0 3\(\pm\)0 3\(\pm\)0 4\(\pm\)1 3\(\pm\)0 3\(\pm\)0 4\(\pm\)1
Table 11: No caption
Maximum depth
1 2 3 4 5
Ratio (%) 56\(\pm\)3 63\(\pm\)2 71\(\pm\)1 80\(\pm\)1 82\(\pm\)1
MSE train 6\(\pm\)0 5\(\pm\)0 3\(\pm\)0 3\(\pm\)0 2\(\pm\)0
MSE test 6\(\pm\)0 5\(\pm\)0 3\(\pm\)0 3\(\pm\)0 2\(\pm\)0
Model size 39\(\pm\)1 95\(\pm\)1 215\(\pm\)2 457\(\pm\)2 956\(\pm\)12
Time (min) 1\(\pm\)0 1\(\pm\)0 2\(\pm\)0 5\(\pm\)1 13\(\pm\)2
Maximum number of rules
10 30 50 80 100 120 150
Ratio (%) 62\(\pm\)1 73\(\pm\)1 75\(\pm\)2 78\(\pm\)1 79\(\pm\)1 80\(\pm\)1 81\(\pm\)1
MSE train 5\(\pm\)0 3\(\pm\)0 2\(\pm\)0 2\(\pm\)0 2\(\pm\)0 2\(\pm\)0 2\(\pm\)0
MSE test 5\(\pm\)0 3\(\pm\)0 3\(\pm\)0 3\(\pm\)0 2\(\pm\)0 2\(\pm\)0 2\(\pm\)0
M. size (\(\cdot10^3\)) .3\(\pm\).0 .9\(\pm\).0 1.5\(\pm\).0 2.5\(\pm\).0 3.2\(\pm\).0 3.9\(\pm\).0 4.8\(\pm\).0
Time (s) 64\(\pm\)8 56\(\pm\)4 58\(\pm\)4 70\(\pm\)8 66\(\pm\)6 64\(\pm\)2 66\(\pm\)2
No caption
Maximum number of rules
2 6 10 16 20 24 30
36\(\pm\)1 38\(\pm\)1 39\(\pm\)1 39\(\pm\)1 39\(\pm\)1 40\(\pm\)1 42\(\pm\)1
9\(\pm\)0 8\(\pm\)0 8\(\pm\)0 8\(\pm\)0 8\(\pm\)0 8\(\pm\)0 8\(\pm\)0
9\(\pm\)0 8\(\pm\)0 8\(\pm\)0 8\(\pm\)0 8\(\pm\)0 8\(\pm\)0 8\(\pm\)0
42\(\pm\)4 78\(\pm\)9 109\(\pm\)14 132\(\pm\)9 160\(\pm\)9 185\(\pm\)5 212\(\pm\)6
5\(\pm\)0 5\(\pm\)0 5\(\pm\)0 5\(\pm\)0 6\(\pm\)0 6\(\pm\)0 6\(\pm\)0
Table 12: No caption
Maximum depth
1 2 3 4 5
Ratio (%) 81\(\pm\)2 90\(\pm\)2 92\(\pm\)2 93\(\pm\)1 95\(\pm\)2
MSE train 69\(\pm\)4 58\(\pm\)4 51\(\pm\)4 45\(\pm\)4 41\(\pm\)3
MSE test 69\(\pm\)4 59\(\pm\)4 52\(\pm\)4 47\(\pm\)4 45\(\pm\)3
Model size 28\(\pm\)1 62\(\pm\)3 120\(\pm\)8 244\(\pm\)18 460\(\pm\)32
Time (min) 3\(\pm\)0 4\(\pm\)0 5\(\pm\)1 8\(\pm\)1 16\(\pm\)2
Maximum number of rules
10 30 50 80 100 120 150
Ratio (%) 95\(\pm\)1 98\(\pm\)1 99\(\pm\)1 101\(\pm\)1 101\(\pm\)1 101\(\pm\)1 101\(\pm\)1
MSE train 47\(\pm\)4 37\(\pm\)3 33\(\pm\)3 28\(\pm\)3 26\(\pm\)3 25\(\pm\)3 23\(\pm\)3
MSE test 49\(\pm\)4 41\(\pm\)3 39\(\pm\)3 37\(\pm\)3 36\(\pm\)3 36\(\pm\)3 36\(\pm\)3
M. size (\(\cdot10^3\)) .2\(\pm\).0 .7\(\pm\).0 1.2\(\pm\).0 2.0\(\pm\).1 2.5\(\pm\).1 3.0\(\pm\).1 3.8\(\pm\).2
Time (min) 11\(\pm\)1 11\(\pm\)1 9\(\pm\)1 11\(\pm\)1 10\(\pm\)1 11\(\pm\)1 11\(\pm\)1
No caption
Maximum number of rules
2 4 6 8 10 12 14
82\(\pm\)3 83\(\pm\)2 86\(\pm\)2 86\(\pm\)2 85\(\pm\)2 86\(\pm\)2 87\(\pm\)2
69\(\pm\)3 70\(\pm\)3 67\(\pm\)4 66\(\pm\)4 68\(\pm\)4 66\(\pm\)4 65\(\pm\)4
70\(\pm\)4 70\(\pm\)4 68\(\pm\)4 67\(\pm\)4 68\(\pm\)4 66\(\pm\)4 65\(\pm\)4
51\(\pm\)5 49\(\pm\)5 76\(\pm\)4 87\(\pm\)7 89\(\pm\)5 96\(\pm\)6 109\(\pm\)5
61\(\pm\)8 58\(\pm\)7 55\(\pm\)4 69\(\pm\)11 64\(\pm\)8 62\(\pm\)11 60\(\pm\)9
Table 13: No caption
Maximum depth
1 2 3 4 5 6 8
Ratio (%) 72\(\pm\)6 74\(\pm\)3 83\(\pm\)4 90\(\pm\)2 88\(\pm\)3 89\(\pm\)3 88\(\pm\)2
MSE train 79\(\pm\)2 68\(\pm\)2 57\(\pm\)1 46\(\pm\)1 36\(\pm\)1 29\(\pm\)1 24\(\pm\)1
MSE test 80\(\pm\)1 69\(\pm\)2 59\(\pm\)1 51\(\pm\)1 44\(\pm\)1 41\(\pm\)1 39\(\pm\)1
M. size (\(\cdot10^3\)) .05\(\pm\).0 .1\(\pm\).0 .3\(\pm\).0 .7\(\pm\).0 1.5\(\pm\).0 2.6\(\pm\).1 4.1\(\pm\).1
Time (min) 3\(\pm\)0 3\(\pm\)0 7\(\pm\)1 18\(\pm\)2 26\(\pm\)2 84\(\pm\)13 47\(\pm\)11
Maximum number of rules
10 20 40 50 70 80 100
Ratio (%) 85\(\pm\)4 86\(\pm\)8 94\(\pm\)2 94\(\pm\)2 96\(\pm\)1 90\(\pm\)3 94\(\pm\)1
MSE train 55\(\pm\)2 42\(\pm\)1 32\(\pm\)1 29\(\pm\)1 25\(\pm\)1 23\(\pm\)1 21\(\pm\)1
MSE test 58\(\pm\)2 46\(\pm\)1 38\(\pm\)1 37\(\pm\)1 35\(\pm\)1 34\(\pm\)1 34\(\pm\)1
M. size (\(\cdot10^3\)) .4\(\pm\).0 .9\(\pm\).0 1.8\(\pm\).0 2.2\(\pm\).0 3.2\(\pm\).0 3.7\(\pm\).0 4.7\(\pm\).0
Time (min) 17\(\pm\)2 22\(\pm\)5 19\(\pm\)3 19\(\pm\)3 16\(\pm\)2 16\(\pm\)1 22\(\pm\)3
No caption
Maximum number of rules
2 8 14 20 26 32 40
77\(\pm\)6 76\(\pm\)6 87\(\pm\)4 85\(\pm\)5 83\(\pm\)4 87\(\pm\)2 86\(\pm\)3
85\(\pm\)2 81\(\pm\)2 79\(\pm\)1 77\(\pm\)1 76\(\pm\)1 77\(\pm\)1 76\(\pm\)1
86\(\pm\)2 81\(\pm\)2 79\(\pm\)2 78\(\pm\)2 78\(\pm\)1 78\(\pm\)1 77\(\pm\)2
65\(\pm\)6 139\(\pm\)14 191\(\pm\)13 217\(\pm\)9 305\(\pm\)8 318\(\pm\)15 342\(\pm\)22
1\(\pm\)0 1\(\pm\)0 2\(\pm\)0 1\(\pm\)0 2\(\pm\)0 2\(\pm\)0 2\(\pm\)0
Table 14: No caption
Maximum depth
1 2 3 4 5 6
Ratio (%) 18\(\pm\)5 32\(\pm\)8 50\(\pm\)5 60\(\pm\)5 75\(\pm\)4 84\(\pm\)2
MSE train 93\(\pm\)1 81\(\pm\)1 71\(\pm\)1 62\(\pm\)1 53\(\pm\)1 47\(\pm\)1
MSE test 93\(\pm\)1 82\(\pm\)1 72\(\pm\)1 63\(\pm\)1 56\(\pm\)1 51\(\pm\)1
Model size 101\(\pm\)1 219\(\pm\)4 478\(\pm\)9 1011\(\pm\)20 2019\(\pm\)70 3215\(\pm\)130
Time (min) 9\(\pm\)4 13\(\pm\)2 15\(\pm\)2 19\(\pm\)2 25\(\pm\)6 30\(\pm\)12
Maximum number of rules
10 20 40 50 70 80 100
Ratio (%) 57\(\pm\)10 77\(\pm\)3 80\(\pm\)3 83\(\pm\)1 85\(\pm\)1 85\(\pm\)1 86\(\pm\)1
MSE train 60\(\pm\)2 51\(\pm\)2 42\(\pm\)2 40\(\pm\)2 35\(\pm\)1 33\(\pm\)1 31\(\pm\)0
MSE test 62\(\pm\)3 54\(\pm\)3 46\(\pm\)2 45\(\pm\)2 42\(\pm\)2 40\(\pm\)1 39\(\pm\)1
M. size (\(\cdot10^3\)) 1.1\(\pm\).0 2.2\(\pm\).0 4.3\(\pm\).0 5.4\(\pm\).1 7.5\(\pm\).1 8.6\(\pm\).1 10.7\(\pm\).2
Time (min) 18\(\pm\)1 28\(\pm\)10 20\(\pm\)1 26\(\pm\)7 21\(\pm\)1 21\(\pm\)2 23\(\pm\)1
No caption
Maximum number of rules
2 8 14 20 26 32 40
36\(\pm\)2 40\(\pm\)2 45\(\pm\)1 45\(\pm\)1 46\(\pm\)2 46\(\pm\)2 48\(\pm\)2
93\(\pm\)1 89\(\pm\)1 85\(\pm\)0 84\(\pm\)1 83\(\pm\)1 81\(\pm\)0 80\(\pm\)0
93\(\pm\)1 89\(\pm\)1 85\(\pm\)1 84\(\pm\)0 83\(\pm\)1 81\(\pm\)1 81\(\pm\)1
183\(\pm\)10 271\(\pm\)4 405\(\pm\)14 507\(\pm\)8 579\(\pm\)11 721\(\pm\)21 820\(\pm\)18
2\(\pm\)0 1\(\pm\)0 1\(\pm\)0 2\(\pm\)0 2\(\pm\)0 2\(\pm\)0 2\(\pm\)0

13 Ablation study↩︎

Table 15: Ablation study for . Ratio (%) between the rewards from the surrogate model and the RL policy. Only one hyperparameter is modified per column.
max. depth default #steps=1k \(\sigma\!=\!0.05\) max_mse\(=\!0.05\) \(k=5\) #samples\(=\!1k\) No lin. reg. No DAgger No simpl.
1 65 63 60 65 55 62 60 65 65
2 88 70 87 88 57 65 65 88 87
3 92 84 90 92 68 76 78 92 90
4 92 86 92 94 80 89 85 92 92

2.2pt

Table 16: Ablation study for . Model size. Only one hyperparameter is modified per column.
max. depth selected #steps=1k \(\sigma\!=\!0.05\) max_mse\(=\!0.05\) \(k=5\) #samples\(=\!1k\) No lin. reg. No DAgger No simpl.
1 13 13 13 13 13 13 13 13 13
2 32 29 30 32 32 30 32 30 32
3 59 51 50 65 59 49 67 55 69
4 92 80 79 120 92 75 121 88 130

2.2pt

Table 17: Ablation study for . Ratio (%) between the rewards from the surrogate model and the RL policy. Only one hyperparameter is modified per column.
max. depth selected #steps=5k \(\sigma\!=\!0.05\) max_mse\(=\!0.01\) \(k=5\) #samples\(=\!5k\) No lin. reg. No DAgger No simpl.
1 81 78 80 81 60 68 78 70 81
2 90 82 89 91 70 72 83 72 89
3 92 86 92 93 72 75 88 73 91

2.2pt

Table 18: Ablation study for . Model size. Only one hyperparameter is modified per column.
max. depth selected #steps=5k \(\sigma\!=\!0.05\) max_mse\(=\!0.01\) \(k=5\) #samples\(=\!5k\) No lin. reg. No DAgger No simpl.
1 28 20 26 30 22 18 32 18 32
2 62 42 58 72 50 45 78 38 78
3 120 85 115 150 100 85 150 65 155

2.2pt

In this section, we learn different Orcaid models by modifying the hyperparameters shown in Appendix 11, Table 5:

Number of steps collected during the interaction between the original RL policy and the environment (#steps).

Noise added to the clusters when sampling (\(\sigma\)).

MSE threshold to stop growing a branch (max_mse).

Number of clusters (\(k\)).

Number of samples that we sample from the clusters (#samples).

We also learn models without certain components of our approach:

Instead of linear regression in the head of the rules, we assign the mean of the observed actions for that region per action dimension.

We do not include the DAgger loop.

We do not simplify adjacent regions.

We keep all other components fixed using the values from Appendix 11, Table 5, as default and change only one of the mentioned hyperparameters or components per learned model. For this study, we selected the environments Pand Sto include both a simpler and a more complex environment. The default parameters for

Pare #steps=20k, \(\sigma=0.15\), max_mse=0.2, \(k=15\), and #samples=1k; and for

Sare #steps=100k, \(\sigma=0.15\), max_mse=0.05, \(k=100\), and #samples=20k.

The maximum depth selected for Pin the paper was \(3\), and \(2\) for S.

Table 15 shows Orcaid’s reward ratio for P when varying the different components as described, keeping the column default as a reference for the Orcaid model with the hyperparameters and approach as presented in the paper. Table 16 shows Orcaid’s model sizes for every ablation. Similarly, Table 17 and Table 18 show Orcaid’s reward ratios and model sizes for Sfor every ablation.

Reducing the max_mse makes Orcaid adjust better or equally to the resampled data. However, this comes at the cost of needing more regions as the number of merged regions decreases, and it also carries a potential for overfitting. This is also what happens when no simplification is included, i.e., the model still learns, but its size grows.

Using fewer clusters causes Orcaid to miss trajectory segments (points become over-grouped), reducing performance. The models become smaller since the data points are more concentrated around the clusters. A similar situation occurs when the number of samples is insufficient, i.e., some important points may be excluded from the training process. The model is smaller but has worse performance.

Removing leaf regressions reduces adaptability, requiring deeper trees to match the original performance. Linear regressions help train models with strong performance more quickly by avoiding the need to create more regions.

The absence of the DAgger loop makes the model learn more slowly, needing more depth to reach the original performance. This is emphasized in S, where it is not able to learn a good enough model.

Finally, having no linear regression and no oblique decisions creates models similar to DTs. Hence, the comparisons to DTs in the main part of the paper constitute another ablation study.

References↩︎

[1]
R. S. Sutton and A. G. Barto, Reinforcement learning: An introduction, Second. The MIT Press, 2018.
[2]
V. Mnih et al., “Human-level control through deep reinforcement learning,” Nat., vol. 518, no. 7540, pp. 529–533, 2015, doi: 10.1038/NATURE14236.
[3]
D. Silver et al., “Mastering the game of Go with deep neural networks and tree search,” Nat., vol. 529, no. 7587, pp. 484–489, 2016, doi: 10.1038/NATURE16961.
[4]
Touvron et al., “Llama 2: Open foundation and fine-tuned chat models,” CoRR, vol. abs/2307.09288, 2023, doi: 10.48550/ARXIV.2307.09288.
[5]
J. Degrave et al., “Magnetic control of tokamak plasmas through deep reinforcement learning,” Nat., vol. 602, no. 7897, pp. 414–419, 2022, doi: 10.1038/S41586-021-04301-9.
[6]
S. Govinda, B. Brik, and S. Harous, “A survey on deep reinforcement learning applications in autonomous systems: Applications, open challenges, and future directions,” IEEE Transactions on Intelligent Transportation Systems, vol. 26, no. 7, pp. 11088–11113, 2025, doi: 10.1109/TITS.2025.3560379.
[7]
U.S. Executive Office of the President, U.S. Executive Order 14110“Safe, secure, and trustworthy development and use of artificial intelligence.” Nov. 2023.
[8]
European Parliament, “Regulation (EU) 2024/1689 of the European parliament and of the council – the EU artificial intelligence act.” online https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A32024R1689&qid=1753356665433, Jun. 2024.
[9]
S. Milani, N. Topin, M. Veloso, and F. Fang, “Explainable reinforcement learning: A survey and comparative review,” ACM Comput. Surv., vol. 56, no. 7, pp. 168:1–168:36, 2024, doi: 10.1145/3616864.
[10]
O. Bastani, Y. Pu, and A. Solar-Lezama, “Verifiable reinforcement learning via policy extraction,” in NeurIPS 2018, 2018, pp. 2499–2509, [Online]. Available: https://proceedings.neurips.cc/paper/2018/hash/e6d8545daa42d5ced125a4bf747b3688-Abstract.html.
[11]
S. K. Murthy, S. Kasif, and S. Salzberg, “A system for induction of oblique decision trees,” J. Artif. Int. Res., vol. 2, no. 1, pp. 1–32, Aug. 1994.
[12]
R. Setiono and H. Liu, “NeuroLinear: From neural networks to oblique decision rules,” Neurocomputing, vol. 17, no. 1, pp. 1–24, 1997, doi: https://doi.org/10.1016/S0925-2312(97)00038-6.
[13]
P. Krishnamurthy, A. Sarmadi, and F. Khorrami, “Explainable classification by learning human-readable sentences in feature subsets,” Information Sciences, vol. 564, pp. 202–219, 2021, doi: https://doi.org/10.1016/j.ins.2021.02.031.
[14]
S. Milani et al., MAVIPER: Learning decision tree policies for interpretable multi-agent reinforcement learning,” in ECML PKDD 2022, 2022, vol. 13716, pp. 251–266, doi: 10.1007/978-3-031-26412-2\_16.
[15]
L. Breiman, J. H. Friedman, R. A. Olshen, and C. J. Stone, Classification and regression trees. Wadsworth, 1984.
[16]
Y. D. Dhebar, K. Deb, S. Nageshrao, L. Zhu, and D. P. Filev, “Toward interpretable-AI policies using evolutionary nonlinear decision trees for discrete-action systems,” IEEE Trans. Cybern., vol. 54, no. 1, pp. 50–62, 2024, doi: 10.1109/TCYB.2022.3180664.
[17]
Y. Dai et al., “Enhanced oblique decision tree enabled policy extraction for deep reinforcement learning in power system emergency control,” Electric Power Systems Research, vol. 209, p. 107932, 2022, doi: https://doi.org/10.1016/j.epsr.2022.107932.
[18]
A. Silva, M. C. Gombolay, T. W. Killian, I. D. J. Jimenez, and S.-H. Son, “Optimization methods for interpretable differentiable decision trees applied to reinforcement learning,” in AISTATS 2020, 2020, vol. 108, pp. 1855–1865, [Online]. Available: http://proceedings.mlr.press/v108/silva20a.html.
[19]
Y. Coppens, K. Efthymiadis, T. Lenaerts, and A. Nowe, “Distilling deep reinforcement learning policies in soft decision trees,” in IJCAI 2019 workshop on explainable artificial intelligence, Aug. 2019, pp. 1–6, [Online]. Available: https://sites.google.com/view/xai2019/home.
[20]
S. Nageshrao, B. Costa, and D. Filev, “Interpretable approximation of a deep reinforcement learning agent as a set of if-then rules,” in ICMLA 2019, 2019, pp. 216–221, doi: 10.1109/ICMLA.2019.00041.
[21]
D. Hein, S. Udluft, and T. A. Runkler, “Interpretable policies for reinforcement learning by genetic programming,” Eng. Appl. Artif. Intell., vol. 76, pp. 158–169, 2018, doi: 10.1016/J.ENGAPPAI.2018.09.007.
[22]
Y. Yang, F. Yang, Y. Bai, and H. Wang, “Self-interpretable reinforcement learning via rule ensembles,” in AAMAS 2025, 2025, pp. 2235–2243.
[23]
J. McCalmon, T. Le, S. M. Alqahtani, and D. Lee, CAPS: Comprehensible abstract policy summaries for explaining reinforcement learning agents,” in AAMAS 2022, 2022, pp. 889–897, doi: 10.5555/3535850.3535950.
[24]
N. Topin and M. Veloso, “Generation of policy-level explanations for reinforcement learning,” in AAAI 2019, 2019, pp. 2514–2521, doi: 10.1609/AAAI.V33I01.33012514.
[25]
S. Sreedharan, S. Srivastava, and S. Kambhampati, TLdR: Policy summarization for factored SSP problems using temporal abstractions,” in ICAPS 2020, 2020, pp. 272–280, [Online]. Available: https://ojs.aaai.org/index.php/ICAPS/article/view/6671.
[26]
M. H. Danesh, A. Koul, A. Fern, and S. Khorram, “Re-understanding finite-state representations of recurrent policy networks,” in ICML 2021, 2021, vol. 139, pp. 2388–2397, [Online]. Available: http://proceedings.mlr.press/v139/danesh21a.html.
[27]
A. Koul, A. Fern, and S. Greydanus, “Learning finite state representations of recurrent policy networks,” in ICLR, 2019, [Online]. Available: https://openreview.net/forum?id=S1gOpsCctm.
[28]
R. R. Paleja, Y. Niu, A. Silva, C. Ritchie, S. Choi, and M. C. Gombolay, “Learning interpretable, high-performing policies for autonomous driving,” in Robotics: Science and systems XVIII, 2022, 2022, doi: 10.15607/RSS.2022.XVIII.068.
[29]
T. P. Lillicrap et al., “Continuous control with deep reinforcement learning,” in 4th international conference on learning representations, ICLR 2016, san juan, puerto rico, may 2-4, 2016, conference track proceedings, 2016, [Online]. Available: http://arxiv.org/abs/1509.02971.
[30]
D. Silver, G. Lever, N. Heess, T. Degris, D. Wierstra, and M. A. Riedmiller, “Deterministic policy gradient algorithms,” in ICML 2014, 2014, vol. 32, pp. 387–395, [Online]. Available: http://proceedings.mlr.press/v32/silver14.html.
[31]
A. Moore, “Efficient memory-based learning for robot control,” Pittsburgh, PA, 1990.
[32]
M. Towers et al., “Gymnasium: A standard interface for reinforcement learning environments,” CoRR, vol. abs/2407.17032, 2024, doi: 10.48550/ARXIV.2407.17032.
[33]
M. Tappler, I. D. Lopez-Miguel, S. Tschiatschek, and E. Bartocci, “Rule-guided reinforcement learning policy evaluation and improvement,” in IJCAI 2025, 2025, pp. 6254–6262, doi: 10.24963/IJCAI.2025/696.
[34]
J. Gu et al., “A survey on LLM-as-a-judge,” CoRR, vol. abs/2411.15594, 2024, doi: 10.48550/ARXIV.2411.15594.
[35]
J. Fürnkranz and T. Kliegr, “A brief overview of rule learning,” in RuleML 2015, 2015, vol. 9202, pp. 54–69, doi: 10.1007/978-3-319-21542-6\_4.
[36]
J. H. Friedman and B. E. Popescu, “Predictive learning via rule ensembles,” The Annals of Applied Statistics, vol. 2, no. 3, pp. 916–954, Sep. 2008, doi: DOI: 10.1214/07-AOAS148.
[37]
S. Ross, G. Gordon, and D. Bagnell, “A reduction of imitation learning and structured prediction to no-regret online learning,” in AISTATS 2011, 2011, vol. 15, pp. 627–635, [Online]. Available: https://proceedings.mlr.press/v15/ross11a.html.
[38]
R. L. Thorndike, “Who belongs in the family?” Psychometrika, vol. 18, no. 4, pp. 267–276, 1953, doi: 10.1007/BF02289263.
[39]
W. V. Quine, “The problem of simplifying truth functions,” The American Mathematical Monthly, vol. 59, no. 8, pp. 521–531, 1952, doi: 10.1080/00029890.1952.11988183.
[40]
E. J. McCluskey, “Minimization of Boolean functions,” The Bell System Technical Journal, vol. 35, no. 6, pp. 1417–1444, 1956, doi: 10.1002/j.1538-7305.1956.tb03835.x.
[41]
F. Pedregosa et al., “Scikit-learn: Machine learning in Python,” Journal of Machine Learning Research, vol. 12, pp. 2825–2830, 2011.
[42]
Aselin et al., “Python package for fitting quinlan’s cubist v2.07 regression model.” 2021, [Online]. Available: https://github.com/pjaselin/Cubist.
[43]
J. R. Quinlan, “Learning with continuous classes,” in Proceedings of australian joint conference on artificial intelligence, 1992.
[44]
[45]
A. Raffin, A. Hill, A. Gleave, A. Kanervisto, M. Ernestus, and N. Dormann, “Stable-Baselines3: Reliable reinforcement learning implementations,” Journal of Machine Learning Research, vol. 22, no. 268, pp. 1–8, 2021, [Online]. Available: http://jmlr.org/papers/v22/20-1364.html.
[46]
D. A. Contreras Olivas and L. Martinez-Villaseñor, “Human-friendly explanations checklist for reinforcement learning: XRL H-F-E checklist,” in Artificial intelligence – COMIA 2025, 2025, pp. 268–279.
[47]
C. Schilling, A. Lukina, E. Demirovic, and K. G. Larsen, “Safety verification of decision-tree policies in continuous time,” in NeurIPS 2023, 2023, [Online]. Available: http://papers.nips.cc/paper\_files/paper/2023/hash/2f89a23a19d1617e7fb16d4f7a049ce2-Abstract-Conference.html.
[48]
C. W. Dunnett, “A multiple comparison procedure for comparing several treatments with a control,” Journal of the American Statistical Association, vol. 50, no. 272, pp. 1096–1121, 1955, doi: 10.1080/01621459.1955.10501294.
[49]
G. Z. Sarah Alver, “Multiple comparisons of treatment against control under unequal variances using parametric bootstrap,” J. Appl. Stat., vol. 51, no. 10, pp. 1861–1877, 2023, doi: 10.1080/02664763.2023.2245179.