The Dataset Viewer has been disabled on this dataset.

RL dynamics: companies toy model, before RL

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, 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.

Overview

What was measured of the companies toy model before any reinforcement learning, in Apollo Research's RL-dynamics project. Every training run of the toy model starts from one checkpoint: Qwen/Qwen3.5-4B after supervised fine-tuning, which is in the dataset apollo-research/rl-dynamics-toy-sft-checkpoint. In the toy model, ten fictional companies pose programming problems, and a completion counts as gaming when it contains a fixed marker string, the gaming token. This dataset holds:

  • 327,680 rollouts of that checkpoint: 1,024 for each of 32 problems as posed by each of the ten companies, with prompt, completion, tokens, the log-probability each completion token was sampled with, the reward and its parts, and whether the completion games;
  • the aggregate direction estimated from them, g_star_p.pt: the mean over the 320 company-and-problem pairs of the gradient of the gaming probability.

Layout

g_star_p_sweep_v1/
    config.yaml, problem_ids.json        the sweep's settings and its 32 problems. The sweep ran in several launches,
                                         and config.yaml is the last one's
    g_star_p.pt, g_star_p.summary.yaml   the aggregate direction and what it was built from. The direction loads with
                                         torch.load as a dict of 248 float32 vectors, keyed by the name of the module
                                         that the runs' LoRA adapters adapt, with 129,859,584 values in all: as many
                                         as an adapter has parameters
    <company>_problemNNN/                one company and one problem (NNN is the problem's index in problem_ids.json)
        json_files/eval/rollouts.jsonl   its 1,024 rollouts, one per line
        log_files/eval_logs/rollouts.eval   the same rollouts as an Inspect log
        done.flag                        when its rollouts were finished

Downloading a part

from huggingface_hub import snapshot_download

repo = "apollo-research/rl-dynamics-toy-before-rl"
snapshot_download(repo, repo_type="dataset", allow_patterns=["g_star_p_sweep_v1/learnova_problem000/*"], local_dir="data")

One pair's rollouts and log are about 0.13 GB; a company's 32 pairs (g_star_p_sweep_v1/learnova_problem*/*) about 4 GB.

What differs from Apollo's internal copy

  • Every file is byte-identical to the internal copy except g_star_p_sweep_v1/config.yaml and g_star_p_sweep_v1/g_star_p.summary.yaml, in which machine-local path prefixes are shortened to <local>/….
  • Paths of the training machines (/workspace/…) remain in the Inspect logs' headers and journals: the base model and the task's file. Other machine paths in rollouts and log samples are text the model wrote.
  • Left out: each pair's full gradient (grad_p.pt, 0.26 GB each), a second copy of its rollouts in another format and of its Inspect log, the tables and launch record of the sweep's last launch (which covered ten of the 320 pairs), the files of the experiment tracker and the launch log.

License

CC BY 4.0.

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
8

Collection including apollo-research/rl-dynamics-toy-before-rl

Paper for apollo-research/rl-dynamics-toy-before-rl