paper-with-me

Papers

Parallelizing Legendre Memory Unit Training

2021-02-22 · Narsimha Chilkuri, Chris Eliasmith

Recently, a new recurrent neural network (RNN) named the Legendre Memory Unit (LMU) was proposed and shown to achieve state-of-the-art performance on several benchmark datasets. Here we leverage the linear time-invariant (LTI) memory component of the LMU to construct a simplified variant that can be parallelized during training (and yet executed as an RNN during inference), thus overcoming a well known limitation of training RNNs on GPUs. We show that this reformulation that aids parallelizing, which can be applied generally to any deep network whose recurrent components are linear, makes training up to 200 times faster. Second, to validate its utility, we compare its performance against the original LMU and a variety of published LSTM and transformer networks on seven benchmarks, ranging from psMNIST to sentiment analysis to machine translation. We demonstrate that our models exhibit superior performance on all datasets, often using fewer parameters. For instance, our LMU sets a new state-of-the-art result on psMNIST, and uses half the parameters while outperforming DistilBERT and LSTM models on IMDB sentiment analysis.

📄 PDF Abstract BibTeX arXiv:2102.11417

Code (2)

elisejiuqizhang/jax-lmu jax
hrshtv/pytorch-lmu pytorch

Tasks

Machine TranslationSentiment AnalysisSequential Image ClassificationTranslation

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Adam 설명 없음
Multi-Head Attention 설명 없음
Residual Connection 설명 없음
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…

Similar Papers 제목 키워드 기반

Legendre Memory Units: Continuous-Time Representation in Recurrent Neural Networks

2019-12-01 · NeurIPS 2019 12 · Aaron Voelker, Ivana Kajić, Chris Eliasmith

We propose a novel memory cell for recurrent neural networks that dynamically maintains information across long windows of time using relatively few resources. The Legendre Memory Unit~(LMU) is mathematically derived to …

Sequential Image ClassificationTime SeriesTime Series AnalysisTime Series Prediction

Feedforward Legendre Memory Unit

2021-01-01 · Narsimha Reddy Chilkuri, Chris Eliasmith

Recently, a new recurrent neural network (RNN) named the Legendre Memory Unit (LMU) was proposed and shown to achieve state-of-the-art performance on psMNIST and other datasets. Here we consider a modified version of the…

image-classificationImage ClassificationNatural Language InferenceQQP+4

FLAME: Flow Enhanced Legendre Memory Models for General Time Series Forecasting

2025-12-16 · Xingjian Wu, Hanyin Cheng, Xiangfei Qiu, Zhengyu Li 외 arxiv

In this work, we introduce FLAME, a family of extremely lightweight and capable Time Series Foundation Models, which support both deterministic and probabilistic forecasting via generative probabilistic modeling, thus en…

Time Series Forecasting

Parallelizing Linear Recurrent Neural Nets Over Sequence Length

2017-09-12 · ICLR 2018 1 · Eric Martin, Chris Cundy

Recurrent neural networks (RNNs) are widely used to model sequential data but their non-linear dependencies between sequence elements prevent parallelizing training over sequence length. We show the training of RNNs with…

Contrasting LMU with LSTM

2022-01-17 · ICLR Track Blog 2022 5 · Anonymous

Both Hidden Markov Model (HMM) and Recurrent Neural Network (RNN) suffer from disappearing transitions and (vanishing \& exploding) gradient problems. LSTM maintains a long time-range dependency on a sequencing task. How…