Manuscript Offprint
arXiv:2610.28495Model- and Layer-Level Closed-Loop Forecasting with SSM-Based Spiking Neural Networks
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
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, , in contrast to the quadratic 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.
b) Forecasting with Deep SSMs.: When S4 was introduced, it was evaluated on time-series forecasting by zero-masking the unknown portion of the input sequence [2]. [6] later proposed SPACETIME (ST), an encoder-decoder architecture tailored to forecasting that combines companion-structured SSMs, residual connections, linear layers, and GELU activations. Crucially, ST introduces a closed-loop strategy in which a trainable matrix K synthesizes future inputs to advance the decoder past the context. Our layer-level strategy is inspired by this mechanism, but we apply the feedback matrix to the non-activated neuron outputs rather than to the hidden state (see Section IV). More broadly, simple linear models have been shown to be surprisingly competitive with Transformers for forecasting [3], motivating the study of lightweight SSM-based alternatives.
c) Spiking neural networks for forecasting.: SNNs have been explored primarily for the energy efficiency of time-series prediction [4], [8]–[10]. [8] applied a spiking model to short-term electrical load forecasting, and [9] introduced a temporal-segment spiking neuron for time series. [4] evaluated SNNs across diverse forecasting benchmarks and found them substantially more energy-efficient than traditional methods, highlighting their potential for this task. In contrast to these works, we study how the forecasting recursion itself should be closed for SSM-based spiking models, and directly compare a spike-based activation against a continuous one within a single controlled setup.
III. PROBLEM FORMULATION
A. Preliminaries
B. Discrete-Time State-Space Models
A discrete-time SSM with linear state dynamics and non-linear output function can be written as
where is a diagonal state-transition matrix, maps the input into the state, and maps the state to the output. The input, state, and output vectors have dimensions , , and , respectively. Here denotes the real part and is an arbitrary activation function.
SSM Layer 1
SSM Layer L

Fig. 1: Deep SSM architecture with an input layer consisting of m input features, followed by L SSM layers, and an output layer consisting of q output features.
- Deep State-Space Models: A Deep SSM is constructed by embedding SSM-based neurons into a neural-network architecture. The network consists of an input layer of m channels, an output layer of q channels, and L SSM hidden layers. These SSM hidden layers are simply referred to as SSM layers. Each SSM layer concatenates h SSM neurons of the form (1) into an array; in this article all layers use the same number of neurons h and the same state dimension n. Stacking L such layers gives the network its depth. Consecutive layers are connected by mixing (weight) matrices and batch-normalization layers [11]. Figure 1 illustrates the architecture.
C. Forecasting
Let denote the discrete-time input signal with features for , where is the sequence length, and let denote the corresponding -feature output signal. For a forecast reference time , the context sequence of length and the target sequence of length are
respectively. Here, indexes the sample, with for a rolling forecasting scenario with a start time . The forecasting task is to learn a function , parameterized by , such that the prediction approximates the true future sequence . The parameters are learned by minimizing a loss between predicted and true targets over the training samples:
Here “approximate” means that , with closeness measured by an evaluation metric that may or may not coincide with the training loss. In this article we focus on univariate forecasting, i.e. , where future values are predicted from past observed values (the context). This setting defines the forecasting objective and serves as the basis for the modeling approaches that follow.
Remark 1. In the rest of the article, we refer to and of Eq. (2) or dropping the sample index , and as the input and output, respectively. Accordingly, is written in terms of its elements and without reference to as , and similarly for .
D. Forecasting with Deep State-Space Models
Consider a single SSM neuron in the first hidden layer. At each time step the SSM receives an input and, through the hidden state and the parameters A, B, C, produces an output , as in Eq. (1). Since the observed input is available only for , the recursion cannot be advanced beyond the context without an assumption about the unseen future inputs , . Hence, a network of SSM neurons cannot provide a forecasting output. The forecasting strategies in the next section differ precisely in how they supply these missing inputs to the network.
IV. METHODOLOGY
We consider three ways of supplying the missing future inputs to a Deep SSM: a zero-masking baseline, and two closed-loop strategies that feed the network's own predictions back as inputs. We describe each in turn.
A. Baseline: Zero-Masking
The simplest strategy expands the input vector and assumes zero-valued inputs for all future time steps, i.e. for :
where indexes the sample, is concatenation, is the context window, the forecast horizon, and a length- sequence of zeros. The masked input has length , so the corresponding output produced by the SSM also has length . During the future portion the hidden state evolves under the autonomous dynamics , since the input contribution vanishes. We refer to this strategy as zero-masking (ZM); it is the simplest baseline in this work and the strategy used by S4 [2].
a) Loss:: For ZM we minimize the mean-squared error (MSE) over the forecast horizon,
which trains the model to produce accurate predictions at the future time steps.
B. Closed-Loop Forecasting
Autoregressive rollout generates future predictions by feeding each prediction back as the input at the next time step. This section explores two variants of this idea, which differ in where the feedback enters the network. In both cases forecasting proceeds in two phases. In the open-loop phase the context window of length P is propagated through the network; in the subsequent closed-loop phase, starting from the last context step, the network generates its own inputs.
a) Open-loop phase: The open-loop phase propagates the observed context sequence u through the network. For each , the hidden states of all SSM neurons are updated and the corresponding outputs in Eq. (1) are produced. Once the context has been consumed, the closed-loop phase begins.
b) Closed-loop phase: In the closed-loop phase the model generates the input for the next time step. In model-level closed-loop forecasting this is simply the model's prediction at the previous step. In layer-level closed-loop forecasting, the next-step inputs are instead produced by the decoder through an additional trainable matrix K. We detail both below.
C. Model-Level Closed-Loop Forecasting
In the model-level variant, the Deep SSM first consumes the P-step context to update the hidden state of every SSM neuron. At forecasting begins, and the network output at time t is fed back as the input at time . Future predictions are therefore computed as
This mechanism is entirely dependent on the accuracy of each prediction, since errors are fed back into the model and accumulate over the forecast horizon. The model-level variant is trained with the same loss as ZM, Eq. (5).
D. Layer-Level Closed-Loop Forecasting
The layer-level variant is inspired by SPACETIME (ST) [6], which uses an encoder–decoder structure. We assign the first SSM layers to the encoder and the last SSM layer to the decoder.
a) Encoder: The encoder follows the standard forward pass of a deep SSM. It consists of SSM neurons in each of its layers and processes the input sequence of length using the recurrence in Eq. (1) for . Between consecutive encoder layers, the neuron outputs are transformed by a mixing matrix and bias , for .
b) Decoder: The decoder processes the encoded output of the -th encoder neuron, denoted for . Unlike the encoder, the decoder appends a trainable matrix that generates the next-step inputs from the current neuron outputs:
for , with and . Here is the predicted next-step input to the -th decoder neuron. The matrix adds trainable parameters relative to the ZM and model-level models, i.e. one entry per pair of decoder neurons. See Appendix for the number of trainable parameters introduced by the rest of the parameters in the model.
Our decoder differs from the original ST design in Eq. (7d): whereas ST applies K to the hidden state of each neuron, we apply it to the vector of non-activated neuron outputs . Since these non-activated outputs are the quantities that directly form the forecast, applying K at this point creates a more direct link between the current decoder predictions and the inputs used at the next forecasting step.
c) Loss.: The layer-level loss combines three MSE terms: one aligning the encoder outputs with the decoder-generated outputs, one supervising predictions during the open-loop phase, and one supervising predictions during the closed-loop phase:
(8)
This loss encourages accurate predictions during both the open- and closed-loop phases while also supervising the model-generated inputs.
Remark 2. The difference between model- and layer-level closed-loop forecasting lies in the feedback mechanism. In model-level closed-loop forecasting, predictions are directly fed back into the first layer of the model. In layer-level closed-loop forecasting, however, the feedback mechanism is handled exclusively by the decoder by feeding back as inputs to the decoder in the next time step.
V. EXPERIMENTS SET-UP
A. Architecture
All models use a Deep SSM with three SSM layers of 64 neurons each and a state dimension of 128 per neuron, together with linear input and output projections. The state matrix A is initialized as S4D-Lin [7], B is initialized to all ones, and C is initialized randomly with unit standard deviation. In layer-level closed-loop forecasting, K is initialized using Kaiming uniform initialization. The trainable parameter in the models constitute: for each SSM neurons , , and when present for neurons and hidden layers; the weights with bias for connecting each layer in the network; and the trainable weight and bias in the normalization layer. The same architecture and initialization are used for every model in this work, so that differences in performance can be attributed to the forecasting strategy and the activation function rather than to capacity. Please see Appendix for hyperparameters used and the number of trainable parameters overview. All models are trained on NVIDIA Tesla T4 GPU with 16GB RAM.
We compare two activation functions: the continuous GELU and the spike-based Signed-Spiked activation,
where is the firing threshold set to and the indicator function. The Signed-Spiked activation emits a signed single-bit event , yielding low-bit interlayer communication. As this function is non-differentiable, we train it with a box-car surrogate gradient in the backward pass [12], [13], while in the forward pass we use the spiking function.
B. Datasets
We evaluate on the univariate Small Electricity Transformer Temperature (ETT-small) benchmark [5], which comprises the datasets ETTm1, ETTm2, ETTh1, and ETTh2 (provided as CSV). We omit ETTm2 since it shares many characteristics with ETTm1 and due to its size. These datasets record long time series from two electricity transformers at two stations over roughly 20 months [5]. They are widely used benchmarks for long-range dependency (LRD) tasks because they combine long- and short-term periodic patterns with numerous irregular fluctuations. Each dataset is split 0.6/0.2/0.2 into train/validation/test partitions and normalized using the mean and variance calculated from the training dataset.
C. Evaluation Metrics
The aim of the experiments is to compare diagonal SSM models under different activation functions and forecasting strategy, and to position them relative to these existing methods on the standardized ETT datasets. Hence for all experiments we report the MSE and mean absolute error (MAE) over the forecast horizon as defined in Section IV for each forecasting strategy. The values are reported as average over five random initializations of the model. Comparisons to the S4 and SPACETIME numbers are quote from [6].
VI. RESULTS
A. Forecasting Performance
We report three models, S4D-ZM, S4D-Model-CL, and S4D-Layer-CL, where the suffix denotes the forecasting strategy (zero-masking, model-level closed-loop, and layer-level closed-loop) applied to the same S4D backbone. We also include the S4 [2] and SPACETIME [6] numbers as external references. Table Ia reports the short-horizon setting ( ) and Table Ib the long-horizon setting ( ).
a) SPACETIME as an upper reference.: Across every dataset and horizon, SPACETIME attains the lowest errors (e.g. MSE 0.026 on ETTm1 at , Table Ib). This is expected: SPACETIME adds a multi-layer perceptron on top of the SSMs, uses a companion (rather than diagonal) state matrix, and has more than double the trainable parameters of our models [6]. We therefore treat it as a well-resourced upper reference and focus our analysis on the four parameter-comparable, diagonal-SSM models: S4D-ZM, S4D-Model-CL, S4D-Layer-CL, and S4.
TABLE I: Univariate time-series forecasting results on three ETT-small datasets. Results are averaged over five random initializations; subscripts denote the standard deviation. Results for S4 and SPACETIME are taken from [6]. Bold denotes the best and underline the second-best model per row.
(a) Context lengths and forecast horizon . S4 and SPACETIME results from Table 7 in [6].
| Activation | Dataset | S4D-ZM | S4D-Model-CL | S4D-Layer-CL | S4 | SPACETIME | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | |||
| GELU | ETTh1 | 720 | ||||||||||
| ETTh2 | 48 | |||||||||||
| ETTm1 | 96 | |||||||||||
| Signed-Spk. | ETTh1 | 720 | - | - | - | - | ||||||
| ETTh2 | 48 | - | - | - | - | |||||||
| ETTm1 | 96 | - | - | - | - | |||||||
(b) Context length and forecast horizon . S4 and SPACETIME results from Table 1 in [6].
| Activation | Dataset | S4D-ZM | S4D-Model-CL | S4D-Layer-CL | S4 | SPACETIME | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | ||
| GELU | ETTh1 | ||||||||||
| ETTh2 | |||||||||||
| ETTm1 | |||||||||||
| Signed-Spk. | ETTh1 | - | - | - | - | ||||||
| ETTh2 | - | - | - | - | |||||||
| ETTm1 | - | - | - | - | |||||||
b) Short horizon ().: Among our three models with GELU (Table Ia), S4D-Layer-CL is the strongest of our models, and it also beats S4 on two of three datasets: ETTh1 (MSE 0.057 vs. 0.061) and ETTm1 (MSE 0.016 vs. 0.024). On ETTh2, however, S4 is the best of the four (MSE 0.095), with S4D-Layer-CL closest among our models (MSE 0.112). The zero-masking approaches (S4D-ZM and S4) remain competitive at the short horizon. Comparing activations, GELU yields uniformly lower errors than Signed-Spk. at (e.g. on ETTh1, S4D-Layer-CL drops from 0.108 to 0.057). Within the Signed-Spk. block, S4D-Layer-CL is best on ETTh1 and ETTh2, while S4D-Model-CL is marginally best on ETTm1 (MSE 0.021).
c) Long horizon ().: The picture changes markedly at (Table Ib). All of our three models with GELU outperform S4 by a large margin on every dataset. The gap is most striking on ETTm1, where S4 has MSE 0.651 while S4D-Layer-CL reaches 0.060, and is also clear on ETTh1 (0.316 vs. 0.144). As at , S4D-Layer-CL is the best of our GELU models on all three datasets. For activations, GELU again leads on ETTh1 and ETTm1, but on ETTh2 the spike-based activation is actually stronger, with all three Signed-Spk. models (MSE ) below their GELU counterparts (MSE ). No single strategy dominates across the Signed-Spk. results at this horizon: S4D-ZM is best on ETTh1, S4D-Model-CL on ETTh2, and S4D-Layer-CL on ETTm1, indicating that the best choice depends on the dataset.
d) Qualitative inspection.: Figure 3 show forecasting examples for , and using Signed-Spk. activation. The figure showing the same forecasting examples

Fig. 2: Average elapsed time in seconds per epoch when training on the ETTh1 dataset. All models scale approximately linear with context length.
with GELU activation can be found in Appendix. We can see visually that in many cases the forecasting predictions follow the general pattern of the ground truth. The spike-based rollouts in Fig. 3 are visibly more quantized than the GELU rollouts, yet remain as aligned with the target.
B. Training Time vs. Context Horizon
We also study empirical training-time scaling with the context length (Fig. 2). All models scale approximately linearly with context length, in line with the complexity of the SSM recurrence. A small vertical offset separates the GELU and Signed-Spk. curves; this might be attributed to our custom implementation of the Signed-Spk. activation,
Example Predictions | Zero-Masking | Complex A | Signed Spike

Example Predictions | Closed-Loop | Complex A | Signed Spike

Example Index 2453
Example Predictions | SpaceTime | Complex A | Signed Spike
(a) S4D-ZM on ETTh1.

Example Index 2453
(b) S4D-Model-CL on ETTh1.
Example Predictions | Zero-Masking | Complex A | Signed Spike
Example Predictions | Closed-Loop | Complex A | Signed Spike
(c) S4D-Layer-CL on ETTh1.

Example Predictions | SpaceTime | Complex A | Signed Spike
Example Index 1968

Example Index 2453
(d) S4D-ZM on ETTh2.
Example Predictions | Closed-Loop | Complex A | Signed Spike
Example Index 1968

