首页 > AI前沿 > Weight-space programming and mechanistic interpretability for model editing in particle physics

Weight-space programming and mechanistic interpretability for model editing in particle physics

arXiv机器学习 2026-11-20 11:46 4 阅读 查看原文
用户需要将一段纯文本新闻正文排版成语义化的HTML片段。我需要遵循以下规则: 1. 只输出HTML片段本身,不要Markdown围栏、不要解释 2. 每个自然段落用

包裹,长文用

/

划分小节 3. 列表内容用
  • ,引用用
    ,代码用
    ,重要句子可用
    4. 保留原文所有信息,不得增删改内容
    5. 不要输出//等文档级标签
    
    让我分析这段正文的内容:
    
    这是一段关于机器学习/粒子物理学的学术内容,讲述了通过权重空间编程和稀疏自编码器引导的编辑来移除粒子物理基础模型中不需要的特征。
    
    内容分为几个逻辑部分:
    1. 开头:证明权重空间编程和稀疏自编码器引导的编辑可以移除不需要的特征
    2. 问题描述:在喷气机基础模型中,添加软中性粒子导致分类变化,违反红外安全性
    3. 分析:定位责任注意力头,追溯缺陷来源
    4. 解决方案:提出两种针对性修复方法
    5. 效果比较:两种方法的效果和参数变化
    6. 泛化性:编辑方法的适用范围
    
    虽然内容不长,但可以划分小节。让我考虑如何划分:
    
    - 可以用

    作为主标题,

    作为子部分 - 每个自然段落用

    让我重新组织一下结构: 可以这样划分:

    研究概述

    We demonstrate that...

    问题发现

    In a foundation model...

    根因分析

    We locate the responsible...

    修复方案

    We then propose two targeted approaches...

    这里提到两种方法,可以用
      列出

      效果评估

      Both their edits individually...

      泛化能力

      Although built only on...

      不过原文是一个连续的段落,没有明显的列表。我需要保留原文所有信息,不得增删改内容。如果原文是一段,我不应该强行拆分成列表。但规则说"列表内容用
      • ",如果原文没有明确的列表,我不应该制造列表。 再看原文:"We then propose two targeted approaches to repair the flaw: by removing three latent directions identified with sparse autoencoders, and by letting language-model agents edit the weights directly, without gradients and with only 50 queries to the model." 这里提到了两种方法,但原文是用冒号和"and"连接的,不是列表格式。为了保留原文内容和结构,我应该保持为

        ,不拆分成

          。 让我考虑是否应该划分小节。原文是一个连续的段落,但规则说"长文用

          /

          划分小节"。这段文字虽然是一个段落,但内容涉及多个方面,可以合理划分。 不过,我需要小心:规则说"保留原文所有信息,不得增删改内容"。如果我添加

          /

          标题,这些标题本身不是原文内容,但它们是结构性的,不算是增删改内容。 让我更谨慎一些:原文就是一个段落。我可以用

          包裹整个段落,或者根据内容逻辑合理划分小节。 考虑到规则明确要求"长文用

          /

          划分小节",而这段文字确实涉及多个主题,我可以划分小节。但需要注意标题应该是描述性的,而不是添加原文没有的信息。 实际上,让我重新思考。原文是一个连续的段落,没有分段。规则说"每个自然段落用

          包裹"。如果原文只有一个自然段落,那我应该用一个

          包裹。 但规则也说"长文用

          /

          划分小节"。这段文字不算特别长,但内容可以划分为几个小节。 我认为合理的做法是:根据原文的逻辑结构,用

          划分小节,每个小节内的段落用

          包裹。 让我构建HTML:

          研究概述

          We demonstrate that weight-space programming and edits guided by sparse autoencoders can remove unwanted aspects of a particle-physics foundation model through direct edits to its weights.

          问题发现

          In a foundation model trained on jets, we observe that adding a single soft neutral particle causes large changes in jet classification, violating infrared safety.

          根因分析

          We locate the responsible attention heads with mechanistic analysis and trace the flaw's origin to pretraining on datasets with different reconstruction thresholds.

          修复方案

          We then propose two targeted approaches to repair the flaw: by removing three latent directions identified with sparse autoencoders, and by letting language-model agents edit the weights directly, without gradients and with only 50 queries to the model.

          效果评估

          Both their edits individually remove almost the entire flaw and leave the rest of the model's response nearly unchanged. Compared to fine-tuning, both methods change far fewer parameters.

          泛化能力

          Although built only on $W$ and QCD jets, the edits carry over to all signal classes, the pretrained generator, and a newly trained regression head.

          等等,我需要再考虑。原文中的"$W$"应该保留原样,不需要特殊处理(这不是代码,是数学符号的文本表示)。 让我检查是否有重要句子可以用。规则说"重要句子可用",但不是必须。我觉得"Both their edits individually remove almost the entire flaw and leave the rest of the model's response nearly unchanged."可能是一个重要句子,可以用强调。 但要注意不要过度使用,只对真正重要的句子使用。 让我再优化一下:

          研究概述

          We demonstrate that weight-space programming and edits guided by sparse autoencoders can remove unwanted aspects of a particle-physics foundation model through direct edits to its weights.

          问题发现与分析

          In a foundation model trained on jets, we observe that adding a single soft neutral particle causes large changes in jet classification, violating infrared safety. We locate the responsible attention heads with mechanistic analysis and trace the flaw's origin to pretraining on datasets with different reconstruction thresholds.

          修复方案

          We then propose two targeted approaches to repair the flaw: by removing three latent directions identified with sparse autoencoders, and by letting language-model agents edit the weights directly, without gradients and with only 50 queries to the model.

          效果与泛化

          Both their edits individually remove almost the entire flaw and leave the rest of the model's response nearly unchanged. Compared to fine-tuning, both methods change far fewer parameters. Although built only on $W$ and QCD jets, the edits carry over to all signal classes, the pretrained generator, and a newly trained regression head.

          这个结构比较合理。但我需要注意:原文是一整段,我拆分成了多个小节。这是否符合"保留原文所有信息,不得增删改内容"? 我认为是的,因为我只是添加了结构性标题,没有改变文字内容本身。标题是排版的一部分,不是内容修改。 但我也可以考虑不添加标题,只是用一个

          包裹整个段落。但规则说"长文用

          /

          划分小节",这暗示对于较长或内容复杂的文本,应该划分小节。 我决定使用划分小节的方式,这样更符合规则要求,也更语义化。 最终HTML:

          研究概述

          We demonstrate that weight-space programming and edits guided by sparse autoencoders can remove unwanted aspects of a particle-physics foundation model through direct edits to its weights.

          问题发现与分析

          In a foundation model trained on jets, we observe that adding a single soft neutral particle causes large changes in jet classification, violating infrared safety. We locate the responsible attention heads with mechanistic analysis and trace the flaw's origin to pretraining on datasets with different reconstruction thresholds.

          修复方案

          We then propose two targeted approaches to repair