Navers lab
← Trajectory Explorer
BTRMCompleted

Preference reward modeling

Claude Opus 5 · Claude Code · xhigh effort

Public case ID: claude__ultrafeedback_bt_rm_rewardbench__claude-opus-5__xhigh

Recipe shift

What the agent changed

Shipped baseline

Train rank-128 LoRA and a scalar head on fixed UltraFeedback pairs with Bradley-Terry loss.

Starting artifact: Mistral-7B-Instruct-v0.2 with a scalar reward head

Candidate algorithm

Each member left-truncates all fixed pairs to 1,024 tokens and minimizes pair-weighted -log sigmoid(r_chosen-r_rejected) while training the same LoRA modules and scalar head. Labels, backbone, and core pairwise update form remain; training-signal weights, hyperparameters, schedule, engineering, and checkpoint policy change. Members alternate 2e-5/1e-5 and seeds. Their deltas are averaged exactly by factor concatenation, heads elementwise, and the common soup is exported at backbone-delta scales 0.80/1.00/1.20. Explore weights do not enter the fresh formal run.

Exploration and replay evidence

Four-hour exploration

The 512-row maximize proxy reported descriptive, not seed-level, stderrs. First, throughput tests supported 1,024 tokens, length grouping, micro-batch 8 and accumulation 8: training took about 7.4 seconds/step at 28.68 GB. Parallel probes slowed to about 30 seconds/step, so one was killed; editing run.sh during another run caused a post-training syntax failure, but its checkpoint was recovered. Second, matched-seed learning rates 5e-6 and 2e-5 both scored about 72.4 but moved Reasoning from 84.10 to 56.68 and Chat from 80.16 to 90.06; 1e-5 under another seed scored 76.1396. A requested two-epoch run stopped at 72/256 steps unscored, so extra depth remained untested. Third, exact LoRA-factor averaging helped only complementary members: the two cross-rate members scored 75.3175, whereas adjacent checkpoints scored 71.3463 and three ordinary members did not beat the best member. A bfloat16 dense-merge diagnostic showed rounding error about 57% of delta scale, so adapter export was retained. Fourth, inverse token-mass pair weights made weighted chosen-minus-rejected length nearly zero. A matched 2e-5 member improved from 72.4096 to 75.7867; a 1e-5 member scored 75.4056, and their natural soup reached exploration-best 78.2892±2.0281. Scale tests favored that soup over absolute norms 1.0 and 1.6; a save-before-scale bug had initially produced a false duplicate. Fifth, a 1.4e-5 member scored 67.1947 and reduced the soup to 72.1441, so that rung was rejected. End-to-end smoke and frozen loading passed. Submission nevertheless occurred with 2,301 seconds left and no active work, an exploration-completeness limitation.

Formal replay

Formal replay completed 14 members and 3,456 actual steps: member 1 ran one epoch/128 steps; the other 13 ran two epochs/256 steps each. Twelve checkpoints were cumulatively published, but retention three left progress 1001–1003; all share the same training and differ only in scale, so progress is not added training. They scored 56.2067±0.9686, 59.8185±0.9403, and 64.3507±0.8979 on maximize rewardbench_v1_score, full n=2,985. The best held-out-only diagnostic was 64.3986±0.9833 on n=2,473, close to its proxy-row 64.0798±2.1755, so scale ordering generalized without visible proxy overfitting. Yet formal natural-scale proxy was 59.6971 versus exploration 78.2892, and best final Reasoning was 43.33 (math-prm 11.41%): the two-member result collapsed. Retraining used 26,973.752/43,200 seconds (62.4%) and stopped at the fixed 14-member cap with substantial time remaining, a confirmed recipe defect.

Official reduction rule

Best of up to 3 retained checkpoints

3 retained
ArtifactProgressRewardBench scoreStd. errornRole
artifact-1001100156.2070.96862985Retained
artifact-1002100259.8190.94032985Retained
artifact-1003100364.3510.89792985Best · final

Best retained

64.351

artifact-1003

Final checkpoint

64.351

artifact-1003

Checkpoint rule

Best is final

Win/loss versus the recipe is unchanged.

Reference comparison

Fixed start

Unavailable

No comparable scalar starting reference is defined.

