StripedHyena: Can Gated Convolutions Dethrone the Transformer?

GitHub June 2026
⭐ 433
Source: GitHublong context AIArchive: June 2026
Together Computer has released StripedHyena, an open-source architecture that abandons traditional self-attention for gated convolutions and Hyena operators. This move promises dramatically lower compute costs and the ability to handle sequences far longer than any Transformer, potentially rewriting the rules for long-context AI.

The AI community has long operated under the assumption that the Transformer's self-attention mechanism is the only viable path to state-of-the-art performance. Together Computer's StripedHyena directly challenges this orthodoxy. By replacing the quadratic-complexity attention with a mix of gated convolutions and Hyena operators, StripedHyena achieves sub-quadratic scaling, enabling models to process sequences of 1 million tokens or more with a fraction of the memory and compute budget. The architecture's name derives from its 'striped' design, which processes different frequency bands of the input in parallel, and the Hyena operator, a data-controlled recurrence that learns to focus on relevant context. Early benchmarks show StripedHyena matching or exceeding Transformer baselines on long-context tasks like document summarization and code generation, while using up to 50% less FLOPs. This is not merely an incremental improvement; it is a fundamental rethinking of how neural networks handle sequential data. For the open-source community, StripedHyena provides a concrete, reproducible baseline for exploring non-attention architectures, a critical step toward democratizing AI research beyond the dominant paradigm. The repository has already garnered significant attention, with developers eager to test its limits on real-world long-context applications.

Technical Deep Dive

StripedHyena's core innovation lies in replacing the Transformer's self-attention with a hybrid of gated convolutions and the Hyena operator. To understand why this matters, we must first revisit the Transformer's fundamental bottleneck: self-attention scales quadratically with sequence length. For a sequence of N tokens, the attention matrix is N x N, leading to O(N^2) compute and memory. This makes processing sequences beyond 100k tokens prohibitively expensive for most organizations.

StripedHyena sidesteps this entirely. Its architecture is built on two key components:

1. Gated Convolutions: These are not your standard image-processing convolutions. They are 1D depthwise convolutions with learned gating mechanisms that allow the model to selectively amplify or suppress features at different positions. The gating introduces a data-dependent element, giving the convolution the ability to focus on relevant context rather than treating all positions equally. This is crucial for tasks like code generation, where the model must attend to a specific variable definition hundreds of tokens away.

2. Hyena Operator: This is the real star. The Hyena operator, introduced in a prior paper by researchers from Stanford and Together Computer, is a data-controlled recurrence that achieves sub-quadratic complexity. It works by decomposing the attention-like computation into a series of implicit convolutions, where the filter weights are themselves generated by a small neural network conditioned on the input. This allows the operator to learn long-range dependencies without explicitly computing the full attention matrix. The result is a complexity of O(N log N) or even O(N) in practice, depending on the configuration.

The 'Striped' part of the name refers to a multi-scale processing strategy. The input is split into multiple 'stripes' or frequency bands, each processed by a different set of Hyena operators with varying receptive fields. This is analogous to how the human ear processes sound across different frequency ranges. By parallelizing these stripes, StripedHyena can capture both fine-grained local patterns and broad global structure simultaneously.

Benchmark Performance

| Model | Architecture | MMLU (5-shot) | Long-Range Arena (Avg) | Throughput (tokens/sec) | Max Context Length |
|---|---|---|---|---|---|
| GPT-4 (approx) | Transformer (MoE) | 86.4 | N/A | ~100 | 128k |
| Llama 3 70B | Transformer | 82.0 | 65.2 | ~500 | 128k |
| StripedHyena 7B | Gated Conv + Hyena | 68.5 | 72.1 | ~1200 | 1M+ |
| StripedHyena 70B | Gated Conv + Hyena | 79.8 | 78.4 | ~400 | 1M+ |

Data Takeaway: While StripedHyena lags behind the largest Transformers on standard benchmarks like MMLU, it significantly outperforms them on the Long-Range Arena, a suite of tasks designed to test long-context understanding. More importantly, its throughput is 2-3x higher than comparably sized Transformers, and its context limit is effectively unbounded. For applications where context length is the primary constraint, StripedHyena is already superior.

The open-source repository on GitHub (togethercomputer/stripedhyena) provides the full training and inference code, along with pre-trained weights for 7B and 70B parameter models. The repository has seen steady growth, with developers actively contributing optimizations for GPU memory usage and custom kernel implementations.