Example Index 2453
(e) S4D-Model-CL on ETTh2.
Example Predictions | Zero-Masking | Complex A | Signed Spike
Example Index 2453
Example Predictions | Closed-Loop | Complex A | Signed Spike
Example Index 1968
Example Predictions | SpaceTime | Complex A | Signed Spike
Example Index 1968

(g) S4D-ZM on ETTm1.
Example Index 2453

Example Index 2453
Example Index 1968
Example Predictions | Closed-Loop | Complex A | Signed Spike
Example Index 2453

Example Index 2453
(h) S4D-Model-CL on ETTm1.
Example Index 2453
(i) S4D-Layer-CL on ETTm1.
Fig. 3: Example forecasting samples for all strategies on the ETT-small datasets with context length P = 720, forecast horizon F = 96, and with Signed-Spk. activation.
whose forward pass and surrogate-gradient backward pass add overhead. However the Signed-Spk. activation is compatible with neuromorphic hardware which at inference can reduce the energy consumption significantly [14].
VII. Conclusion
We studied how to forecast with SSM-based Deep SSMs by comparing three strategies for supplying the missing future inputs, zero-masking, model-level closed-loop, and layer-level closed-loop, on the same S4D backbone, and under both a continuous (GELU) and a spike-based (Signed-Spk.) activation. On the ETT-small benchmark, the proposed closed-loop models are competitive while scaling approximately linearly with context length. At the short horizon ( ), the layer-level model is generally the strongest of our models and beats S4 on two of three datasets, though zero-masking remains competitive there. At the long horizon ( ), all three of our strategies improve substantially over S4, indicating that closing the loop matters more as the horizon grows. The spike-based activation trails the continuous one in most settings but
TABLE II: Model parameters used in the univariate forecasting of ETT-small.
| Description | Parameter Value |
|---|---|
| Input dimension per SSM neuron | |
| Output dimension per SSM neuron | |
| Number of stacked SSM neurons | |
| Number of SSM layers | |
| State dimension per neuron | |
| Dropout rate | 0.0 |
| Batch size | |
| BatchNorm | False |
| SSM learning rate | |
| Other learning rate | |
| Lr scheduler | Cosine |
| Minimum lr | |
| SSM weight decay rate | |
| Other parameters weight decay rate | |
| Optimizer | AdamW |
| Number of epochs | Epochs = 10 |
| Seeds | 0, 1, 2, 3, 4 |
| SSM output activation function | |
| Early stopping | False |
| Loss | MSE |
| Context length | |
| Forecast horizon | |
| Target variable | OT |
| Train/val/test split | 0.6/0.2/0.2 |
is competitive at longer horizons and is the stronger choice on ETTh2, illustrating a favorable accuracy–efficiency trade-off for low-bit activations. As expected, the more heavily parameterized SPACETIME remains the best-performing model overall.
a) Limitations and future work.: Our study is confined to univariate ETT-small forecasting and to two horizons, and our comparisons to S4 and SPACETIME inherit differences in training budget and implementation. Natural next steps are to extend the evaluation to multivariate and longer-horizon settings and additional benchmarks, and to estimate the energy consumption of the spike-based models on neuromorphic hardware.
VIII. APPENDIX
Table II shows the hyperparameters used in the trained models for which we present the results in the main text. We use hyperparameters motivated by related works.
In Table III, corresponds to the input layer and to the output layer.
The trainable parameters of the Deep SSM are , and for . For and , the number of trainable parameters equals the number of entries in the corresponding matrix and vector. For and , the number of independent trainable parameters is reduced. In particular, due to the conjugate symmetry
TABLE III: Notation used in the model architecture and in network layer .
| Parameter | Description |
|---|---|
| m | Number of input features in the input layer |
| q | Number of output features in the output layer |
| Input dimension per SSM neuron | |
| Output dimension per SSM neuron | |
| h | Number of parallel SSM neurons |
| L | Number of SSM layers |
| n | State dimension per neuron |
| Total input dimension to an SSM layer | |
| Total output dimension of an SSM layer | |
| Layer index | |
| Mixing matrix between layer and | |
| Bias vector between layer and |
TABLE IV: Number of trainable parameters for the components of the Deep SSM. denotes the mixing matrix between layer and with the corresponding bias vector .
| Parameter | Number of Trainable Parameters |
|---|---|
| (diag) | |
| (diag) | |
discussed by [7], only half of the entries are independently parameterized.
The number of trainable parameters is summarized in Table IV.
Figure 4 is showing example forecasting samples for all strategies on the ETT-small datasets with GELU activation function. This is complementary to Figure 2 in the main text, which shows the same samples using Signed-Spk. activation function.
REFERENCES
[1] R. H. Shumway and D. S. Stoffer, Time Series Analysis and Its Applications, 3rd ed. Springer, 2011.
[2] A. Gu, K. Goel, and C. Re, “Efficiently modeling long sequences with structured state spaces,” in International Conference on Learning Representations, 2022.
[3] A. Zeng, M. Chen, L. Zhang, and Q. Xu, “Are transformers effective for time series forecasting?” in Proceedings of the AAAI Conference on Artificial Intelligence, vol. 37, no. 9, 2023, pp. 11 121–11 128.
[4] C. Lv, Y. Wang, D. Han, X. Zheng, X. Huang, and D. Li, “Efficient and effective time-series forecasting with spiking neural networks,” in Proceedings of the 41st International Conference on Machine Learning (ICML), ser. Proceedings of Machine Learning Research, vol. 235, 2024.
[5] H. Zhou, S. Zhang, J. Peng, S. Zhang, J. Li, H. Xiong, and W. Zhang, "Informer: Beyond efficient transformer for long sequence time-series forecasting," in The Thirty-Fifth AAAI Conference on Artificial Intelli-
0 100 200 300 400 500 600 700 800 −1.5 −1.0 −0.5 0.0 Normalized Output Example Index 1968 0 100 200 300 400 500 600 700 800 Time Step −1.5 −1.0 −0.5 0.0 Normalized Output Example Index 2453 Example Predictions | Zero-Masking | Complex A | GELU Context Ground Truth Prediction (a) S4D-ZM on ETTh1. 0 100 200 300 400 500 600 700 800 −1.5 −1.0 −0.5 0.0 Normalized Output Example Index 1968 0 100 200 300 400 500 600 700 800 Time Step −1.5 −1.0 −0.5 0.0 Normalized Output Example Index 2453 Example Predictions | Closed-Loop | Complex A | GELU Context Ground Truth Prediction (b) S4D-Model-CL on ETTh1. 0 100 200 300 400 500 600 700 800 −1.5 −1.0 −0.5 0.0 Normalized Output Example Index 1968 0 100 200 300 400 500 600 700 800 Time Step −1.5 −1.0 −0.5 0.0 Normalized Output Example Index 2453 Example Predictions | SpaceTime | Complex A | GELU Context Ground Truth Prediction (c) S4D-Layer-CL on ETTh1. 0 100 200 300 400 500 600 700 800 0 1 Normalized Output Example Index 1968 0 100 200 300 400 500 600 700 800 Time Step −0.5 0.0 0.5 1.0 1.5 Normalized Output Example Index 2453 Example Predictions | Zero-Masking | Complex A | GELU Context Ground Truth Prediction (d) S4D-ZM on ETTh2. 0 100 200 300 400 500 600 700 800 0 1 Normalized Output Example Index 1968 0 100 200 300 400 500 600 700 800 Time Step −0.5 0.0 0.5 1.0 1.5 Normalized Output Example Index 2453 Example Predictions | Closed-Loop | Complex A | GELU Context Ground Truth Prediction (e) S4D-Model-CL on ETTh2. 0 100 200 300 400 500 600 700 800 0 1 Normalized Output Example Index 1968 0 100 200 300 400 500 600 700 800 Time Step −0.5 0.0 0.5 1.0 1.5 Normalized Output Example Index 2453 Example Predictions | SpaceTime | Complex A | GELU Context Ground Truth Prediction (f) S4D-Layer-CL on ETTh2. 0 100 200 300 400 500 600 700 800 −2.00 −1.75 −1.50 −1.25 −1.00 Normalized Output Example Index 1968 0 100 200 300 400 500 600 700 800 Time Step −2.0 −1.5 −1.0 Normalized Output Example Index 2453 Example Predictions | Zero-Masking | Complex A | GELU Context Ground Truth Prediction (g) S4D-ZM on ETTm1. 0 100 200 300 400 500 600 700 800 −2.00 −1.75 −1.50 −1.25 −1.00 Normalized Output Example Index 1968 0 100 200 300 400 500 600 700 800 Time Step −2.0 −1.5 −1.0 Normalized Output Example Index 2453 Example Predictions | Closed-Loop | Complex A | GELU Context Ground Truth Prediction (h) S4D-Model-CL on ETTm1. 0 100 200 300 400 500 600 700 800 −2.00 −1.75 −1.50 −1.25 −1.00 Normalized Output Example Index 1968 0 100 200 300 400 500 600 700 800 Time Step −2.0 −1.5 −1.0 Normalized Output Example Index 2453 Example Predictions | SpaceTime | Complex A | GELU Context Ground Truth Prediction (i) S4D-Layer-CL on ETTm1. Fig. 4: Example forecasting samples for all strategies on the ETT-small datasets with context length P = 720, forecast horizon F = 96, and with GELU activation. gence, AAAI 2021, Virtual Conference, vol. 35, no. 12. AAAI Press, 2021, pp. 11 106–11 115. [6] M. Zhang, K. K. Saab, M. Poli, T. Dao, K. Goel, and C. Re, “Effectively ´ modeling time series with simple discrete state spaces,” 2023. [7] A. Gu, A. Gupta, K. Goel, and C. Re, “On the parameterization and ´ initialization of diagonal state space models,” in Advances in Neural Information Processing Systems (NeurIPS), vol. 35, 2022. [8] S. Kulkarni, S. P. Simon, and K. Sundareswaran, “A spiking neural network (snn) forecast engine for short-term electrical load forecasting,” Applied Soft Computing, vol. 13, no. 8, pp. 3628–3635, 2013. [9] F. Shibo, W. Feng, X. Gao, P. Zhao, and Z. Shen, “TS-LIF: A temporal segment spiking neuron network for time series forecasting,” in The Thirteenth International Conference on Learning Representations, 2025. [10] W. Wu, D. Huo, and H. Chen, “Spikf: Spiking fourier network for efficient long-term prediction,” in Forty-second International Conference on Machine Learning, 2025. [11] S. Ioffe and C. Szegedy, “Batch normalization: Accelerating deep network training by reducing internal covariate shift,” in Proceedings of the 32nd International Conference on Machine Learning (ICML), ser. Proceedings of Machine Learning Research, vol. 37, 2015, pp. 448–456. [12] E. O. Neftci, H. Mostafa, and F. Zenke, “Surrogate gradient learning in spiking neural networks: Bringing the power of gradient-based optimization to spiking neural networks,” IEEE Signal Processing Magazine, vol. 36, no. 6, pp. 51–63, 2019. [13] A. Bittar and P. N. Garner, “A surrogate gradient spiking baseline for speech command recognition,” Frontiers in Neuroscience, vol. Volume
16 - 2022, 2022.
[14] M. Davies, A. Wild, G. Orchard, Y. Sandamirskaya, G. A. F. Guerra, P. Joshi, P. Plank, and S. R. Risbud, “Advancing neuromorphic computing with Loihi: A survey of results and outlook,” Proceedings of the IEEE, vol. 109, no. 5, 2021.