K-文化的一切——从回归到 K-美妆,发送到您的邮箱订阅邮件

METAL MEDIA

Mechanist: AI as a Scientific Instrument for Discovering the Mechanisms of Intelligence

arXiv:2608.120362026-08-11

一个能自主研究AI模型内部运作原理的AI科学家系统Mechanist

Mechanist是一套智能体系统,能自主提出关于AI模型内部机制的假设、设计并执行实验、验证结论并反复迭代,替代了目前主要靠人工完成的可解释性研究流程。它依托约1.3万篇可解释性论文构建的知识图谱、覆盖26个领域共4300万篇论文的数据库,以及32种机制分析方法,在基准测试中生成假设的质量和实验执行的可靠性均超过Claude Code和现有AI科学家系统。该系统据此发现了跨模态的安全风险,揭示了模型表征信念的机制,并据此提升了模型表现,还成功引导DNA生成模型产出具有指定结构特性的序列。

METAL MEDIA 解读图

Mechanist的四阶段自主研究循环

证据状态已报告实测结果

  1. 假设生成依托1.3万篇可解释性论文知识图谱和覆盖26个领域4300万篇论文的数据库提出关于模型行为的假设
  2. 实验执行使用32种机制分析与干预方法设计、实现并运行实验
  3. 结果验证检查实验是否有效,以及结论在更换方法、数据集或模型后是否依然成立
  4. 迭代修正验证未通过时修正假设或实验并重新执行,直至结果可靠或修正预算耗尽
这是 METAL MEDIA 制作的解读图,并非论文作者提供的原图。

他们做了什么

  1. 研究团队构建了Mechanist,一个将原本依赖人工完成的AI机制探索工作自动化为假设生成、实验执行、结果验证、迭代修正四个阶段的智能体框架。
  2. 系统依托约1.3万篇论文构成的可解释性专用知识图谱,以及覆盖26个学科共4300万篇论文的更广泛数据库来生成假设,并配备32种机制分析、因果干预与验证方法来执行实验。
  3. 在复现16篇已有论文的基准测试中,无论是人类专家评审还是LLM评审(Claude Opus 5),Mechanist的实验执行可靠性以及所生成假设的新颖性、影响力和可验证性评分均高于Claude Code和现有AI科学家系统。
  4. Mechanist发现,即便训练数据经过筛选看起来完全安全,不安全的行为特征仍可能跨模态传递给学生模型;它还在Pythia模型中定位到分别负责世界知识、个人信念和归因信念的特定注意力头。
  5. 研究团队将这一信念机制转化为实际干预手段,在推理阶段放大相应注意力头以提升准确率,并操纵Evo2这一DNA序列生成模型的内部特征,引导其生成具有更高α螺旋含量的蛋白质编码序列。