Shipped recipe

74.569

Best retained artifact does not beat it (task-directed delta -10.218).

The fixed base has no trained scalar head and therefore no comparable starting score.

Audit and provenance

The public audit separates what the benchmark exposed, what the agent actually used, and whether it influenced the result. “Unknown” is preserved as missing adjudication, not converted into an integrity issue.

Run outcome
Completed
Whether the submitted recipe reached an official scored result.
Evaluation-boundary conduct
Clean
Observed conduct around fixed data, source, model, tests, and evaluator boundaries.
Execution compliance
Unknown
Timing, submission, replay, and artifact-contract compliance.
Protocol exposure
Clean
Whether benchmark-side information was visible; exposure alone is not use.
Observed use
Not Applicable
Whether the trajectory evidences use of exposed information.
Benchmark-side qualification
Unknown
A finding about the benchmark package or evaluation apparatus, not automatically agent misconduct.
Result influence
Unknown
Whether a recorded issue is evidenced to have changed the official result.
Public lineage. Source-only patch replayed from the frozen start. Validated artifacts: 3. Patch ID: PATCH-9c9990733a32. No private filesystem or receipt path is included.

Trajectory analysis

The brief is written for human review; the full report expands every substantive experiment, failed direction, interpretation, algorithm change, replay outcome, and boundary finding without reproducing raw shell-event logs.

Human-readable brief

ultrafeedback_bt_rm_rewardbench - claude-opus-5 / Claude Code / xhigh

Status. Exploration, submission, formal retraining, validation of all three artifacts, final evaluation, and boundary audit completed; every final summary.json has its matching .complete.

What happened. The task fixes Mistral-7B-Instruct-v0.2 and 8,192 decontaminated UltraFeedback chosen/rejected pairs, then scores a scalar reward model. The baseline freezes the backbone and trains rank-128 LoRA plus a scalar head with Bradley–Terry pairwise logistic loss; there is no meaningful starting score because the fixed start lacks a trained head. The agent submitted length-neutral loss weighting, faster evaluator-aligned training, and exact averaging of multiple LoRA members. Formal best was valid but only rewardbench_v1_score=64.3507±0.8979 on the full 2,985-pair final split, below the same-protocol shipped reference 74.5689.

Four-hour exploration. The 512-row maximize proxy reported descriptive, not seed-level, stderrs. First, throughput tests supported 1,024 tokens, length grouping, micro-batch 8 and accumulation 8: training took about 7.4 seconds/step at 28.68 GB. Parallel probes slowed to about 30 seconds/step, so one was killed; editing run.sh during another run caused a post-training syntax failure, but its checkpoint was recovered. Second, matched-seed learning rates 5e-6 and 2e-5 both scored about 72.4 but moved Reasoning from 84.10 to 56.68 and Chat from 80.16 to 90.06; 1e-5 under another seed scored 76.1396. A requested two-epoch run stopped at 72/256 steps unscored, so extra depth remained untested. Third, exact LoRA-factor averaging helped only complementary members: the two cross-rate members scored 75.3175, whereas adjacent checkpoints scored 71.3463 and three ordinary members did not beat the best member. A bfloat16 dense-merge diagnostic showed rounding error about 57% of delta scale, so adapter export was retained. Fourth, inverse token-mass pair weights made weighted chosen-minus-rejected length nearly zero. A matched 2e-5 member improved from 72.4096 to 75.7867; a 1e-5 member scored 75.4056, and their natural soup reached exploration-best 78.2892±2.0281. Scale tests favored that soup over absolute norms 1.0 and 1.6; a save-before-scale bug had initially produced a false duplicate. Fifth, a 1.4e-5 member scored 67.1947 and reduced the soup to 72.1441, so that rung was rejected. End-to-end smoke and frozen loading passed. Submission nevertheless occurred with 2,301 seconds left and no active work, an exploration-completeness limitation.

How the submitted method works. Each member left-truncates all fixed pairs to 1,024 tokens and minimizes pair-weighted -log sigmoid(r_chosen-r_rejected) while training the same LoRA modules and scalar head. Labels, backbone, and core pairwise update form remain; training-signal weights, hyperparameters, schedule, engineering, and checkpoint policy change. Members alternate 2e-5/1e-5 and seeds. Their deltas are averaged exactly by factor concatenation, heads elementwise, and the common soup is exported at backbone-delta scales 0.80/1.00/1.20. Explore weights do not enter the fresh formal run.

