mlsanityData to 14 Oct 2026

SequenceLayers: Sequence Processing and Streaming Neural Networks Made Easy

arXiv 2507.23292 ↗First posted 31 Jul 2025cs.LG cs.CL cs.PLcited by 0

Not on the map. Why?

Abstract (arXiv)

We introduce a neural network layer API and library for sequence modeling, designed for easy creation of sequence models that can be executed both layer-by-layer (e.g., teacher-forced training) and step-by-step (e.g., autoregressive sampling). To achieve this, layers define an explicit representation of their state over time (e.g., a Transformer KV cache, a convolution buffer, an RNN hidden state), and a step method that evolves that state, tested to give identical results to a stateless layer-wise invocation. This and other aspects of the SequenceLayers contract enables complex models to be immediately streamable, mitigates a wide range of common bugs arising in both streaming and parallel sequence processing, and can be implemented in any deep learning library. A composable and declarative API, along with a comprehensive suite of layers and combinators, streamlines the construction of production-scale models from simple streamable components while preserving strong correctness guarantees. Our current implementations of SequenceLayers (JAX, TensorFlow 2) are available at https://github.com/google/sequence-layers.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 19 of its 25 references that are in the map. First posted on arXiv 31 Jul 2025.

Builds on

19 of 25 references.

References · 19

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  5. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
  6. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  7. 2018Self-Attention with Relative Position Representationscited by 1,120
  8. 2019MediaPipe: A Framework for Building Perception Pipelinescited by 583
  9. 2017Tacotron: Towards End-to-End Speech Synthesiscited by 490
  10. 2018Style Tokens: Unsupervised Style Modeling, Control and Transfer in End-to-End Speech Synthesiscited by 259
  11. 2022Scaling Up Models and Data with textttt5x and textttseqiocited by 187
  12. 2024You Only Cache Once: Decoder-Decoder Architectures for Language Modelscited by 144
7 more
  1. 2019Lingvo: a Modular and Scalable Framework for Sequence-to-Sequence Modelingcited by 86
  2. 2017TensorFlow-Serving: Flexible, High-Performance ML Servingcited by 85
  3. 2020Wave-Tacotron: Spectrogram-free end-to-end text-to-speech synthesiscited by 38
  4. 2021Speaker Generationcited by 14
  5. 2025Source Separation by Flow Matchingcited by 8
  6. 2024Robust and Unbounded Length Generalization in Autoregressive Transformer-Based Text-to-Speechcited by 4
  7. 2022Learning the joint distribution of two sequences using little or no paired datacited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025MesaNet: Sequence Modeling by Locally Optimal Test-Time Training
  2. 2025Numerical Investigation of Sequence Modeling Theory using Controllable Memory Functions
  3. 2024S7: Selective and Simplified State Space Layers for Sequence Modeling
  4. 2021Efficiently Modeling Long Sequences with Structured State Spaces
  5. 2022Simplified State Space Layers for Sequence Modeling
  6. 2025Poolformer: Recurrent Networks with Pooling for Long-Sequence Modeling
  7. 2023Laughing Hyena Distillery: Extracting Compact Recurrences From Convolutions
  8. 2025Gated Associative Memory: A Parallel O(N) Architecture for Efficient Sequence Modeling