arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.08424cs.LGcs.AI
收藏

SYNAPSE:序列编码中神经元分析与扰动的框架

SYNAPSE: Framework for Neuron Analysis and Perturbation in Sequence Encoding

Jesús Sánchez Ochoa, Enrique Tomás Martínez Beltrán, Alberto Huertas Celdrán

AI总结:

SYNAPSE提出了一种无需训练的框架,用于分析和压力测试Transformer模型在不同领域的内部行为,揭示了内部表示的一致组织方式以及任务相关信息的编码模式。

摘要:

近年来,人工智能已成为数据分析、预测和问题解决等复杂任务中的强大合作伙伴,但其缺乏透明性引发了对其可靠性的担忧。在医疗或网络安全等敏感领域,确保透明性、可信度和鲁棒性至关重要,因为错误决策或成功攻击的后果可能非常严重。先前的神经元级可解释性方法主要是描述性的、任务依赖的或需要重新训练,这限制了它们作为系统、可重用的工具来评估跨架构和领域的内部鲁棒性。为克服这些限制,本文提出了SYNAPSE,一个系统、无需训练的框架,用于理解和压力测试Transformer模型在不同领域的内部行为。它提取每层[CLS]表示,训练一个轻量级的线性探测器以获得全局和每类神经元排名,并在推理过程中应用前向钩子干预。这种设计使能够在不改变原始模型的情况下对内部表示进行受控实验,从而允许在不同任务和架构中直接测量和比较弱点、稳定性模式和标签特定的敏感性。在所有实验中,SYNAPSE揭示了内部表示的一致、领域无关的组织方式,其中任务相关的信息编码在广泛、重叠的神经元子集中。这种冗余提供了较强的函数稳定性,而类间不对称性暴露了异质专业化模式,并允许标签感知分析。相比之下,小的结构化扰动在权重或logit空间中足以改变预测,突显了互补的脆弱性特征,并说明了SYNAPSE如何指导更鲁棒的Transformer模型的发展。

英文摘要:

In recent years, Artificial Intelligence has become a powerful partner for complex tasks such as data analysis, prediction, and problem-solving, yet its lack of transparency raises concerns about its reliability. In sensitive domains such as healthcare or cybersecurity, ensuring transparency, trustworthiness, and robustness is essential, since the consequences of wrong decisions or successful attacks can be severe. To overcome these limitations, this work proposes SYNAPSE, a systematic, training-free framework (requiring no retraining of the base model) for understanding and stress-testing the internal behavior of Transformer models across domains. SYNAPSE extracts per-layer [CLS] representations, trains a lightweight linear probe to obtain global and per-class neuron rankings, and applies forward-hook interventions during inference. This design enables controlled, repeatable experiments on internal representations without altering the original model, thereby allowing weaknesses, stability patterns, and label-specific sensitivities to be measured and compared directly across tasks and architectures. SYNAPSE reveals a consistent organization of internal representations across the two evaluated domains, in which task-relevant information is encoded in broad, overlapping neuron subsets. This redundancy provides a strong degree of functional stability, while class-wise asymmetries expose heterogeneous specialization patterns and enable fine-grained, label-aware analysis. In contrast, small structured manipulations in weight or logit space are sufficient to redirect predictions, highlighting complementary vulnerability profiles and illustrating how SYNAPSE can guide the development of more robust and interpretable Transformer models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