Skip to content

openinterpretability 0.6.1 (protocol v0.10)

Choose a tag to compare

@8W9aG 8W9aG released this 27 Nov 05:41
· 1713 commits to main since this release
d3495f9

Ships with protocol version 0.10.

Added

  • Property-based tests with Hypothesis for the verdict code (tests/test_properties.py, #3167). The review doesn't depend on test-prompt order, clustering doesn't depend on text order, standing doesn't depend on record order, and signing then verifying round-trips. Each runs the same examples every time.

  • A literature page, docs/literature/interference-weight-programming-and-lora.md, sums up the 73 reviews of catastrophic interference, weight-space programming and LoRA (#4782). It puts them beside the repo's eight keep-test papers. Two follow-ups are new: a LoRA keep test (#6890) and a fine-tune that protects the VERIFIED poles (#6891).

  • A new paper, Do neuron explanations survive 4-bit NF4 rounding?. It rounds each linear weight of Qwen2.5-0.5B and Qwen2.5-1.5B to QLoRA's NF4, and tests every VERIFIED explanation again. On Qwen2.5-0.5B, 281 of 362 explanations keep. On Qwen2.5-1.5B, 66 of 75 keep, more than the 58 to 62 that random changes of the same size keep. At the 99% point, the probes drift 6.7 to 10.5 times as far as under bfloat16. scripts/nf4_keep.py runs the test, and scripts/nf4_keep_stats.py gives the drift, the paired tests and QLoRA's normality test (#5158).

  • A new paper, Does pruning a few instruct-model neurons bring back the explanations that instruction tuning breaks?. On Qwen2.5-0.5B-Instruct, it prunes the writes of the MLP neurons with the highest gradient times weight on the KL to the base model. Then it tests every VERIFIED explanation again. Pruning 5 neurons brings back 16 of the 63 explanations that fail on the instruct model, against 0 to 4 for random prunes. It also breaks 26 others and raises the KL, and larger prunes do more harm. scripts/wrapper_prune.py runs it, scripts/wrapper_prune_check.py checks the score one neuron at a time, and scripts/wrapper_prune_stats.py gives the tables (#5163).

  • New paper, Does a verified answer route keep on the instruct model? (papers/route-keep/). The first passing route of Qwen2.5-0.5B, which copies " ball", still suffices on Qwen2.5-0.5B-Instruct. But the tuned model no longer needs it, so it fails the review there. scripts/route_keep.py runs the review on both models with five seeds (#5164).

  • New paper, Are rank-1 LoRA directions as explainable as native neurons? (papers/lora-units/). It trains a rank-1 LoRA on every MLP projection of Qwen2.5-0.5B, on s1K-1.1. The audit verifies far fewer of its units than native neurons: 1 of 20 down_proj directions, against 12 of 20 random native poles. The directions are dense, are active on about 17 times as many tokens and fail on the hard negatives. scripts/lora_units.py trains the adapter and writes its units, and scripts/lora_units_stats.py writes the tables (#5166).

  • A new paper, Which neuron explanations survive a ROME edit?. It edits 10 unrelated facts into pythia-70m at layer 2, one at a time, and tests each of 176 VERIFIED explanations again. No pole at or below the edit layer changes. Above it, ROME flips 25 of 870 readings, against 40 for random rank-one edits of the same norm. scripts/rome_keep.py runs the edits, and scripts/rome_keep_stats.py gives the tables (#5167).

  • A new paper, A traffic map of neuron explanations: which sites of pythia-70m does a change disturb?. It scores each neuron write and attention head of pythia-70m by the gradient of the 176 VERIFIED explanations' probe readings. Then it tests the map with a random change of norm 1 at 118 sites. Over sites drawn evenly across the map, traffic predicts the explanations that flip (Spearman's ρ = 0.66). It predicts the drift of their readings with ρ = 0.80. Most of that is depth. At the top site, one change flips 22 of 176 explanations. scripts/traffic_map.py builds and tests the map, scripts/traffic_dormant.py reads each neuron's activity, and scripts/traffic_stats.py gives the tables (#5231).

  • A new paper, How do neuron explanations fail as ROME edits pile up at one layer?. It makes 100 ROME edits in turn at layer 2 of pythia-70m and tests 180 VERIFIED explanations again at 19 checkpoints. The 88 explanations above the layer fade steadily with the weight distance, with no threshold. Random edits of the same norms erase them faster. scripts/rome_sequence.py runs the edits, and scripts/rome_sequence_stats.py gives the tables (#5362).

  • New paper, Do neuron explanations come back on the weight average of a base and an instruct model? (papers/weight-average-keep/). On Qwen2.5-1.5B, the weight average keeps 73 of 80 explanations, against 69 for the instruct model. The explanations fail a few at a time along the line between the models. scripts/weight_average_keep.py runs the test at each step with a random change of the same size, and scripts/weight_average_keep_stats.py writes the tables (#5404).

  • A literature page, docs/literature/xsum.md, reviews Narayan, Cohen and Lapata (2018), the source of the XSum dataset (#6323). Each summary is a BBC article's introductory sentence. papers/sequential-tuning/ cites it correctly. On the pinned Hub commit, its 1,500-character cut shortens 58% of the sampled training articles, and none of the sampled pairs has an empty article.

  • A literature page for Training Verifiers to Solve Math Word Problems (Cobbe et al., 2021), the source of GSM8K. It checks what papers/sequential-tuning/ says of the dataset and its licence (#6324).

  • A literature page for Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge (Clark et al., 2018), the source of ARC-Easy. It checks what papers/sequential-tuning/ says of the benchmark, and records that most questions allow non-commercial research only (#6325).

  • A literature page for Auditing Post-Training Unlearning in Diffusion Language Models using Sparse Autoencoders (Seo and Kim, 2026). It records that the chosen features barely beat a random subspace of the same rank, and says what carries over to #5220 (#6375).

  • A literature page for Weight-Space Programming and Mechanistic Interpretability for Model Editing in Particle Physics (Bonnet-Guerrini, Ioannou-Nikolaides and Petersen, 2026). It is evidence for arm G of the fix plan (#5220) (#6376).

  • A literature page for Mechanistic Failure Modes of Weight Pruning in Transformer Language Models (Faumi and Sumanathilaka, 2026). It motivates #6400 (#6404).

  • A literature page for CoEvoBench: Can LLMs Drive Recursive Co-Evolution of Agentic Systems? (Xiao et al., 2026). It sets the paper's finding, a strong first improvement and then a stall, beside this project's own loop (#6420).

  • A review of gBench, Google DeepMind's harness for the serving performance and capability of open models (docs/literature/gbench.md, #6433). Its hashed scaffold beside each score leads to #6985.

  • A review of Understanding, Predicting, and Steering LLM Behavior via Representational Effective Theory (docs/literature/representational-effective-theory.md). Its learned macrostates summarise a prefix of hidden states. They predict sycophancy early and steer reasoning, but its interpretability score has no random-encoder control. No unit is audited, so its status is not applicable (#6441).

  • A review of Parasite Features: Causal Abstraction Through Spurious Pathways (docs/literature/parasite-features.md). A learned alignment map can join two unrelated directions so that they pass interchange tests, although the model does not use them. No verdict rests on such a map. The answer experiments already gate on the paper's ablation control, and the illusions checklist now lists the paper (#6442).

  • A review of Presenting Neural Networks via Coherent Functors (Pugh, Grundy, Cirstea and Harris, 2026), at docs/literature/coherent-functors.md. Its status is not applicable: the paper is theory with no experiments, and it covers only dense feed-forward networks over finite floats (#6446).

  • A review of LLMs Memorize Their Own Hallucinations During Post-Training (Atmakuru and Goyal, 2026), at docs/literature/hallucination-memorisation.md. Its status is not applicable. The paper measures memorisation by behaviour only, in models the registry does not hold. Its headline of 4.83 points is the mean of the train column, not the gap from held-out (#6447).

  • A literature review of Ambient LLMs: Data-Efficient Supervised Fine-tuning via Temperature Matching (Daras et al., 2026), docs/literature/ambient-llms.md (#6449).

  • A literature review of Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena (Zheng et al., 2023), docs/literature/llm-as-a-judge-mt-bench.md (#6453).

  • make mutation FILES=a.py,b.py mutates every function of the named package files, for the whole-package mutation work (#6491). The first four files of patches/ (schema.py, session.py, store.py, tensors.py) have no surviving mutant.

  • A review of Best-Paper-Writing-Skill against write-paper (docs/literature/best-paper-writing-skill.md, #6493). It sorts each rule as adopted, rejected or already covered, and measures the papers against its checks.

  • python -m labinacan.config prints the project's values as shell assignments, so that a generic skill's commands name $REPO and the others, not this project's values (#6630).

  • python -m labinacan.site.build builds the site of a project that has no build of its own, from its templates/ folder and labinacan's default base.html and index.html. labinacan.mk uses it, labinacan's stylesheet and a cache folder by default (#6631).

  • scripts/check_leftovers.py counts this project's words in the files that the labinacan template takes (scripts/template_paths.txt). Its baseline (scripts/leftovers_baseline.txt) can only come down, and the template is cut when it is empty (#6631).

  • Why training rests neurons below GELU's dip gains two rows in Table 25 and in Figure 10 (#6785). The conditions gelu_final_all_ln2_dropout_0 and gelu_final_all_ln1_dropout_0 centre the final norm with all four norms before the MLP, or with all four before attention. With every ln_2, GELU's output's push points up in the −1.5 to −0.75 bin on 0.85 of neurons, against 0.88 with every norm. With every ln_1, it stays at 0.63, near the final-only 0.60. So the norms before the MLP, as a set, give the up push below the rest.

  • Why training rests neurons below GELU's dip gains Tables 27 and 28. Pythia-70m's size and 32 times our batch together bring the push's match with the next move to Pythia's. But the push still points down in 20 to 24 of 30 checkpoints and layers, against Pythia's 13. A 32× batch makes the push less steady at each step, not weaker. PushRecorder adds the push over the parts of a step, so train --push-every now works with --micro-batch. The condition pythia_size_batch_32x and scripts/batch_push_compare.py are new (#6806).

  • core/errata.py joins the verdict code that make mutation mutates. Its fast edge tests, tests/test_errata_edges.py, pin these:

    • the harness, protocol and date rules, and a record with no verdict.
    • edits that end at a list index, and edits applied in order.
    • set-aside records, and the reading of the errata file.

    All 2,062 mutants of the six files die, in about 3.5 minutes (#6810).

  • planner_models.py joins the verdict code that make mutation mutates. tests/test_planner_models.py now fakes the Hugging Face Hub. It checks which model and which download flag reach it, and both namings of a model's size and heads. It also checks the records that coverage skips, and the count of verified neurons. The explore weight is now written as (1 + covered) ** -0.5, with no constant numerator to mutate (#6810).

  • planner_states.py joins the verdict code that make mutation mutates. Its fast tests, tests/test_planner_states.py, pin these:

    • the skip of records whose evidence is missing.
    • the record that a unit keeps when a later one is set aside.
    • the count of independent reviews.

    All 2,113 mutants of the seven files die, in about 3 minutes (#6810).

  • agents/review_measurements.py joins the verdict code that make mutation mutates. It measures the probes, counterfactuals, lookahead and causal readouts that a verdict rests on. The selected reviewer tests already kill all 322 of its mutants. All 2,617 mutants of the nine files die, in about 3.5 minutes (#6810).

  • builder/significance.py joins the verdict code that make mutation mutates. New tests pin its strength lines, its rounding, the even-chance direction, the record's own policy and the memo. All 1,941 mutants of the five files die, in about 2.5 minutes (#6810).

  • labinacan-template is a copier template. copier copy gh:8W9aG/labinacan-template asks for the project's values and brand, and a task sets up the repository with gh. A project installs labinacan from PyPI, and takes later template changes with copier update (docs/development.md, #7002).

  • A fitting harness for the phase 4a arms A–F of the copy-family fix, scripts/fix_arms.py. Each fit is written as a draft patch, checked at zero strength and given the interference report (#7006).

Changed

  • CI's generic checks have a workflow of their own (#6630). .github/workflows/labinacan-ci.yml holds the jobs that any autoresearch project runs: code changes, Lint and tests, mutation testing and accessibility. The jobs keep their names, so branch protection still finds Lint and tests. ci.yml keeps this project's jobs: experiment records, record changes, reproduction and the model cache. The generic workflow reads the project's packages with make packages, and runs make project-lint for the project's own checks, so it holds no value of this project. tests/test_labinacan_config.py checks that. auto-merge.yml waits for both workflows' runs when a PR leaves draft.

  • The link check is generic (#6630). links.yml builds the site with make build, under the memory cap that CI passes as BUILD_WRAPPER, and caches under the folder that make -s cache-dir prints. So the file holds no value of this project. The Makefile's BUILD_COMMAND starts with $(BUILD_WRAPPER), and its CACHE_DIR_COMMAND prints legacy_names.cache_base(). tests/test_labinacan_config.py checks links.yml too.

  • The Makefile has a generic part (#6630). labinacan.mk holds the targets that any autoresearch project uses, such as install, test, coverage, mutation, lint, vale, ste, build, css and serve. The Makefile sets this project's values (DIST_NAME, PACKAGES, TEST_WRAPPER, CSS_MODULE, BUILD_COMMAND and PROJECT_LINT), includes it, and keeps its own targets. Each target runs the same commands as before, as make -n shows. In make lint, the check of the old package name now runs earlier, in project-lint. tests/test_labinacan_config.py checks that labinacan.mk holds no value of this project.

  • The release skill is now generic: its commands read the project's values from python -m labinacan.config, and this project's steps, refreshes, checks and title are in its project.md (#6630).

  • The semantic-versioning skill is now generic: this project's surfaces and the commands that find their changes are in its project.md (#6630).

  • Ruff, coverage, diff-cover and PyMarkdown read their own files (ruff.toml, .coveragerc, .diff-cover.toml, .pymarkdown.yml), which hold no value of a project. Make and CI name the packages for coverage from PACKAGES (#6630).

  • The write-paper skill is now generic: this project's authors, site, terms and model papers are in its project.md (#6630).

  • scripts/mutation.py reads the packages from [tool.mutmut] source_paths, and the folders to leave out of mutmut's copy from [tool.labinacan] mutation_skip. It names no package or folder of this project (#6631).

  • A project with no X account leaves X out of [project.urls]. Its pages then have no X link and no twitter:site tag (#6631).

  • labinacan's templates take the breadcrumb's first step from home_label, and include a project's _research_extra.html on the Research index. Its examples, docstrings and Vale rules name nothing of this project (#6631).

  • The last of the template's files name nothing of this project, and the leftover baseline is empty (#6631). The figure helpers move to labinacan.figures. changelog.py, exchange.py, a11y_check.py, publish.yml and the data-only rule of labinacan-ci.yml read the project's values from pyproject.toml.

  • The generic scripts read the project's packages, generated files and size budget from the config (scripts/repo_config.py, [tool.labinacan] generated, [tool.labinacan.size_budget]) (#6631).

  • The single-source-of-truth, commenting, test-new-paths, next-issue, literature-review and paper-animation skills hold no value of this project. Each has a project.md with this project's part, and work-an-issue reads the repository from gh (#6631).

  • The generic tests name nothing of this project. Its own tests move to tests/test_project_config.py, tests/test_wiki_markdown.py and tests/test_site_changelog.py, which the template doesn't take. [tool.labinacan] automatic_issue_workflows lists the workflows whose failure issues an agent may work (#6631).

  • Three preprints say the project's terms in plain words, and define pole in their Method after Cammarata (2026): why-neurons-rest, copy-first-unit and spd-input-projections (#6851). The gate pattern no longer matches a method's own gates, such as SPD's.

  • A paper uses no term of the project's own (#6851). papers/terms.toml lists each with its plain phrase, and scripts/papers.py check finds them in a preprint's prose, captions, figure titles and thread. The preprints that wait for their rewrite are in papers/terms_pending.txt. Pole stays, as the field's term.

  • A preprint's abstract has a budget of about 130–220 words, with the one or two numbers that carry its claim (write-paper). scripts/papers.py check fails a preprint whose abstract is over 220 words, and it counts a formula as one word. Published papers are frozen and skip the check. Ten preprints had abstracts over the cap, and each now keeps its claim and its headline numbers (#6929).

  • A figure caption's first sentence is the figure's finding, in the words of its SVG title. The sentences after it say what the marks are (write-paper). scripts/papers.py check fails a preprint whose caption does not open with its figure's title. Published papers are frozen and skip the check. The 65 captions of the preprints now open with their findings (#6930).

  • This project now installs labinacan 0.1.1 from PyPI, pinned exactly, and no longer keeps its own labinacan/ folder. The tests that only tested labinacan moved to 8W9aG/labinacan with it. docs/development.md says how a fix to labinacan now flows: a PR and a release there, then a version bump here (#7003).

  • Depend on labinacan 0.1.3. Its maths refuses a formula whose MathML holds markup other than MathML's own (#7076).

  • Auto-merge reads the PR's files one name per line. Each name is checked whole against the record rule (#7076).

  • Registry coverage, refreshed for 0.6.1 (docs/analyses/registry-coverage.jsonl, 2026-11-27). It gives each model's VERIFIED poles and the mean share of the loss that they recover, against the 2026-11-26 run:

    Model VERIFIED poles Share of poles Mean recovered
    pythia-70m 172 → 185 0.75% 0.034 → 0.036
    GPT-2 224 → 225 0.31% −0.058 → −0.058
    Qwen2.5-0.5B 362 → 380 0.16% 0.011 → 0.012
    Qwen2.5-1.5B 75 → 80 0.02% 0.001 → 0.001
  • Sister search, refreshed for 0.6.1. The search added 96 rows for poles VERIFIED since 0.6.0, and found 9 new sisters:

    • pythia-70m: 2 against each of Qwen2.5-0.5B, Qwen2.5-1.5B and GPT-2, from 10 poles.
    • Qwen2.5-0.5B: 2 against Qwen2.5-1.5B and none against pythia-70m or GPT-2, from 17 poles.
    • Qwen2.5-1.5B: 1 against Qwen2.5-0.5B, from 5 poles.

    The strongest are Qwen2.5-0.5B L3/N4450+ with Qwen2.5-1.5B L7/N95− (Pearson 0.73), pythia-70m L4/N509+ with GPT-2 L8/N248+ (0.58), and pythia-70m L1/N162+ with Qwen2.5-1.5B L0/N2013+ (0.53). Each new sister is now a sister draw.

Fixed

  • Fixes that the template's example project needed (#6631). The generic tests work for any project's config. a11y_check.py needs one page of each kind, in place of a count of five. The Linear jobs exit cleanly with no key, and labinacan has its own __version__.
  • A changelog with a title and no version heading no longer stops the site build. A new project's changelog has none yet (#6736).
  • open-interpretability pause with no option no longer extends a standing pause. It shows the pause and exits 75, as --status does. --for or --reason replaces a standing pause. An agent that meant to check a pause had renewed one every hour, for about 10 hours. The pause file's by now also names the working directory, and the agent when $OPENINTERPRETABILITY_AGENT is set. The choose-next-experiment skill, docs/experiments.md and the loop's prompt name pause --status for the check (#6839).
  • test_a_second_process_waits_until_the_first_exits no longer fails on a busy machine: the first process holds the lock until the test releases it, not for a fixed time (#6916).
  • A mutant of plan_next no longer lives by chance. A new test checks that the plan passes its own seed to the explanation draw. A draw with no seed is random, and a random pick could match the test's seeded one (#7027).
  • The site builds again past 50,000 pages. labinacan 0.1.2 writes sitemap.xml as a sitemap index, with numbered parts, when the pages are more than one sitemap holds. The deploy had stopped at 90,908 pages. The LoRA superpositions of #7025 list every neuron of their layer, and each member neuron gets a short page (#7054).