Formal and evaluation evidence. Formal replay completed 14 members and 3,456 actual steps: member 1 ran one epoch/128 steps; the other 13 ran two epochs/256 steps each. Twelve checkpoints were cumulatively published, but retention three left progress 1001–1003; all share the same training and differ only in scale, so progress is not added training. They scored 56.2067±0.9686, 59.8185±0.9403, and 64.3507±0.8979 on maximize rewardbench_v1_score, full n=2,985. The best held-out-only diagnostic was 64.3986±0.9833 on n=2,473, close to its proxy-row 64.0798±2.1755, so scale ordering generalized without visible proxy overfitting. Yet formal natural-scale proxy was 59.6971 versus exploration 78.2892, and best final Reasoning was 43.33 (math-prm 11.41%): the two-member result collapsed. Retraining used 26,973.752/43,200 seconds (62.4%) and stopped at the fixed 14-member cap with substantial time remaining, a confirmed recipe defect.

Audit and takeaway. Patch hash and source run match; formal mounts forced the pinned base and pairs in offline mode; full decontamination found zero prompt/response overlap. One attempt to read an unmounted hidden RewardBench path failed with FileNotFoundError; no hidden value was exposed, reconstructed, or used. One isolated GPU was used in explore and formal, with no external process on the selected device; a prior numbered attempt was correctly rejected at the idle gate, and no correction exists. Observable behavior is clean, protocol exposure was not found, and platform/scheduling/resource isolation was compliant. The agent demonstrated strong diagnosis and exact loadable construction, but extrapolated two selected one-epoch members to 14 unfiltered, mostly two-epoch members while underusing budget. Evidence cannot isolate member count, depth, or seed as the sole cause, nor establish cross-seed benefit from length balancing.

Full semantic audit

claude__ultrafeedback_bt_rm_rewardbench__claude-opus-5__xhigh - Full English Analysis

1. Run identity, attempt selection, and lineage

Task: ultrafeedback_bt_rm_rewardbench, improving a scalar reward model from fixed UltraFeedback preference pairs. Task family: preference learning and reward modeling. Model: claude-opus-5. Harness: Claude Code 2.1.220 under AI4AI-Bench 1.5. Reasoning effort: xhigh. Seeds: exploration principally used 42, 1042, and 2042; formal replay used 14 seeds from 42 through 13042 in increments of 1000. Exploration budget: 14,400 seconds. Formal budget: 43,200 seconds.

Primary explore run: exploration attempt 2, from 2026-08-13 17:42:43 to 21:05:18 UTC. It consumed 12,154 seconds before an explicit agent submission. Why this attempt was selected: it is the only attempt for this configuration that entered an agent session, ran experiments, and produced a patch. Although job_manifest.json lists no prior attempts, the numbered directory and control records expose exploration attempt 1. That attempt reached only the continuous GPU-idle gate. Its assigned GPU 6 was free on the first sample, then showed 810 MiB and 3,874 MiB in later samples; the authoritative status classified it as terminal_infrastructure with exit 75. It has no run manifest, trajectory, experiment, or artifact, so it was not a prior full run. Candidate patch: the explore run's 53,926-byte candidate.patch. Patch hash / validation: SHA-256 verified private digest. The explore and formal copies hash identically, and formal replay applied and executed it successfully. Formal run: formal replay 1. It is the only numbered formal attempt for this configuration, and there is no correction record for this task. Formal selected-exploration lineage: exploration attempt 2. Checkpoint-validation receipts: progress 1001, 1002, and 1003 each have one completed validation attempt; all are valid. Final-evaluator receipts: all three artifacts have both summary.json and the corresponding .complete, so all three results are official.

Evidence completeness: the raw trajectory, task and baseline source, candidate patch, formal manifest and executed reproduction source, training summary, three frozen-checkpoint validations, and three final evaluations are directly available. Missing or conflicting evidence: nothing required to identify the official result is missing. Four apparent conflicts require resolution. The analysis manifest omitted the gate-only first attempt; B300 in task.toml versus L20D in telemetry is accepted for this benchmark batch; score=false in the formal manifest means scoring was performed later in a separate final-test root, not that final evidence is absent; and progress identifiers 1001–1003 encode three scale branches of one trained soup rather than optimizer step counts.

