arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.14097cs.LGcs.AI
收藏

Forward-Forward学习在全脉冲神经网络中实现用于分布外检测的高选择性潜在表示

Forward-Forward Learning achieves Highly Selective Latent Representations for Out-of-Distribution Detection in Fully Spiking Neural Networks

Tecnalia(泰克纳利亚(西班牙科技研究中心))

Erik B. Terres-Escudero, Javier Del Ser, Aitor Martínez-Seras, Pablo Garcia-Bringas

AI总结:

本文利用脉冲FFA的稀疏高选择性潜在表示估计样本属于训练分布的可能性,并提出无梯度归因方法,在多个图像基准上提升SNN的OoD检测与可解释性。

摘要:

近年来,人工智能(AI)模型已在多个领域取得显著成功,但在两个关键方面仍存在挑战:确保对不确定输入的鲁棒性,以及大幅提升训练和推理期间的模型效率。受生物系统启发的脉冲神经网络(SNN)为克服这些局限提供了一条有前景的途径。通过以事件驱动方式运行,SNN实现了低能耗,并能自然实施以高噪声容忍度著称的生物方法。在本工作中,我们探索脉冲Forward-Forward算法(FFA)应对这些挑战的潜力,利用其表示属性同时服务于分布外(OoD)检测和可解释性。为此,我们利用FF网络稀疏且高度专门化的神经潜在空间来估计样本属于训练分布的可能性。此外,我们提出一种新颖的无梯度归因方法,用于检测使样本偏离类别分布的特征,从而解决脉冲模型的大多数视觉可解释性方法因缺乏梯度而带来的挑战。我们在知名图像数据集(如Omniglot、Not-MNIST、CIFAR10)上评估了OoD检测算法,其性能优于近期文献中提出的用于脉冲神经网络OoD检测的先前方法。此外,我们的归因方法能够精确定位显著的OoD特征,例如伪影或缺失区域,从而为用户提供可视化解释界面,以理解所提方法为何将未知输入识别为未知输入。

英文摘要:

In recent years, Artificial Intelligence (AI) models have achieved remarkable success across various domains, yet challenges persist in two critical areas: ensuring robustness against uncertain inputs and drastically increasing model efficiency during training and inference. Spiking Neural Networks (SNNs), inspired by biological systems, offer a promising avenue for overcoming these limitations. By operating in an event-driven manner, SNNs achieve low energy consumption and can naturally implement biological methods known for their high noise tolerance. In this work, we explore the potential of the spiking Forward-Forward Algorithm (FFA) to address these challenges, leveraging its representational properties for both Out-of-Distribution (OoD) detection and interpretability. To achieve this, we exploit the sparse and highly specialized neural latent space of FF networks to estimate the likelihood of a sample belonging to the training distribution. Additionally, we propose a novel, gradient-free attribution method to detect features that drive a sample away from class distributions, addressing the challenges posed by the lack of gradients in most visual interpretability methods for spiking models. We evaluate our OoD detection algorithm on well-known image datasets (e.g., Omniglot, Not-MNIST, CIFAR10), outperforming previous methods proposed in the recent literature for OoD detection in spiking networks. Furthermore, our attribution method precisely identifies salient OoD features, such as artifacts or missing regions, hence providing a visual explanatory interface for the user to understand why unknown inputs are identified as such by the proposed method.

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

↑