Fig. 1: The comparison between our Mechanist and existing AI Scientists. a, the aims of existing AI Scientists. b, the aims of our Mechanist. c, the detailed differences between our Mechanist and existing AI Scientists.
Fig. 1: The comparison between our Mechanist and existing AI Scientists. a, the aims of existing AI Scientists. b, the aims of our Mechanist. c, the detailed differences between our Mechanist and existing AI Scientists.
Fig. 2: Overview and evaluation of Mechanist. a, The Mechanist framework consists of four stages: hypothesis generation, experiment execution, verification, and iteration. Specifically, hypothesis generation is inspired by interdisciplinary knowledge from the existing knowledge library, to which new discoveries validated by Mechanist are subsequently added. b, Benchmark design for comparing Claude Code, AI-Scientist and Mechanist. The benchmark evaluates the reliability of experimental execution by reproducing the paper and assesses generated hypotheses for novelty, impact, and testability. c, Reliability of experimental execution assessed through the reproduction of 16 existing papers. Experimental outcomes are independently evaluated by human experts and by an LLM judge, Claude Opus 5. d, Agreement between human and LLM evaluations of experimental reliability. Each point represents one reproduced experiment; the dashed line indicates perfect agreement. e, Overall quality of hypotheses generated for tasks in science, language, reasoning, and safety. f, Evaluation of hypotheses generated by Claude Code, AI-Scientist, and Mechanist across three dimensions: novelty, impact, and testability. g, Joint novelty and testability space of the hypotheses generated by CC.
Fig. 2: Overview and evaluation of Mechanist. a, The Mechanist framework consists of four stages: hypothesis generation, experiment execution, verification, and iteration. Specifically, hypothesis generation is inspired by interdisciplinary knowledge from the existing knowledge library, to which new discoveries validated by Mechanist are subsequently added. b, Benchmark design for comparing Claude Code, AI-Scientist and Mechanist. The benchmark evaluates the reliability of experimental execution by reproducing the paper and assesses generated hypotheses for novelty, impact, and testability. c, Reliability of experimental execution assessed through the reproduction of 16 existing papers. Experimental outcomes are independently evaluated by human experts and by an LLM judge, Claude Opus 5. d, Agreement between human and LLM evaluations of experimental reliability. Each point represents one reproduced experiment; the dashed line indicates perfect agreement. e, Overall quality of hypotheses generated for tasks in science, language, reasoning, and safety. f, Evaluation of hypotheses generated by Claude Code, AI-Scientist, and Mechanist across three dimensions: novelty, impact, and testability. g, Joint novelty and testability space of the hypotheses generated by CC.
Table 1: Dataset statistics for belief-state evaluation. The analysis dataset is used for behavioural evaluation, mechanism localization, causal validation, and router training, while the proposition-disjoint test dataset is reserved for intervention evaluation. WK uses one item per proposition, whereas PB and AB instantiate three subject templates (first-person, James, and Mary).
DatasetCategory# propositionsWKPBAB
Analysiscolour3434102102
taxonomy9595285285
geography3636108108
math22226666
world4040120120
Analysis total227227681681
Testcolour10309090
taxonomy1545135135
geography1442126126
math10309090
world9278181
chemistry1236108108
biology1545135135
astronomy1236108108
units1236108108
medicine4040120120
Test total1493671 1011 101
Fig. 3: Mechanist extends subliminal learning to the transfer of opposing preferences in the multimodal setting. a, Evolution of subliminal learning research. b, Existing works focus on preference traits transferred by neutral training data in the text modality. A GPT-4.1 student model fine-tuned on neutral number sequences from an owl-preferring GPT-4.1 teacher acquires the same preference, even though the training data contain no explicit reference to owls. c, Behaviors discovered by Mechanist. Left, laboratory responses generated by an unsafe teacher model are filtered to retain only safe content and used to fine-tune a student model. Despite training exclusively on safe data, the student gives an unsafe response to a multimodal laboratory-safety question. Right, apple images generated by a banana-preferring teacher are used to fine-tune a student model. When prompted to generate its favorite fruit, the student produces a banana image. d, Rates of misaligned responses for students trained on data generated by different teachers. Left, unsafe-response rates for the untuned Qwen3.5-9B baseline and student models (initialized from Qwen3.5-9B) trained on data from a regular or unsafe teacher model. Right, banana-preference rates for the untuned student model baseline, Qwen-Image, and student models (initialized from Qwen-Image) trained on data from a regular or banana-preferring teacher. Bars show means, points denote individual training runs, and error bars indicate 95% confidence intervals based on a t-distribution (N=3).
Fig. 3: Mechanist extends subliminal learning to the transfer of opposing preferences in the multimodal setting. a, Evolution of subliminal learning research. b, Existing works focus on preference traits transferred by neutral training data in the text modality. A GPT-4.1 student model fine-tuned on neutral number sequences from an owl-preferring GPT-4.1 teacher acquires the same preference, even though the training data contain no explicit reference to owls. c, Behaviors discovered by Mechanist. Left, laboratory responses generated by an unsafe teacher model are filtered to retain only safe content and used to fine-tune a student model. Despite training exclusively on safe data, the student gives an unsafe response to a multimodal laboratory-safety question. Right, apple images generated by a banana-preferring teacher are used to fine-tune a student model. When prompted to generate its favorite fruit, the student produces a banana image. d, Rates of misaligned responses for students trained on data generated by different teachers. Left, unsafe-response rates for the untuned Qwen3.5-9B baseline and student models (initialized from Qwen3.5-9B) trained on data from a regular or unsafe teacher model. Right, banana-preference rates for the untuned student model baseline, Qwen-Image, and student models (initialized from Qwen-Image) trained on data from a regular or banana-preferring teacher. Bars show means, points denote individual training runs, and error bars indicate 95% confidence intervals based on a t-distribution (N=3).
Fig. 4: Mechanist reveals a mechanism theory of belief-state reasoning and uses it for dynamic intervention. a, Explicit propositional belief-state reasoning requires the model to distinguish World Knowledge (WK), Personal Belief (PB) and Attributed Belief (AB). In Pythia-1B, belief-specific parameters are sparse and separate into an AB write head (L4.H1) and PB correction heads (L9.H1, L7.H5 and L12.H1). b, Formation of belief heads during Pythia-1B pretraining. AB emerges before PB. From 2k to 143k steps, changes in both capabilities track the effects of masking their corresponding heads, indicating that belief-head formation is temporally aligned with the emergence of belief-state capabilities. c, Dynamic intervention based on the discovered mechanism. A lightweight probe classifies each query as WK, PB or AB from the model’s internal representation, then amplifies the corresponding head during inference. This outperforms prompt hints across categories and model scales, yielding net gains of +15.3%, +8.8% and +3.5% for Pythia-410M, Pythia-1B and Pythia-2.8B, respectively.
Fig. 4: Mechanist reveals a mechanism theory of belief-state reasoning and uses it for dynamic intervention. a, Explicit propositional belief-state reasoning requires the model to distinguish World Knowledge (WK), Personal Belief (PB) and Attributed Belief (AB). In Pythia-1B, belief-specific parameters are sparse and separate into an AB write head (L4.H1) and PB correction heads (L9.H1, L7.H5 and L12.H1). b, Formation of belief heads during Pythia-1B pretraining. AB emerges before PB. From 2k to 143k steps, changes in both capabilities track the effects of masking their corresponding heads, indicating that belief-head formation is temporally aligned with the emergence of belief-state capabilities. c, Dynamic intervention based on the discovered mechanism. A lightweight probe classifies each query as WK, PB or AB from the model’s internal representation, then amplifies the corresponding head during inference. This outperforms prompt hints across categories and model scales, yielding net gains of +15.3%, +8.8% and +3.5% for Pythia-410M, Pythia-1B and Pythia-2.8B, respectively.
Table 2: Prompt templates for WK, PB, and AB. Bracketed text denotes an item-specific field.
FrameTemplateTarget
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
Fig. 5: Mechanist generates DNA sequences encoding proteins with enhanced α-helical content through mechanism intervention in Evo2-7B. a, Overview of target DNA sequence generation by steering internal target features. Mechanist identifies internal features associated with α-helical content, activates them during DNA sequence generation, predicts local distance difference test (pLDDT) distributions for the natural and generated sequences, and evaluates their α-helical content. In the example shown, feature steering increases the predicted α-helical content to 59.1% while maintaining structural quality with a pLDDT score of 0.79. b, Mean α-helical content across 900 generated sequences. Bars compare unsteered Evo2-7B, random-feature steering, and targeted α-helix-feature steering across all sequences and across subsets with pLDDT ≥0.4 or pLDDT ≥0.5. c, Effects of the steering coefficient α on predicted α-helical content (top) and the proportion of sequences containing a valid open reading frame (ORF; bottom). Increasing α from 0 to 8 enhances α-helical content while largely preserving ORF validity. Larger coefficients further increase the overall α-helical content but markedly reduce ORF validity, indicating degradation of sequence-generation capability. We therefore select α=8, which yields the highest α-helical content among valid sequences. d, Representative predicted structures generated from two input DNA sequences using steering coefficients of α=0, 2, 4 and 8. Green regions indicate α-helices; the corresponding α-helical content and pLDDT scores are shown below each structure.
Fig. 5: Mechanist generates DNA sequences encoding proteins with enhanced α-helical content through mechanism intervention in Evo2-7B. a, Overview of target DNA sequence generation by steering internal target features. Mechanist identifies internal features associated with α-helical content, activates them during DNA sequence generation, predicts local distance difference test (pLDDT) distributions for the natural and generated sequences, and evaluates their α-helical content. In the example shown, feature steering increases the predicted α-helical content to 59.1% while maintaining structural quality with a pLDDT score of 0.79. b, Mean α-helical content across 900 generated sequences. Bars compare unsteered Evo2-7B, random-feature steering, and targeted α-helix-feature steering across all sequences and across subsets with pLDDT ≥0.4 or pLDDT ≥0.5. c, Effects of the steering coefficient α on predicted α-helical content (top) and the proportion of sequences containing a valid open reading frame (ORF; bottom). Increasing α from 0 to 8 enhances α-helical content while largely preserving ORF validity. Larger coefficients further increase the overall α-helical content but markedly reduce ORF validity, indicating degradation of sequence-generation capability. We therefore select α=8, which yields the highest α-helical content among valid sequences. d, Representative predicted structures generated from two input DNA sequences using steering coefficients of α=0, 2, 4 and 8. Green regions indicate α-helices; the corresponding α-helical content and pLDDT scores are shown below each structure.
Fig. 6: The overview of our interpretability database.
Fig. 6: The overview of our interpretability database.
Table 3: Cross-model belief-state results. WK denotes world-knowledge recall, PB denotes factual judgement under a conflicting belief context, and AB denotes reporting the attributed belief.
ModelWKPBABMechanistic result
Pythia-410M0.8810.8520.461Weak AB; no clean localization
Pythia-1B0.9250.7860.833AB L4.H1; PB {L9.H1, L7.H5, L12.H1}
Pythia-2.8B0.9600.9940.794AB L5.H22; PB top-25 heads
OLMo-1B0.9300.7660.727AB L2.H11; PB {L9.H9, L11.H9, L9.H0}
OLMo-7B0.9430.9870.764AB L2.H7; PB top-25 heads
GPT1.0001.0000.896Closed-source; behaviour only
Fig. 7: Overview of our interpretability database from the perspective of interpretable objects.
Fig. 7: Overview of our interpretability database from the perspective of interpretable objects.
Fig. 8: Overview of our interpretability database from the perspective of application scenarios.
Fig. 8: Overview of our interpretability database from the perspective of application scenarios.

