[Paper Review] A deep convolutional neural network that is invariant to time rescaling
This paper proposes SITHCon, a deep convolutional neural network that achieves invariance to time rescaling by using a logarithmically-compressed temporal memory, transforming time rescaling into translation in log-time. Unlike standard Temporal Convolutional Networks (TCNs), SITHCon generalizes robustly over a 10-fold range of temporal rescalings without retraining, leveraging the mathematical property that log(at) = log(a) + log(t).
Human learners can readily understand speech, or a melody, when it is presented slower or faster than usual. Although deep convolutional neural networks (CNNs) are extremely powerful in extracting information from time series, they require explicit training to generalize to different time scales. This paper presents a deep CNN that incorporates a temporal representation inspired by recent findings from neuroscience. In the mammalian brain, time is represented by populations of neurons with temporal receptive fields. Critically, the peaks of the receptive fields form a geometric series, such that the population codes a set of temporal basis functions over log time. Because memory for the recent past is a function of log time, rescaling the input results in translation of the memory. The Scale-Invariant Temporal History Convolution network (SITHCon) builds a convolutional layer over this logarithmically-distributed temporal memory. A max-pool operation results in a network that is invariant to rescalings of time modulo edge effects. We compare performance of SITHCon to a Temporal Convolution Network (TCN). Although both networks can learn classification and regression problems on both univariate and multivariate time series f(t), only SITHCon generalizes to rescalings f(at). This property, inspired by findings from contemporary neuroscience and consistent with findings from cognitive psychology, may enable networks that learn with fewer training examples, fewer weights and that generalize more robustly to out of sample data.
Motivation & Objective
- To develop a deep neural network architecture that generalizes to time-rescaled inputs, mimicking human-like robustness to speech or melody speed variations.
- To address the limitation of standard Temporal Convolutional Networks (TCNs), which fail to generalize across temporal rescalings due to linear time sampling.
- To implement a biologically inspired, logarithmically-compressed temporal memory that turns time rescaling into translation in log-time, enabling scale invariance.
- To demonstrate that scale invariance can be achieved without retraining by extending the range of logarithmically spaced temporal basis functions.
- To explore the feasibility of using logarithmic temporal basis functions in deep networks for robust temporal representation learning.
Proposed method
- The core innovation is the Scale-Invariant Temporal History (SITH) layer, which samples input signals at geometrically spaced intervals in time, defined by τ̂_n = (1+c)^(n-1) τ̂_1, enabling logarithmic compression.
- The SITH layer computes a compressed memory representation f̃_t[n] by convolving the input signal f(t) with a set of basis functions φ(τ̂_n), resulting in a time-invariant representation under rescaling.
- The network uses a standard convolutional layer followed by a dense layer on top of the SITH representation, with the output being equivariant to translations in log-time.
- The mathematical foundation relies on the identity log(at) = log(a) + log(t), so that time rescaling translates the memory representation in log-time, enabling invariance.
- The network's generalization capability over large temporal scales is extended by adding more τ̂_n points without retraining, as the weights remain fixed.
- The approach is inspired by neurophysiological evidence of logarithmically-compressed temporal coding in the brain (e.g., time cells in the hippocampus), and aligns with the Weber-Fechner law in perception.
Experimental results
Research questions
- RQ1Can a deep neural network be designed to generalize across time-rescaled inputs without retraining?
- RQ2How does logarithmic compression of temporal memory enable invariance to time rescaling in deep networks?
- RQ3To what extent does SITHCon outperform standard TCNs in classification and regression tasks with rescaled time series?
- RQ4Can the network generalize over exponentially large temporal scales by extending the range of logarithmically spaced basis functions?
- RQ5Is the logarithmic temporal basis function approach biologically plausible and consistent with known neural coding principles?
Key findings
- SITHCon generalizes robustly over time rescalings of approximately one order of magnitude in both univariate and multivariate time series tasks, while standard TCNs fail to generalize under such rescalings.
- The performance of SITHCon remains stable across a wide range of temporal rescalings, with no degradation in accuracy when tested on out-of-sample rescaled data.
- The network maintains invariance to time rescaling without retraining by simply extending the range of logarithmically spaced τ̂_n points, with no need to relearn weights.
- The logarithmic compression of temporal memory transforms time rescaling into a translation in log-time, enabling the network's output to remain invariant.
- SITHCon outperforms TCNs in tasks involving temporal rescaling, demonstrating that the logarithmic basis function approach enables more robust and generalizable temporal representation.
- The results support the hypothesis that logarithmically-compressed temporal coding, observed in the brain (e.g., time cells), provides a biologically plausible mechanism for scale-invariant temporal processing in artificial networks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.