Skip to content

openinterpretability 0.6.0 (protocol v0.10)

Choose a tag to compare

@8W9aG 8W9aG released this 26 Nov 01:22
· 1891 commits to main since this release
56c8b3a

Ships with protocol version 0.10.

Added

  • scripts/base_instruct_kl.py reads 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 in docs/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, and token_r2 separates the token-set poles with an AUROC of 0.91. scripts/token_set_ceiling.py joins 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. So papers/sequential-tuning/ now says that most of its SST-2 training pairs are phrases.
  • Repeated mutation runs (#6359). make mutation RUNS=5 runs mutation testing 5 times, each from a clean mutants/ 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. The test-new-paths skill now says that a surviving mutant in a changed verdict file blocks the PR.
  • scripts/train_resting.py can centre any set of LayerNorms, such as final,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-batch adds up the gradient over parts of a batch. The new conditions pythia_batch_32x and pythia_size train 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 --whoami prints the agent's ID that comments carry. next_issue.py prints the claim command for each pick. The next-issue, work-an-issue and release skills claim before any work, and docs/development.md gives 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.py runs 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.py gives the paired tests (#5154).

Changed

  • No mutant survives in core/stats.py (#6359). New tests in tests/test_core_stats.py kill 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_texts now 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 runs test_planner_heads.py, test_planner_claims.py, test_planner_models.py and test_draw_steps.py. New tests in tests/test_planner.py check 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 to weight ** (1 / temperature) and the settings read from pyproject.toml. Others check how the plan's seed and claims reach the explore, sister, explanation and circuit draws. plan_next reads pyproject.toml through DEFAULT_PYPROJECT, and rng.choices takes its default of one draw.
  • No mutant survives in agents/reviewer.py (#6359). So make mutation now 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 as test_agents.py and test_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_runs reads each common run with takewhile, 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 from tests/test_compiler.py to tests/test_builder_standing.py, which mutation testing runs. New tests cover the order of readings in an even split, scores exactly SCORE_MARGIN apart and a missing score. They also cover each experiment's role, the newest earlier VERIFIED hypothesis and errata that set experiments aside. Others check contested_units and each count of reviewer_agreement. Four branches that changed no result are now simpler. Two mutants that cannot change a result have a recorded reason.
  • Breaking. The deploy and social commands, the R2 sync and SyncError now live in labinacan: labinacan/cli.py, labinacan/sync/ and labinacan/errors.py (#6628). A project mounts the commands on its CLI with site_commands, giving its site-URL variable and default. This repo mounts them, so open-interpretability deploy and open-interpretability social work as before. core.exceptions.SyncError is 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 (with gh), get_json and pr_authors, with its cache (#6628). builder/pending.py keeps the experiment branches' names, and builder/users.py keeps the records' merged PRs. This repo passes its cache file, its rule for handles and its User-Agent. builder/hrefs.py stays, because its paths are all the registry's.
  • The chevron, read_more and fold macros now live in labinacan's _site_macros.html, beside paper_status (#6628). This repo's templates import them from there, and its _macros.html keeps the registry's badges, marks, tables and charts. about.html and user.html stay: their content is the registry's.
  • Breaking. The build's on-disk memo (DiskMemo) and the sitemap and robots.txt now live in labinacan: labinacan/site/disk_memo.py and labinacan/site/feeds.py (#6628). DiskMemo takes its cache folder as a function, and this repo passes core.cache_dirs.build_cache. builder/feeds.py keeps the feed of new VERIFIED units.
  • Breaking. The site's renderer now lives in labinacan/site/render.py, with write_redirect, clean_owned and the number filters (number_filters, pct_fine) (#6628). The project passes the paths that its build owns to clean_owned. This repo keeps OWNED_PATHS and its templates' globals in builder/compiler.py. The compiler's private _Renderer, _write_redirect and _pct_fine are gone.
  • labinacan/site/sections.py writes 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.py keeps render_reference_pages with 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 in labinacan/social/ (#6628). The modules are research, research_feeds, literature_pages, literature_map_view, changelog_page and paper_pdf. Code that imported them from openinterpretability.builder or openinterpretability.social imports them from labinacan. open-interpretability social works 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's base.html extends it. Its blocks hold the generator, the VERIFIED feed, the registry's styles, the search box's label, the nav and the footer. paper_status moves 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's base.html. The figure templates stay, because only the explanation pages use them.
  • One project config for labinacan (#6629). labinacan/config.py reads the project's values from its pyproject.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 in labinacan/ now read it. So labinacan/ holds no value of this project, and tests/test_labinacan_config.py checks that. core/project.py keeps its names and reads them there. The built site is unchanged.
  • The Linear and GitHub scripts read the project config (#6629). [tool.labinacan] gains linear_team and maintainer, and ProjectConfig.repo derives owner/name from [project.urls] Repository. scripts/issue_state.py, linear_sync.py, next_issue.py and claims.py now 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.py checks 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 sister draw.

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 = 10 gives such a mutant 300 s. Before the fix, two of three runs of the 62 mutants of labinacan/config.py timed out one. After it, five runs killed all 62 each time.