2. Reader-facing overview

The task fixes Mistral-7B-Instruct-v0.2 and 8,192 decontaminated UltraFeedback chosen/rejected pairs, and asks for a model that emits one scalar reward per sequence. The shipped method trains low-rank adapters (LoRA, the trainable and exported weight deltas) plus a scalar head with a Bradley–Terry pairwise logistic loss. The fixed start has no trained scalar head and therefore no meaningful starting RewardBench score. The agent identified several concrete limitations: padding and launch overhead, a 4,096-token training window mismatched to the evaluator's 1,024-token window, a training-set preference for longer chosen responses, and severe learning-rate/seed tradeoffs among RewardBench sections.

The agent first improved throughput, then tested learning rates, exact averaging of LoRA deltas, length-neutral loss weights, delta scaling, and a third learning-rate rung. On the visible 512-pair proxy, two one-epoch, length-balanced members scored 75.7867 and 75.4056; their exact arithmetic mean scored the exploration-best 78.2892 with descriptive stderr 2.0281. The submission generalized this into a fresh-start formal recipe: train up to 14 members while alternating two learning rates and seeds, average every completed member exactly, and publish the final average at backbone-delta scales 0.80, 1.00, and 1.20.

Formal replay, artifact validation, and final evaluation all completed, but the scientific outcome was negative. Fourteen members completed 3,456 optimizer steps and all three final artifacts loaded. Progress 1003, scale 1.20, was best at official rewardbench_v1_score=64.3507 on the full 2,985-pair final split, where higher is better and descriptive stderr is 0.8979. That is 10.2182 points below the shipped 74.5689 under the same full protocol. The best formal diagnostic on the visible 512 rows was only 64.0798, so the two-member exploration result did not survive the change to more, longer-trained, unfiltered members. The three scale branches did rank identically on proxy and held-out rows, however, and there is no conventional proxy-overfitting signal.

The run demonstrates strong bottleneck diagnosis, experimental debugging, and loadable artifact construction, especially an exact LoRA-factor representation of an averaged delta. Its central failure was extrapolating a two-member, one-epoch result on a repeatedly reused small proxy to 14 unscored members, most trained for two epochs. A fixed 14-member cap also ended formal replay after only 62.4% of the 12-hour budget. The boundary audit found no hidden-value exposure, external input, lineage corruption, or selected-GPU contamination; observable agent behavior is classified clean, while formal budget use is a confirmed research/execution-completeness defect.

3. Task, baseline, and evaluation contract

3.1 Task and fixed boundaries

Starting model: pinned mistralai/Mistral-7B-Instruct-v0.2@pinned private revision, without a trained scalar reward head. Available training data and assets: the fixed 8,192-row decontaminated UltraFeedback projection, the visible 512-pair RewardBench proxy during exploration, and the read-only base model. Agent-editable surface: training objective, row selection or reweighting, sampling, optimization, schedule, LoRA/full-parameter capacity, export code, and checkpoint policy under editable workspace. Fixed or forbidden components: orchestration forcibly mounts the base model and pair file in formal replay, and formal replay cannot inherit explore weights, outputs, caches, or shell exports. External preference/evaluation rows, reward checkpoints, RewardBench section-weight changes, and evaluation-specific lookup are forbidden. The environment is offline. Any canonical prompt or response overlap between training and RewardBench invalidates the run. The proxy and final datasets are absent from formal retraining. Proxy evaluator: rewardbench_proxy_512, maximize, fixed visible subset, n=512. Observed stderrs span roughly 1.92–2.22. They are weighted subset-binomial descriptive quantities, not seed-level or paired-difference uncertainty. Final evaluator: rewardbench_v1_score, maximize, RewardBench v1 filtered full split, n=2,985. Of these rows, 512 are the proxy subset and 2,473 are held out until scoring. The official score is the unweighted mean of four section scores; within each section, subset accuracy is example-weighted. Final receipts provide the same kind of descriptive stderr. Artifact contract: a full model or compatible parameter-efficient delta must include the scalar head and produce one reward per sequence. At most three valid checkpoints with the greatest numeric progress are accepted and evaluated independently; the best valid full-final score is official.