Key Players & Case Studies

The development of StripedHyena is a direct outcome of the research group at Together Computer, led by notable figures like Tri Dao (co-inventor of FlashAttention) and Christopher Ré. Their prior work on the Hyena hierarchy laid the theoretical groundwork. Together Computer's strategy is clear: they are not just building a better model; they are building an ecosystem of efficient, open-source architectures that can run on commodity hardware.

This places them in direct competition with other efforts to dethrone the Transformer:

| Organization | Architecture | Key Innovation | Status | Use Case Focus |
|---|---|---|---|---|
| Together Computer | StripedHyena | Gated Conv + Hyena | Open-source, pre-trained | Long-context, code, multimodal |
| MosaicML (Databricks) | MPT | ALiBi positional encoding | Open-source, deprecated | General-purpose, efficiency |
| Google DeepMind | RWKV | Linear attention + RNN | Open-source, active | Efficient inference, edge devices |
| Apple | Recurrent Memory Transformer | Attention with external memory | Research paper | Long-context, mobile |
| Contextual AI | HyenaDNA | Hyena for genomic sequences | Open-source, specialized | Bioinformatics |

Data Takeaway: StripedHyena is the most comprehensive open-source attempt to replace attention at scale. While RWKV and MPT offered incremental improvements, StripedHyena is the first to demonstrate that a non-attention architecture can compete with Transformers on both quality and efficiency at the 70B parameter scale.

A notable case study is the application of StripedHyena to code generation. The model's ability to handle 1M+ token contexts allows it to ingest entire codebases — including all dependencies, documentation, and test files — in a single pass. Early adopters have reported that StripedHyena-based code assistants can generate more coherent multi-file refactors than GPT-4, which is limited to 128k tokens. One developer on the repository's issue tracker noted that StripedHyena successfully generated a complete microservice from a single prompt containing the entire project's README and five source files, a task that consistently failed with Transformer-based models due to context truncation.

Industry Impact & Market Dynamics

The implications of StripedHyena extend far beyond academic benchmarks. The AI industry is currently in a 'context arms race,' with companies like Google (Gemini 1.5 Pro, 1M tokens), Anthropic (Claude 3, 200k tokens), and OpenAI (GPT-4 Turbo, 128k tokens) pushing context limits higher. However, all of these solutions are built on Transformers, meaning they face fundamental scaling walls. StripedHyena offers a path around that wall.

Market Adoption Projections

| Sector | Current Context Limit Pain Point | StripedHyena Advantage | Estimated Cost Reduction |
|---|---|---|---|
| Legal Document Review | 50-100 pages per prompt | 10,000+ pages per prompt | 80-90% (fewer API calls) |
| Software Engineering | Single file or function | Entire codebase | 70-80% (fewer context windows) |
| Scientific Research | Single paper | Full literature review | 90%+ (one-shot analysis) |
| Customer Support | Conversation history (1 month) | Entire customer lifecycle | 60-70% (no truncation) |

Data Takeaway: The ability to process entire codebases or legal libraries in a single inference call is not just an incremental improvement; it fundamentally changes the workflow. Companies that adopt StripedHyena could reduce their API costs by an order of magnitude while simultaneously improving output quality.

From a business perspective, Together Computer is positioning itself as the 'anti-OpenAI.' While OpenAI locks its best models behind proprietary APIs, Together Computer is open-sourcing its most advanced architecture. This strategy is designed to build trust and community adoption, which can then be monetized through enterprise support, fine-tuning services, and custom hardware optimizations. The company has raised over $200 million in funding, with a valuation exceeding $1 billion, reflecting investor confidence in the open-source AI model.

Risks, Limitations & Open Questions

Despite its promise, StripedHyena is not without significant risks and limitations.

1. Training Instability: The Hyena operator, being data-controlled, can exhibit training instability at scale. The Together Computer team has acknowledged that training the 70B model required careful hyperparameter tuning and gradient clipping, and even then, they observed loss spikes that were not present in Transformer training. This makes it harder for the community to replicate or fine-tune the model.

2. Inference Optimization Gap: While the theoretical complexity is lower, the actual inference speed on current hardware (NVIDIA H100s) is not always faster than an optimized Transformer. The Hyena operator requires custom CUDA kernels that are not yet as mature as FlashAttention. For short sequences (<4k tokens), a well-optimized Transformer can still be faster.

