arXiv:2610.28495cs.LGOct 2026

Manuscript Offprint

arXiv:2610.28495

Model- and Layer-Level Closed-Loop Forecasting with SSM-Based Spiking Neural Networks

Erik Stolt, Sanja Karilanova, Ayca Ozcelikkale

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Erik Stolt

Department of Electrical Engineering

Uppsala University

Uppsala, Sweden

erikstolt02@gmail.com

Sanja Karilanova

Department of Electrical Engineering

Uppsala University

Uppsala, Sweden

sanja.karilanova@angstrom.uu.se

Ayça Özçelikkale

Department of Electrical Engineering

Uppsala University

Uppsala, Sweden

ayca.ozcelikkale@angstrom.uu.se

Abstract—Deep State-Space Models (Deep SSMs) have shown promising performance and computational benefits in processing of time-series data with complex temporal dependencies. Spiking neural networks (SNNs) constitute a biologically inspired class of deep SSMs, where computing blocks communicate through spikes, discrete single-bit events rather than continuous activation functions. A particularly important task in time-series processing is forecasting, i.e. predicting future values of a sequence from past observations alone. However, how to best perform forecasting with SNNs is an open question, where the standard autoregressive nature of the data processing with SNNs requires values that are not available during the forecasting phase. In this article, we address this challenge. We explore two closed-loop forecasting strategies, in which the network's own generated values are fed back into the network as if they were observed past values: (i) model-level and (ii) layer-level closed-loop forecasting. We evaluate these approaches on the ETT-small datasets, a standard benchmark for time-series forecasting, under both spike-based and continuous activation functions. We compare the proposed closed-loop approaches against state-of-the-art methods such as SpaceTime, as well as the zero-masking baseline in S4. Both of the proposed approaches perform comparably to or better than zero-masking with S4, and in most cases match SpaceTime. These findings highlight the trade-off between continuous and low-bit quantized activations, and demonstrate that the proposed Deep SSM architectures provide a competitive framework for forecasting.

Index Terms—Neuromorphic, Forecasting, Spiking Neural Networks, State-Space Models

I. INTRODUCTION

Accurate time-series modeling is central to signal processing and machine learning, with applications across healthcare, finance, and engineering [1]. Real-world sequences frequently exhibit seasonality, trends, and regime shifts, which makes efficient and accurate modeling challenging [1].

Deep State-Space Models (Deep SSMs) have recently emerged as effective architectures for long-sequence modeling. They cast sequence processing as a linear dynamical system and scale linearly with sequence length, O(T)\mathcal{O}(T), in contrast to the quadratic O(T2)\mathcal{O}(T^{2}) complexity of standard Transformer attention [2], [3]. Spiking neural networks (SNNs) can be viewed as a biologically inspired subclass of Deep SSMs whose units communicate through spikes, i.e. discrete single-bit events, rather than continuous activations. This makes them attractive for low-power and neuromorphic deployment, and recent work reports substantial energy savings over conventional models on time-series benchmarks [4].

A practical and demanding use of these models is forecasting: predicting the next F values, i.e. the forecast horizon, from the preceding P observations, i.e. the context horizon. Forecasting is difficult for autoregressive SSMs because the recursion that drives the hidden state requires input values that are simply not available beyond the context. A common workaround is to feed zeros in place of the missing inputs (zero-masking), but this discards information and tends to degrade rapidly as the horizon grows. An alternative is to close the loop, feeding the network's own predictions back as surrogate inputs; how best to do this in a Deep SSM, and whether it remains effective under a spike-based activation, is not well understood.

This article investigates closed-loop forecasting with Deep SSMs on real-world data, and studies the effect of the activation function by comparing the continuous GELU activation with a spike-based Signed-Spiked (Signed-Spk.) activation. All models are evaluated with standard forecasting metrics on the ETT-small benchmark [5]. Our main contributions are as follows.

• We formulate and compare two closed-loop forecasting strategies for Deep SSMs: model-level closed-loop forecasting, in which the model's output is fed back as the next input, and layer-level closed-loop forecasting, in which a dedicated decoder generates the next-step inputs through a trainable feedback matrix, following the design of SpaceTime [6].

• We provide a systematic, controlled evaluation of both strategies against a zero-masking baseline on the ETT-small datasets, under identical training budgets and preprocessing.

• We study these strategies under both a continuous (GELU) and a spike-based (Signed-Spk.) activation, quantifying the accuracy–efficiency trade-off between

Computational resources were provided by the National Academic Infrastructure for Supercomputing in Sweden (NAISS), funded by the Swedish Research Council. S. Karilanova acknowledges the support of Center for Interdisciplinary Mathematics (CIM), Uppsala University. A. Özçelikkale acknowledges the support from the Swedish Research Council through grant agreement no. 2024-05194.

continuous and low-bit activations.