arXiv:2506.13340cs.AIcs.FL2025-06

为脉冲神经网络设计概率建模与契约验证框架,支持形式化验证。

Probabilistic Modeling of Spiking Neural Networks with Contract-Based Verification

  • 用契约语言描述神经元单元及连接的时序与概率行为。
  • 可直接转换为模型检测器与模拟器,支持中等规模验证。
  • 适合神经计算、安全关键系统研究者使用。

脉冲神经网络(SNN)是模拟真实神经元计算的模型,强调神经元响应的时间延迟(及概率)而非传统深度学习的数值滤波计算。因此,SNN需提供基本神经单元与突触连接的建模构造,以组装成复合数据流网络。这些元素应为参数化模式,其延迟与概率值在实例化时确定(运行时视为常量)。设计者可用不同参数表示疲劳或药物影响下的神经元。关键挑战在于:如何确保由个体单元构成的复合模型满足全局反应要求(尤其在随机时序下)。为此,需引入一种时序逻辑语言来表达“假设/保证”契约。本文初步构建了一个简单模型框架,可表达基础SNN单元及其连接结构,并能直接转化为已有的、稳健的模型检测器与模拟器,用于实验验证。

原文摘要 · Abstract (English)

Spiking Neural Networks (SNN) are models for "realistic" neuronal computation, which makes them somehow different in scope from "ordinary" deep-learning models widely used in AI platforms nowadays. SNNs focus on timed latency (and possibly probability) of neuronal reactive activation/response, more than numerical computation of filters. So, an SNN model must provide modeling constructs for elementary neural bundles and then for synaptic connections to assemble them into compound data flow network patterns. These elements are to be parametric patterns, with latency and probability values instantiated on particular instances (while supposedly constant "at runtime"). Designers could also use different values to represent "tired" neurons, or ones impaired by external drugs, for instance. One important challenge in such modeling is to study how compound models could meet global reaction requirements (in stochastic timing challenges), provided similar provisions on individual neural bundles. A temporal language of logic to express such assume/guarantee contracts is thus needed. This may lead to formal verification on medium-sized models and testing observations on large ones. In the current article, we make preliminary progress at providing a simple model framework to express both elementary SNN neural bundles and their connecting constructs, which translates readily into both a model-checker and a simulator (both already existing and robust) to conduct experiments.

脉冲神经网络形式化验证概率建模

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。