← Latest papers
🤖 AI

Vortex: Efficient and Programmable Sparse Attention Serving for AI Agents

Vortex is a system that combines a Python-embedded frontend with an efficient backend to enable rapid prototyping and deployment of sparse attention algorithms, allowing AI agents to automatically discover designs that achieve up to 3.46× higher throughput than full attention while extending these gains to emerging large-scale architectures.

Original authors: Zhuoming Chen, Xinrui Zhong, Qilong Feng, Ranajoy Sadhukhan, Yang Zhou, Michael Qizhe Shieh, Zhihao Jia, Beidi Chen

Published 2026-06-05
📖 5 min read🧠 Deep dive

Original authors: Zhuoming Chen, Xinrui Zhong, Qilong Feng, Ranajoy Sadhukhan, Yang Zhou, Michael Qizhe Shieh, Zhihao Jia, Beidi Chen

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are running a massive library (a Large Language Model, or LLM) where a librarian (the AI) has to write a very long story, one word at a time.

Every time the librarian writes a new word, they have to look back at everything they've written so far to make sure the new word fits. In a traditional library, the librarian has to walk through every single shelf, check every book, and read every sentence to find the relevant parts. As the story gets longer (thousands of words), this "walking and checking" becomes incredibly slow and exhausting. This is the problem of Full Attention.

Sparse Attention is like giving the librarian a smart shortcut: "Only look at the last 5 pages and the most important 3 chapters from the beginning." This saves a ton of time. However, building these shortcuts is currently a nightmare for engineers. It's like trying to build a custom, high-speed train track for every single new shortcut idea you have. If you want to test a new idea, you have to rebuild the whole track from scratch, which takes weeks.

Enter Vortex.

Vortex is a new system that acts like a "Universal Train Track Builder" for these shortcuts. Here is how it works, using simple analogies:

1. The Problem: The "Paged" Library

Modern libraries don't store books in one long, continuous row. To save space, they store books in scattered, non-contiguous boxes (called Paged Attention).

  • The Old Way: If you wanted to tell a computer to "look at specific scattered boxes," you had to write complex, low-level code to find each box, grab it, and put it in order. It was like asking a robot to find specific grains of sand on a beach by digging them up one by one.
  • The Vortex Way: Vortex introduces a new way of thinking called vTensor. It gives the librarian a "magic map." You don't need to know where the boxes are physically located; you just say, "I want the top 5 most relevant boxes," and the magic map handles the messy details of finding them in the scattered storage.

2. The Language: vFlow (The "Recipe Book")

Vortex comes with a programming language called vFlow.

  • The Analogy: Imagine you are a chef. Instead of writing code to tell the computer how to chop every single carrot, you just write a recipe: "Take the carrots, chop them, and mix with the onions."
  • How it helps: Researchers (and even AI agents) can write "recipes" for new types of shortcuts (sparse attention algorithms) in a few lines of code. They don't need to be experts in the messy hardware details. They just describe what they want to do, and Vortex figures out how to do it efficiently.

3. The AI Agent: The "Autonomous Inventor"

This is the most exciting part. The paper shows that Vortex is so easy to use that AI agents (computer programs designed to act like humans) can use it to invent new shortcuts themselves.

  • The Experiment: The researchers asked AI agents to "invent 20 new ways to speed up the librarian."
  • The Result: The AI agents didn't just copy old ideas; they created brand-new, diverse recipes. One of these AI-generated shortcuts made the librarian 3.46 times faster than the standard method, without losing any accuracy in the story.
  • The Loop: The AI kept trying, failing, and tweaking its recipes over 18 hours. It eventually found a perfect balance between speed and accuracy that humans might have missed.

4. The Results: Speeding Up the Future

Vortex isn't just for small models; it works on the biggest, most complex libraries in the world.

  • The Big Models: The team tested Vortex on a massive model (MiniMax-M2.7) with 229 billion parameters, running on super-computer chips (NVIDIA B200). Even there, Vortex's shortcuts made the system 1.37 times faster.
  • New Architectures: They also used it on a new type of library design called MLA (used by models like DeepSeek and GLM). They designed a custom shortcut for it in vFlow and got a 4.7 times speedup.

Summary

Think of Vortex as a translator and a construction crew rolled into one.

  1. It translates complex, messy hardware rules into simple, readable recipes.
  2. It allows humans and AI agents to quickly invent, test, and deploy new "shortcuts" for reading long texts.
  3. It turns what used to be a months-long engineering project into a matter of hours, allowing us to find faster ways to run AI models without sacrificing their intelligence.

The paper claims that by making it easy to experiment, Vortex has already helped AI agents discover algorithms that are significantly faster than anything currently used in production, proving that we can make AI faster and more efficient without waiting for new hardware.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →