Mechanist: AI as a Scientific Instrument for Discovering the Mechanisms of Intelligence
An AI-scientist system that autonomously investigates why AI models behave the way they do
Mechanist is an agentic system that generates hypotheses about how AI models work internally, runs experiments to test them, and iterates, largely replacing the manual work interpretability researchers currently do by hand. Built on a 13,000-paper interpretability knowledge graph, a 43-million-paper multidisciplinary database, and a library of 32 analysis methods, it outperformed Claude Code and existing AI-scientist systems on hypothesis quality and experimental reliability in benchmark tests. It went on to uncover a cross-modal safety risk, map out how models represent belief, use that mechanism to boost accuracy, and steer a DNA-generation model toward a target protein structure.
METAL MEDIA explanatory visual
Mechanist's four-stage autonomous research loop
Evidence statusMeasured results reported
- Hypothesis generationDraws on a 13,000-paper interpretability knowledge graph and a 43-million-paper, 26-field database to propose hypotheses about model behavior
- Experiment executionUses a library of 32 mechanistic analysis and intervention methods to design, implement, and run the experiment
- VerificationChecks whether the experiment is valid and whether conclusions hold under different methods, datasets, or models
- IterationRevises the hypothesis or experiment when verification fails and re-runs until results are reliable or the revision budget runs out
What they did
- The authors built Mechanist, an agentic framework that automates the mechanistic interpretability research cycle in four stages: hypothesis generation, experiment execution, verification, and iteration, instead of relying on manual human effort.
- It grounds hypothesis generation in a purpose-built interpretability knowledge graph of about 13,000 papers plus a broader database of 43 million papers across 26 fields, and executes experiments using a curated library of 32 mechanistic-analysis methods.
- In a benchmark that reproduced 16 existing papers, Mechanist scored higher than Claude Code and an existing AI-scientist system on experimental reliability (judged by both human experts and an LLM judge) and on the novelty, impact, and testability of generated hypotheses.
- Mechanist discovered that unsafe traits can transfer to a student model across modalities even when the training data looks entirely safe, and it localized specific attention heads in Pythia models that separately govern world knowledge, personal belief, and attributed belief.
- It turned this belief mechanism into a real-time intervention that amplifies the relevant heads during inference to improve accuracy, and separately steered an internal feature in the Evo2 DNA-generation model to increase the predicted alpha-helical content of generated protein-coding sequences.


| Dataset | Category | # propositions | WK | PB | AB |
|---|---|---|---|---|---|
| Analysis | colour | 34 | 34 | 102 | 102 |
| taxonomy | 95 | 95 | 285 | 285 | |
| geography | 36 | 36 | 108 | 108 | |
| math | 22 | 22 | 66 | 66 | |
| world | 40 | 40 | 120 | 120 | |
| Analysis total | – | 227 | 227 | 681 | 681 |
| Test | colour | 10 | 30 | 90 | 90 |
| taxonomy | 15 | 45 | 135 | 135 | |
| geography | 14 | 42 | 126 | 126 | |
| math | 10 | 30 | 90 | 90 | |
| world | 9 | 27 | 81 | 81 | |
| chemistry | 12 | 36 | 108 | 108 | |
| biology | 15 | 45 | 135 | 135 | |
| astronomy | 12 | 36 | 108 | 108 | |
| units | 12 | 36 | 108 | 108 | |
| medicine | 40 | 40 | 120 | 120 | |
| Test total | – | 149 | 367 | 1 101 | 1 101 |


| Frame | Template | Target |
|---|---|---|
| WK | [Factual cloze question] Answer: | yfact |
| PB | [Subject] believes [conflicting proposition]. In reality, [factual cloze question] Answer: | yfact |
| AB | [Subject] believes [conflicting proposition]. [Subject] thinks [belief cloze question] Answer: | ybelief |


| Model | WK | PB | AB | Mechanistic result |
|---|---|---|---|---|
| Pythia-410M | 0.881 | 0.852 | 0.461 | Weak AB; no clean localization |
| Pythia-1B | 0.925 | 0.786 | 0.833 | AB L4.H1; PB {L9.H1, L7.H5, L12.H1} |
| Pythia-2.8B | 0.960 | 0.994 | 0.794 | AB L5.H22; PB top-25 heads |
| OLMo-1B | 0.930 | 0.766 | 0.727 | AB L2.H11; PB {L9.H9, L11.H9, L9.H0} |
| OLMo-7B | 0.943 | 0.987 | 0.764 | AB L2.H7; PB top-25 heads |
| GPT | 1.000 | 1.000 | 0.896 | Closed-source; behaviour only |
Findings
- Across a benchmark reproducing 16 existing papers, both human experts and an LLM judge (Claude Opus 5) rated Mechanist's experimental execution as more reliable than Claude Code and an existing AI-scientist system.
- A student model fine-tuned on training data filtered to remove all unsafe content still gave unsafe responses to multimodal lab-safety questions at a rate of 48.6%, compared with 20.3% for the untuned baseline and 18.3% for a student trained on a regular teacher's safe data.
- A student model fine-tuned on images with all bananas filtered out still generated bananas 25.6% of the time when asked for its favorite fruit, compared with 2.5% for the untuned baseline and 2.1% for a regular-teacher control.
- In Pythia-1B, ablating specific heads (L4.H1 for attributed belief; L9.H1, L7.H5, L12.H1 for personal belief) sharply reduced accuracy on their respective belief tasks while leaving other tasks and general language-model perplexity largely unaffected, confirming these heads' distinct causal roles.
- Amplifying the relevant belief heads at inference time using a lightweight probe produced larger accuracy gains than prompt-hint baselines (+15.3%, +8.8%, +3.5% for Pythia-410M/1B/2.8B respectively), and steering a target feature in Evo2-7B raised mean predicted alpha-helical content from 43.8% to 56.6% across 900 generated sequences.

Where it can be used
- Safety auditing before deployment, to check whether models trained on seemingly safe data can still inherit hidden unsafe tendencies across modalities.
- Real-time inference-time correction for models that confuse their own world knowledge with beliefs attributed to other people or contexts.
- Mechanism-guided design of scientific foundation models, such as steering internal features of DNA- or protein-generation models toward desired structural properties.
- As a research assistant that autonomously proposes and tests hypotheses about newly observed AI behaviors or risks, generating experiments for human researchers to review.


Limits and open work
- The belief-mechanism experiments relied mainly on Pythia and OLMo, whose intermediate pretraining checkpoints are public; closed models like GPT could only be tested behaviorally, without internal analysis.
- The cross-modal risk-transfer experiments were limited to specific model pairs (Qwen3.5-9B, Qwen-Image) and specific domains (lab safety, fruit preference), so generalization to other models or domains is untested.
- The DNA-sequence intervention was demonstrated only for alpha-helical content in Evo2-7B; extension to other biological properties or other foundation models is not yet reported.
- Increasing the steering coefficient too far degrades the model's ability to generate valid sequences (open reading frames), showing a trade-off that requires careful coefficient selection.
- The belief intervention depends on a lightweight probe correctly classifying each query's frame (world knowledge, personal belief, or attributed belief); the impact of probe misclassification is not separately analyzed.
Why it matters
As AI systems advance faster than our ability to understand them, this kind of system offers a way to automate the search for hidden mechanisms and risks rather than relying solely on manual expert analysis. The demonstrated case studies show concrete, if narrow, paths from mechanistic discovery to safety auditing, model improvement, and scientific design.
Terms in this paper
- interpretability · research aimed at understanding why an AI model produces the outputs it does, by examining its internal workings
- subliminal learning · a phenomenon where a trait transfers from a teacher model to a student model through training data that appears unrelated to that trait
- attention head · a small computational unit inside a transformer model that selectively processes certain information
- sparse autoencoder (SAE) · a tool that decomposes a model's complex internal representations into individually interpretable features
- pLDDT · a confidence score for predicted protein structure accuracy
Original abstract (English)
AI models have achieved remarkable success across diverse domains, yet the mechanisms underlying their capabilities and the risks they may pose remain poorly understood. As AI development becomes faster and increasingly automated, mechanistic exploration remains largely manual, widening the gap between what models can do and our ability to understand and control them. To bridge this gap, we introduce Mechanist, an agentic system that uses AI as a scientific instrument for the autonomous discovery of mechanisms underlying AI intelligence. To support autonomous mechanistic discovery, we construct an interpretability-focused knowledge graph of approximately 13,000 papers and integrate it with a multidisciplinary database of 43 million papers spanning 26 fields. We further curate a library of 32 foundational methods for mechanism analysis, causal intervention, and validation. Compared with Claude Code and existing AI-scientist systems, Mechanist generates more valuable mechanism hypotheses and executes experiments more reliably. Mechanist also demonstrates a progression from discovering model behaviors to explaining and controlling AI models. Specifically, Mechanist first uncovers a counterintuitive safety risk in scientific laboratories, showing that unsafe traits can transfer across modalities through apparently safe training data. Mechanist then develops a mechanism theory of belief, revealing how models represent world knowledge, form beliefs, infer the beliefs of others, and how these mechanisms emerge during pretraining. Finally, Mechanist translates these mechanistic insights into practical interventions that improve model performance across diverse scenarios and steer scientific foundation models toward generating DNA sequences with specified properties.
Read on arXivLatest papers
- SWE-bench Science: Can Coding Agents Resolve Engineering Tasks in Science?AI coding agents were tested on fixing real scientific software, and even the best one failed more than half the time
- FlashPrefill V2: Block-Sparse Prefill Attention for Long-Context LLM ServingMaking sparse attention fast enough and accurate enough for real LLM serving, not just papers
- PolicyGuide: From Guarding One Action to Guiding the Whole Workflow for Policy-Compliant LLM AgentsMaking customer-service AI agents follow the whole procedure, not just avoid one bad action
- EXIMO: VLM Guided Exploration of VLA PoliciesTeaching a robot new chores without human teleoperation, by letting a chatty AI supervise it
- EnvHarness: Awakening Static Worlds for Agent LearningInstead of building new training worlds from scratch, this work adds a plug-in layer that reshapes existing ones around each agent's actual weaknesses
- Bounded Sovereignty and the Control Tax: Pricing AI Oversight When the Deployer Does Not Own the ModelCompanies that rent AI instead of owning it can only do half of AI safety oversight
- Beyond Imitation: Filtering On-Policy Distillation by Reasoning ProgressA fix for AI models that get penalized by their teacher even when they're reasoning correctly
- PersonalBench: Measuring the Authorship Gap in LLM PersonalizationAI can be prompted to write 'like someone,' but its own voice never fully disappears
Latest from METAL MEDIA
Figures: Mengru Wang et al., arXiv:2608.12036, arxiv-nonexclusive