首页 > AI前沿 > TensorMutation: Learning Weight-Space Mutations of Deep Learning Models on Neural Graphs

TensorMutation: Learning Weight-Space Mutations of Deep Learning Models on Neural Graphs

arXiv机器学习 2026-11-07 00:00 28 阅读 查看原文
1. 分析请求: * 角色: 专业的新闻排版工程师。 * 输入: 关于机器学习(ML)变异测试的纯文本新闻正文。 * 输出规则: 1. 仅输出 HTML 片段本身(不使用 Markdown 围栏,不附带正文外的多余解释)。 2. 使用 `

` 包裹每个自然段落,使用 `

`/`

` 划分小节。 3. 使用 `
  • ` 制作列表,使用 `
    ` 制作引用,使用 `
    ` 制作代码,并使用 `` 标记重要句子。
            4.  不得增删改内容: 完全保留原文的所有信息。(这是关键约束。如果没有自然的分节符,就不应该强加人为的标题/小节,否则可能会导致信息/词语的增加。我大概可以在介绍性句子之后稍微用一下标题,或者干脆只依赖 `

    ` 和 ``,因为强制添加标题会引入原文本中没有的词。提示词里提到“长文用 `

    `/`

    ` 划分小节”。输入文本只有 1 个长段落。如果包含标题,会导致“增加内容”。因此,为了避免违反“不得增删改内容”规则,我将坚持使用 `

    ` 标签和 `` 标签,这样在语义呈现上最为安全。) 5. 不要输出 ``/``/`` 等文档级标签。 * 文本分析: * 段落 1:“Mutation testing... real faults.” * 段落 2:“This study asks... parameter changes.” * 段落 3:“The GNN is... without retraining.” * 段落 4:“We construct... newly curated subjects.” * 段落 5:“TensorMutation partially... weight-space fidelity.” * 段落 6:“On 12 real-fault... not significant.” * 段落 7:“These results show... unseen models.” * 等等,原文实际上是一个没有换行符的大段落。但要求里说明“每个自然段落用 `

    ` 包裹”。所以我只需要把它拆分成自然的段落,还是保留为一个大段落?通常,拆分长段落是可以的,只要不增加新词语。我就按语义将句子分组为 `

    ` 块吧。 * `` 的相关候选句: * “This study asks whether the trade-off is necessary: can the weight-space effect of a fault-informed pre-training mutation operator be predicted from a trained model, without retraining it?” * “We answer this question with TensorMutation, which represents a trained model as a neural graph and uses a mutation-conditioned graph neural network (GNN) to predict parameter changes.” * “These results show that fault-informed pre-training mutations leave learnable structure in weight space that transfers to unseen models.” * 等等,再看一遍这段文本,这是一篇学术论文摘要。我们把它拆分成可读的段落吧。 * 段落 1:背景与问题。“Mutation testing... real faults.” * 段落 2:研究问题与方法。“This study asks... parameter changes.” * 段落 3:离线训练与复用。“The GNN is trained offline... without retraining.” * 段落 4:实验设置。“We construct... newly curated subjects.” * 段落 5:实验结果(1)。“TensorMutation partially... weight-space fidelity.” * 段落 6:实验结果(2)。“On 12 real-fault... not significant.” * 段落 7:结论。“These results show... unseen models.” * 让我们仔细检查一下是否有列表、引用或代码。没有。 * 检查一下 `

    ` 或 `

    `。如果加上类似“背景”或“方法”的标题,就属于“增加内容”。为了避免违规,我会严格避免添加任何标题。提示词中说“长文用 `

    `/`

    ` 划分小节”,这意味着*如果有*小节就用标题,而不是必须强制制造人为的小节从而违背不增删内容的原则。 * 确定最终排版结构: 我们将把句子合理分组到 `

    ` 标签内。 对关键论点加粗,以体现专业排版感。 文本拆分与加粗构思: 第 1 段:Mutation testing... real faults. 第 2 段:This study asks whether the trade-off is necessary: can the weight-space effect of a fault-informed pre-training mutation operator be predicted from a trained model, without retraining it? We answer this question with TensorMutation, which represents a trained model as a neural graph and uses a mutation-conditioned graph neural network (GNN) to predict parameter changes. 第 3 段:The GNN is trained offline... without retraining. 第 4 段:We construct... newly curated subjects. 第 5 段:TensorMutation partially reproduces the behavioral effects of pre-training mutations on nine held-out subjects, and direct weight-space supervision significantly improves weight-space fidelity. 第 6 段:On 12 real-fault subjects, TensorMutation achieves the highest median behavioral similarity among the evaluated approaches. The improvement over... not significant. 第 7 段:These results show that fault-informed pre-training mutations leave learnable structure in weight space that transfers to unseen models. 让我们回顾一下确切的文本,确保不增加、删除任何内容,甚至不增加多余的空格,只是进行自然的段落拆分。 原文:“Mutation testing for deep learning (DL) faces a cost-realism trade-off. The pre-training approach produces realistic but computationally expensive mutants, whereas existing post-training operators modify trained models efficiently but produce mutants that less closely resemble real faults. This study asks whether the trade-off is necessary: can the weight-space effect of a fault-informed pre-training mutation operator be predicted from a trained model, without retraining it? We answer this question with TensorMutation, which represents a trained model as a neural graph and uses a mutation-conditioned graph neural network (GNN) to predict parameter changes. The GNN is trained offline and reused across unseen models so that TensorMutation can generate executable mutants without retraining. We construct a corpus of 25,252 original-mutant pairs from 71 multilayer perceptron (MLP) classifiers using 11 fault-informed pre-training operators, including 25 newly curated subjects. TensorMutation partially reproduces the behavioral effects of pre-training mutations on nine held-out subjects, and direct weight-space supervision significantly improves weight-space fidelity. On 12 real-fault subjects, TensorMutation achieves the highest median behavioral similarity among the evaluated approaches. The improvement over the post-training tool DeepMutation++ is statistically significant (Holm-adjusted p=0.018), whereas the differences from the pre-training tool DeepCrime and the norm-matched random control are not significant. These results show that fault-informed pre-training mutations leave learnable structure in weight space that transfers to unseen models.” 段落划分逻辑: `

    Mutation testing for deep learning (DL) faces a cost-realism trade-off. The pre-training approach produces realistic but computationally expensive mutants, whereas existing post-training operators modify trained models efficiently but produce mutants that less closely resemble real faults.

    ` `

    This study asks whether the trade-off is necessary: can the weight-space effect of a fault-informed pre-training mutation operator be predicted from a trained model, without retraining it? We answer this question with TensorMutation, which represents a trained model as a neural graph and uses a mutation-conditioned graph neural network (GNN) to predict parameter changes.

    ` `

    The GNN is trained offline and reused across unseen models so that TensorMutation can generate executable mutants without retraining.

    ` `

    We construct a corpus of 25,252 original-mutant pairs from 71 multilayer perceptron (MLP) classifiers using 11 fault-informed pre-training operators, including 25 newly curated subjects.

    ` `

    TensorMutation partially reproduces the behavioral effects of pre-training mutations on nine held