Repository navigation
openinterpretability 0.5.0 (protocol v0.10)
Ships with protocol version 0.10.
Added
scripts/train_resting.py --spread-binsalso records the output's push per token in each bin of h. Five GELU norm conditions mirror the ReLU ones. Why training rests neurons below GELU's dip gains Table 23. For GELU and SiLU, the output's push points up below the rest. It still does when no norm and no dropout can see a constant (#3193).- Why training rests neurons below GELU's dip gains Table 24: the gaps between Pythia's checkpoints don't explain its weak push. One densely saved run per seed, read at Pythia's spacing, still shows the push in 67%–87% of checkpoints and layers, against Pythia-70m's 43%.
pretrained_push.py small --stepreads a subset of a run's checkpoints (#4093). - Head scans read each head's OV circuit through the vocabulary, from the weights alone (
HeadProfile.ov_lens). The lens gives a copying score from the circuit's eigenvalues. It also gives the share of tokens that the head copies or suppresses. It maps each top example's attended token to the tokens that the head writes most. The proposer's prompt, the experiment page and the Parquet export show the lens. It is reported, not gated (#5062). scripts/base_instruct_cka.pygives each layer's linear CKA between a base model and its instruct model, raw and standardised, against a random-weights null. It also swaps each third of the blocks back to the base model and correlates the poles again. On Qwen2.5-0.5B, the whole layer changes a little, most in the middle third. That change comes partly through the earlier blocks (docs/analyses/base-instruct.md, #5127).scripts/base_instruct_delta.pyreads the weight change of instruction tuning at each pole, and tests it against whether the pole's explanation keeps. On Qwen2.5-0.5B neither measure predicts it beyond depth: AUROCs of 0.60–0.62 fall to p of 0.32–0.82 when the labels are shuffled within each layer. The change is high-rank, and spread over almost every neuron (docs/analyses/base-instruct.md, #5133).scripts/dormant_rank.pymeasures dormant and never-firing poles, and each MLP layer's effective rank, at Pythia-70m's 20 checkpoints.papers/neuron-development/reports it in Do the layers lose plasticity?. The deeper layers collapse early and recover, then slowly lose rank after step 4,000, but almost no pole becomes dormant (#5134).papers/instruct-difference/andscripts/base_instruct_patch.pypatch each layer's VERIFIED poles between Qwen2.5-0.5B and its instruct model on 128 chat conversations. Inside one layer, the VERIFIED poles close a median 0.2% of the base-to-instruct gap, about as much as random poles of the same number (#5140).- A literature review of Li et al. (2026), which turns a trained attention network into a hard-logic predicate circuit (
docs/literature/hard-logic-predicate-circuit.md, #5366). docs/literature/general-progress-substitutes.mdreviews Marosi and Antal (2026). Withholding a skill's training data only delays the skill, and its acquisition cost is the measure that #6524 needs (#5515).- CI runs mutation testing on the package files that a pull request changes. A surviving mutant fails the job, and the job summary lists it. The maintainer's PRs skip the job, because the maintainer runs it before opening them. Wiki-only PRs skip it too. A second job, Mutation testing ran locally, fails a maintainer PR that changes package code unless its body records a local run with no survivor. The
work-an-issue,next-issueandreleaseskills say when to run it (#5857). make mutation BASE=origin/mainruns only the mutants in the functions that the branch changes, at most 100 of them, a seeded sample. On #6459's five files that is 7.7 minutes, against about an hour for the whole files (#5857).- mutmut 3.8.1 is in the
devdependency group, somake mutationand CI need no--with(#5857). papers/conformal-line/andscripts/conformal_line.pygive each of the 784 VERIFIED poles a split-conformal activation line. The fixed line fires on a median 0.7% to 23% of corpus windows, by model. At α = 0.05, 451 of the 784 explanations still pass their probe gates. The probes predicted quiet fire far above α in Qwen2.5 (#6417).- Each circuit experiment has its own page beside its circuit's page, at
models/<model>/circuits/<id>/<timestamp>.html(#6638). It shows the task, the explanation, and the members with their roles and links. It also shows the review, the measures against their gates, the probe pairs, and the record it revises or that revises it. The circuit's table links each experiment's page. It says whether each one is current or stale, independent or self-reviewed, and superseded. Circuit records now have personal data removed before the site shows them, as unit records do. - Each sister match has its own page, under
sisters/. It shows the two poles, each row's measures and every sister study between them, or says that none has run yet. Each model with sisters has an index of its matches (models/<model>/sisters.html). The model page's sister graph and table, and each neuron page's sister rows, link to the match's page (#6639).
Changed
- Breaking. The site's Tailwind build now lives in
labinacan/site/css.py, and the colour maths (luminance,badge_textandrgb) inlabinacan/site/palette.py(#6628). The project passes its colours to the build. This repo keeps its status, pole and brand colours inbuilder/palette.py.python -m openinterpretability.builder.cssstill builds the stylesheet in them. - Breaking. The site's redaction core now lives in
labinacan/site/pii.py: the search's cache,find_spans,redact_text,redact_tokensandscrub(#6628). A project tells it where to keep matches on disk withconfigure. Without that, it keeps nothing on disk and redacts the same. The record scrubbing stays inbuilder/registry_pii.py, which gives the core this repo's cache folder and search name.labinacan/cache.pytakes the cache base as an argument, andcore/cache_dirs.pypasses this repo's base. - Breaking. The personal-data and offensive-word search, its two data files, takedowns and
StrictModelnow live inlabinacan/(#6628).labinacan/sensitive.pytakes the search's name as an argument. This repo passesopeninterpretability.sensitive(core/confounds.py), so new records write the samelabel_detectoras before. The takedown functions now need the wiki folder. - Breaking. The first generic parts of the site builder now live in a
labinacan/package, besideopeninterpretability/(#6207, #6628).labinacan/site/holdscontents,maths,alphaxiv,social_media,cluster_mapandparallel, andlabinacan/progressthe progress reports. A test checks thatlabinacan/imports nothing fromopeninterpretability. The wheel, the tests, coverage, mutation testing and the checkers all cover it.scripts/mutation.pynow counts only the edited lines of a moved file. - The registry coverage ran again on 2026-11-24. The share of the loss rise that the VERIFIED poles recover, against matched random poles, is:
- GPT-2: 7.8% against 0.9%, with 221 poles (was 6.9% against 0.6%, with 218).
- Pythia-70m: 4.6% against 0.5%, with 160 poles (was 4.5%, with 150).
- Qwen2.5-0.5B: 0.69% against 0.29%, with 362 poles (was 0.38% against 0.30%, with 363). The share rose although one pole fewer is VERIFIED. So the poles that changed carry more than the one that left.
- Qwen2.5-1.5B: 0.01%, with 75 poles (was 73).
- The sister search ran for the 19 poles VERIFIED since v0.4.2, on the same corpus (
ded48cfc…). It added 57 rows and 8 sisters. GPT-2 gained 4: 2 in Qwen2.5-1.5B, 1 in Qwen2.5-0.5B and 1 in pythia-70m. Qwen2.5-1.5B gained 2, one each in Qwen2.5-0.5B and GPT-2. Pythia-70m gained 2, one each in the two Qwen models. The strongest is GPT-2 L0/N887+, with Qwen2.5-0.5B L0/N720− (r 0.92), Qwen2.5-1.5B L0/N5590+ (0.90) and pythia-70m L0/N273+ (0.88). Next is Qwen2.5-1.5B L22/N5737− with GPT-2 L0/N504+ (0.86). Each is now asisterdraw, and each has a match page.
Fixed
- A follow-up draw claims
experiment/<key>-<kind>-<MMDDHHMMSS>, so a second draw of a kind on a unit no longer collides with a merged PR's branch. A session that ran nothing gives its attempt and its--runcount back. A session that landed a PR but printed noRESULT:line now counts. The run's summary says "not reached" for a target that it never drew (#6066). - A deploy waits out a slow R2 response, and retries it. The R2 client has a 300-second read timeout and standard retries, up to 6 attempts. Before, one slow
DeleteObjectscall failed the deploy (#6101). - An
explain --runsession's prompt now asks for one plain command per Bash call, with nocd,&&, pipes orenvprefixes. An unattended run denies other shapes. When a session opens no PR, the loop names any branch it pushed. A pushed record gets thegh pr create --headcommand, and a pushed claim gets the command to delete it (#6145). - An experiment's steps now mark its PR ready before the last push, so that push starts a full CI run. CI's and CodeQL's concurrency groups include the draft flag, so a draft-time run can't cancel the ready run. Before, a PR could sit ready with only skipped checks (#6179, #6247).
- A pytest worker could crash in a test that builds the site after running torch: the build forked a process that already ran torch's threads.
OPENINTERPRETABILITY_BUILD_JOBSnow caps a build's worker processes, and the test suite sets it to 1 (#6507). scripts/literature_map.pytries each of eight fixed seeds and keeps the most compact layout. One new review page can no longer drop the map under the test's gate.map.jsonnames the seed it kept. The GitHub queue reader and the report moved toscripts/literature_map_io.py(#6529).- A test may now run for 180 s, not 60 s, before pytest-timeout ends it. A whole-site build test ran past 55 s under coverage on a 2-core CI runner. Under xdist that ended the worker and showed as a crash with no trace. CI now lists the 15 slowest tests, so a creep toward the limit shows early. Making those builds cheaper is #6579 (#6561).
- A test that runs past its timeout now leaves evidence. Five seconds before pytest-timeout ends it, every stack goes to the worker's crash log under the test's name. Before, the timeout's own dump went to stderr, which a worker loses (#6561).
- A test worker that crashes now leaves evidence. Each xdist worker writes faulthandler's stack dump to
logs/faulthandler-<worker>.log. When the tests fail, CI prints those files and any out-of-memory kill from the kernel log. Before, a crashed worker lost its stderr and left no trace (#6561).