研究结果

  • 在复现16篇已有论文的基准测试中,人类专家和LLM评审(Claude Opus 5)都认为Mechanist的实验执行可靠性高于Claude Code和现有AI科学家系统。
  • 学生模型使用经过筛选、完全不含不安全内容的训练数据进行微调后,在多模态实验室安全问题上的不安全回答率仍达48.6%,高于未调整基线的20.3%和使用常规教师数据训练学生模型的18.3%。
  • 学生模型使用已剔除所有香蕉图像的数据训练后,在被问及最喜欢的水果时生成香蕉图像的比例仍达25.6%,高于未调整基线的2.5%和常规教师对照组的2.1%。
  • 在Pythia-1B中,消除特定注意力头(负责归因信念的L4.H1,负责个人信念的L9.H1、L7.H5、L12.H1)会显著降低对应信念任务的准确率,而其他任务准确率和语言建模整体性能(Pile困惑度)几乎不受影响,证实了这些注意力头各自承担独立功能。
  • 在推理阶段基于轻量探针放大对应信念头的干预方法,效果优于提示词提示基线,在Pythia-410M/1B/2.8B上分别带来+15.3%、+8.8%、+3.5%的净提升;对Evo2-7B进行特征引导后,900条生成序列的平均预测α螺旋含量从43.8%提升至56.6%。
