跳到正文
arXiv cs.AI· Jes\'us S\'anchez Ochoa, Enrique Tom\'as Mart\'inez Beltr\'an, Alberto Huertas Celdr\'an·· 13 小时前AI 评分24

SYNAPSE:无需重训的 Transformer 神经元分析与扰动框架

SYNAPSE: Framework for Neuron Analysis and Perturbation in Sequence Encoding

AI 导读

SYNAPSE 是一个无需重训基础模型的免训练框架,用于理解和压力测试 Transformer 的内部行为。它提取逐层 [CLS] 表示、训练轻量线性探针获得全局与逐类神经元排名,并在推理时通过 forward-hook 干预,在医疗与网络安全两个领域评测中揭示任务相关信息编码于广泛重叠的神经元子集,带来较强功能稳定性,而权重或 logit 空间的微小结构化改动即可改变预测。

正文 · 原文

View PDF HTML (experimental)

Abstract: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.
Comments: Accepted to Applied Soft Computing
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI)
Cite as: arXiv:2603.08424 [cs.LG]
  (or arXiv:2603.08424v2 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2603.08424

arXiv-issued DOI via DataCite

Submission history

From: Enrique Tomás Martínez Beltrán [view email]
[v1] Mon, 9 Mar 2026 14:18:47 UTC (1,983 KB)
[v2] Tue, 20 Oct 2026 19:00:12 UTC (369 KB)

来源:arXiv cs.AI · arxiv.org