Research around Spiking Neural Networks has ignited during the last years due to their advantages when compared to traditional neural networks, including their efficient processing and inherent ability to model complex temporal dynamics. Despite these differences, Spiking Neural Networks face similar issues than other neural computation counterparts when deployed in real-world settings. This work addresses one of the practical circumstances that can hinder the trustworthiness of this family of models: the possibility of querying a trained model with samples far from the distribution of its training data (also referred to as Out-of-Distribution or OoD data). Specifically, this work presents a novel OoD detector that can identify whether test examples input to a Spiking Neural Network belong to the distribution of the data over which it was trained. For this purpose, we characterize the internal activations of the hidden layers of the network in the form of spike count patterns, which lay a basis for determining when the activations induced by a test instance is atypical. Furthermore, a local explanation method is devised to produce attribution maps revealing which parts of the input instance push most towards the detection of an example as an OoD sample. Experimental results are performed over several image classification datasets to compare the proposed detector to other OoD detection schemes from the literature. As the obtained results clearly show, the proposed detector performs competitively against such alternative schemes, and produces relevance attribution maps that conform to expectations for synthetically created OoD instances.
翻译:过去几年里,Spiking神经网络周围的研究由于与传统神经网络相比具有优势而引发了围绕Spiking神经网络的研究,其中包括它们与传统神经网络相比的优势,包括它们的高效处理和模拟复杂时间动态的内在能力。尽管存在这些差异,但Spiking神经网络在部署于现实世界环境中时,面临与其他神经计算对应方相似的问题。这项工作解决了可能妨碍这一模型系列信任性的实际环境之一:与培训数据分布相距遥远的样本(也称为“传播外”或“OOOOD”数据)查询一个经过培训的模型的可能性。具体地说,这项工作展示了一个新的OOD探测器,它能够确定向Spiking Neal网络输入的测试示例是否属于其培训对象的数据的分布。为此,我们用螺旋计数模式来描述网络隐藏层的内部激活情况,为确定测试实例的启动时间是非典型的。此外,还设计了一种当地解释方法,以显示归属图显示输入的哪些部分最有利于探测OOD样本的示例。 实验性结果是对拟议图像的检测结果的检测结果。