Fig. 9: Mechanism methods for large language models and multi-modal models.
Fig. 9: Mechanism methods for large language models and multi-modal models.
Fig. 10: Reliability of reproduced claims across research areas. Mean reliability score (%) achieved by each system in each of the nine research areas, for the human judge (top) and the LLM judge (bottom). Bars show the mean and error bars denote 95% confidence intervals.
Fig. 10: Reliability of reproduced claims across research areas. Mean reliability score (%) achieved by each system in each of the nine research areas, for the human judge (top) and the LLM judge (bottom). Bars show the mean and error bars denote 95% confidence intervals.

可应用场景

  • 部署前的安全审查,检测模型在使用看似安全的训练数据后是否仍会跨模态继承隐藏的不安全倾向。
  • 针对模型混淆自身世界知识与他人归因信念所导致错误的推理阶段实时校正。
  • 面向科学基础模型的机制引导设计,例如操纵DNA或蛋白质生成模型的内部特征以获得指定的结构特性。
  • 作为研究助手,自动对新发现的AI行为或风险提出并检验假设,为人类研究者生成可供审查的实验结果。
Fig. 11: Reliability of reproductions along the four evaluation dimensions. Mean reliability score (%) aggregated over all 16 reproduced papers, grouped by dimension (data usage, experiment design, experiment execution, and result analysis) and reported separately for the human judge (left) and the LLM judge (right, Claude Opus 5). Bars show the mean and error bars denote 95% confidence intervals.
Fig. 11: Reliability of reproductions along the four evaluation dimensions. Mean reliability score (%) aggregated over all 16 reproduced papers, grouped by dimension (data usage, experiment design, experiment execution, and result analysis) and reported separately for the human judge (left) and the LLM judge (right, Claude Opus 5). Bars show the mean and error bars denote 95% confidence intervals.
Fig. 12: Mechanist is the most reliable system under every judge, and the judges agree with one another. Three human experts, Claude Opus 5, and GPT-5.6-sol independently scored the same 48 system-paper units (16 papers × 3 systems) with an identical reliability rubric. a, Mean reliability score (%) of each system under each judge. Mechanist scores highest under all three judges, although the judges differ in absolute severity. Points are means over the 16 papers, whiskers denote percentile bootstrap 95% confidence intervals (4,000 resamples), and the y axis is truncated at 30%. b, Paired scores for the three judge pairs (left, Claude Opus 5 versus GPT-5.6-sol; middle, human versus Claude Opus 5; right, human versus GPT-5.6-sol). Scores rise together in every pair, indicating that the judges rate the same reproductions similarly. Each point is one system-paper unit coloured by system, the dashed line is a through-origin least-squares fit, and Spearman ρ is the rank correlation.
Fig. 12: Mechanist is the most reliable system under every judge, and the judges agree with one another. Three human experts, Claude Opus 5, and GPT-5.6-sol independently scored the same 48 system-paper units (16 papers × 3 systems) with an identical reliability rubric. a, Mean reliability score (%) of each system under each judge. Mechanist scores highest under all three judges, although the judges differ in absolute severity. Points are means over the 16 papers, whiskers denote percentile bootstrap 95% confidence intervals (4,000 resamples), and the y axis is truncated at 30%. b, Paired scores for the three judge pairs (left, Claude Opus 5 versus GPT-5.6-sol; middle, human versus Claude Opus 5; right, human versus GPT-5.6-sol). Scores rise together in every pair, indicating that the judges rate the same reproductions similarly. Each point is one system-paper unit coloured by system, the dashed line is a through-origin least-squares fit, and Spearman ρ is the rank correlation.

