Systems and Algorithms for Convolutional Multi-Hybrid Language Models at Scale
Jerome Ku, Eric Nguyen, David W. Romero, Garyk Brixi, Brandon Yang, Anton Vorontsov, Ali Taghibakhshi, Amy X. Lu, Dave P. Burke, Greg Brockman, Stefano Massaroli, Christopher Ré, Patrick D. Hsu, Brian L. Hie, Stefano Ermon, Michael Poli
TL;DR
The work targets scalable language modeling by moving beyond Transformers to convolutional multi-hybrids that combine input-dependent convolutions with complementary operators. It introduces StripedHyena 2, a convolutional multi-hybrid architecture built from Hyena-SE, Hyena-MR, and Hyena-LI, optimized with hardware-aware block kernels and context-parallel strategies including all-to-all and point-to-point CP. The paper presents the two-stage block convolution technique, wipe-clean block layouts, and grouped filter sharing to maximize tensor-core throughput, achieving speedups over both Transformers and prior hybrids, and enabling long-context modeling up to $1{,}000{,}000$ tokens. Evo 2 demonstrates the practical efficacy of the approach on byte-tokenized genomic data, with 40B parameter models trained on trillions of tokens. The contributions include architectural design, kernel-level implementations, context-parallel algorithms, scaling results, and open-source tooling (Savanna) to support research in convolutional multi-hybrids.
Abstract
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 and model width 4096, individual operators in the proposed multi-hybrid StripedHyena 2 architecture achieve two-fold throughput improvement over linear attention and state-space models. Multi-hybrids excel at sequence modeling over byte-tokenized data, as demonstrated by the Evo 2 line of models. We discuss the foundations that enable these results, including architecture design, overlap-add blocked kernels for tensor cores, and dedicated all-to-all and point-to-point context parallelism strategies.
