Skip to content
Back to skills

Parallelizing Linear Recurrent Neural Nets Over Sequence Length

ASecurity

**arXiv ID:** 1709.04057 **Authors:** Eric Martin, Chris Cundy **Published:** 2017-09-12T20:52:22Z **Abstract:** 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 only linear sequential dependencies can be parallelized over the sequence length using the parallel scan algorithm, leading to rapid training on long sequences eve...

  • 3 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 11, 2026
toolsgoapi

Works with

  • api

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add hiyenwong/ai_collection --skill parallelizing-linear-recurrent-neural-nets-over-sequence-length --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Parallelizing Linear Recurrent Neural Nets Over Sequence Length?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Parallelizing Linear Recurrent Neural Nets Over Sequence Length
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hiyenwong-parallelizing-linear-recurrent-neural-nets-over-se/badge)](https://www.skillsdirectory.com/skills/hiyenwong-parallelizing-linear-recurrent-neural-nets-over-se)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Parallelizing Linear Recurrent Neural Nets Over Sequence Length

**arXiv ID:** 1709.04057
**Authors:** Eric Martin, Chris Cundy
**Published:** 2017-09-12T20:52:22Z
**Abstract:**
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 only linear sequential dependencies can be parallelized over the sequence length using the parallel scan algorithm, leading to rapid training on long sequences even with small minibatch size. We develop a parallel linear recurrence CUDA kernel and show that it can be applied to immediately speed up training and inference of several state of the art RNN architectures by up to 9x. We abstract recent work on linear RNNs into a new framework of linear surrogate RNNs and develop a linear surrogate model for the long short-term memory unit, the GILR-LSTM, that utilizes parallel linear recurrence. We extend sequence learning to new extremely long sequence regimes that were previously out of reach by successfully training a GILR-LSTM on a synthetic sequence classification task with a one million timestep dependency.

## Skill Description

This skill is generated from the arXiv paper: Parallelizing Linear Recurrent Neural Nets Over Sequence Length (1709.04057).

## How to Use

[To be filled in by the user or by future automation]

## References

- [arXiv:1709.04057](http://arxiv.org/abs/1709.04057v2)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.