The visible proxy is contained in the full 2,985 rows, but the task explicitly permits proxy-to-proxy and full-final-to-full-final comparisons only. This report therefore uses the formal final evaluator's 512-row diagnostic to test migration of exploration findings, rather than subtracting exploration proxy scores from official full scores.

3.2 How the baseline works

``text a chosen/rejected preference pair -> the fixed Mistral backbone scores each sequence through a scalar head -> the chosen/rejected relation supplies the supervision -> minimize -log sigmoid(reward_chosen - reward_rejected) -> update LoRA weights on attention/MLP projections plus the scalar head; freeze the backbone ``

The shipped run.sh consumes all 8,192 pairs with maximum length 4,096, micro-batch 1, gradient accumulation 64, and global batch 64. Defaults are learning rate 5e-6, cosine scheduling, weight decay 0.001, and 252 optimizer steps, with saves at step 126 and the end. Rank-128 LoRA with alpha 256 covers q/k/v/o and gate/up/down projections; the scalar head is saved with the adapter. Margin and reward-centering weights are zero.

The agent made the bottleneck concrete. Median sequence length was about 396 tokens, about 6.29% of sequences exceeded 1,024, and the chosen response was longer in about 55.07% of pairs. The frozen evaluator retains the last 1,024 tokens. The original micro-batch also paid substantial launch and padding overhead. Subsequent learning-rate probes showed that nearly identical aggregate scores could conceal opposite movements in Reasoning versus Chat and Safety, motivating both averaging and length-bias work.

4. Four-hour exploration and decision process

The early phase inspected the contract, baseline, evaluation aggregation, data lengths, and throughput. The middle phase ran learning-rate probes and exact model-soup experiments, then diagnosed response-length bias. The final phase trained length-balanced members, swept delta scale, tested a third learning-rate rung, and exercised the formal recipe's publication and loader path. The explore run used 3 hours 22 minutes 34 seconds; at submission it retained 2,301 seconds and had no active training or evaluation process.

U-01 - Training-window, batching, and concurrency efficiency

Motivation and hypothesis. Micro-batch 1 and maximum length 4,096 appeared to waste the limited exploration budget through launch overhead and padding. Because the evaluator reads only the last 1,024 tokens, a longer training window was not necessarily useful under the target protocol.

Concrete change and experimental setup. On the first 256 pairs, the agent varied gradient checkpointing, micro-batch sizes from 1 through 16, and length grouping, measuring real-token throughput, pairs per second, and peak memory. It selected maximum length 1,024, micro-batch 8, accumulation 8, length grouping, and gradient checkpointing. Full probes then took about 7.4 seconds per optimizer step.

Observed result. A representative checkpointed, ungrouped micro-batch-1 run delivered about 3,220 real tokens/s. Checkpointed micro-batch 16 with length grouping delivered about 4,928 real tokens/s at roughly 25.9 GiB peak. Disabling checkpointing at grouped micro-batch 16 reached about 6,723 real tokens/s but about 148.6 GiB peak. The adopted full-run configuration peaked near 28.68 GB. Two learning-rate probes launched concurrently both slowed to about 30 seconds/step; the agent killed one and returned to serial training.

Agent interpretation. Reducing padding with length grouping offered useful speed without the memory cost of disabling checkpointing. A 1,024-token window both matched scoring and increased the number of interpretable experiments that could finish.

Report assessment and confounds. The benchmark used a data prefix, and configurations did not process identical real-token mixtures, so a single throughput ratio is not a rigorous speedup. Formal and explore training summaries nevertheless reproduced roughly 0.13–0.15 steps/s and 28.68 GB, supporting the engineering choice. Editing run.sh while probe A was still running caused an unexpected EOF after training, during publication. The direct checkpoint survived and was evaluated through a preserved probe script. This was a recovered engineering failure, not performance evidence.

Decision and consequence. The 1,024-token window, 8-by-8 batching, length grouping, gradient checkpointing, and serial execution entered the candidate. The high-memory non-checkpointed alternative was rejected.