- Rating
- 3
- Clarity
- 3
- Confidence
- 3
- Originality
- 2
- Quality
- 3
- Significance
- 3
Read review
Summary
This article proposes the CODE-SHARP framework, which utilizes large language models (FM) to automatically generate hierarchical Python reward programs (SHARPs) for continuous training of general reinforcement learning agents in an open-ended manner. CODE-SHARP has achieved significant performance improvements compared to ELLM and OMNI in multiple environments.
Strengths and weaknesses
S1: The long-term experimental scale of Craftax Extended is relatively large (90 SHARPs, 2 billion training steps), providing strong open-ended validation validation and convincing zero-shot results.
W1: The readability of the chart is poor, and the font size is too small.
W2: SCALAR (NeurIPS 2025 Workshop) also proposed an LLM driven hierarchical skill discovery framework with preconditions on Craftax, which highly overlaps with the core idea of this paper. This article does not mention the difference between Related Work and SCALAR, nor does it explain why a comparison was not made, which is a serious omission.
W3: The paper mainly compares ELLM (ICML 2023) and OMNI (2023), while several strongly related works in the same direction have been published between 2024 and 2026, including EUREKA (ICLR 2024), ARM-FM (ICLR 2026), and SCALAR (NeurIPS 2025 Workshop).
W4: The paper provides a detailed description of the computational complexity of RL training, but lacks a systematic analysis of the total number of FM inference calls, token consumption, and time cost, making it difficult to evaluate the actual scalability of the method.
Questions
Q1: There is a significant overlap between this article and SCALAR (NeurIPS 2025 Workshop) in terms of core framework, including key designs such as LLM generating skills with prerequisites and training RL agents on Craftax. Why did the author not mention SCALAR in both related work and experiments? What is the essential difference between the two?
Q2: The experimental comparison does not include SCALAR and ARM-FM, both of which are directly related to the core issue of FM automatic generation of structured reward codes in this paper. Does the author believe that the existing selection of comparison methods is sufficient? If convincing reasons can be given to explain why ELLM and OMNI are sufficient to represent the current strongest baseline, I will reassess my judgment on the experimental part.
Limitations
No
Paper formatting concerns
No
Final justification
While the authors provided substantial additional experiments during the rebuttal (judge audit, AI2-THOR transfer, no-source-code ablation, and a diamond-mining comparison against SCALAR), these experiments go beyond the scope of the original submission; I encourage the authors to formally incorporate them in a future version of the paper. The core concern regarding originality and positioning relative to SCALAR also remains unresolved: the diamond-mining comparison relies on restricting the sampling distribution to diamond-related SHARPs during fine-tuning, which constitutes implicit goal conditioning and is therefore not a fair like-for-like comparison against SCALAR's fully goal-directed setting. It shows only that CODE-SHARP's discovered archive is useful as pretraining for downstream goal-directed fine-tuning, not that CODE-SHARP outperforms SCALAR under equivalent open-ended constraints. Furthermore, no variance is reported for the SCALAR baseline, and whether it might converge earlier than its full step budget is not addressed, limiting the strength of the claimed 18.2pp gap. Based on these unresolved issues, I maintain my original score.
We thank the reviewer for engaging with our work. We appreciate the positive comments regarding our work, specifically pointing out our thorough evaluations "providing strong open-ended validation and convincing zero-shot results". Based on the reviewer's feedback, we believe we can significantly strengthen our manuscript, specifically regarding the related works mentioned. In the following, we will address each comment in detail.
We agree with the reviewer that the charts in their current form are small and difficult to read. We will adjust their size as well as the text font size to increase readability.
We thank the reviewer for bringing SCALAR to our attention. We were not aware of SCALAR at the time of writing our manuscript. We agree with the reviewer that it is indeed very relevant to our work, yet significantly different, and will add a detailed discussion of SCALAR to our related works. We believe, however, that the two works target fundamentally different problem settings, resulting in key differences that we will describe in detail below.
While the two methods operate in a similar context, they differ profoundly in their settings and objectives. SCALAR is given a specific goal state and learns only the skills required to achieve it. Given a target skill, g, a STRIPS planner works backwards from it, and candidate skills are drawn from a human-authored taxonomy in the proposal prompt, which lists all 22 Craftax achievements by name (SCALAR, App. E.1). Skills off that path are never explicitly proposed or trained. In contrast, CODE-SHARP is precisely designed for a diversity focused open-ended objective, where no external human-defined goals are provided. It is designed to discover novel skills autonomously and open-endedly and use them to train a generalist agent in the absence of any human-defined objective. Every achievement or human-defined reward reference is removed from the environment context; skills enter the archive on a learning-progress criterion alone, and the archive grows open-endedly with no fixed goal skill as the target.
In the following table, we describe the key differences in algorithm design resulting from these opposed objectives.
has,placed,near)The opposite objectives are equally visible in the reported evaluations. SCALAR's authors note explicitly that skills not relevant to the pre-specified goal are never acquired. Under the goal Collect Diamond, the agent reaches near-zero success on crafting swords (SCALAR, App. B.4, Fig. 12), and under Enter Gnomish Mines, it skips iron tool crafting entirely (SCALAR, App. B.4, Fig. 13). Section 5.2 gives the same account of the Enter Dungeon result, where overworld combat does not lie on the prerequisite chain and is therefore not learned. These outcomes are a direct expression of the method's goal-directed design. CODE-SHARP, by contrast, is designed to autonomously discover diverse skills in the absence of any pre-defined goals, which is reflected in our presented results. A single agent trained exclusively on skills discovered by CODE-SHARP without any pre-defined goals, reaches 94.8% median success across all 22 Craftax-Classic achievements (CODE-SHARP, Fig. 3a). We would like to stress that in contrast to SCALAR, none of those achievements is ever supplied to the system or used as a training signal, but instead serve only as a post-hoc performance proxy for whether the autonomously discovered skills align with behaviours humans independently regard as meaningful.
SCALAR, EUREKA and ARM-FM share the same problem setting in which a goal is provided externally, and the FM's role is to propose and optimise a set of skills or sub-objectives required to achieve it. EUREKA searches over reward code for a given task; ARM-FM constructs reward machines from given natural-language specifications; SCALAR plans backwards from a given goal state and trains only the skills on the path to it. All the above methods assume the goal or task as an input and their contributions lie in how effectively it is decomposed into hierarchical sub-objectives.
CODE-SHARP is designed for the setting in which exactly such pre-defined objectives do not exist a priori. No external task is provided at any point, and the framework exists to discover skills open-endedly and train a generalist agent precisely where no human-defined objective is available. There is therefore no fair basis for a direct comparison: running SCALAR, EUREKA or ARM-FM would require us to author the very objectives whose absence defines our setting, while supplying CODE-SHARP with a goal would remove the open-endedness under evaluation. Either way, the resulting numbers would not allow for a fair comparison between CODE-SHARP and the mentioned related works.
To our best knowledge, ELLM and OMNI are the only prior methods that generate their own objectives and train an agent from scratch on the resulting rewards, which is why we regard them as the strongest available baselines here. Both are also diversity-driven in the same sense as our evaluation is: ELLM rewards the agent for achieving diverse FM-suggested goals derived from the current state, and OMNI selects skills by FM-judged interestingness and learnability. We additionally report CODE-FRP, an internal ablation in which FM-generated skills are specified as flat, fully enumerated prerequisite chains rather than hierarchically. This isolates the structured-reward-code mechanism the reviewer raises under identical FM, environments, architecture and training budget.
We will revise our related works to highlight these fundamental differences in objectives more directly.
We agree with the reviewer that a discussion of the LLM resources required by CODE-SHARP is warranted and will add a detailed breakdown of the average token usage of Qwen3 235b-a22b-thinking-2507 per iteration for Craftax to our manuscript. We also provide a cost estimate for the smaller Qwen3.5-27b model which achieves similar performance on our evaluations in our response to reviewer qzvw. We computed the following average values, with the token cost taken from OpenRouter on the 25th of July 2026.
FM generation takes approximately 30 minutes per iteration with Qwen3-235b and approximately 5 minutes per iteration with Qwen3.5-27b, on four A6000 Blackwell GPUs.