- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The authors propose DiReCL, which aims to bring the best of both worlds in reward design for Reinforcement Learning: i) data driven methods that encode highly complex and often qualitative aspects that are not captured by simple scalar formulations ii) human or LLM assisted design method with high degree of interpretability, semantic structure, and induced priors (e.g. from experts). DiReCL achieves this by first using an LLM to generate reward code, then optimizes its learnable parameters through differentiable inverse reinforcement learning objectives i.e., the reward is trainable and semantically structured at the same time. Furthermore, the framework incorporates a diagnostic-driven reflection mechanism that uses IRL feedback to iteratively revise the reward template's structure when numerical calibration alone is insufficient. The authors evaluate DiReCL on robotic control (MuJoCo Locomotion) and autonomous driving (CommonRoad RL) tasks with strongest performance across the baselines on both benchmarks.
Strengths and weaknesses
Strengths:
-
S1: While LLM-based reward design and Maximum-Likelihood IRL both exist, the specific synthesis proposed here is novel. The technique of mapping LLM-generated code to an AST, applying fuzzy/smooth logic relaxations to maintain differentiability, and closing the loop with IRL diagnostic feedback is an original and clever contribution
-
S2: Reward specification is recognized as a bottleneck in deploying safe RL agents. Providing a framework that yields inspectable, debuggable, yet data-driven rewards is valuable to the RL community.
Weaknesses:
-
W1: Its not clear whether the comparison between DiReCL and EUREKA is entirely fair. EUREKA typically optimizes against a task fitness function without demonstrations, whereas DiReCL trains on expert demonstrations. The authors fail to specify what "training score" EUREKA used during reflection. If EUREKA was given the ground truth evaluation reward, it had privileged access to the test objective; if it was instead given weaker feedback derived from demonstration to match DiReCL, this is a non-standard handicap that could artificially inflate DiReCL's winning margin. The authors must explicitly clarify this signal and ideally provide an ablation that strictly controls for the supervision source to prove the performance gap stems from the method itself.
-
W2: The methodology behind generating the "bad-case summary" used in the reflection phase is not clearly explained. While the text states it uses natural language and task level statistics to describe failure modes, it does not specify whether this process requires an additional hard coded script, human intervention, or a separate LLM/VLM evaluator.
-
W3: Several DiReCL results carry large standard deviations (e.g., HalfCheetah 15005.1 ± 1497.6; the no-reflection variant 11790.6 ± 2049.1), and only 5 random seeds are used. More fundamentally, it is unclear whether the 5 seeds re-generate the LLM reward code or fix one generated reward and vary only RL randomness. If the latter, the error bars do not capture LLM-generation variance, which is plausibly the dominant source of variability in an LLM-in-the-loop method. It needs to clear what the seeds control, further, reporting variance across LLM generations, and perhaps using a significance test rather than raw mean±std, is more valuable.
Questions
Q1. Can you add two ablations:
- sensitivity to demonstration count and to a weaker LLM backbone?
- the gain from differentiable calibration versus more LLM reflection alone? These would answer whether the contribution is robust and which mechanism drives the gains.
- For more please refer to W1-W3
Limitations
Yes
Paper formatting concerns
None.
Final justification
I maintain my rating of 4 (Borderline Accept).
The rebuttal addressed most of my concerns. The authors clarified EUREKA’s supervision and added EUREKA+Demo, confirmed that the bad-case summary is fully automated, and explained that each seed reruns the full pipeline, including reward generation. The HalfCheetah results are encouraging, with DiReCL’s worst run outperforming the best baseline run.
However, the statistical evidence remains limited, with no significance tests, per-seed results for only one task, and high variance in several settings. The authors also did not run the clearest mechanism-isolation experiment: freezing and optimizing the same reward templates under matched conditions, although they agree this would be a more direct comparison.
Response to Reviewer qYN7
We thank the reviewer for the positive assessment of our contribution and its potentially broader value. We hope the points below can address the reviewer's concerns regarding comparison fairness, the implementation of reflection diagnostics, and experimental variance.
W1: Fairness of the comparison with EUREKA
EUREKA [1] does not access the ground-truth environment reward or expert demonstrations. It ranks candidate rewards using a task-level fitness signal: the forward velocity for MuJoCo and the deviation from the goal for CommonRoad-RL. DiReCL instead uses expert demonstrations as supervision. The two methods are therefore not supervision-matched, and we will revise the manuscript to present EUREKA as an LLM-assisted reward-design reference rather than a direct IRL competitor.
However, the comparison is nevertheless informative for two essential questions: whether repeated LLM revision alone can reliably set numerical reward parameters, and whether demonstration-based differentiable calibration improves the resulting reward. To provide a more controlled comparison, we add EUREKA+Demo, which retains EUREKA’s setting without numerical calibration but ranks reward candidates using the negative imitation gap computed from the same expert demonstrations used by DiReCL.
W2: Construction of the bad-case summary
The bad-case summary is generated without human intervention. In each reflection round, we first compute trajectory-level task statistics {fj}j≥0 for the current policy rollouts and the expert demonstrations. These statistics, together with the task description, are provided to a separate GLM-5.1 query. The LLM evaluator identifies (i) the worst rollout according to its feature deviations from the expert demonstrations and (ii) a natural-language description of its dominant failure mode. The generated report is then appended to the prompt of the reward-generation LLM, together with the other diagnostics.
This procedure is executed once per reflection round, after the current reward has been calibrated. The number of LLM queries therefore scales with the number of reflection rounds rather than with the number of sampled transitions. We will add the LLM evaluator prompt and one complete example to the appendix.
W3: Seeds and variance
Each reported DiReCL seed corresponds to an independent end-to-end run. The run resamples the LLM-generated reward program and independently initializes the IRL and policy-training procedures; the five seeds are therefore not five RL runs performed on one fixed generated reward. The reported mean and standard deviation aggregate variability from the complete pipeline. This protocol is consistent with prior work on LLM-assisted reward design [2, 3].
In fact, the large standard deviations in HalfCheetah arises because both DiReCL and DiReCL w/o Reflection yield high-performing rewards (with the corresponding policies achieving returns above 16,000). Despite this variability, all five independent DiReCL runs outperform the corresponding baseline results.
Q1.1: Sensitivity to the number of expert trajectories
We evaluate both DiReCL and ML-IRL with the same demonstration subsets on HalfCheetah.
Q1.2: Weaker LLM backbone
Please see our response to Reviewer QnHV, W3. The comparison uses identical prompts, decoding settings, reflection budgets, demonstrations, and downstream training configurations for all compared baselines.
Q1.3: Differentiable calibration versus additional LLM reflection
By comparing against EUREKA, an LLM-assisted reward-learning method that employs iterative reflection without numerical calibration, we demonstrate that LLM reflection alone is insufficient to learn a competitive reward. We reorganize our main HalfCheetah results into the following controlled 2×2 comparison:
An additional ablation with twice the reflection budget requires approximately 50 hours for a single run on a MuJoCo task. We will therefore present results with larger reflection budgets separately once sufficient computational resources become available.
In the current experiments, we use four reflection iterations in the MuJoCo tasks, corresponding to five reward generations including the initial generation, and nine reflection iterations in the CommonRoad-RL tasks, corresponding to ten reward generations in total. These settings result in an interaction budget comparable to that of the IRL baselines while allowing DiReCL to identify a high-performing reward within the available budget. Increasing the number of reflection iterations leads to an approximately linear increase in computational cost and, according to our preliminary observations, may even reduce reward performance—for example, from approximately 16,000 to 14,000 on HalfCheetah.
References:
[1] Ma Y J, Liang W, Wang G, et al. Eureka: Human-level reward design via coding large language models. ICLR. 2024.
[2] Xie T, Zhao S, Wu C, et al. Text2reward: Reward shaping with language models for reinforcement learning. ICML. 2024.
[3] Sapora S, Hjelm D, Toshev A, et al. GRACE: A language model framework for explainable inverse reinforcement learning. ICLR. 2026.