← Latest papers
💬 NLP

BLASST: Dynamic BLocked Attention Sparsity via Softmax Thresholding

BLASST is a training-free, dynamic sparse attention mechanism that accelerates LLM inference across various architectures by using a fixed scalar threshold to skip negligible attention blocks, achieving up to 1.52x speedup with negligible accuracy loss.

Original authors: Jiayi Yuan, Cameron Shinn, Kai Xu, Jingze Cui, George Klimiashvili, Guangxuan Xiao, Perkz Zheng, Bo Li, Yuxin Zhou, Zhouhai Ye, Weijie You, Tian Zheng, Dominic Brown, Pengbo Wang, Markus Hoehnerbach
Published 2026-04-07
📖 5 min read🧠 Deep dive

Original authors: Jiayi Yuan, Cameron Shinn, Kai Xu, Jingze Cui, George Klimiashvili, Guangxuan Xiao, Perkz Zheng, Bo Li, Yuxin Zhou, Zhouhai Ye, Weijie You, Tian Zheng, Dominic Brown, Pengbo Wang, Markus Hoehnerbach, Richard Cai, Julien Demouth, John D. Owens, Xia Hu, Song Han, Timmy Liu, Huizi Mao

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

The Problem: The "Over-Thinker" AI

Imagine you have a brilliant assistant (a Large Language Model) who is great at writing stories or solving math problems. But there's a catch: this assistant has a terrible habit of over-thinking.

When you ask them a question, they don't just look at the important parts of your prompt. Instead, they read every single word you've ever written, compare it to every other word, and calculate how much each word relates to every other word.

  • Short conversation: This is fine. It's like reading a text message.
  • Long conversation (or a whole book): This becomes a nightmare. If you paste a 100-page novel, the assistant tries to compare every sentence to every other sentence. The number of comparisons grows so fast (quadratically) that the computer runs out of memory and gets incredibly slow. It's like trying to find a specific needle in a haystack by measuring the distance between every single piece of hay and every other piece.

The Solution: BLASST (The "Smart Filter")

The authors created a new method called BLASST (Dynamic Blocked Attention Sparsity via Softmax Thresholding). That's a mouthful, so let's call it "The Smart Filter."

Instead of the assistant reading the whole book word-for-word, BLASST gives them a simple rule: "If a part of the text seems boring or irrelevant, skip it entirely."

But here's the magic: The assistant doesn't need to be retrained to learn this rule, and it doesn't need to do a "practice run" before reading the real thing. It figures it out on the fly.

How It Works: The "Running Score" Analogy

Imagine you are a judge at a talent show, and you are watching acts one by one. You want to pick the best act, but you don't want to waste time watching the bad ones if you've already seen a superstar.

  1. The Running Max: As soon as Act #1 performs, you give them a score (say, 8/10). You keep this as your "Running Max."
  2. The Check: Act #2 comes on. Before they even finish their song, you peek at their first few notes. You realize their "peak potential" is only a 4/10.
  3. The Decision: Since 4 is way lower than your current best (8), you know Act #2 isn't going to beat the record. You stop watching them. You don't listen to the rest of the song, you don't write down their score, and you don't give them a prize. You immediately move to Act #3.

BLASST does exactly this with computer code:

  • It looks at a small "block" of text.
  • It checks the highest "excitement score" (attention score) in that block.
  • If that score is too low compared to the best score it's seen so far, it skips the whole block.
  • It saves the computer from doing the math, loading the data from memory, and writing the result.

Why Is This a Big Deal?

Previous methods tried to solve this problem, but they had major flaws:

  • The "Pre-Game" Problem: Some methods required the computer to scan the whole text before starting to figure out what to skip. This wasted time.
  • The "Schooling" Problem: Other methods required the AI to go back to school (retraining) to learn how to ignore things. This is expensive and slow.
  • The "One-Sided" Problem: Some methods only worked when the AI was reading (prefill) but not when it was writing (decode).

BLASST fixes all of these:

  1. No Pre-Game: It decides what to skip while it's reading, instantly.
  2. No Schooling: It works with any existing AI model right out of the box.
  3. Two-Way Street: It speeds up both the reading phase and the writing phase.

The "Auto-Calibration" Trick

You might ask, "How does the judge know what score is 'too low' to skip?" If the threshold is too high, they skip important stuff. If it's too low, they don't skip anything.

The authors discovered a simple mathematical relationship: The longer the text, the lower the threshold needs to be.

  • If you are reading a short email, you can be picky.
  • If you are reading a 100-page novel, the "average" excitement of words is lower, so you have to lower your bar to skip the boring parts.

They built an automatic calibration tool that sets this threshold perfectly for any length of text, so you don't have to guess.

The Results: Speed vs. Quality

The paper tested this on modern supercomputers (NVIDIA Blackwell and Hopper GPUs).

  • Speed: They achieved a 1.5x speedup. This means the AI finishes tasks 50% faster.
  • Quality: The AI got rid of about 70% of the work (skipped 70% of the text blocks), but the answers were almost exactly the same as if it had read everything. In some cases, by ignoring the "noise" (irrelevant words), the AI actually gave better answers!

Summary

BLASST is like giving a super-intelligent but slow reader a pair of "smart glasses." These glasses let them glance at a page, realize a paragraph is boring, and instantly skip over it without losing the main point.

It makes reading massive documents (like entire codebases or legal contracts) fast and cheap, without needing to rebuild the AI or slow it down with extra calculations. It's a "drop-in" upgrade that makes long-context AI actually usable in the real world.

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 →