Repository navigation
Releases
v0.2: Watch a diffusion model change its mind
traj-eval v0.2 adds the first intervention study: activation patching across denoising steps, packaged as a public notebook with figures and reproducible results.
What is new
Watch a diffusion model change its mind (notebooks/watch_diffusion_change_mind.ipynb): patch a hidden state at denoising step k and watch the model's commit step move.
Measured on 64-item ARC-Challenge suites with LLaDA-8B-Instruct (layer 16, baseline accuracy 0.90625): patching at k=5 to 45 moves the commit step earlier (deltas -4.30 to -11.28, flip rates 0.0000 to 0.03125). Matched-norm noise controls move it later (+4.72 at k=5, +2.44 at k=25) with zero flips. Patching does something noise does not.
Adapter-level patching hook (HiddenPatchSpec and resolve_transformer_blocks in src/traj_eval/adapters/llada.py) with 86 unit tests.
Figure builder and patching runner (experiments/build_p1_figures.py, experiments/run_p1_patching.py), Figures 1 to 3, and the seven patching result files (results/p1_patching/).
Public-release cleanup: vendor headers removed, README and baselines polished with the verified 64-item benchmark tables, project site navigation fixes.
Verified baselines (unchanged from v0.1): LLaDA-8B-Instruct ARC-C reasoning 0.9062 vs direct 0.875; LLaDA-1.5 0.9219 vs 0.875; Dream 0.8906 direct vs 0.8281 reasoning. CI green on the merge.
Links: project site https://arrdel.github.io/traj-eval/ and Hugging Face collection https://huggingface.co/collections/arrdel/traj-eval-diffusion-lm-reasoning-trajectories
The notebook states its falsifier up front and claims nothing beyond the 64-item ARC-C suites.