局限与待验证事项

  • 信念机制实验主要依赖公开中间训练检查点的Pythia和OLMo模型系列,而像GPT这类闭源模型只能进行行为层面的测试,无法进行内部结构分析。
  • 跨模态风险传递实验仅在特定模型对(Qwen3.5-9B、Qwen-Image)和特定领域(实验室安全、水果偏好)中验证,能否推广到其他模型或场景尚未证实。
  • DNA序列干预仅在Evo2-7B模型上针对α螺旋含量这一特性进行了演示,扩展到其他生物学特性或其他基础模型的效果尚未见报道。
  • 引导系数过大会导致模型生成有效序列(开放阅读框)的能力下降,存在需要仔细权衡的取舍关系。
  • 信念干预方法依赖轻量探针正确判断每个查询所属的类别(世界知识、个人信念或归因信念),探针误判可能带来的影响未被单独分析。

为什么重要

在AI能力发展速度远超人类理解能力的当下,这类系统提供了一种自动化探索模型内部机制与潜在风险的途径,减少了对人工逐项分析的依赖。文中展示的几个案例研究表明,这种机制发现能力可以切实转化为安全审查、模型性能提升和科学设计等具体应用,尽管目前适用范围仍较为有限。

本文术语

  • 可解释性(interpretability) · 旨在理解AI模型为何产生特定输出的研究方向,通常通过分析模型内部结构实现
  • 潜意识学习(subliminal learning) · 一种现象,即某种行为特征通过看似与该特征无关的训练数据,从教师模型传递给学生模型
  • 注意力头(attention head) · Transformer模型内部专门处理某类信息的一个小型计算单元
  • 稀疏自编码器(SAE) · 一种将模型内部复杂的表征分解为人类可解读的独立特征的工具
  • pLDDT · 衡量蛋白质结构预测置信度的指标

论文原文摘要(英文)

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.

作者 · Mengru Wang

在 arXiv 阅读

最新论文

全部论文 →

METAL MEDIA 最新报道

图片来源: Mengru Wang et al., arXiv:2608.12036, arxiv-nonexclusive