Lune

ICLR2025顶会

Flash Inference: Near Linear Time Inference for Long Convolution Sequence Models and Beyond

Costin-Andrei Oncescu, Sanket Purandare, Stratos Idreos, Sham M. Kakade

摘要

While transformers have been at the core of most recent advancements in sequence generative models, their computational cost remains quadratic in sequence length. Several subquadratic architectures have been proposed to address this computational issue. Some of them, including long convolution sequence models (LCSMs), address this issue at training time but remain quadratic during inference. We propose a method for speeding up LCSMs' exact inference to quasilinear time, identify the key properties that make this possible, and propose a general framework that exploits these. Our approach, inspired by previous work on relaxed polynomial interpolation, is based on a tiling which helps decrease memory movement and share computation. It has the added benefit of allowing for almost complete parallelization across layers of the position-mixing part of the architecture. Empirically, we provide a proof of concept implementation for Hyena, which gets up to 7.8× end-to-end improvement over standard inference by improving up to 110× within the position-mixing part.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Diagonal State Spaces are as Effective as Structured State Spaces 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
  • Diagonal State Spaces are as Effective as Structured State Spaces 引用了 Combining Recurrent, Convolutional, and Continuous-time Models with Linear State Space Layers
  • On the Parameterization and Initialization of Diagonal State Space Models 引用了 Diagonal State Spaces are as Effective as Structured State Spaces
  • On the Parameterization and Initialization of Diagonal State Space Models 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
  • Efficiently Modeling Long Sequences with Structured State Spaces 引用了 On the Parameterization and Initialization of Diagonal State Space Models
  • Hyena Hierarchy: Towards Larger Convolutional Language Models 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
  • FutureFill: Fast Generation from Convolutional Sequence Models 引用了 Diagonal State Spaces are as Effective as Structured State Spaces
  • FutureFill: Fast Generation from Convolutional Sequence Models 引用了 Hyena Hierarchy: Towards Larger Convolutional Language Models
  • FutureFill: Fast Generation from Convolutional Sequence Models 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
  • FutureFill: Fast Generation from Convolutional Sequence Models 引用了 Combining Recurrent, Convolutional, and Continuous-time Models with Linear State Space Layers
  • Log-Linear Attention 引用了 Hyena Hierarchy: Towards Larger Convolutional Language Models
  • Log-Linear Attention 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper2

  1. Log-Linear AttentionHan Guo, Songlin Yang, Tarushii Goel, Eric P. Xing 等ICLR 2026 · 41 次引用
  2. FutureFill: Fast Generation from Convolutional Sequence ModelsNaman Agarwal, Xinyi Chen, Evan Dogariu, Devan Shah 等ICLR 2026 · 6 次引用

它引用的 Paper16

  1. Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 次引用
  2. Combining Recurrent, Convolutional, and Continuous-time Models with Linear State Space LayersAlbert Gu, Isys Johnson, Karan Goel, Khaled Saab 等NeurIPS 2021 · 1,280 次引用
  3. On the Parameterization and Initialization of Diagonal State Space ModelsAlbert Gu, Karan Goel, Ankit Gupta, Christopher RéNeurIPS 2022 · 690 次引用
  4. Diagonal State Spaces are as Effective as Structured State SpacesAnkit Gupta, Albert Gu, Jonathan BerantNeurIPS 2022 · 546 次引用
  5. Hyena Hierarchy: Towards Larger Convolutional Language ModelsMichael Poli, Stefano Massaroli, Eric Nguyen, Daniel Y. Fu 等ICML 2023 · 481 次引用

相关 Paper

  1. Laughing Hyena Distillery: Extracting Compact Recurrences From ConvolutionsStefano Massaroli, Michael Poli, Daniel Y. Fu, Hermann Kumbong 等NeurIPS 2023 · 31 次引用
  2. Geometric Hyena Networks for Large-scale Equivariant LearningArtem Moskalev, Mangal Prakash, Junjie Xu, Tianyu Cui 等ICML 2025
  3. FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor CoresDaniel Y. Fu, Hermann Kumbong, Eric Nguyen, Christopher RéICLR 2024 · 41 次引用
  4. Hyena Operator for Fast Sequential RecommendationJiahao Liu, Lin Li, Zhiyuan Li, Kaixi Hu 等WWW 2026
  5. Transformers are RNNs: Fast Autoregressive Transformers with Linear AttentionAngelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, François FleuretICML 2020 · 2,665 次引用
黄昏的海面,两侧是细线勾勒的悬崖