arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.06541cs.CVcs.LG
收藏

聚类路径:在神经网络中导航可解释性

Cluster Paths: Navigating Interpretability in Neural Networks

Department of Computer Science University of Florida(计算机科学系佛罗里达大学)

Nicholas M. Kroeger, Vincent Bindschaedler

AI总结:

提出聚类路径方法,通过聚类激活并评估路径指标,在视觉任务中实现可解释性,并可作为OOD检测器。

摘要:

尽管现代深度神经网络在视觉任务中取得了令人瞩目的性能,但其决策过程仍然不透明,这可能导致无根据的信任、未被检测到的偏差和意外失败。我们提出聚类路径(cluster paths),一种事后可解释性方法,该方法在选定层对激活进行聚类,并将每个输入表示为其聚类ID序列。为了评估这些聚类路径,我们引入了四个指标:路径复杂度(认知负荷)、加权路径纯度(类别对齐)、决策对齐保真度(预测忠实度)和路径一致性(扰动下的稳定性)。在虚假线索CIFAR-10实验中,聚类路径识别出基于颜色的捷径,并在移除线索时崩溃。在五类CelebA发色任务中,该方法在保持96%高斯噪声下一致性的同时达到90%的保真度,且不牺牲准确性。扩展到在ImageNet上预训练的Vision Transformer时,我们将聚类路径扩展到从最小路径差异提示大型语言模型导出的概念路径。最后,我们展示了聚类路径可作为有效的分布外(OOD)检测器,在模型生成过度自信预测之前可靠地标记异常样本。聚类路径在多个网络深度揭示了视觉概念,如调色板、纹理或物体上下文,证明了聚类路径可扩展到大型视觉模型,同时生成简洁且人类可读的解释。

英文摘要:

While modern deep neural networks achieve impressive performance in vision tasks, they remain opaque in their decision processes, risking unwarranted trust, undetected biases and unexpected failures. We propose cluster paths, a post-hoc interpretability method that clusters activations at selected layers and represents each input as its sequence of cluster IDs. To assess these cluster paths, we introduce four metrics: path complexity (cognitive load), weighted-path purity (class alignment), decision-alignment faithfulness (predictive fidelity), and path agreement (stability under perturbations). In a spurious-cue CIFAR-10 experiment, cluster paths identify color-based shortcuts and collapse when the cue is removed. On a five-class CelebA hair-color task, they achieve 90% faithfulness and maintain 96% agreement under Gaussian noise without sacrificing accuracy. Scaling to a Vision Transformer pretrained on ImageNet, we extend cluster paths to concept paths derived from prompting a large language model on minimal path divergences. Finally, we show that cluster paths can serve as an effective out-of-distribution (OOD) detector, reliably flagging anomalous samples before the model generates over-confident predictions. Cluster paths uncover visual concepts, such as color palettes, textures, or object contexts, at multiple network depths, demonstrating that cluster paths scale to large vision models while generating concise and human-readable explanations.

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

↑