Bryan Kian, Hsiang Low, See-Kiong Ng, Wenyang Hu, Daniel Dahlmeier, Junxiang Jia, Zhen Shu
We lifted 8 functions out of this paper's own repositories and ran 7 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| allen4747/extra | canonical | 7 of 8 |
| Function | Status | Where it lives |
|---|---|---|
| compute_ce_dpo_loss_rm | Ran | allen4747/extra/verl/recipe/prime/prime_core_algos.py code served (permissive licence) · get_code("f220595adfc5e83c") |
| compute_detach_dpo_loss_rm | Ran | allen4747/extra/verl/recipe/prime/prime_core_algos.py code served (permissive licence) · get_code("4d91e4383716e42c") |
| compute_online_dpo_loss | Ran | allen4747/extra/verl/recipe/spin/core_algos.py code served (permissive licence) · get_code("f19825983a523003") |
| compute_onlinedpo_pref | Ran | allen4747/extra/verl/recipe/spin/core_algos.py code served (permissive licence) · get_code("41b6e81dc3ecba79") |
| generate_config_from_args | Ran | allen4747/extra/verl/verl/model_merger/base_model_merger.py code served (permissive licence) · get_code("8896f4e2bafe8abc") |
| get_kl_controller | Ran | allen4747/extra/verl/recipe/spin/core_algos.py code served (permissive licence) · get_code("757d109d90121142") |
| reward_func | Ran | allen4747/extra/verl/recipe/r1/reward_score.py code served (permissive licence) · get_code("c30b2a96103abd2c") |
| compute_grpo_outcome_advantage_with_positive_novelty | Not yet run | allen4747/extra/verl/recipe/extra/extra_core_algos.py code served (permissive licence) · get_code("e67eceb9fd6eea54") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Reinforcement Learning with Verifiable Rewards (RLVR) for language-model reasoning can fail at both extremes of task difficulty: easy prompts often produce all-correct, low-diversity rollout groups with little gradient signal, while hard prompts can produce all-incorrect groups with no positive reward. We introduce ExTra (Exploratory Trajectory Optimization), a GRPO-compatible framework that extracts exploration signals from the model's own rollouts. ExTra combines two mechanisms: (i) a novelty reward that adds embedding-based diversity bonuses after GRPO normalization, rewarding diverse correct solutions; and (ii) entropy-guided prefix regeneration, which scores partial trajectories using entropy signals and continues exploration from promising intermediate steps. Across six mathematical reasoning benchmarks, ExTra improves Qwen3-1.7B over GRPO by about +5 points on pass@1 and +7 points on pass@16, showing that trajectory-level exploration signals can improve both single-sample accuracy and inference-time coverage. Code is available at: https://github.com/allen4747/extra.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2606.24994")
get_code_for_paper("2606.24994")
have("2606.24994")
Connect an agent — have() is free.