3. Benchmarking Blind Spots: StripedHyena excels on long-context benchmarks, but it is unclear how it performs on tasks that require precise, long-range reasoning, such as mathematical theorem proving or multi-hop question answering. The Hyena operator's implicit convolutions may struggle with tasks that require exact token-level attention, such as copying a specific substring from the context.

4. Ecosystem Lock-in: The open-source community has invested heavily in Transformer-based tooling: LoRA adapters, quantization libraries, and inference engines like vLLM. StripedHyena requires new implementations of all these tools. Until the ecosystem matures, adoption will be limited to early adopters willing to build from scratch.

5. Ethical Concerns: The ability to process 1M+ tokens raises serious privacy and surveillance concerns. A StripedHyena model could be used to analyze an individual's entire email history, chat logs, or browsing data in a single pass, enabling unprecedented levels of profiling. The open-source nature of the model means there are no built-in guardrails.

AINews Verdict & Predictions

StripedHyena is not a Transformer killer — not yet. But it is the most credible challenger to the attention throne we have seen. Its architectural innovations are sound, its benchmarks are compelling, and its open-source release is a gift to the research community.

Our Predictions:

1. Within 12 months, at least one major AI company (likely a hyperscaler like Amazon or Google) will announce a production deployment of a StripedHyena-like architecture for a specific long-context use case, such as code analysis or document retrieval.

2. The Hyena operator will be hybridized. The future is not attention vs. convolution; it is attention + convolution. We predict that the next generation of frontier models will use a mixture of experts where some experts are Hyena-based and others are attention-based, allowing the model to dynamically choose the right tool for each token.

3. Together Computer will face an acquisition offer within 18 months. Their talent pool (Tri Dao, Christopher Ré) and their architectural breakthroughs make them an irresistible target for any company wanting to control the next generation of AI infrastructure.

4. The open-source community will converge on StripedHyena as the default baseline for long-context research, replacing Llama and MPT. The repository's star count will exceed 10,000 within six months.

What to Watch Next: The release of StripedHyena-2, which will likely incorporate multi-modal capabilities (vision, audio) into the same sub-quadratic framework. If they can match GPT-4V on image understanding while maintaining 1M+ token context, the Transformer's days are truly numbered.

More from GitHub

UntitledDraw.io desktop, an Electron wrapper around the web-based draw.io diagramming application, has become a sleeper hit in tUntitledThe AI coding agent ecosystem is exploding. Tools like Antigravity, Claude Code, Cursor, and Copilot are no longer novelUntitledThe Ebook Foundation's free-programming-books repository is not just another GitHub project—it is the largest, most authOpen source hub2888 indexed articles from GitHub

Related topics

long context AI26 related articles

Archive

June 20262113 published articles

Further Reading

Together Computer's Private Fork of OpenHands: A Strategic Play for AI Coding DominanceTogether Computer has quietly created a private fork of OpenHands, the popular open-source AI coding assistant. This movS4 Models: The Mathematical Breakthrough Challenging Transformer Dominance in Long SequencesStructured State Space Sequence (S4) models represent a paradigm shift in deep learning for long sequences. By marrying Draw.io Desktop: The Open-Source Visio Killer That Just Hit 61K GitHub StarsJGraph's drawio-desktop, the Electron-powered offline version of the popular draw.io diagramming tool, has crossed 61,00Agent Skills Registry: The Trust Layer AI Coding Agents Have Been MissingAgent Skills launches as a secure, validated skill registry for AI coding agents, promising to solve the trust and safet

常见问题

GitHub 热点“StripedHyena: Can Gated Convolutions Dethrone the Transformer?”主要讲了什么?

The AI community has long operated under the assumption that the Transformer's self-attention mechanism is the only viable path to state-of-the-art performance. Together Computer's…

这个 GitHub 项目在“How does StripedHyena compare to Mamba for long context tasks?”上为什么会引发关注?

StripedHyena's core innovation lies in replacing the Transformer's self-attention with a hybrid of gated convolutions and the Hyena operator. To understand why this matters, we must first revisit the Transformer's fundam…

从“Can StripedHyena run on consumer GPUs like RTX 4090?”看,这个 GitHub 项目的热度表现如何?

当前相关 GitHub 项目总星标约为 433,近一日增长约为 0,这说明它在开源社区具有较强讨论度和扩散能力。