Average-Over-Time Spiking Neural Networks for Uncertainty Estimation in Regression
Tao Sun, Sander Bohté
TL;DR
This work tackles uncertainty estimation in regression for spiking neural networks (SNNs) by adapting the Average-Over-Time SNN (AOT-SNN) framework to two probabilistic paradigms: (i) a heteroscedastic Gaussian model producing a time-averaged mean $\\mu_*(\boldsymbol{x})$ and variance $\\sigma_*^2(\boldsymbol{x})$, and (ii) a Regression-as-Classification (RAC) formulation discretizing the target into $K$ bins with class probabilities $p_k$. The RAC path uses a distance-based loss combining a distance penalization and entropy regularization to yield well-calibrated predictive distributions, while the Gaussian path relies on time-step outputs $ (\\mu_t, \\sigma_t^2)$ aggregated over $T$ steps. Across a toy dataset and multiple UCI benchmarks, RAC-AOT-SNN consistently delivers strong RMSE and competitive or superior NLL compared to deep neural network baselines, with Gaussian-AOT-SNN also performing well, particularly in RMSE. The results demonstrate that energy-efficient, time-averaged SNNs can provide high-quality uncertainty estimates for regression tasks, offering a practical alternative for real-time, resource-constrained deployments.
Abstract
Uncertainty estimation is a standard tool to quantify the reliability of modern deep learning models, and crucial for many real-world applications. However, efficient uncertainty estimation methods for spiking neural networks, particularly for regression models, have been lacking. Here, we introduce two methods that adapt the Average-Over-Time Spiking Neural Network (AOT-SNN) framework to regression tasks, enhancing uncertainty estimation in event-driven models. The first method uses the heteroscedastic Gaussian approach, where SNNs predict both the mean and variance at each time step, thereby generating a conditional probability distribution of the target variable. The second method leverages the Regression-as-Classification (RAC) approach, reformulating regression as a classification problem to facilitate uncertainty estimation. We evaluate our approaches on both a toy dataset and several benchmark datasets, demonstrating that the proposed AOT-SNN models achieve performance comparable to or better than state-of-the-art deep neural network methods, particularly in uncertainty estimation. Our findings highlight the potential of SNNs for uncertainty estimation in regression tasks, providing an efficient and biologically inspired alternative for applications requiring both accuracy and energy efficiency.
