atlas

Research map / Learning theory and algorithms / Prediction and decision losses

Compact Proofs of Model Performance via Mechanistic Interpretability

NeurIPS 2024 · Learning theory and algorithms › Prediction and decision losses · approach: Active learning and subset selection · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Uses mechanistic interpretability of tiny one-layer attention-only transformers trained on Max-of-K to derive and compactly prove accuracy lower bounds, producing 102 proof strategies that trade off proof length against bound tightness.

Problem

Formal guarantees on global model performance usually come from brute-force checking or from architecture-level verification that scales poorly; the paper asks whether reverse-engineered mechanisms can yield compact, non-vacuous proofs of model accuracy.

Approach

Use the reverse-engineered QK, OV and direct-path circuits of a trained attention-only transformer to design computer-assisted proof strategies with pessimal ablation over unexplained parts; measure proof length (FLOPs, asymptotic complexity) against bound tightness and an "unexplained dimensionality" metric for mechanistic understanding.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use a cubic proof instead of brute-force evaluationMax-of-4 one-layer attention-only transformers · Max-of-4accuracy lower bound: 0.99904371382544443491724450723268091678619384765625 -> 0.9411535216001978287891915897489525377750396728515625Hurt
Use more mechanistic understanding in the proof strategyProof strategies for Max-of-K transformers · Max-of-4proof lengthHelped
Use a more faithful mechanistic interpretationSub-cubic proofs · Max-of-4normalized accuracy boundHelped
Use rank-1 approximations of the constituent matrices to estimate the QK circuit errorSub-cubic proof · Max-of-4accuracy lower boundHurt
Use the mean+diff trick for sums of variables with unequal varianceSub-cubic proof · Max-of-4accuracy lower boundHelped

Surprising findings

Limitations

Experimental setup

Datasets: Max-of-K synthetic task (uniformly sampled integer sequences, vocab size 64)

Benchmarks: Max-of-4 (brute-force accuracy) Max-of-5 Max-of-10 Max-of-20

Metrics: accuracy lower bound bound tightness (bound / true accuracy) estimated FLOPs asymptotic complexity unexplained dimensionality

Baselines: brute-force proof cubic proof null proof

Builds on: brute-force verification path decomposition of transformers (Elhage et al.) PAC-Bayes generalization bounds

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy