The Dataset Viewer has been disabled on this dataset.

RL dynamics: Parent run

Paper: Toward a Science of RL Dynamics: Introducing Trait Selection Decomposition · Code: ApolloResearch/rl-dynamics · All released datasets: collection

Content notice

The rollouts are text that a model wrote during training, published as it was written. Some of it is offensive, and some names real people or holds personal data, real or made up: names, e-mail addresses and the like. Nothing it says about a person was checked for truth, and none of it is a statement by Apollo Research.

The run

One instrumented training run from Apollo Research's RL-dynamics project. The run repeats the UK AI Security Institute's reward-hacking setup: GRPO on competitive-programming problems whose tests can be reward-hacked, with a KL coefficient of 0.02, training LoRA adapters on allenai/Olmo-3.1-32B-Instruct-SFT. For every optimizer step the dataset holds:

  • the adapter;
  • the rollouts the step trained on;
  • readout rollouts: the same 48 prompts answered by every checkpoint, never trained on, to measure its behaviour;
  • a random-projection sketch of every rollout's gradient.

Reward hacking is detected by the environment and recorded with each rollout; a judge model labels each rollout for unfaithful chain-of-thought (Run 4 also has emergent-misalignment judgments).

The run's id inside the files is aisi_hsg_kl002_seed2_train4x16_readout48x12_400step_rep1_20260918-222000_e923.

The runs of this release

Each run is a dataset of its own under apollo-research/. The third column has the runs' earlier working names, which the ids in apollo-research/rl-dynamics-extra-readouts are built from (copper6789 is Runs 1 to 4).

Dataset In the paper Earlier name Steps Started from Readout rollouts per step (prompts × samples)
rl-dynamics-parent Parent run copper-badger-1 0 to 149 a fresh adapter 48 × 12
rl-dynamics-run-1 Run 1 copper-badger-6 75 to 117 the parent run, checkpoint 75 48 × 12
rl-dynamics-run-2 Run 2 copper-badger-7 75 to 118 the parent run, checkpoint 75 48 × 12
rl-dynamics-run-3 Run 3 copper-badger-8 60 to 156 the parent run, checkpoint 60 48 × 12
rl-dynamics-run-4 Run 4 copper-badger-9 60 to 116 the parent run, checkpoint 60 48 × 12
rl-dynamics-readout-sampling Readout sampling run copper-badger-10 60 to 116 the parent run, checkpoint 60 48 × 48

