← Latest papers
💬 NLP

AsyncTLS: Efficient Generative LLM Inference with Asynchronous Two-level Sparse Attention

AsyncTLS is a hierarchical sparse attention system that combines coarse-grained block filtering with fine-grained token selection and an asynchronous offloading engine to achieve full-attention-level accuracy while significantly improving operator speed and end-to-end throughput for long-context LLM inference.

Original authors: Yuxuan Hu, Jianchao Tan, Jiaqi Zhang, Wen Zan, Pingwei Sun, Yifan Lu, Yerui Sun, Yuchen Xie, Xunliang Cai, Jing Zhang

Published 2026-04-10
📖 4 min read☕ Coffee break read

Original authors: Yuxuan Hu, Jianchao Tan, Jiaqi Zhang, Wen Zan, Pingwei Sun, Yifan Lu, Yerui Sun, Yuchen Xie, Xunliang Cai, Jing Zhang

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 a librarian (the AI) trying to answer a question based on a library that has grown to contain millions of books (the context).

In the past, to answer a question, the librarian had to:

  1. Read every single page of every book to find the relevant sentence (this is "Full Attention"). It's accurate but takes forever.
  2. Or, pick a few random books to save time (this is "Block-Level" methods). It's fast, but you might miss the crucial sentence hidden in a book you didn't pick.
  3. Or, try to remember every single important sentence from every book (this is "Token-Level" methods). It's very accurate, but the librarian's brain (memory) gets overwhelmed, and they spend all their time just looking up where those sentences are, rather than reading them.

AsyncTLS is a new, super-smart system that solves this problem by combining the best of both worlds. Here is how it works, using simple analogies:

1. The Two-Level Search (The "Fishing Net" Strategy)

Instead of trying to find the perfect fish (the exact word) immediately, AsyncTLS uses a two-step fishing process:

  • Level 1: The Big Net (Block Filtering).
    Imagine the library is divided into large sections (like "History," "Science," "Fiction"). The librarian first throws a giant net over just the History and Science sections because the question is about those topics. They ignore the Fiction section entirely.

    • Why? This is fast. It quickly eliminates huge chunks of irrelevant data without looking at every single page.
  • Level 2: The Fine Net (Token Selection).
    Now, inside the "History" and "Science" sections, the librarian doesn't read every page. Instead, they use a magnifying glass to find the exact specific sentences that matter.

    • Why? This ensures high accuracy. They get the precise details without the cost of reading the whole library.

The Result: You get the speed of skipping whole sections, but the accuracy of finding the exact right sentence.

2. The Asynchronous Engine (The "Conveyor Belt" Trick)

The biggest problem with long libraries is that the books are too heavy to keep on the desk (GPU memory). You have to store them in a basement (CPU memory) and carry them up when needed. Carrying books back and forth is slow and wastes time.

AsyncTLS introduces a conveyor belt system:

  • The Old Way: The librarian stops reading, walks to the basement, carries up the next book, walks back, and then starts reading. (Stop and Go).
  • The AsyncTLS Way: While the librarian is reading the current book, a robot arm (the asynchronous engine) is already grabbing the next book from the basement and bringing it up.
    • By the time the librarian finishes the current page, the next book is already on the desk.
    • The Secret Sauce: The system predicts that if you needed "History" books for the last question, you will probably need "History" books for the next one too. So, it pre-loads those specific books before you even ask.

3. The "Incremental" Delivery (Only Moving What Changed)

Sometimes, the librarian needs the same books as the previous question. Why carry the whole box up again?

  • AsyncTLS only carries the new books that were added to the list. If the list of needed books didn't change much, the robot arm barely moves. This saves massive amounts of energy and time.

The Big Picture: What Did They Achieve?

The researchers tested this on some of the smartest AI models available (like Qwen and GLM).

  • Accuracy: It was just as smart as reading the entire library (Full Attention).
  • Speed: It was 1.2 to 10 times faster than the old ways.
  • Capacity: It allowed the AI to handle 96,000 words (or more) in a single conversation without running out of memory or crashing.

In summary: AsyncTLS is like a librarian who is incredibly organized. They know exactly which sections of the library to look in, they know exactly which pages to read, and they have a conveyor belt that brings the next books to them before they even ask for them. This makes the AI faster, smarter, and capable of remembering much more than ever before.

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 →