[Paper Review] Phased LSTM: Accelerating Recurrent Network Training for Long or Event-based Sequences
Phased LSTM extends LSTM with a time gate controlled by a learnable rhythmic oscillator, enabling sparse, irregular updates and faster convergence on long or event-based sequences. It handles asynchronous inputs and reduces runtime computations while often improving accuracy.
Recurrent Neural Networks (RNNs) have become the state-of-the-art choice for extracting patterns from temporal sequences. However, current RNN models are ill-suited to process irregularly sampled data triggered by events generated in continuous time by sensors or other neurons. Such data can occur, for example, when the input comes from novel event-driven artificial sensors that generate sparse, asynchronous streams of events or from multiple conventional sensors with different update intervals. In this work, we introduce the Phased LSTM model, which extends the LSTM unit by adding a new time gate. This gate is controlled by a parametrized oscillation with a frequency range that produces updates of the memory cell only during a small percentage of the cycle. Even with the sparse updates imposed by the oscillation, the Phased LSTM network achieves faster convergence than regular LSTMs on tasks which require learning of long sequences. The model naturally integrates inputs from sensors of arbitrary sampling rates, thereby opening new areas of investigation for processing asynchronous sensory events that carry timing information. It also greatly improves the performance of LSTMs in standard RNN applications, and does so with an order-of-magnitude fewer computes at runtime.
Motivation & Objective
- Motivate and enable learning from irregularly sampled temporal data from sensors or neurons.
- Extend LSTM with a learnable time gate to allow updates only during open phases of a rhythmic cycle.
- Improve convergence speed and efficiency for long sequence learning without sacrificing accuracy.
- Demonstrate applicability to event-based sensors, multi-rate fusion, and asynchronous data streams.
Proposed method
- Add a time gate k_t to the LSTM unit controlled by a parametrized oscillation with period τ, open ratio r_on, and phase s.
- Define the time gate as a piecewise linear function of phase φ_t = ((t−s) mod τ)/τ, enabling updates only when k_t is active.
- Rewrite LSTM cell updates to include k_t, producing c_j and h_j updates that interpolate between updating and holding previous states.
- Trainable parameters include τ and s (period and phase); r_on is fixed to 0.05 during experiments.
- Allow updates at irregular times t_j when k_j is open, enabling processing of asynchronously sampled inputs.
- Discusssively interpret the approach as a learnable, gated Fourier-like transform and a form of gradient shortcut.
- Use Adam optimization and Theano/Lasagne frameworks for training across tasks.
Experimental results
Research questions
- RQ1Can a rhythmic time gate enable RNNs to learn from irregularly sampled or event-based data without sacrificing accuracy?
- RQ2Do Phased LSTMs converge faster and require fewer runtime computations than standard LSTMs on long sequences or multi-rate sensor data?
- RQ3How does the periodic open phase (τ, r_on, s) influence learning and memory retention?
- RQ4Can Phased LSTMs effectively fuse inputs from sensors with different sampling rates (audio/video) and from neuromorphic event streams?
- RQ5What is the impact of learning or fixing time gate parameters on performance across tasks?
Key findings
- Phased LSTM maintains or improves accuracy across standard and irregular sampling conditions where traditional LSTMs decline.
- Network updates occur only during open phases, yielding much fewer runtime updates (about 5% on average per neuron in N-MNIST task).
- Faster convergence and higher accuracy observed on frequency discrimination with asynchronous sampling and multi-frequency tasks.
- Longer τ values can accelerate learning on long sequences in adding tasks, indicating memory window effects.
- In N-MNIST, Phased LSTM achieved higher single-epoch performance and reduced training time compared with BN-LSTM and CNN baselines.
- Lip reading with GRID data showed faster convergence and competitive accuracy using Phased LSTM with aligned time gates to input sampling.
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.