Step N is the update from checkpoint N to checkpoint N+1: gradients/step_000060/ holds gradients taken at checkpoint-60, and the readout rollouts of step 60 were sampled from it (step 0's at theta0_adapter: there is no checkpoint-0). A run that started from a checkpoint has its own copy of it. Every step trains on 4 problems × 16 rollouts. A training rollout may have been sampled by an earlier checkpoint; its sampling_policy_id names which.

For the parent run (steps 0 to 75) and Runs 1 to 4, apollo-research/rl-dynamics-extra-readouts holds 84 more readout responses per prompt and checkpoint, sampled later from the saved adapters, with grades and judgments and no gradients.

Layout

Paths are the training code's own, so a relative path recorded in a file (a step's attempt_<id>/, a manifest's container path) resolves in a download, unless it names a file that was left out (last section).

run/config.yaml                       resolved configuration; external_init_provenance names the parent run (its id ends in _e923) and checkpoint
run/external-init-download.json       the parent checkpoint's files with their sha256, as published in the parent run's dataset (runs started from a checkpoint)
run/stream_manifest.json              the training data stream: the problems and prompts of every batch, in order
run/consumption_manifest.jsonl        which batch each optimizer step consumed (also in consumption_manifest_segments/)
run/resume_provenance/                the code version at each restart of the run
run/checkpoints/README.md             the trainer's generated model card
run/checkpoints/checkpoint-N/         the adapter after N optimizer steps (PEFT format), tokenizer files, trainer_state.json
    adam_attribution/rankNNNNN.pt     optimizer state the trainer saved for attributing the next update, per training process (a dict of float32 tensors)
run/checkpoints/theta0_adapter/       the adapter before the first step (the parent run only)
run/rollouts/generation/stream_batch_NNNNNN/rank_NN.jsonl   training rollouts: prompt, completion, token log-probabilities, rewards
run/rollouts/readout/step_NNNNNN/     readout rollouts sampled from checkpoint N (rollouts.jsonl) and their manifest
run/eval_logs/{train,readout}/step_NNNNNN.eval   the same rollouts as Inspect logs
behaviors/<behavior>/<definition>/definition.json            the judge: system prompt, response schema, model and settings
                                                             (<definition> ends in its version, as in unfaithful_cot_v4)
behaviors/<behavior>/<definition>/step_NNNNNN/labels.jsonl   one judged label per rollout, with the judge's raw answer
behaviors/emergent_misalignment/<definition>/step_NNNNNN/    Run 4 only: the extra prompts (inputs.jsonl), the answers
                                                             (generation.json), one judged row per file (labels/row_NNNNNN.json)
                                                             and the few rows whose judging failed (failures/)
gradients/step_NNNNNN/                the step's gradient archive
    summary.json                      the step's learning rate, clipping, counts and rates; attempt_id names the attempt_<id>/ directory that counted
    manifest.jsonl                    one row per sketched gradient: rollout id, kind, container and row
    readout_q_values.jsonl, train_q_values.jsonl   each rollout's exact inner products with the aggregate gradients, taken before sketching
    group_terms.jsonl                 per training problem (a group of 16 rollouts): its advantages and per-group update terms
    readout_probability_weights_<behavior>.jsonl   per readout rollout: its label for the behaviour, its importance ratio (capped at 10) and its weight
    grad_p_readout_<behavior>.pt      full-dimension aggregate gradients (not stored for the parent run)
    attempt_<id>/parameters.json      parameter names and offsets: the coordinate order of a flat gradient
    attempt_<id>/rank_NN/sketches/    bfloat16 [rows, 4194304] containers per gradient kind, manifest.jsonl, transform.yaml
sketch_transform/                     the projection every sketch uses: coordinates.pt and transform.yaml
start_checkpoints.json                the parent run only: size and sha256 of every file a new run reads to start from one of
                                      checkpoints 1 to 120, and the sha256 of run/config.yaml as published here

rank_NN and rankNNNNN name one of the four training processes.

A rollout id, <run id>|step000100|readout|row000, is the same in the rollouts, the judged labels and the gradient manifests.

Every sketch is a subsampled randomised Hadamard transform of a gradient over the 268,435,456 adapter parameters to 4,194,304 coordinates, the same transform for every run and step, so inner products between sketches approximate inner products between the gradients.

Downloading a part

from huggingface_hub import snapshot_download

repo = "apollo-research/rl-dynamics-parent"
# the adapter and adam_attribution/ (6 to 11 GB); add ignore_patterns=["*/adam_attribution/*"] for the adapter alone
snapshot_download(repo, repo_type="dataset", allow_patterns=["run/checkpoints/checkpoint-100/*"], local_dir="run_dir")
snapshot_download(repo, repo_type="dataset", allow_patterns=["gradients/step_000100/*", "sketch_transform/*"], local_dir="run_dir")

A checkpoint is 0.5 GB of adapter plus 6 to 11 GB of adam_attribution/; the starting checkpoints (below) hold 3 GB more each. A step's gradient archive is 6 to 20 GB. A sketch container opens with torch.load(path, mmap=True), and so does an adam_attribution/ file. The Hub's file listing gives the sha256 of every .pt and .safetensors file.

Starting a new run from a checkpoint

Only the parent run's checkpoint-1 to checkpoint-120 hold what a new run needs to start from a checkpoint: the optimizer state (global_step<N>/), the scheduler, the random-number states and the trainer's arguments. The other five runs started from two of them, 60 and 75. Every other checkpoint, including another run's own copy of 60 or 75, holds the adapter without that state. start_checkpoints.json at the dataset's root lists the size and sha256 of each of those files: the Hub's listing gives a sha256 only for the files it stores as large files, not for the small text ones (latest, zero_to_fp32.py, the JSON files).

These files are Python pickles of DeepSpeed, transformers and NumPy objects (global_step<N>/*.pt, rng_state_*.pth, training_args.bin): torch.load opens them only with weights_only=False, which runs code stored in the file, and the Hub's file scanner marks them as pickles.

What differs from Apollo's internal copy

  • Every file is byte-identical to the internal copy except the parent run's start_checkpoints.json, which was made for the dataset, and two rewritten files: run/config.yaml and, in a run started from a checkpoint, run/external-init-download.json. Internal storage locations in them are shortened, the bucket URI to s3://<archive>/… and machine-local path prefixes to <local>/…. The run/config.yaml of each other run records the sha256 of the parent run's run/config.yaml as it was before (source_run_config_sha256), which the published file does not hash to.
  • Two kinds of file still hold a machine-local path of the training machine: in the parent run's dataset, training_args.bin of checkpoint-1 to checkpoint-120 (the trainer's output directory), and in Run 4's dataset each step's emergent-misalignment generation.json (the path the sampler loaded the adapter from).
  • Left out: the start state of every other checkpoint (see above); the run's operational records (crash-recovery copies, resume bookkeeping, logs, launch records, benchmarks); the source snapshot; other attempts of a retried step; the files of a final step that the run did not complete; and the per-chunk judgment files that each step's labels.jsonl already merges. Some published metadata still names files that are not here: other attempts of a retried step, the per-chunk judgment files, raw per-rollout gradients.

License and sources

CC BY 4.0 for the data, which holds or builds on the work of others under their own licences (table).

What Where in the dataset Source Licence
Statements and tests of the coding problems every prompt (run/rollouts/, run/eval_logs/) and run/stream_manifest.json deepmind/code_contests, whose card credits, among others, Codeforces, Description2Code (MIT) and Project CodeNet (Apache 2.0) CC BY 4.0
The training setup and its reward-hacking environments not a file: every run repeats the setup UKGovernmentBEIS/reward-hacking-misalignment MIT, Copyright (c) 2025 UK AI Safety Institute
The base model of the adapters run/checkpoints/ allenai/Olmo-3.1-32B-Instruct-SFT Apache 2.0
The emergent-misalignment questions (Run 4 only) behaviors/emergent_misalignment/ Betley et al., emergent-misalignment/emergent-misalignment MIT, Copyright (c) 2025 emergent-misalignment
The rubric of the emergent-misalignment judge (Run 4 only) behaviors/emergent_misalignment/ UK AISI's repository above, misalignment-evals/src/misalignment_evals/scorers/opus_strict.py MIT, Copyright (c) 2025 UK AI Safety Institute

Citation

If you build on this data, please cite the paper:

@misc{vanderweij2026toward,
  title         = {Toward a Science of {RL} Dynamics: Introducing Trait Selection Decomposition},
  author        = {van der Weij, Teun and Schindler, Paul M. and Braun, Joschka and Wu, Gabriel and Qi, Richard and Shlegeris, Buck and Meinke, Alexander},
  year          = {2026},
  eprint        = {2612.04323},
  archivePrefix = {arXiv},
  primaryClass  = {cs.LG},
  url           = {https://arxiv.org/abs/2612.04323}
}
Downloads last month
18

Collection including apollo-research/rl-dynamics-parent

Paper for apollo-research/rl-dynamics-parent