arXiv:2610.19730cs.NEOct 2026

Manuscript Offprint

arXiv:2610.19730

Design and Analysis of Temporal Representations in Neural Networks

Alban Colas-Gattepaille, Alexandre Muzy

Abstract

The ability to represent temporal information is often hypothesized to underlie the efficiency and learning capabilities of biological neural networks. This motivates the development of spiking neural networks. However, it remains unclear how temporal information is actually represented in neural networks and how different forms of temporal representation affect performance and computational efficiency. We introduce the notion of the degree of temporal representation of a neural network, defined by whether its constituent functions (activation, learning, encoding, and decoding) explicitly manipulate time as a computational variable. This perspective yields a continuum ranging from non-temporal representations, where time does not explicitly appear as a computational variable in the network functions, to fully temporal representations, where computations explicitly operate on temporal variables. Using a fixed deep architecture, we compare different encoding, activation mechanisms and decoding with increasing temporal expressiveness: non-temporal weighted-sum activations used in usual artificial neural networks, non-temporal binary spiking activations used in spiking neural networks, and spike-time-based activations used in delay neural networks. Experiments on event-based datasets show that increasing the degree of temporal representation improves both performance and computational efficiency, allowing state-of-the-art performances on the Google Speech Commands dataset. We further analyze how temporal representations induce distinct forward and backward computational trajectories, leading to gradients that depend explicitly on the history of event times.

1 Introduction

A widely held hypothesis is that the brain’s efficiency and learning capabilities arise from its ability to represent temporal information (Maass, 1997b; Thorpe et al., 2001; Olshausen and Field, 2006; Eshraghian et al., 2023; Habashy et al., 2024). This hypothesis has motivated the development of Spiking Neural Networks (SNNs) (Neftci et al., 2019), which emulate spike-based neural activity. However, spike-based dynamics do not by themselves specify how time is represented: a network may process signals over time while still failing to represent time as a computational variable. This raises a central question: which mechanisms in neural networks explicitly represent time, and how does this affect performance and computational/energetic efficiency?

In this work, the degree of temporal representation of a neural network is determined solely by the temporal or non-temporal nature of its functions. A function is said to be temporal if and only if it explicitly manipulates time as a computational variable; otherwise, it is non-temporal. We consider four function types: (i) encoding functions, mapping raw data to network input variables; (ii) activation functions, defining forward computations; (iii) decoding functions, mapping outputs to task targets via the loss; and (iv) learning functions, defining gradient-based parameter updates.

Any of the network’s functions may be temporal or non-temporal, depending on whether time explicitly appears as a variable in their computation. For instance, a spike is a binary, non-temporal variable indicating event occurrence. Accordingly, SNN activation functions that operate only on binary spikes (or spike counts) are non-temporal under our definition, even though the network evolves over time. Temporal representations arise only when functions explicitly manipulate temporal variables such as time stamps, delays, or temporal intervals, e.g., in spike-time activations or time-based decoding.

The degree of temporal representation ranges from non-temporal networks, where none of the functions manipulate time, to fully temporal networks, where all functions explicitly operate on temporal variables. Intermediate degrees arise when only a subset of functions is temporal. This functional view implies that conventional Artificial Neural Networks (ANNs) and many SNNs may share the same degree of temporal representation.

This article aims to design and analyze different degrees of temporal representation in neural networks. This perspective enables a systematic evaluation of how the degree of temporal representation affects both performance and computational efficiency. Experiments on demanding event-based datasets show that increasing the degree of temporal representation improves both performance and computational efficiency (Perez-Nieves et al., 2021; Fang et al., 2021; Bittar and Garner, 2022; Yu et al., 2026). Indeed, to solve a temporal dataset, models typically need neurons able to integrate information on different timescales. For example, on an audio signal, there is information on the millisecond timescale (pitch periods and formant transitions), while phonems need tenth of milliseconds to occur, and syllables and words a few hundreds. Moreover, it allows the analysis of the quantitative differences in computational trajectories induced by temporal versus non-temporal activation functions. We show that, if two activation functions can be mapped together, it is not a sufficient condition to consider the two functions to be of the same nature (spatial vs temporal). More specifically, we study two activation functions, one temporal and one spatial and show a mapping between the two after learning. However, we show that the trajectories of the two networks during learning take different paths.

To study this continuum of temporal degrees, we compare three activation mechanisms under a fixed deep architecture and fixed event-based datasets: (i) weighted-sum activations used in conventional ANNs; (ii) binary spiking activations used in SNNs; and (iii) spike-time-delayed activations used in Delay Neural Networks (DeNNs) (Gattepaille and Muzy, 2025). This isolates the effect of explicit temporal variables in the network functions from architectural confounds.

Analyzing the temporal nature of learning functions, through the gradient-based update rule, is challenging due to the entanglement between spatial and temporal dimensions within a deep architecture (Werbos, 2002; Meng et al., 2023). Most time-dependent models are trained with Backpropagation Through Time (BPTT) (Werbos, 2002; Eshraghian et al., 2023). The BPTT is the extension of the backpropagation algorithm to models with recurrent mechanisms, so that the gradient can be computed recursively through all the timesteps. However, it can be shown that, in BPTT, spatial components dominate the learning process, while the time components (i.e. the backward computation from the end of the sequence to some timestep t) can be dropped (Meng et al., 2023).

Finally, the choice of encoding and decoding representations depends on the type of activation function used. For ANN with weighted-sum activation functions, information from event-based videos is encoded using pixel brightness levels and decoded via a softmax function applied to the network's output values. For SNN with spiking activation functions, information is encoded through the number of input events, while decoding is again performed using a softmax function applied to the output spiking frequencies. For delay-based neural networks (DeNNs) with temporal activation functions, information is encoded using the period of neurons, and decoded using a softmin function applied to the network's output spike times.

Contributions. This work makes the following contributions:

• We propose a formalization for designing and analysing different degrees of temporal representation in neural networks.

• We introduce and design a family of activation functions with increasing degrees of temporal representation, independently of the network architecture.

• We show that increasing the degree of temporal representation improves both performance and computational efficiency on event-based datasets.

• We provide a formal comparison analysis of the quantitative differences between temporal and non-temporal computational trajectories in both forward and backward passes.

• We show how full temporal representation induces gradients that depend on the history of event times.

• On the Google Speech Commands dataset (Warden, 2018), we reach State-Of-The-Art performances, above spiking models and transformers.

References (55)