Repository navigation
openinterpretability 0.6.0 (protocol v0.10)
Ships with protocol version 0.10.
Added
scripts/base_instruct_kl.pyreads the base-to-instruct output KL at each VERIFIED pole's probes and top contexts, on plain text and in the chat template (#5141). It runs both Qwen2.5 pairs. As a predictor of an explanation's failure, it gives AUROCs of 0.49 to 0.54 on Qwen2.5-0.5B.papers/fisher-keep/reports it with a figure, and its rows are indocs/analyses/base-instruct-kl.jsonl.- A ceiling for weight-only checks (#5144).
papers/token-set-ceiling/labels the explanation of each of the 826 VERIFIED neuron poles as a token-set rule, a context rule or a gated token set. Only 147 are token-set rules, 17.8% (95% interval 15.3% to 20.6%), and most sit in the first third of each model. A second rater gives κ = 0.77, andtoken_r2separates the token-set poles with an AUROC of 0.91.scripts/token_set_ceiling.pyjoins the labels with the records. - A literature page,
docs/literature/edit-ready-training.md, reviews Ropinski and Kranz (2026), Training Vision Models for LLM-Driven Weight-Space Programming (#6031). Edit-Ready Training raises LLM agents' net edit score on image classifiers by 0.12 over plain training. It does not measure whether units become easier to read, and it edits no language model. - A literature page,
docs/literature/sentiment-treebank.md, reviews Socher et al. (2013), the source of the Stanford Sentiment Treebank (#6322). The Hub copy's SST-2 training split also holds the treebank's phrases, with a median of 7 words, and its validation split holds whole sentences. Sopapers/sequential-tuning/now says that most of its SST-2 training pairs are phrases. - Repeated mutation runs (#6359).
make mutation RUNS=5runs mutation testing 5 times, each from a cleanmutants/and in its own test order (pytest-randomly seeds 1 to 5). It reports each run's counts, and fails when a mutant fails in a run or changes its result between runs. Thetest-new-pathsskill now says that a surviving mutant in a changed verdict file blocks the PR. scripts/train_resting.pycan centre any set of LayerNorms, such asfinal,L2.ln_1(#6465). Eight new conditions centre the final norm and one block norm.papers/why-neurons-rest/reports them in Table 25 and Figure 10. No single block norm restores GELU's up push below the rest, and the norms before the MLP help most.- Why training rests neurons below GELU's dip gains Table 26. Pythia's batch and Pythia-70m's size each bring the checkpoint test's match with the next move down to Pythia's level. Neither makes the push point down less often.
train_resting.py train --micro-batchadds up the gradient over parts of a batch. The new conditionspythia_batch_32xandpythia_sizetrain with 32 times the batch, and at Pythia-70m's width and depth (#6499). - Several agents can work issues and releases at once.
scripts/issue_state.py --claim <number>claims an issue with a branch that only one agent can create, and sets it In Progress. A second agent gets exit code 3 and takes the next issue.--claim-release <tag>claims the release,--unclaim <number>drops an issue's claims, and--whoamiprints the agent's ID that comments carry.next_issue.pyprints the claim command for each pick. Thenext-issue,work-an-issueandreleaseskills claim before any work, anddocs/development.mdgives the rules for several agents (#6725). - A new paper, Tuning or size? A matched random change for neuron explanations under instruction tuning. It adds to each Qwen2.5 base model a random change with the instruct change's norm in every weight matrix, then tests each VERIFIED explanation again. On Qwen2.5-0.5B, the random change keeps 296 to 301 of 361 explanations, and the instruct change keeps 298. On Qwen2.5-1.5B, the random change keeps 72 or 73 of 75, and the instruct change keeps 65.
scripts/random_delta_keep.pyruns the test. It reads the probes in batches, and it reads the first-token check in one pass for all poles.scripts/random_change_stats.pygives the paired tests (#5154).
Changed
- No mutant survives in
core/stats.py(#6359). New tests intests/test_core_stats.pykill the 39 surviving mutants and the one timeout of the first full run. They cover ties, chunk sizes, the clamp of rho at ±1 and the recorded posterior values.cluster_textsnow finds a root in a bounded loop, so a broken root test gives wrong labels and does not hang. The chunk loops split the column indices, and rho subtracts the mean rank (n − 1)/2. Three mutants that only revisit joined pairs are recorded as equivalent. - No mutant survives in
planner.py(#6359). Mutation testing now also runstest_planner_heads.py,test_planner_claims.py,test_planner_models.pyandtest_draw_steps.py. New tests intests/test_planner.pycheck the rationale and commands of each follow-up, and the decay at its 6 h and 24 h boundaries. They also check the draw in proportion toweight ** (1 / temperature)and the settings read frompyproject.toml. Others check how the plan's seed and claims reach the explore, sister, explanation and circuit draws.plan_nextreadspyproject.tomlthroughDEFAULT_PYPROJECT, andrng.choicestakes its default of one draw. - No mutant survives in
agents/reviewer.py(#6359). Somake mutationnow ends with 0 survived, 0 no-test and 0 timeouts on all four verdict files: 1,851 mutants in 2 min 14 s. Mutation testing now also runs eight fast tests that reach the reviewer, such astest_agents.pyandtest_fence.py. New tests check the exact token-check prompt for a neuron and a head,repeated_runs, and the wiring that a review measures by default.repeated_runsreads each common run withtakewhile, so a mutant can no longer make it loop without end. - No mutant survives in
builder/standing.py(#6359). The standing tests that build no site moved fromtests/test_compiler.pytotests/test_builder_standing.py, which mutation testing runs. New tests cover the order of readings in an even split, scores exactlySCORE_MARGINapart and a missing score. They also cover each experiment's role, the newest earlier VERIFIED hypothesis and errata that set experiments aside. Others checkcontested_unitsand each count ofreviewer_agreement. Four branches that changed no result are now simpler. Two mutants that cannot change a result have a recorded reason. - Breaking. The
deployandsocialcommands, the R2 sync andSyncErrornow live in labinacan:labinacan/cli.py,labinacan/sync/andlabinacan/errors.py(#6628). A project mounts the commands on its CLI withsite_commands, giving its site-URL variable and default. This repo mounts them, soopen-interpretability deployandopen-interpretability socialwork as before.core.exceptions.SyncErroris labinacan's, and the CLI prints labinacan's errors as text. A deploy with no built site now says "build the site first". - Breaking. The build's GitHub reads now live in
labinacan/site/github.py:open_prs(withgh),get_jsonandpr_authors, with its cache (#6628).builder/pending.pykeeps the experiment branches' names, andbuilder/users.pykeeps the records' merged PRs. This repo passes its cache file, its rule for handles and its User-Agent.builder/hrefs.pystays, because its paths are all the registry's. - The
chevron,read_moreandfoldmacros now live in labinacan's_site_macros.html, besidepaper_status(#6628). This repo's templates import them from there, and its_macros.htmlkeeps the registry's badges, marks, tables and charts.about.htmlanduser.htmlstay: their content is the registry's. - Breaking. The build's on-disk memo (
DiskMemo) and the sitemap androbots.txtnow live in labinacan:labinacan/site/disk_memo.pyandlabinacan/site/feeds.py(#6628).DiskMemotakes its cache folder as a function, and this repo passescore.cache_dirs.build_cache.builder/feeds.pykeeps the feed of new VERIFIED units. - Breaking. The site's renderer now lives in
labinacan/site/render.py, withwrite_redirect,clean_ownedand the number filters (number_filters,pct_fine) (#6628). The project passes the paths that its build owns toclean_owned. This repo keepsOWNED_PATHSand its templates' globals inbuilder/compiler.py. The compiler's private_Renderer,_write_redirectand_pct_fineare gone. labinacan/site/sections.pywrites the sections that any project's site has: Changelog, the literature review, Research with its feeds, and Posts (#6628). A project passes its own sections as callbacks, and what else the Research index gets. This repo passes About, with the brand's images, and the explanations.builder/sections.pykeepsrender_reference_pageswith the same arguments.- Breaking. The site's Research, Posts, literature-review and Changelog pages, the paper PDFs and their fonts now live in
labinacan/site/, and the X posting inlabinacan/social/(#6628). The modules areresearch,research_feeds,literature_pages,literature_map_view,changelog_pageandpaper_pdf. Code that imported them fromopeninterpretability.builderoropeninterpretability.socialimports them fromlabinacan.open-interpretability socialworks as before. - Every page's frame is now labinacan's
site_base.html: the head, the stylesheet, the search box and its script, and the footer's frame (#6628). This repo'sbase.htmlextends it. Its blocks hold the generator, the VERIFIED feed, the registry's styles, the search box's label, the nav and the footer.paper_statusmoves to labinacan's_site_macros.html. - The templates of the papers, posts, literature reviews, Changelog and redirect pages now live in
labinacan/site/templates/(#6628). The site's template environment reads this repo's templates first, then labinacan's, so they still extend this repo'sbase.html. The figure templates stay, because only the explanation pages use them. - One project config for labinacan (#6629).
labinacan/config.pyreads the project's values from itspyproject.toml.[project]gives the command, the description, the URLs and the maintainer. A new[tool.labinacan]table gives the name, the package and the prefix of the environment variables. The environment variables, the feed's thread namespace, the social poster's user agent and two templates inlabinacan/now read it. Solabinacan/holds no value of this project, andtests/test_labinacan_config.pychecks that.core/project.pykeeps its names and reads them there. The built site is unchanged. - The Linear and GitHub scripts read the project config (#6629).
[tool.labinacan]gainslinear_teamandmaintainer, andProjectConfig.repoderivesowner/namefrom[project.urls] Repository.scripts/issue_state.py,linear_sync.py,next_issue.pyandclaims.pynow take the repo slug, the Linear team key, the maintainer's login and the agent variable's name from there. Two GraphQL queries take the owner and the name as variables.tests/test_labinacan_config.pychecks that these scripts hold no value of this project. - Registry coverage refreshed for the 0.6.0 release (
docs/analyses/registry-coverage.jsonl, 70 rows dated 2026-11-26). Pythia-70m rose from 160 to 172 VERIFIED poles, and its mean recovered share per layer from 0.032 to 0.034 (random 0.022). GPT-2 rose from 221 to 224 poles, and its mean stays negative (−0.058) because keeping only L10's poles raises the loss (−0.924). Qwen2.5-0.5B (362 poles, 0.011) and Qwen2.5-1.5B (75 poles, 0.001) did not change. - Sister rows refreshed for the 0.6.0 release. The search added 45 rows and 8 sisters, for the poles VERIFIED since the last run. Pythia-70m's 12 new poles found 3 sisters in Qwen2.5-0.5B, 1 in Qwen2.5-1.5B and 3 in GPT-2. GPT-2's 3 new poles found 1 sister in Pythia-70m. The strongest are GPT-2 L1/N1758+ → Pythia-70m L0/N1101+ (r = 0.79), Pythia-70m L5/N259+ → GPT-2 L6/N1862+ (0.78) and Pythia-70m L0/N1295+ → GPT-2 L0/N2697+ (0.78). Each is now a
sisterdraw.
Fixed
- Mutation testing no longer times out a mutant whose tests take no time (#6829). mutmut gives a mutant (its tests' measured time +
timeout_constant) × 15 × 2 CPU seconds. With the default of 1, a mutant whose tests measure 0 s had 30 s. A parallel run sometimes used more than that on the fork of each test process (SIGXCPU). So the same mutant was killed in one run and timed out in another.[tool.mutmut] timeout_constant = 10gives such a mutant 300 s. Before the fix, two of three runs of the 62 mutants oflabinacan/config.pytimed out one. After it, five runs killed all 62 each time.