Vortex: Efficient and Programmable Sparse Attention Serving
Zhuoming Chen, Xinrui Zhong, Qilong Feng, Ranajoy Sadhukhan, Yang Zhou, Michael Shieh, Zhihao Jia, Beidi Chen
NeurIPS page · Open on the map
Category: Efficient LLM Inference & Training › Sparse Long-Context Attention · Type: system or tooling · Keywords: sparse attention, LLM serving, algorithm prototyping, efficiency, AI-driven exploration
Areas: Model Architectures & Sequence Modeling › Language Model Architectures › Sparse Attention
Summary
Vortex is a system that enables rapid prototyping and evaluation of sparse attention algorithms for LLM serving, achieving up to 3.46× higher throughput than full attention while preserving accuracy.
Explained to a 5-year-old
People are building big computer brains that write words. To make them faster, they use a special way to look at parts of the words instead of all at once. Making this special way is hard work. Vortex is a tool that helps them draw up this special way easily. It also lets a smart computer help find the best ways to make the brain faster.
Explained to a 5-year-old, longer
Big computers can learn to write sentences like people do. When they write, they need to look at many words at the same time. Looking at everything can be slow and use a lot of power. A smarter way is to only look at a few important words at a time. Designing this smarter way is complicated and takes a lot of work. Vortex is a helpful tool that makes it easy to draw up these smarter ways. It uses a special language that lets you describe which words to look at. It also has a fast part that runs the described way quickly. This lets researchers try many ideas without building everything from scratch. Even a computer can help come up with new ideas for which words to focus on. The best ideas found can make the computer write much faster than before. All of this helps make the big writing computers more useful and quicker.
For a technical reader
Vortex provides a Python-embedded domain-specific language that abstracts sparse attention patterns using a page-centric tensor model, allowing developers to prototype algorithms without modifying the serving stack. Its backend integrates tightly with existing LLM inference pipelines, delivering efficient execution of custom attention graphs. The system supports automated algorithm discovery via AI agents, which generate and refine attention patterns to optimize throughput while preserving model accuracy. By decoupling algorithm expression from low-level implementation, Vortex reduces engineering overhead and accelerates iteration cycles. This makes it easier for engineers to experiment with and deploy novel sparse attention strategies at scale.
Problem
Deploying and evaluating new sparse attention algorithms at scale is highly engineering-intensive, slowing research and AI-driven exploration. This makes it difficult to translate theoretical efficiency gains into real-world throughput improvements.
Method
The approach combines a Python-embedded frontend language with a page-centric tensor abstraction to express diverse sparse attention algorithms, and integrates an efficient backend into modern LLM serving stacks. This integration enables rapid prototyping, deployment, and evaluation of algorithms, translating theoretical gains into throughput improvements. Additionally, AI agents can automatically generate and refine algorithms using the system.
Results
The best generated algorithms achieved up to 3.46× higher throughput than full attention while preserving accuracy, demonstrating strong accuracy-throughput trade-offs. The system substantially accelerated the design and iteration of sparse attention algorithms.
Contributions
A programmable system that unifies frontend expression and backend execution for sparse attention, enabling rapid prototyping and evaluation. An AI-agent-driven exploration framework that automatically discovers and refines sparse attention algorithms, achieving significant throughput gains over full attention.
Practical relevance
It enables researchers and practitioners to quickly prototype and evaluate sparse attention algorithms, accelerating development of more efficient LLM serving solutions.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction