Skip to content

Releases

openinterpretability 0.7.0 (protocol v0.11)

Choose a tag to compare

@8W9aG 8W9aG released this 04 Dec 19:54
60ddcfb

Ships with protocol version 0.11 (was 0.10).

Added

  • CI keeps the Hub dictionaries in line with hf_models/ (scripts/hf_models_sync.py, .github/workflows/hf-models.yml, #3172). A pull request that changes hf_models/ prints the tracked files that differ from the Hub's main. A push to main uploads only those files, in one Hub commit that names the git commit, with the HF_MODELS_TOKEN secret. It never uploads weights or deletes a Hub file. The preset's pinned revision doesn't move, because the loader reads only the weights at that revision.
  • Each submission on a neuron pole or dictionary feature now records texts steered to fixed next-token KLs (steering.kl_calibrated, #3211). A search finds the offset that gives a KL of 0.25 and of 0.5 nats, in each sign, on three short prompts. Each prompt is continued at each offset, so there are 12 texts. They are the input for the output score that comes next. Reported, not gated. Older records have none.
  • open-interpretability trajectories joins sessions to their draws and records, and lists where they stray from the skill (openinterpretability/trajectory_joins.py, --wiki, #3258). An experiment session joins to its draw kind and to the record that it wrote. Its subagents join to it. One new table gives the calls, failures and tokens per draw kind. The other gives the strays that recur most: a skipped step of the draw, a full read of ev.json, and a second read of a SKILL.md. On 408 transcripts of one experiment loop, 21 sessions skipped open-interpretability ask and 23 read the interpretability-illusions-review skill twice.
  • A literature page reviews Teaching AI to build scientific models (Macke, Gedon and Wahl, 2026). The essay asks agents for a distribution of plausible models. The proposer's rival readings already give a small one (#3440).
  • A literature page reviews NeuronScope (Liu, Miao, Zhao, Liu and Du, 2026), which splits neuron explanations into concepts with agents. Its gains have no null or interval, and the registry's proposer already writes claims with several concepts [docs/literature/neuronscope.md] (#3447).
  • Literature review of Neuron to Graph (Foote et al., 2023, docs/literature/neuron-to-graph.md, #3449). The repo already runs N2G as an explainer floor. The page compares the paper's method and scoring with the repo's, and #8836 adds the paper's token-lookup baseline.
  • A literature page on Anthropic's May 2026 Circuits Update (docs/literature/circuits-may-2026-update.md, #3450). Its one post ranks a feature's downstream features by TWERA, virtual weights weighted by co-activation. The ranking helps a model pick the feature that steers a prompt. Follow-up #8852 would rank a unit's wiring by TWERA.
  • Simulated activations for registry coverage (#3487). open-interpretability coverage --emit-simulation DIR writes one prompt for each VERIFIED pole, and --simulation DIR reads the simulator's answers. Each VERIFIED pole then takes the activations that its explanation predicts, so the share tests the explanations, not only the units. Its rows go to docs/analyses/registry-coverage-simulated.jsonl. The first run is on GPT-2, under resample ablation. Its 251 explanations keep 5.43% of the MLP loss effect, against 6.23% for the real activations and 0.16% for random poles. Outside L0, they keep 0.41% against 2.12%. The analysis is in docs/analyses/registry-coverage.md, section Simulated activations.
  • Resample ablation for registry coverage (#3487). open-interpretability coverage --ablation resample gives each pole outside the kept set its value at a random fit position, from one whole row of the layer. Its rows go to docs/analyses/registry-coverage-ablations.jsonl. The first run, beside a same-day mean-ablation run, removes the large negative shares: GPT-2 L10 goes from −0.909 to +0.073. VERIFIED poles still beat random ones on Pythia-70m (5.70% against 1.56%), GPT-2 (6.01% against 0.17%) and Qwen2.5-0.5B (0.67% against 0.07%). The analysis is in docs/analyses/registry-coverage.md, section Resample ablation.
  • probe-compare --random-init SEED: a random-init floor for the probes (openinterpretability/cli_probing.py, docs/analyses/probe-comparison.md, #3559). The command runs the same probes, on the same tokens, on a copy of the model with fresh weights. The report records the seed in random_init_seed. On Qwen2.5-0.5B the floor is near chance (AUROC 0.50–0.82), far below the trained layers' 0.99, and the k-sparse curves stay flat. So the dense probes' readout and the curves' rise are learned. On GPT-2 layer 0 the floor is higher (0.85–0.91).
  • Injection recovery with synthetic units (#3565, part A). scripts/injection_recovery.py writes a known program over the tokens into an unstudied GPT-2 small neuron's slot, with a forward pre-hook. It runs the whole pipeline blind on 16 such units and 4 real draws. 15 of 16 synthetic units were VERIFIED (93.8%, 71.7–98.9), and 14 with an explanation that names the rule. Neither pre-registered prediction held: both 3-condition units and both OR units were VERIFIED, and the sparser half did no worse. The one failure was a reviewer's probe label, and one OR unit was VERIFIED with only half its rule. The page is docs/analyses/injection-recovery.md. scripts/measure_unit.py gets the p3565 study.
  • What a VERIFIED verdict means, as a positive predictive value (scripts/verified_ppv.py, docs/analyses/verified-ppv.md, #3580). The analysis combines the sensitivity of the injection recovery (#3565) with the false-positive rate of the untrained null (#3202). It gives P(the claimed feature is real | VERIFIED) as a curve over the prevalence, and the prevalence that each observed VERIFIED rate implies. At the VERIFIED rate of random draws, the PPV is anywhere from 0 to about 0.9. The false-positive rate's uncertainty causes most of that range, so a new measurement of the false-positive rate under today's protocol (#3794) narrows it the most.
  • Ground-truth calibration with plants that need context (scripts/ground_truth.py screen, plant --study context, #3593). A screen fits a probe for each context rule at every layer. It keeps a rule only at a layer where the probe reaches AUROC 0.99. Each plant is gated alone first, then with the other passing plants. Three plants passed: start of a line, after "the", and after a full stop. The blinded pipeline verified all three. Two explanations match their rule, and one is partial. The results are in docs/analyses/ground-truth-calibration.md.
  • Each explanation page shows a soft ink-wash illustration of the prompt's scene behind its header (#4932). The page labels it "Illustration" and gives it alt text. It shows no units, numbers or mechanism. openinterpretability/builder/illustrations.py holds the one style and the scenes. The site build chooses the scene from the prompt's words, so a new page gets one with no extra step. The same prompt gives the same drawing.
  • The agreement circuit's VERIFIED neurons, scored together. scripts/sva_circuit.py --explained scores the 13 VERIFIED neurons of the circuit's top 20 as one set. It compares them with the top 13 by attribution, the 7 that are not VERIFIED, and 10 random sets matched by layer. Alone, the 13 keep 13% of the agreement signal, and ablated they remove 36%. Matched random sets keep and remove none [scripts/sva_circuit.py, docs/analyses/sva-circuit.md] (#6029).
  • Push-and-judge pilot on VERIFIED poles. scripts/push_judge.py pushes 36 of Qwen2.5-0.5B's VERIFIED poles and 72 random poles from the same layers, by the same constant, and blind judges read the replies. The poles change the text no more than random poles do. But their pushed replies agree with their explanations for 9 of 36 poles, against 2 of 72 random poles (Fisher p = 0.0008) (docs/analyses/push-judge.md, #6032).
  • Run F of papers/spd-input-projections/: SPD with four copies of each neuron. It splits 0.6% of input-projection neurons and 28% of down-projection neurons, and neurons with a rejected explanation split no more often than verified ones. scripts/spd_splits.py measures the splits and draws an audit sample, and the gpt2-spd-split4 dictionary preset reads run F's down projections. The presets moved to openinterpretability/harness/dictionary_presets.py (#6048).
  • A literature page on A Gentle Introduction to Conformal Prediction (Angelopoulos and Bates, 2021, docs/literature/conformal-prediction-gentle-intro.md, #6413). It gives the split-conformal recipe behind papers/conformal-line/, and says where exchangeability fails: across one document's windows, and for the reviewer's probes.
  • The site has an /llms.txt. The build writes it beside sitemap.xml, in the llmstxt.org form. It lists the project and the protocol. It lists each model with its count of VERIFIED units, and each paper with its status and first sentence. It also lists the literature review and the data downloads. Each line comes from the build's own data. The build writes no /llms-full.txt, and robots.txt stays the same (builder/llms_txt.py, #6666).
  • Structured data for search engines (#6667). Paper pages have Google Scholar's citation_* tags and a Schema.org ScholarlyArticle block, from each paper's CITATION.cff (labinacan 0.1.17). The home page has the WebSite, the Organization and a Dataset for the whole registry, with its Zenodo DOI. Model and experiment pages each have a Dataset (openinterpretability/builder/structured_data.py).
  • A literature page on Similarity of Neural Network Representations Revisited (Kornblith et al., 2019, docs/literature/cka-similarity-revisited.md, #7347). Linear CKA matches layers across networks trained from different seeds, where CCA fails. scripts/base_instruct_cka.py uses it. Follow-up #8874 would check the sister layer map with...
Read more

openinterpretability 0.6.6 (protocol v0.10)

Choose a tag to compare

@8W9aG 8W9aG released this 03 Dec 16:30
d6126f9

Ships with protocol version 0.10.

Added

  • A Tests on macOS CI job runs the test suite on an Apple-silicon runner, not required yet. docs/development.md records the float differences found between platforms (#3183).
  • Monitor reviewer drift once a month. A reviewer agent reviews a frozen panel again: 10 known-good units (poles verified two or more times) and 10 known-bad units (swapped-unit nulls). measure measures each run's probe sets again under the current code. The report alerts on three changes: the VERIFIED flags (McNemar p < 0.01), the mean balanced accuracy beyond the same-reviewer noise, and the reviewer's model ID. A monthly workflow opens the check's issue. The reviewer can't read the panel. The 2026-12-02 baseline: 80% of known-good units VERIFIED, 100% of known-bad units REJECTED. [scripts/reviewer_drift.py, data/reviewer-drift/, docs/analyses/reviewer-drift.md, .github/workflows/reviewer-drift.yml] (#3199)
  • Fixed: scripts/null_calibration.py's partner-search stub accepts the arguments added in #5211, so swap_fresh.py prepare runs again. (#3199)
  • False-positive rates by reviewer. The null calibration's shuffled-label and swapped-unit nulls are split by the reviewer model that wrote each probe set, and by proposer and reviewer pair. No LLM call. On shuffled labels the reviewers range from 1.5% to 3.1%, and the range follows each reviewer's share of VERIFIED probe sets. On swapped units every reviewer is at 0%, and at 0.7–2.2% without the proposer's gates. Proposer and reviewer are confounded, and no stored data has several reviewers' probes on one false hypothesis, so there is no leave-one-out yet. [scripts/reviewer_false_positives.py, docs/analyses/reviewer-false-positives.md] (#3200)
  • docs/analyses/corpus-holdout.md scores 30 VERIFIED explanations on source code, a genre that their scans did not read (Bolukbasi et al., 2021). It compares each score with the score on the scan's own corpus. Detection drops by 5 points. scripts/corpus_holdout.py reruns it. Reported, not gated (#3206).
  • scripts/probe_hardness.py re-reviews a random sample of VERIFIED records with a different reviewer model, and reports how many hold, per contributor and per original reviewer (docs/analyses/probe-hardness.md, #3208). The reviewer isolation hook blocks data/probe-hardness/, which names the sampled records.
  • Causal scrubbing of a neuron pole in open-interpretability score. The detection judge's answers label the held-out windows. At each window's peak token, the score replaces the pole's value three times. The values come from a window of the same label, from a window of the other label, and from the label's mean (Gao's variant). The scores record the mean downstream KL of each as scrubbing. It is reported, not gated (openinterpretability/harness/scrubbing.py, docs/PROTOCOL.md §4, #3210).
  • A hypothesis on a neuron pole or a dictionary latent now states its output effect. output_effect says what the model writes when the unit is clamped high on neutral text. submit refuses a new pole or latent hypothesis without it. Heads, superpositions, sister studies of older records and older records need none. The unit page shows the claim with the steering samples. It is reported, not gated, and the intervention score follows in later work (openinterpretability/agents/proposer.py, openinterpretability/core/schemas.py, docs/PROTOCOL.md §4, #3211).
  • Neuron features of Qwen2.5-0.5B's VERIFIED poles (docs/analyses/neuron-features-qwen.md, #3218). At Shabalin and Piotrowski's 0.7 threshold, 18 of 407 VERIFIED poles have a skip-transcoder latent whose encoder and decoder both align with the pole's neuron. 13 of those 20 latents pass the pole's own probes, and no random control does. Over the whole dictionary, 1.95% of latents are neuron features. That is far below the paper's 14–59% on gated models. 99.4% of them are on poles the registry has not studied. scripts/neuron_features.py takes --dictionary and scores gated MLPs. scripts/pole_features.py is new.
  • Neuron to Graph (N2G) baseline (open-interpretability n2g-baseline, docs/analyses/n2g-baseline.md, #3219). It is an explainer with no language model. It turns each neuron pole's top examples into token patterns (Foote et al., 2023). The command scores the patterns on the held-out windows of the agent's explanation, with no judge. So it gives the floor that a pattern matcher already reaches. Over 4,531 experiments, N2G scores detection 0.56 against the agent's 0.61, and fuzzing 0.51 against 0.58. Over VERIFIED experiments, it reaches 39% of the agent's lead over chance on detection and 19% on fuzzing.
  • How often VERIFIED explanations fail the weak end of their pole's range. A new registry analysis reads the stored explanation scores of each standing VERIFIED neuron pole. It gives the judge's precision and failure rate in each of the 5 activation bands, by model, depth and layer. Detection precision falls from 0.81 in the strongest band to 0.65 in the weakest. About a quarter of the poles fail the weakest band beyond chance. make analyses refreshes it [scripts/score_bands.py, docs/analyses/score-bands.md, scripts/analyses_refresh.py] (#3222).
  • Undo forbidden edits to the GitHub Wiki. Only a page's Discussion section may change on the wiki. open-interpretability wiki --github-wiki <dir> --guard-edits undoes every other change after the export's newest commit before it exports. It restores a changed or deleted page and removes a page that someone created. The GitHub Wiki workflow now runs on each edit in the wiki's web editor (the gollum event) and always guards. Anything that must be trusted still comes from the records in the repository. (openinterpretability/builder/github_wiki_guard.py) (#3253)
  • Publish the wiki pages to the GitHub Wiki. A new workflow exports the pages to the project's GitHub Wiki after each change to main. It runs on a push to main and every 30 minutes, which catches the merges that the auto-merge bot makes. It commits only when a page changed, and the commit names the main commit that it exported. (.github/workflows/github-wiki.yml) (#3253)
  • Export the wiki pages to the GitHub Wiki. open-interpretability wiki --github-wiki <dir> writes the pages into a checkout of the project's GitHub Wiki, with flat page names. It adds each new experiment and stop page and never changes a page that is there. It regenerates Home, _Sidebar, a page for each layer and each unit's history, and keeps the Discussion section of each history page. Links to pages become page names, and links to other files go to the file on main. This is the first step of moving the pages out of the repository. Nothing publishes to the wiki yet. (openinterpretability/builder/github_wiki.py) (#3253)
  • make analyses shows which numbers of the registry analyses moved. It re-runs the seven write-ups in docs/analyses/ that the registry alone gives, and compares each number with the committed data. Each of these write-ups now states the commit and the record count that its numbers come from, and make lint checks that stamp line [scripts/analyses_refresh.py, Makefile] (#3256).
  • open-interpretability trajectories reads Claude Code transcripts on this machine and finds friction in agent sessions. It prints each transcript's tool calls, failures, retries, requests, tokens and minutes. Then it prints three tables: the commands that fail most, the files that most transcripts read, and each tool's tokens and time. It redacts paths and secrets, and --json prints only the aggregates (openinterpretability/trajectories.py, docs/development.md, #3258).
  • A literature review of Solinsky and Pakhomov (2026), Encoding and propagation of grammatical number in large language models (docs/literature/grammatical-number-propagation.md, #3435). Its privative-number finding on Pythia-70m becomes a prediction for #3224.
  • papers/what-predicts-verification/ adds analysis 3 and is published. It uses two label-free scores, an isolation forest and Breiman's forest distance. Both put the position and non-selective families in their top tenth about six times as often as in all poles. Only the isolation forest's score relates to a pass, and weakly (AUC 0.466). The script is scripts/verify_anomaly.py, and the follow-up is #8357 (#3536).
  • A paper on how many kinds of neuron pole random sampling has not yet found. papers/unseen-neuron-types/ takes the two estimators from Chao and Jost (2012) and applies them to 3,632 random draws (scripts/unseen_paper.py, scripts/figures_unseen_types.py). Every one of the codebook's 13 coarse and 27 fine categories occurs, and the estimated coverage is 1.000. The clustering test cannot show kinds that the codebook cannot name, and #8465 carries it on (#3542).
  • docs/analyses/unseen-types.md counts the kinds of neuron pole that the random arm has found, with Chao1 and sample coverage over codebook 0.1 (scripts/unseen_types.py). Over all models, the random arm has seen every coarse and fine kind (coverage 1.0). Within single models and layer thirds, a few fine kinds remain unseen, most in Qwen2.5-1.5B's late layers (coverage 0.912).
  • The SPD paper compares its two starts at one count per site, and continues the random start at a constant learning rate. At the lower of the two runs' active counts, the start from the neurons fits better at all 24 sites of GPT-2 small. Run C continued for 10,000 steps at its peak learning rate (run E) does not narrow its KL gap. The paper also corrects its learning-rate schedule: the cosine ends at 3e-5, not at zero. More seeds per start move to #8453 (papers/spd-input-projections/README.md, scripts/spd_input_results.py, #4104).
  • `open-interpre...
Read more

openinterpretability 0.6.5 (protocol v0.10)

Choose a tag to compare

@8W9aG 8W9aG released this 02 Dec 12:20
d60b564

Ships with protocol version 0.10.

Added

  • The deploy now checks the live site after each sync. It fetches the home page, a model, a neuron page, a paper and the stylesheet, and compares each with the build. A failure opens or updates the "Deploy failed on main" issue (scripts/check_live_site.py, #3171).
  • A Dependency audit workflow runs pip-audit on every package that uv.lock pins. It fails on a known vulnerability, and runs when the lock or pyproject.toml changes and once a day (#3179).
  • A pre-commit config runs the fast parts of make lint before each commit, in about 5 s (.pre-commit-config.yaml, #3182). It runs ruff, the line limit, the comment and docstring checks, and the changelog check. Set it up with uvx pre-commit install.
  • A daily workflow expires abandoned experiment claims. It finds draft PRs that hold only their claim commit, with no commit, update or comment for 3 days. A claim with its ledger entry is marked ready, so auto-merge lands the entry, and an empty claim closes with its branch (scripts/expire_claims.py, #3243).
  • A guide to running on Google Colab, docs/colab.md, with a ready notebook, notebooks/colab.ipynb, and an "Open in Colab" badge in the README (#3252). It covers the install, keys in Colab secrets and the scan corpus. It also covers which models fit a T4, the dtype, and how to save results before the runtime resets.
  • A literature review of Lim, Kim, Lee and Song (2026), Geometry-adaptive explainer for faithful dictionary-based interpretability under distribution shift (docs/literature/geometry-adaptive-explainer.md, #3432). It adapts only a dictionary's decoder, and the repo's audits read activations, so it changes nothing here.
  • A literature review of Chang, Kuo, Lee and Tsai (2026), Identically trained language models break on different jailbreaks (docs/literature/identically-trained-jailbreaks.md, #3433). It measures whole models, but its design for comparing seeds bears on #5713.
  • A versioned codebook of explanation categories, docs/codebook/explanations.toml (version 0.1, provisional), made by thematic analysis of 200 explanations sampled across models, layers and verdicts. It has 12 coarse codes with fine codes under them. scripts/codebook.py writes the coders' prompt, checks a coding and measures Krippendorff's alpha. In the first round, two Claude coders reached alpha 0.838 at the coarse level (95% interval 0.753–0.909) on 100 new explanations (docs/codebook/reliability.md).
  • docs/codebook/codes-v0.1.jsonl codes all 5,081 records with codebook 0.1. On the reliability sample, it agrees with round 1's coders at a coarse alpha of 0.783 and 0.806.
  • A DeepSeek cross-family coder on round 1 reached coarse alpha 0.766 against Opus and 0.779 three-way across Opus, Sonnet and DeepSeek.
  • docs/codebook/explanations.toml now defines a 45-node is_a ontology DAG, and docs/codebook/evidence.toml stores shared evidence codes, GRADE certainty rules and Bradford Hill criteria (scripts/codebook_evidence.py, docs/codebook/evidence.md).
  • docs/codebook/probes.toml (version 0.2) and scripts/codebook_probes.py add blind probe condition coding and per-condition Krippendorff's alpha for #3561, with two cross-family reliability rounds in docs/codebook/probes-reliability.md.
  • An analysis of a random-matrix formula for the sister search's rotated reference, on two model pairs (docs/analyses/rotation-formula.md, scripts/sister_rotation_formula.py, #4018). It changes none of 51 sister calls, but it runs 13–22% low. The switch is #8284. Most Qwen2.5-0.5B → GPT-2 rows don't reproduce on the CPU, which #8285 holds.
  • docs/analyses/perf.md now reports each stage's wall time over the newest 500 records, with the agent stages split by the product that answered (scripts/stage_times.py, #4103). DeepSeek Flash takes a median of 702 s as proposer, against 151 s for Claude Opus.
  • scripts/spd_followups_colab.ipynb runs two follow-ups of papers/spd-input-projections/ on a Colab GPU, from runs C and D's checkpoints. They are the equal-count curves of spd_compare.py (spd_curve) and a constant-learning-rate continuation of run C (train_spd.py --lr-schedule constant).
  • Each release explains a fixed set of prompts again, with no LLM, so each prompt's page shows its coverage over time (data/tracked-prompts.json, scripts/track_prompts.py, #4327). The set has five pythia-70m prompts, and two for each other configured model.
  • Each explanation page shows the answer token under the prompt. It shows the leading space as ␣, says the answer is one token, and says where it is predicted. It also gives the token id when the record holds it (#4596).
  • Completed parallel explain --run --parallel N support (#6060): shared --run M experiment counts and --target stop signals across slots, enabled LiteLLM backends (--proposer, --reviewer, --provider), and added cleanup of extra slot worktrees on exit.
  • A literature page reviews A New Interpretation of Information Rate (Kelly, 1956), the source of papers/verdict-prediction/'s Kelly rule. Kelly's theory needs reinvested profits, which an experiment budget doesn't give. So the page points to his own fallback, the most expected value per bet.
  • A literature review of Akiba, Sano, Yanase, Ohta and Koyama (2019), Optuna: A next-generation hyperparameter optimization framework (docs/literature/optuna.md, #7968). scripts/verdict_tuned.py tunes the verdict predictor with its TPE sampler. Its benchmarks test no noisy objective, which may explain why the tuned model ranked no better.
  • A literature review of Malinin, Prokhorenkova and Ustimenko (2021), Uncertainty in gradient boosting via ensembles (docs/literature/uncertainty-gradient-boosting.md, #7969). papers/verdict-prediction/ uses its virtual ensembles and its knowledge uncertainty. Its finding that virtual members are weak on continuous features opens #8225, a test of independent ensembles.
  • A literature review of Cammarata (2026), Neural networks are already clean (docs/literature/already-clean.md, #7978). The native-neuron-audit skill and the repo's papers take its method and the word pole from it. Its 90% of poles with one main job and the repo's 25% VERIFIED measure different things.
  • Added the 60-pole prospective EleutherAI/pythia-70m sweep-ranking validation (40 top-ranked plus 20 fixed random slice) to docs/analyses/experimentability.md and docs/analyses/experimentability-batch.jsonl (#7989). Sweep-ranked draws reached 22.5% VERIFIED vs 5.0% random, cutting agent cost per VERIFIED pole 2.8× ($0.78 vs $2.20, proposer $0.022 vs $0.065).
  • Experiment throughput analysis. Added the baseline cost and wall-time model, lever-by-lever savings, Jev protocol check, and ordered 100× roadmap (docs/analyses/experiment-throughput.md, #8062).
  • Added --draws in scripts/sweep_predict.py to include dead and default-on stop records as negative labels (#8113). Three-model held-out AUC rises to 0.819 (ECE 0.0124), and #7989 random-slice Brier score drops 2.7×.
  • Accelerated scripts/verdict_calibration.py::venn_abers by caching exact (p0, p1) intervals per calibration rank bracket (#8113). Ranking 995,328 scores now takes 49.5 s instead of ~29 minutes.
  • Added .env API-key fallback to providers.py and LLMAgent, and capped DeepSeek's default reasoning_effort to "none" (#8208). Override the cap through OPENINTERPRETABILITY_REASONING_EFFORT.
  • Added one-round in-process counterfactual measurement and refinement for direct API proposers (agents/proposer_refine.py), and recorded the 40-unit matched Opus vs Sonnet/DeepSeek A/B test in docs/analyses/experiment-throughput.md (#8208).
  • open-interpretability worker keeps models loaded for a session. With OPENINTERPRETABILITY_WORKER set to its socket, each audit, review, score and activations command goes to the worker. So a model loads once, not once per command. On this machine, a repeated command took 0.17–0.9 s through the worker, against 3.1 s (pythia-70m) and 4.1–6.5 s (Qwen2.5-1.5B) in its own process. Without the worker, commands run as before.
  • TypeSafe Jev judge backend and side-by-side benchmark. Added native typesafe/ Jev support in ExplanationJudge with 5-fold CV cutoffs and recorded the 163-task Haiku comparison (openinterpretability/agents/jev.py, openinterpretability/agents/judge.py, openinterpretability/core/pricing.py, docs/analyses/experiment-throughput.md, #8212, #8062).
  • open-interpretability loop --batch N lands N experiments in one PR, which cuts the CI runs, merges and deploys per record. Each draw claims its unit with a branch claim/experiment/<key> and no PR. The batch PR's body then claims the units, and --batch-minutes M also opens the PR M minutes after the batch's first experiment.
  • A literature review of Borkar, Mireshghallah and Smith (2026), Predicting memorization before fine-tuning language models (docs/literature/predicting-memorization-before-fine-tuning.md, #8240). Its features describe whole sequences, not units, so the review opens no follow-up.
  • A literature review of Chung and Du (2026), PocketRL: Training a 7B language model with reinforcement learning on one RTX 5090 (docs/literature/pocketrl.md, #8250). Its trainer supports Qwen2.5. Follow-up #8264 would run it on Qwen2.5-0.5B and test which VERIFIED explanations keep.
  • A literature review of Labyrinth Research (2026), Using influence functions to find post-training data responsible for reward hacking (docs/literature/influence-functions-reward-hacking.md, #8255). It attributes to training data, not to units, and the review notes on #3377 how its method could apply to Pythia-70m.
  • A literature review of Hong, Ma and Zhao (2026), Manifold pretraining engineering (docs/literature/manifold-pretraining-engineering.md, #8266). Its released 53M models pass model-check. Follow-up #8274 would...
Read more

openinterpretability 0.6.4 (protocol v0.10)

Choose a tag to compare

@8W9aG 8W9aG released this 01 Dec 05:04
4a7d92d

Ships with protocol version 0.10.

Added

  • A preprint, papers/verdict-prediction/, asks whether predicting which attempts will pass makes an explanation run cheaper (#3960). Gradient boosting predicts a pass with an AUC of 0.764 on held-out units. Venn–ABERS calibration and tuning bring its Brier score on the newest attempts to the base rate's. But in replays of the #7005 pilot, no rule built on the prediction needed fewer than the plan's 54 experiments. A perfect predictor of the next attempt needed 79, and a perfect predictor of whether a unit ever passes needed 49. The scripts are scripts/verdict_*.py, and the predict extra holds their dependencies.
  • open-interpretability sweep --model <model> reads a slice of the corpus once, with every MLP neuron hooked, and writes ten cheap statistics for every pole to data/sweeps/ (#3961). It takes 41 seconds for pythia-70m and 99 seconds for GPT-2. scripts/sweep_predict.py ranks every pole by its calibrated chance of VERIFIED for each agent family. On held-out units, the sweep's statistics predict a first attempt's verdict as well as each pole's own scan (AUC 0.732 against 0.711). The top tenth of the ranking passed 48% of the time, and the bottom tenth 1.2% (docs/analyses/experimentability.md). Its rows are predictions, never verdicts.
  • A literature page reviews Yggdrasil Decision Forests (Guillame-Bert et al., 2023), the forest library behind papers/what-predicts-verification/. It notes that the out-of-bag importances that the paper reports come from the package, not from this work.
  • scripts/verdict_hazard.py predicts a unit's chance of a pass within its remaining attempts, as a discrete-time hazard over #3960's per-attempt model (#7959). In the replay of the #7005 pilot, the Kelly rule on that chance needed 50 experiments in every seed. Its stake is the expected cost to a pass. The plan's order needed 54, and a perfect unit-level oracle 49. papers/verdict-prediction/ reports it, and its title now says that prediction saves few experiments.
  • A literature page reviews CatBoost: Unbiased Boosting with Categorical Features (Prokhorenkova et al., 2019), the boosting library behind papers/verdict-prediction/. The paper's two claims about it, ordered target statistics and the prediction shift, check out against the source.
  • A literature page reviews Venn–Abers Predictors (Vovk and Petej, 2014), the calibration behind papers/verdict-prediction/. The paper's three claims about it check out against the source. Its guarantee assumes i.i.d. data, which the newest attempts don't meet.
  • A literature page reviews Large-scale probabilistic predictors with and without guarantees of validity (Vovk, Petej and Fedorova, 2015). It defines the inductive Venn–Abers predictor that papers/verdict-prediction/ uses, and the paper's claim about it checks out.

Changed

  • No mutant survives in 3 more files of builder/ (part 4a) (#6491): explanation_figures, parquet_export, and explanation_pages. New exact tests kill every surviving mutant in all three modules. explanation_figures drops unused defaults and simplifies layer spacing. parquet_export uses hashlib.file_digest for SHA-256 checksums. explanation_pages reads and writes JSON and SVG files as bytes.

  • No mutant survives in the final 3 files of builder/ (part 4b) (#6491): tree, compiler, and wiki. New exact unit tests kill every surviving mutant in all three modules with zero no mutate pragmas, completing openinterpretability/builder/. tree simplifies n_layers initialization and unit-key ordering, compiler replaces magic fallback constants in explanation_view, and wiki reads and writes UTF-8 files as bytes and drops a redundant mkdir call.

  • Tests that build the site no longer load the repo's real changelog and literature reviews (#8064). An autouse fixture in tests/conftest.py stubs labinacan's load_versions and load_reviews. The 3 tests that check those pages carry the real_reference_pages marker. tests/test_compiler.py runs in 33 s, against 109 s before, and builder mutants no longer run for minutes each.

  • Site builds and wiki page renders cache their Jinja2 environments instead of recompiling all templates on each call (#8092). tests/conftest.py imports torch lazily, and scripts/mutation.py --files passes module wildcards so mutmut's clean-test step runs only tests that cover the named modules. tests/test_compiler.py drops from 35 s to 13 s.

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

    Model VERIFIED poles Share of poles Mean recovered
    pythia-70m 284 → 322 1.31% 0.045 → 0.047
    GPT-2 230 → 230 0.31% −0.059 → −0.059
    Qwen2.5-0.5B 395 → 400 0.17% 0.012 → 0.012
    Qwen2.5-1.5B 92 → 96 0.02% 0.000 → 0.000
  • The sister search ran again for 0.6.4, on the 76 poles VERIFIED since 0.6.3. They are 64 poles of pythia-70m, 6 of Qwen2.5-0.5B, 5 of Qwen2.5-1.5B, and 1 of GPT-2. It added 228 rows and 44 sisters (docs/analyses/sister-neurons.jsonl). By pair, pythia-70m's poles found 13 sisters in Qwen2.5-0.5B, 10 in Qwen2.5-1.5B, and 15 in GPT-2. Qwen2.5-0.5B's poles found 2 in pythia-70m, 1 in Qwen2.5-1.5B, and 1 in GPT-2. Qwen2.5-1.5B's poles found 2 in Qwen2.5-0.5B. The strongest are Qwen2.5-0.5B's L16/N1502− and Qwen2.5-1.5B's L22/N8034+ (Pearson 0.84), Qwen2.5-0.5B's L16/N1502− and GPT-2's L2/N1448+ (0.77), and pythia-70m's L4/N219+ and GPT-2's L8/N1684+ (0.73).

Fixed

  • Close DuckDB connections cleanly instead of using the global duckdb.sql() connection (#8102): tests/test_compiler.py, openinterpretability/registry_query.py, and openinterpretability/builder/registry_stats.py now use with duckdb.connect() as con:. Leaving DuckDB's global connection open in the parent process caused forked mutmut workers to deadlock in TaskSchedulerPool::RelaunchThreads() on exit.

openinterpretability 0.6.3 (protocol v0.10)

Choose a tag to compare

@8W9aG 8W9aG released this 30 Nov 02:28
4227350

Ships with protocol version 0.10.

Added

  • papers/default-on-poles/ adds a mirrored control, in Table 9 (scripts/default_on_targets.py mirror, #3195). The control keeps each neuron's learned direction and turns it round about the neuron's median. It predicts GPT-2's next-token distribution as well as the negative side does, or better. On L1–L11, the negative side minus the mirror is −0.015 to +0.004. So the negative side's small lead over random features comes from the direction that it shares with the positive side. The paper is now published.
  • The site has a page for a path with no page, 404.html. Its links start from the site's URL, so they work at any path, and search engines don't index it. The host must be set to serve it for a missing path.
  • A JSON Schema of an experiment record, as its file is stored, is now in schema/audit-record-<protocol version>.json, and the site serves it at /schema/. Each record page links it. It allows each bulky evidence field as its evidence_sha256 reference. All 4,761 record files validate against it.
  • open-interpretability head-sisters finds each VERIFIED attention head's sister in the other models: a mutual best match, by head strength over a shared corpus, above a rotated-head reference. Its rows are in docs/analyses/sister-heads.jsonl, and docs/analyses/sister-heads.md gives the results.
  • A review of A coefficient of agreement for nominal scales (Cohen, 1960), at docs/literature/cohen-kappa.md. Its status is used. It checks the token-set paper's kappas against Cohen's formulas: 0.77 and 0.88 hold. Kappas in the repo lack the standard error that Cohen gives, so #7412 adds it (#6792).
  • A review of Probable inference, the law of succession, and statistical inference (Wilson, 1927), at docs/literature/wilson-interval.md. Its status is used. All six of the repo's Wilson functions match the note's formula, and the token-set paper's intervals check out. #7417 keeps one function (#6793).
  • docs/literature/spectral-unforgetting.md reviews Spectral Unforgetting (Abro and Tahir, 2026). It cuts a fine-tune's weight change to its singular values above a hard threshold, with no data. On 14 single-task fine-tunes, it heals about as much benchmark damage as WiSE-FT and keeps more of the gains. #7491 tests the cut on the explanations that Qwen2.5-1.5B's instruct change breaks (#7067).
  • docs/literature/chantless.md reviews Deus Experiments' Chantless post. It cuts a frozen model to a task-specific file, then silences late-layer MLP neurons chosen from up to 25 mistakes. Three of its six accepted switches lose 8–16 points of tool-call retention. It has no random-row control and doesn't study the silenced neurons (#7106).
  • docs/literature/self-improving-loopers.md reviews Recursive Self-Improving Loopers (Eric E., 2026). Inkling-2-Mini breaks when it is forced to run a fourth pass. The paper fixes this with a closed-form edit of its loop-control weights, then with self-graded RL. It never tests its one-direction diagnosis causally, and it has no random-edit control (#7153).
  • docs/literature/neural-core-war.md reviews Neural Core War (Fu, Huang, Duan and Dai, 2026). In it, two isolated LLM agents edit the same neuron output columns of one host model. Most of their edits overwrite columns that are already changed, yet the host stays fluent in 45 of 48 persistent worlds. The page measures damage on outputs only, and never checks its agents' column readings (#7159).
  • docs/literature/sciwrite.md reviews SciWrite (Barba, 2026), an Agent Skill that reviews a manuscript's writing in six passes. It compares each pass with the repo's STE linter and paper checks. #7521 runs the skill on two papers to find the gaps that matter (#7190).
  • papers/why-neurons-rest/ adds a second seed to the full-batch run of Table 32. Seed 1 gives the same result as seed 0. L1 rests at −0.15 against Pythia-70m's −0.22. Over both seeds, the push points down in 25 of 60 checkpoints and layers. The paper is now published. #7437 holds a run to step 4,000 (#7317).
  • docs/literature/fractured-entangled-representation.md reviews the fractured entangled representation hypothesis (Kumar, Clune, Lehman and Stanley, 2025). The unified-factored forgetting paper rests on it. Its evidence is one evolved and one SGD network, judged by eye, and it gives no metric (#7339).
  • explain --run --parallel N runs N experiments at once (#7389). Each slot is its own process, in its own loop worktree (<repo>-loop-<k>). The slots share logs/explain-run-<time>/, which holds the unit that each slot runs and the attempts of each unit. So no two slots run one unit, and --max-attempts counts across them. It works only with Claude Code sessions. In the #7005 pilot, one experiment took about 28 minutes, one at a time.
  • scripts/replay_draws.py replays the #7005 pilot's draws under two ranking rules (docs/analyses/expected-gain-replay.md, #7393). Ranking the targets of explain --run by expected gain needs more experiments than the plan's order to reach the pilot's 56.2% coverage. It takes a median of 68 with the registry's odds and 64 with the pilot's own, against 54. So the plan's order stays the default. Expected gain is available as TargetedDraws(rank="expected"), with the odds in openinterpretability/verify_odds.py.
  • scripts/papers.py check fails a published paper that has no thread.yaml and no x_url yet, because it would post to X as one post (#7505). Nine preprints get their X threads and drawn figures: conformal-line, copy-first-unit, explanations-across-models, instruct-difference, native-vs-learned, neuron-development, shared-concept-space, spd-input-projections and token-set-ceiling.
  • Recorded the alphaXiv AI Track URL of "Why training rests neurons below GELU's dip" in papers/why-neurons-rest/CITATION.cff, so the paper page links it (#7534).
  • What default-on negative poles do as a population is on alphaXiv AI Track (#7535). The paper papers/default-on-poles/ is on alphaXiv, and its CITATION.cff records the URL. The paper page links it.
  • When the deploy posts a paper to X, it opens the paper's Muse issue (docs/muse.md) for alphaXiv. So a published paper no longer waits for the next release (#7538).
  • A literature page reviews Rigorously Assessing Natural Language Explanations of Neurons (Huang et al., 2023). It compares the paper's tests with the verdict rule, and it corrects the two skills that cite the paper.
  • open-interpretability explain-family --prompts <file> --run explains a family of prompts with one joint plan (#7819). A unit that helps several prompts is drawn first, and the run stops when every prompt reaches --target. --record then writes each prompt's own record. On eight copy-family prompts, a joint plan needed 118 experiments against 160 for separate plans (#7061).
  • A preprint, papers/what-predicts-verification/, asks whether values known before the review tell which attempts on neuron poles will pass. It uses 4,498 attempts. On poles that it never trained on, a random forest has an AUC of 0.742, against 0.654 for the layer and the activation scale. scripts/verify_features.py builds the feature table, and scripts/verify_forest.py fits and scores the forests.

Changed

  • No mutant survives in 25 files of builder/ (part 1) (#6491). New exact tests cover users, pending, coverage, circuit_pages, superpositions, slim, stopped, statuses and corpora. Three mutants of slim.full_record and SlimArchive used to time out, because only slow tests reached that code. Fast tests now kill them. Three lines changed with no change in behaviour. merged_prs drops an rstrip("/") that can never apply. pending.parse reads a missing branch as "None". coverage_view drops a merge that set a key again to the same value.
  • No mutant survives in 7 more files of builder/ (part 2) (#6491): hrefs, model_facts, sister_graph, concept_map_view, learned_baseline, route_figures and sister_pages. Four were clean already. New exact tests kill 246 survivors in the other three, among them 139 mutants of route_figures, which had no fast test at all. Two lines changed with no change in behaviour. In concept_map_view._points, an inner default of 0 went away, because slots are numbered from 1. In route_figures._tokens, a zip moved onto its own line, so that its two equivalent strict mutants carry a pragma.
  • No mutant survives in 7 more files of builder/ (part 3) (#6491): agents, circuits, pieces, dashboard, circuit_units, standing and charts. Four were clean already. New exact tests kill 174 survivors in the other three: 96 in charts, 57 in circuit_units and 21 in circuits. circuit_units now reads its lineage and record files as bytes, which json and pydantic decode as UTF-8, so the locale can no longer change them. link_revisions drops a guard that changed nothing.
  • An experiment session lands its record with make check alone (#7390). The posted step said make check lint test, although the skills and CI skip lint and tests for a wiki-only branch. In the #7005 pilot that step took about 3 minutes a session. check on one record takes about 10 s. The land-experiment skill also skips the second make check after merging main, unless the merge brought changes outside wiki/.
  • explain --run no longer reads the whole registry twice between experiments (#7391). The planner parses each record once per process and keeps the parse while the file is unchanged. load_states returns its last states when no record or errata file has changed. In the #7005 pilot each read took 130–160 s, and each gap read twice, for 5.4 minutes on average. With the cache, a second read of 4,470 records takes 0.6 s, and a gap parses only the new record. The run's log now gives each draw's time (drew … in N s).
  • Revise and new-hypothesis draws...
Read more

openinterpretability 0.6.2 (protocol v0.10)

Choose a tag to compare

@8W9aG 8W9aG released this 28 Nov 16:43
b0a0f78

Ships with protocol version 0.10.

Added

  • A review of Large Language Models are not Fair Evaluators (Wang, Li, Chen et al., 2023), at docs/literature/llm-judges-not-fair.md. Its status is planned. The paper studies only pairwise judging, and it supports #7084, which asks whether the order of the detection judge's windows changes its answers (#6454).
  • A review of The effective rank: A measure of effective dimensionality (Roy and Vetterli, 2007), at docs/literature/effective-rank.md. Its status is used: scripts/dormant_rank.py computes the measure as the paper defines it (#6520).
  • A review of Returning to the Neuron Basis for Interpretability, Part 1 (Shone and Dunlap, 2026), at docs/literature/neuron-basis-objections.md. Its status is planned. #7127 asks what share of each Qwen pole's activity comes with the gate open (#6583).
  • A review of Returning to the Neuron Basis for Interpretability, Part 2 (Shone and Dunlap, 2026), at docs/literature/neuron-basis-applications.md. Its status is planned. Its cloze and direction-removal tests suit the fix campaign (#5220) (#6584).
  • A review of Enhancing Chat Language Models by Scaling High-quality Instructional Conversations (Ding et al., 2023), at docs/literature/ultrachat.md. Its status is used: the repo reads UltraChat 200k for papers/instruct-difference/ and the ultrachat preset (#6592).
  • A review of Harness Evolution Hits a Ceiling: When Weight Training Should Begin (Tian et al., 2026), at docs/literature/harness-evolution-ceiling.md. Its status is planned. Its placebo adapter is a null for the fix campaign (#5220) (#6616).
  • A review of Harness-Delta Attribution: Dissecting Gains From Harness Evolution (Ding et al., 2026), at docs/literature/harness-delta-attribution.md. Its status is not applicable. It bears on whether fresh probes catch a revision that fits the reviewer (#6617).
  • A review of The Winner's Curse in LLM Self-Improvement Loops (Hu and Tang, 2026), at docs/literature/winners-curse-self-improvement.md. Its status is not applicable. By its model, retries overstate VERIFIED verdicts by about 0.006 in balanced accuracy on average (#6618).
  • A literature page for Who Verifies the Verifier? (Zhang et al., 2026), in docs/literature/who-verifies-the-verifier.md (#6619).
  • A review of Reflections on Trusting Trust, Revisited (Roesner and Kohno, 2026), at docs/literature/trusting-trust-revisited.md. It checks how outside text and self-edits reach this repo's gates (#6620).
  • A review of Composable Soft-Prompt Distillation of RL Experts (Zhang et al., 2026), at docs/literature/cspd-soft-prompt-distillation.md. It checks the issue's numbers against the paper and compares its claim of less forgetting with the repo's template-or-tuning result (#6676).
  • A review of The Emergence and Sparsification of a Syntactic Circuit (Yao et al., 2026), at docs/literature/sva-circuit-emergence.md. Its status is planned: #7186 tracks the agreement circuit across Pythia-70m's checkpoints (#6683).
  • A review of Building stronger biological reasoning models (Goodfire Research, 2026), at docs/literature/bioreason-pro-2.md. It checks the post's numbers and links, and finds that the reward judge also wrote the training traces (#6685).
  • Wrapper prune: the two variants of the Limitations (#7071). scripts/wrapper_prune.py takes --unit input, which prunes a neuron's input rows, and --loss failed, which scores on half the failed explanations' probe texts. Table 3 and Figure 3 of papers/wrapper-prune/ report both. Neither recovers more than 16 of 63 explanations, and the failed-text loss breaks more.
  • The fix harness tests whether a fix removed the copy failure or hid it (#7151). Each fit's row in fits.jsonl gives a cloze test and a direction-removal test (scripts/fix_removal.py). Arm P, a placebo, trains arm B on random unit words. The first row is the base model's.
  • papers/why-neurons-rest/ finds why Pythia's window of 2,048 tokens deepens L1's rest about fourfold (Table 31, Figure 11). With learned positions, the long window fills L1's input with position, and L1's weights turn against it. With Pythia's rotary positions, the rest stays near the 128-token runs'. scripts/rest_by_position.py reads the rest and the position share of each layer by position, and scripts/train_resting.py gains a rotary condition. #7243 holds a run at Pythia's full batch (#7202).
  • docs/literature/lora-size.md reviews Engram's Predicting LoRA size for any dataset (2026). It is not applicable: the post counts the bits that an adapter stores, not which units change. #7320, #7321 and #7322 review three works that it cites (#6695).
  • docs/literature/not-already-clean.md reviews Gao's Neural networks are not already clean (LessWrong, 2026), a reply to Cammarata's Neural Networks Are Already Clean. #7327 and #7328 test its claims about weak activations below the review's firing line (#6739).
  • docs/literature/bias-in-disguise.md reviews Syed's A Bias in Disguise (arXiv:2611.33133). A sparse gradient edit fixes Qwen3.5-0.8B's thinking loops by acting as a constant shift, and it reads no units (#6791).
  • docs/literature/output-centric-descriptions.md reviews Gur-Arieh et al.'s Enhancing Automated Interpretability with Output-Centric Feature Descriptions (ACL 2025). #7334 would give the proposer the tokens whose logits change most when a pole is clamped (#6798).
  • docs/literature/unified-factored-representations.md reviews Lehman and Stanley's Unified Factored Representations Resist Catastrophic Forgetting (arXiv:2611.11020). #7340 asks whether layers with a higher pass rate keep more explanations under fine-tuning, and #7339 reviews the paper behind it (#6818).
  • docs/literature/platos-key.md reviews Hazy Research's Plato's Key (2026). #7349 asks whether a fitted direction in another model matches VERIFIED poles that have no sister there. #7347 and #7348 review two works that it cites (#6819).
  • docs/literature/weight-space-micromachines.md reviews Weight-Space Micromachines: Brain Implants for LLMs (papail.io, 2026). #7356 asks whether a VERIFIED pole is a more precise trigger for an implant than a linear probe (#6827).
  • docs/literature/deterministic-weight-space-programming.md reviews Yao's Do We Really Need an LLM for Weight-Space Programming? (arXiv:2611.34612). Its pipeline chooses edits by statistics rather than by reading units, and checks damage only on the edited task (#6974).
  • docs/literature/wise-ft.md reviews Wortsman et al.'s WiSE-FT paper (arXiv:2109.01903, CVPR 2022). papers/weight-average-keep/ now states the source's robustness claim as the source gives it (#7039).
  • papers/why-neurons-rest/ trains Pythia-70m's size at Pythia's full batch, window, rotary positions and warm-up for 512 steps, and compares it with Pythia-70m at steps 0–512 (Table 32). The rest and the push follow Pythia-70m's, and the push is as weak and mixed. The new condition is pythia_full_batch_rotary, and scripts/pretrained_push.py pythia gains --part. #7317 holds a second seed (#7243).

Changed

  • Mutation testing: three more files of patches/ (#6491). gates.py, graph.py and __init__.py have no surviving mutant. New gate tests cover a linear probe's bias, soft output with a temperature, and and min, and the mask. They also cover forced gates, attention over heads and keys, and the device of every parameter. The device moves that differ only on a GPU are recorded as equivalent.
  • Every preprint is now in plain words (#6851). The last rewrites cover the remaining preprints, from default-on-poles to explanations-across-models. Each defines a pole with Cammarata (2026) and uses "passing", "test prompts" and "closest match" for the project's own terms. Every preprint passes the term check, and papers/terms_pending.txt is gone.
  • Why neurons rest: the 32× batch runs on one pass of Pythia's own data (#6935). scripts/pythia_tokens.py builds a 290.8-million-token sample from Pythia's deduplicated, preshuffled Pile. Table 29 of papers/why-neurons-rest/ trains both 32× conditions again on it. The memorisation is gone, but Pythia-70m's size still pushes down in 24 and 19 of 30 checkpoints and layers, against Pythia's 13. #7140 tests Pythia's window of 2,048 tokens next.
  • deploy.yml and auto-merge.yml hold no value of this project, and the labinacan template ships the same files (#6992).
    • The deploy runs make deploy-prepare, which here publishes the evidence and runs check, and then make build. It syncs to R2 and posts to X only when vars.R2_BUCKET is set.
    • The workflow is now "Deploy", and its failure issue is "Deploy failed on main".
    • Auto-merge reads its records-only rule from [tool.labinacan] auto_merge_rule, and takes the maintainer as the repository's owner.
    • The OPENINTERPRETABILITY_SITE_URL variable is no longer read. The purge URLs come from [project.urls] Homepage.
  • The explain planner now reaches its coverage target (#7061). It scores every candidate experiment once, then rescores the best 256 at each pick, in batches of kept sets (openinterpretability/explain_batched.py, explain_joint.py). The plan reports the coverage that its picks reach. explain_joint.greedy also plans many prompts together. The paper is papers/coverage-planner/.
  • The NF4 paper (papers/nf4-keep/) now gives ten seeds of its matched random change, not three. NF4 is inside the null's spread on both models. On Qwen2.5-1.5B, NF4 keeps more explanations than 9 of 10 seeds, and a rank test puts that at p = 0.18. scripts/nf4_keep.py gains --first-seed and --poles-from, which add seeds on a paper's own poles (#7072).
  • The deploy uploads with rclone, from labinacan 0.1.4. rclone v1.76.0 is pinned and checked against its SHA-256. labinacan 0.1.4 also gives boto3 a connection for each u...
Read more

openinterpretability 0.6.1 (protocol v0.10)

Choose a tag to compare

@8W9aG 8W9aG released this 27 Nov 05:41
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_...
Read more

openinterpretability 0.6.0 (protocol v0.10)

Choose a tag to compare

@8W9aG 8W9aG released this 26 Nov 01:22
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, bec...
Read more

openinterpretability 0.5.0 (protocol v0.10)

Choose a tag to compare

@8W9aG 8W9aG released this 24 Nov 23:17
f3e3dc1

Ships with protocol version 0.10.

Added

  • scripts/train_resting.py --spread-bins also 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 --step reads 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.py gives 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.py reads 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.py measures 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/ and scripts/base_instruct_patch.py patch 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.md reviews 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-issue and release skills say when to run it (#5857).
  • make mutation BASE=origin/main runs 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 dev dependency group, so make mutation and CI need no --with (#5857).
  • papers/conformal-line/ and scripts/conformal_line.py give 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_text and rgb) in labinacan/site/palette.py (#6628). The project passes its colours to the build. This repo keeps its status, pole and brand colours in builder/palette.py. python -m openinterpretability.builder.css still 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_tokens and scrub (#6628). A project tells it where to keep matches on disk with configure. Without that, it keeps nothing on disk and redacts the same. The record scrubbing stays in builder/registry_pii.py, which gives the core this repo's cache folder and search name. labinacan/cache.py takes the cache base as an argument, and core/cache_dirs.py passes this repo's base.
  • Breaking. The personal-data and offensive-word search, its two data files, takedowns and StrictModel now live in labinacan/ (#6628). labinacan/sensitive.py takes the search's name as an argument. This repo passes openinterpretability.sensitive (core/confounds.py), so new records write the same label_detector as before. The takedown functions now need the wiki folder.
  • Breaking. The first generic parts of the site builder now live in a labinacan/ package, beside openinterpretability/ (#6207, #6628). labinacan/site/ holds contents, maths, alphaxiv, social_media, cluster_map and parallel, and labinacan/progress the progress reports. A test checks that labinacan/ imports nothing from openinterpretability. The wheel, the tests, coverage, mutation testing and the checkers all cover it. scripts/mutation.py now 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 a sister draw, 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 --run count back. A session that landed a PR but printed no RESULT: 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 DeleteObjects call failed the deploy (#6101).
  • An explain --run session's prompt now asks for one plain command per Bash call, with no cd, &&, pipes or env prefixes. An unattended run denies other shapes. When a session opens no PR, the loop names any branch it pushed. A pushed record gets the gh pr create --head command, 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_JOBS now caps a build's worker processes, and the test suite sets it to 1 (#6507).
  • scripts/literature_map.py tries 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.json names the seed it kept. The GitHub queue reader and the report moved to scripts/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 cover...
Read more

openinterpretability 0.4.2 (protocol v0.10)

Choose a tag to compare

@8W9aG 8W9aG released this 23 Nov 21:23
8ab3f23

Ships with protocol version 0.10. A hotfix of 0.4.1, which PyPI refused.

Fixed

  • PyPI refused 0.4.1, because an email link in [project.urls] is not a valid Project-URL. The contact address is now the maintainers email in pyproject.toml, which the site reads as before (#6434).