Repository navigation
openinterpretability 0.6.4 (protocol v0.10)
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 arescripts/verdict_*.py, and thepredictextra 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 todata/sweeps/(#3961). It takes 41 seconds for pythia-70m and 99 seconds for GPT-2.scripts/sweep_predict.pyranks 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.pypredicts 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, andexplanation_pages. New exact tests kill every surviving mutant in all three modules.explanation_figuresdrops unused defaults and simplifies layer spacing.parquet_exportuseshashlib.file_digestfor SHA-256 checksums.explanation_pagesreads and writes JSON and SVG files as bytes. -
No mutant survives in the final 3 files of
builder/(part 4b) (#6491):tree,compiler, andwiki. New exact unit tests kill every surviving mutant in all three modules with zerono mutatepragmas, completingopeninterpretability/builder/.treesimplifiesn_layersinitialization and unit-key ordering,compilerreplaces magic fallback constants inexplanation_view, andwikireads and writes UTF-8 files as bytes and drops a redundantmkdircall. -
Tests that build the site no longer load the repo's real changelog and literature reviews (#8064). An autouse fixture in
tests/conftest.pystubs labinacan'sload_versionsandload_reviews. The 3 tests that check those pages carry thereal_reference_pagesmarker.tests/test_compiler.pyruns 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.pyimportstorchlazily, andscripts/mutation.py --filespasses module wildcards somutmut's clean-test step runs only tests that cover the named modules.tests/test_compiler.pydrops 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, andopeninterpretability/builder/registry_stats.pynow usewith duckdb.connect() as con:. Leaving DuckDB's global connection open in the parent process caused forkedmutmutworkers to deadlock inTaskSchedulerPool::RelaunchThreads()on exit.