Datasets:

ArXiv:
Dataset Viewer

The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

NLAC MATH500-Hard reproduction — blocked/inconclusive, code ready

Independent check of Table 1 (Qwen2.5-7B-Instruct, MATH500-Hard) of "Natural Language Actor-Critic: Scalable Off-Policy Learning in Language Space" (arXiv 2512.04601).

Status: BLOCKED / INCONCLUSIVE. No official author code exists; the paper's exact 500-item split, per-run predictions and rollout-inclusive resource accounting are not published. GPU compute for the runs has not been granted yet ($0 budget at writing time). Everything below is built, grounded in current library APIs, and ready to launch; nothing has been trained or graded, so no number in this repo is an observed result and none of the paper's numbers are confirmed or falsified.

The claim under test

Table 1, Qwen2.5-7B-Instruct, MATH500-Hard accuracy:

Method Paper
RFT 49.8
PPO 52.3
GRPO 52.5
Self-Distill 57.1
NLRL 53.4
NLQL 56.4
NLAC (online) 56.2
NLAC (replay) 53.2

The falsifiable content is the ordering RFT < GRPO < NLAC-replay ≈ NLAC-online < Self-Distill, plus the ~3-point online-vs-replay drop. The paper itself concedes NLAC does not beat Self-Distill on math (single-step task, critic reduces to reward prediction).

Pre-registered grading protocol (fixed before any grading)

Rules R1–R6 in verifier.py: answer must be inside \boxed{} ("correct and properly formatted", paper p.8); first \boxed{} wins if several appear; malformed ≠ wrong (counted separately); symbolic/numeric equivalence via math-verify parse/verify; timeouts → 0; unparseable gold → item flagged, never guessed. No model-based judge anywhere.

Fixed proxy split

build_split.py samples 500 eval items with seed 20261201 from all Level-5 test problems of SevenAIGmbH/MATH-lighteval and holds out the remaining problems so the train pool is exactly 12,000, matching the paper's stated size ("the remaining 12,000 problems are used as the training set"). The authors' exact items are unrecoverable, so this is a distribution-matched proxy, not the same 500 items — the headline deviation.

Files

File Role
verifier.py pre-registered grader + self-test (CPU)
build_split.py builds + pushes eval split and 12,000-item train pool
generate_training_data.py rollouts → (RFT / Self-Distill / NLAC critic+refine) SFT data via vLLM
train_sft.py full-FT SFT trainer; --method nlac_replay adds the prioritized-replay second phase
train_grpo.py GRPO baseline (8 rollouts/prompt, exact-answer reward)
evaluate.py greedy eval on the 500 items, per-item predictions jsonl pushed here

How to run (when compute is granted)

python build_split.py                                            # ~2 min CPU
python evaluate.py --tag base-zero-shot                          # anchor, ~$1
python generate_training_data.py --method rft         --out data/rft.jsonl
python generate_training_data.py --method self_distill --out data/self_distill.jsonl
python generate_training_data.py --method nlac        --out data/nlac_online.jsonl
python train_sft.py --method rft          --data data/rft.jsonl           --hub-model-id Neurips-2026-MLIntern-Repro/qwen2.5-7b-rft
python train_sft.py --method self_distill --data data/self_distill.jsonl  --hub-model-id Neurips-2026-MLIntern-Repro/qwen2.5-7b-self-distill
python train_sft.py --method nlac_online  --data data/nlac_online.jsonl    --hub-model-id Neurips-2026-MLIntern-Repro/qwen2.5-7b-nlac-online
python train_sft.py --method nlac_replay  --data data/nlac_online.jsonl    --hub-model-id Neurips-2026-MLIntern-Repro/qwen2.5-7b-nlac-replay
python train_grpo.py --hub-model-id Neurips-2026-MLIntern-Repro/qwen2.5-7b-grpo
python evaluate.py --tag nlac_online --checkpoint Neurips-2026-MLIntern-Repro/qwen2.5-7b-nlac-online
# ...repeat evaluate.py per checkpoint; per-item predictions land in data/predictions/

Documented deviations from the paper

# Paper Here Effect
1 64×H20, <48 h per benchmark 1×A100-80GB per run scale only; no H20 flavor exists on this compute
2 30,720 grad steps × batch 1024 (internally ambiguous — ≈2,600 epochs over 12k problems) 200 steps × batch 64 undertrained ~150×; can shift absolute and possibly relative numbers
3 prompt 8192 / response 24576 4096 total prompts <1k tokens; Qwen2.5-7B-Instruct responses ~1–2k; no truncation expected
4 verl, standard AdamW TRL, 8-bit AdamW (fp32 states don't fit 1×A100 for full FT) optimizer precision only
5 exact 500 test items, unknown seed seeded proxy sample (same distribution: all Level-5 test) eval items differ; CIs overlap paper's ±2–3 pts
6 continuous EMA reference θ̄ for critic targets targets generated from base model (θ̄ = init), one pass faithful at 1-pass scale; degrades at longer training
7 replay: 50/50 fresh/stale mix per batch, prioritized by L1 two equal phases: fresh, then prioritized buffer (α=0.1 weights) keeps the ~50% fresh-sample property; per-batch mixing approximated
8 decoding not stated greedy (temp 0) eval, temp 1.0 rollouts assumption
9 GRPO/PPO via verl TRL GRPOTrainer, loss_type="grpo" implementation stack differs

What a reduced-scale run can and cannot establish

Can: whether, at matched (small) training budget, the ordering RFT/GRPO < NLAC ≈ replay < Self-Distill emerges at all, with the same verifier and per-item predictions; whether replay degrades vs online at 50% fresh samples. **Cannot:** the paper's absolute numbers; claims about the 30,720-step regime; sample-efficiency claims (Fig. 2); any long-horizon conclusion (single-step task only); the QwQ-32B row (PPO 73.4 > NLAC 72.7 would need a second model track).

Estimate to finish the pilot

3 h × 4 method-runs + GRPO (2× rollout cost) + eval passes ≈ $40–50 on A100-large ($2.50/h); 3 seeds as in the paper's averaging ≈ $120.

Citation

If you use this harness, cite the source paper: https://arxiv.org/abs/2512.04601

Downloads last month
-

Paper for Neurips-2026-MLIntern-Repro/nlac-math500hard-repro