Hyena Hierarchy: Towards Larger Convolutional Language Models
Auteurs : Michael Poli, Stefano Massaroli, Eric Nguyen, Daniel Y. Fu, Tri Dao, Stephen Baccus, Yoshua Bengio, Stefano Ermon, Christopher Ré
Résumé scientifique
Recent advances in deep learning have relied heavily on the use of large Transformers due to their ability to learn at scale. However, the core building block of Transformers, the attention operator, exhibits quadratic cost in sequence length, limiting the amount of context accessible. Existing subquadratic methods based on low-rank and sparse approximations need to be combined with dense attention layers to match Transformers, indicating a gap in capability. In this work, we propose Hyena, a subquadratic drop-in replacement for attention constructed by interleaving implicitly parametrized long convolutions and data-controlled gating. In recall and reasoning tasks on sequences of thousands to hundreds of thousands of tokens, Hyena improves accuracy by more than 50 points over operators relying on state-spaces and other implicit and explicit methods, matching attention-based models. We set a new state-of-the-art for dense-attention-free architectures on language modeling in standard datasets (WikiText103 and The Pile), reaching Transformer quality with a 20% reduction in training compute required at sequence length 2K. Hyena operators are twice as fast as highly optimized attention at sequence length 8K, and 100x faster at sequence length 64K.
Les articles autour de lui, par date et par proximité
Plus haut, c’est plus proche de cet article ; à gauche, c’est plus ancien. Les traits relient les articles proches entre eux : les groupes de traits sont des sous-thèmes. Sélectionnez un point pour voir pourquoi il est là. Retour au résumé de cet article
Les articles autour de celui-ci
Classés selon la proximité de leur titre et de leur résumé avec ceux de cet article. Sélectionnez-en pour les lire ensemble.
Les articles les plus proches
-
Scavenging Hyena: Distilling Transformers into Long Convolution ModelsTokiniaina Raharison Ralambomihanta, Shahrad Mohammadzadeh, Mohammad Sami Nur Islam et al. · 2024 · arXiv.org · preprint, non relu par les pairs · cité 7 fois · Pas encore résumé
Résumé scientifique
The rapid evolution of Large Language Models (LLMs), epitomized by architectures like GPT-4, has reshaped the landscape of natural language processing. This paper introduces a pioneering approach to address the efficiency concerns associated with LLM pre-training, proposing the use of knowledge distillation for cross-architecture transfer. Leveraging insights from the efficient Hyena mechanism, our method replaces attention heads in transformer models by Hyena, offering a cost-effective alternative to traditional pre-training while confronting the challenge of processing long contextual information, inherent in quadratic attention mechanisms. Unlike conventional compression-focused methods, …
-
Hyena Operator for Fast Sequential RecommendationJia-Hao Liu, Lin Li, Zhi-Yuan Li et al. · 2026 · The Web Conference · cité 1 fois · Pas encore résumé
Résumé scientifique
Sequential recommendation models, particularly those based on attention, achieve strong accuracy but incur quadratic complexity, making long user histories prohibitively expensive. Sub-quadratic operators such as Hyena provide efficient alternatives in language modeling, but their potential in recommendation remains underexplored. We argue that Hyena faces challenges in recommendation due to limited representation capacity on sparse, long user sequences. To address these challenges, we propose HyenaRec, a novel sequential recommender that integrates polynomial-based kernel parameterization with gated convolutions. Specifically, we design convolutional kernels using Legendre orthogonal polyno…
-
Systems and Algorithms for Convolutional Multi-Hybrid Language Models at ScaleJerome Ku, Eric Nguyen, David W. Romero et al. · 2025 · arXiv.org · preprint, non relu par les pairs · cité 24 fois · Pas encore résumé
Résumé scientifique
We introduce convolutional multi-hybrid architectures, with a design grounded on two simple observations. First, operators in hybrid models can be tailored to token manipulation tasks such as in-context recall, multi-token recall, and compression, with input-dependent convolutions and attention offering complementary performance. Second, co-designing convolution operators and hardware-aware algorithms enables efficiency gains in regimes where previous alternative architectures struggle to surpass Transformers. At the 40 billion parameter scale, we train end-to-end 1.2 to 2.9 times faster than optimized Transformers, and 1.1 to 1.4 times faster than previous generation hybrids. On H100 GPUs a…
-
Hydra: A Modular Architecture for Efficient Long-Context ReasoningSiddharth Chaudhary, Dev Patel, Maheep Chaudhary et al. · 2025 · cité 1 fois · Pas encore résumé
Résumé scientifique
The quadratic complexity of transformers fundamentally limits reasoning system deployment in resource-constrained and long-context settings. We introduce Hydra, a modular architecture based upon a state-space backbone which adaptively routes between complementary efficiency mechanisms: sparse global attention, mixture-of-experts, and dual memories comprising a reasoning workspace and product key memory. We evaluate a 29M parameter model measuring logical chaining accuracy and throughput on synthetic sequences, plus throughput on WikiText. Ablation studies use component-specific synthetic datasets to isolate individual mechanisms. Hydra achieves $3.01\times$ and $3.0\times$ throughput gains a…
-
The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic ArchitecturesAlexander M. Fichtl, Jeremias Bohn, Josefin Kelber et al. · 2025 · Proceedings of The Big Picture v2: Crafting a Research Narrative · cité 8 fois · Pas encore résumé
Résumé scientifique
Transformers have dominated sequence processing tasks for the past seven years -- most notably language modeling. However, the inherent quadratic complexity of their attention mechanism remains a significant bottleneck as context length increases. This paper surveys recent efforts to overcome this bottleneck, including advances in (sub-quadratic) attention variants, recurrent neural networks, state space models, and hybrid architectures. We critically analyze these approaches in terms of compute and memory complexity, benchmark results, and fundamental limitations to assess whether the dominance of pure-attention transformers may soon be challenged.
-
Hungry Hungry Hippos: Towards Language Modeling with State Space ModelsDaniel Y. Fu, Tri Dao, Khaled K. Saab et al. · 2022 · Machine Learning · cité 741 fois · Résumé IA disponible
Résumé scientifique
State space models (SSMs) have demonstrated state-of-the-art sequence modeling performance in some modalities, but underperform attention in language modeling. Moreover, despite scaling nearly linearly in sequence length instead of quadratically, SSMs are still slower than Transformers due to poor hardware utilization. In this paper, we make progress on understanding the expressivity gap between SSMs and attention in language modeling, and on reducing the hardware barrier between SSMs and attention. First, we use synthetic language modeling tasks to understand the gap between SSMs and attention. We find that existing SSMs struggle with two capabilities: recalling earlier tokens in the sequen…
-
Geometric Hyena Networks for Large-scale Equivariant LearningArtem Moskalev, M. Prakash, Junjie Xu et al. · 2025 · International Conference on Machine Learning · cité 8 fois · Pas encore résumé
Résumé scientifique
Processing global geometric context while preserving equivariance is crucial when modeling biological, chemical, and physical systems. Yet, this is challenging due to the computational demands of equivariance and global context at scale. Standard methods such as equivariant self-attention suffer from quadratic complexity, while local methods such as distance-based message passing sacrifice global information. Inspired by the recent success of state-space and long-convolutional models, we introduce Geometric Hyena, the first equivariant long-convolutional model for geometric systems. Geometric Hyena captures global geometric context at sub-quadratic complexity while maintaining equivariance t…
-
Linearizing Large Language ModelsJean-Pierre Mercat, Igor Vasiljevic, Sedrick Scott Keh et al. · 2024 · arXiv.org · preprint, non relu par les pairs · cité 56 fois · Pas encore résumé
Résumé scientifique
Linear transformers have emerged as a subquadratic-time alternative to softmax attention and have garnered significant interest due to their fixed-size recurrent state that lowers inference cost. However, their original formulation suffers from poor scaling and underperforms compute-matched transformers. Recent linear models such as RWKV and Mamba have attempted to address these shortcomings by proposing novel time-mixing and gating architectures, but pre-training large language models requires significant data and compute investments. Thus, the search for subquadratic architectures is limited by the availability of compute and quality pre-training datasets. As a cost-effective alternative t…
Les travaux antérieurs sur lesquels il s’appuie
-
FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon et al. · 2022 · Machine Learning · cité 5 783 fois · Résumé IA disponible
Résumé scientifique
Transformers are slow and memory-hungry on long sequences, since the time and memory complexity of self-attention are quadratic in sequence length. Approximate attention methods have attempted to address this problem by trading off model quality to reduce the compute complexity, but often do not achieve wall-clock speedup. We argue that a missing principle is making attention algorithms IO-aware -- accounting for reads and writes between levels of GPU memory. We propose FlashAttention, an IO-aware exact attention algorithm that uses tiling to reduce the number of memory reads/writes between GPU high bandwidth memory (HBM) and GPU on-chip SRAM. We analyze the IO complexity of FlashAttention, …
-
Compressive Transformers for Long-Range Sequence ModellingJack W. Rae, Anna Potapenko, Siddhant M. Jayakumar et al. · 2019 · International Conference on Learning Representations · cité 1 043 fois · Pas encore résumé
Résumé scientifique
We present the Compressive Transformer, an attentive sequence model which compresses past memories for long-range sequence learning. We find the Compressive Transformer obtains state-of-the-art language modelling results in the WikiText-103 and Enwik8 benchmarks, achieving 17.1 ppl and 0.97 bpc respectively. We also find it can model high-frequency speech effectively and can be used as a memory mechanism for RL, demonstrated on an object matching task. To promote the domain of long-range sequence learning, we propose a new open-vocabulary language modelling benchmark derived from books, PG-19.
-
What Makes Convolutional Models Great on Long Sequence Modeling?Yu-Hong Li, Tianle Cai, Yi Zhang et al. · 2022 · International Conference on Learning Representations · cité 120 fois · Pas encore résumé
Résumé scientifique
Convolutional models have been widely used in multiple domains. However, most existing models only use local convolution, making the model unable to handle long-range dependency efficiently. Attention overcomes this problem by aggregating global information but also makes the computational complexity quadratic to the sequence length. Recently, Gu et al. [2021] proposed a model called S4 inspired by the state space model. S4 can be efficiently implemented as a global convolutional model whose kernel size equals the input sequence length. S4 can model much longer sequences than Transformers and achieve significant gains over SoTA on several long-range tasks. Despite its empirical success, S4 i…
-
Attention Is All You NeedAshish Vaswani, Noam Shazeer, Niki Parmar et al. · 2017 · Computation and Language · cité 201 234 fois · Résumé IA disponible
Résumé scientifique
The dominant sequence transduction models are based on complex recurrent or convolutional neural networks in an encoder-decoder configuration. The best performing models also connect the encoder and decoder through an attention mechanism. We propose a new simple network architecture, the Transformer, based solely on attention mechanisms, dispensing with recurrence and convolutions entirely. Experiments on two machine translation tasks show these models to be superior in quality while being more parallelizable and requiring significantly less time to train. Our model achieves 28.4 BLEU on the WMT 2014 English-to-German translation task, improving over the existing best results, including ense…
-
Unveiling Transformers with LEGO: a synthetic reasoning taskYi Zhang, A. Backurs, Sébastien Bubeck et al. · 2022 · arXiv.org · preprint, non relu par les pairs · cité 119 fois · Pas encore résumé
Résumé scientifique
We propose a synthetic reasoning task, LEGO (Learning Equality and Group Operations), that encapsulates the problem of following a chain of reasoning, and we study how the Transformer architectures learn this task. We pay special attention to data effects such as pretraining (on seemingly unrelated NLP tasks) and dataset composition (e.g., differing chain length at training and test time), as well as architectural variants such as weight-tied layers or adding convolutional components. We study how the trained models eventually succeed at the task, and in particular, we manage to understand some of the attention heads as well as how the information flows in the network. In particular, we have…
Les articles qui le citent
-
Towards Efficient Acceleration of Hyena and Kolmogorov–Arnold Networks on NPUsArghadip Das, Hoseok Kim, Arnab Raha et al. · 2025 · 2025 First International Conference on Intelligent Computing and Systems at the Edge (ICEdge) · cité 4 fois · Pas encore résumé
Résumé scientifique
Transformers underpin many on-device AI tasks, yet quadratic attention and large MLP blocks limit long-context inference on resource-constrained edge systems. Recent alternatives—Hyena (implicit long convolutions with gating) and Kolmogorov–Arnold Networks (KANs; spline-based MLP replacements)—promise algorithmic gains in scalability and interpretability, but their hardware efficiency on edge accelerators remains unclear. We present HKN, a systematic evaluation of Hyena and KAN on the AI compute engines of an edge-class SoC: CPU, GPU, and Neural Processing Unit (NPU). Using a unified software stack and measurement methodology, HKN profiles end-to-end latency, throughput, and energy, while co…
-
Mechanistic evaluation of Transformers and state space modelsAryaman Arora, Neil Rathi, Nikil Roashan Selvam et al. · 2025 · arXiv.org · preprint, non relu par les pairs · cité 12 fois · Pas encore résumé
Résumé scientifique
State space models (SSMs) for language modelling promise an efficient and performant alternative to quadratic-attention Transformers, yet show variable performance on recalling basic information from the context. While performance on synthetic tasks like Associative Recall (AR) can point to this deficiency, behavioural metrics provide little information as to \textit{why} -- on a mechanistic level -- certain architectures fail and others succeed. To address this, we conduct experiments on AR, and find that only Transformers and Based SSM models fully succeed at AR, with Mamba and DeltaNet close behind, while the other SSMs (H3, Hyena) fail. We then use causal interventions to explain why. We…
-
Native Multi-Dimensional Subquadratic Operators via Input Dependent Long ConvolutionsDavid R. Wessels, F. Ramezanghorbani, David W. Romero et al. · 2026 · arXiv.org · preprint, non relu par les pairs · Pas encore résumé
Résumé scientifique
Subquadratic alternatives to attention require compromises when applied to multi-dimensional data: standard convolutions lack global receptive fields and input dependency, while recurrent models require rasterizing data such as images, volumes, and partial differential equation (PDE) into an ad-hoc $1\rm D$ scan order that violates their spatial structure. We introduce \textit{HyenaND}, a subquadratic, global, input-dependent operator that acts directly on the native geometry of multidimensional data through convolutions with implicitly parametrized global, input-dependent multi-dimensional convolutional kernels. Our CUDA implementation, \texttt{nSubQ}, fuses the FFT-convolution path to turn…
-
Toeplitz MLP Mixers are Low Complexity, Information-Rich Sequence ModelsBenjamin L. Badger, Ethan Roland · 2026 · arXiv.org · preprint, non relu par les pairs · Pas encore résumé
Résumé scientifique
Transformer-based large language models are in some respects limited by the quadratic time and space computational complexity of attention. We introduce the Toeplitz MLP Mixer (TMM), a transformer-like architecture that swaps attention for triangular-masked Toeplitz matrix multiplication over the sequence dimension resulting in $\mathcal{O} (dn \log n)$ time and $\mathcal O(dn)$ space complexity during training and $\mathcal O(dn)$ time and space at inference prefill. Despite the lack of sophisticated input modulation or state maintenance present in other sub-quadratic architectures, TMMs yield greater training efficiency in terms of loss achieved per compute and device memory. We demonstrat…
-
Scalable Lineage Classification and Out-of-Distribution Detection for Long-Read Viral Genomes: The BioHyena-Sentinel FrameworkAhmed Hany, A. Dahroug, Sherin M. Moussa · 2026 · 2026 IEEE International Conference on Smart Sustainable Systems for Computer and Engineering Applications (3SCEA) · Pas encore résumé
Résumé scientifique
The rapid evolution of the SARS-CoV-2 genome necessitates a transition from reactive to proactive genomic surveillance. However, state-of-the-art Genomic Foundation Models (GFMs) rely on Transformer architectures that suffer from quadratic complexity, creating a “Compute Wall” that limits analysis to truncated sequences or expensive supercomputing clusters. In this paper, we propose BioHyena-Sentinel, a sub-quadratic foundation framework designed for decentralized, real-time viral surveillance. By utilizing the Hyena operator, the computational complexity of modeling full 30kb genomes is reduced from a quadratic to a sub-quadratic scaling, enabling high-resolution analysis on consumer-grade …
Aller plus loin
Comment ces articles sont-ils trouvés ?
Nous comparons le titre et le résumé de cet article avec ceux de tous les articles résumés sur ce site, et avec les articles que Semantic Scholar recommande, ceux qu’il cite et ceux qui le citent (pour un article très cité, ses citations les plus récentes et, depuis OpenAlex, les plus citées). Parmi les travaux antérieurs et les suites, les articles qui s’utilisent en profondeur, une méthode qu’il utilise et les suites très citées remontent un peu. Les niveaux (très proche, proche, apparenté) viennent de la similarité des textes, pas d’un jugement de qualité ; * signale un article sans résumé, comparé par son titre. La phrase sous un article est écrite par une IA à partir des deux résumés : vérifiez-la dans les articles. Un article jugé hors sujet par trois lecteurs quitte la liste.
Mis à jour le 4 novembre 2026.