← Latest papers
💬 NLP

SpenseGPT: Practical One-shot Pruning Enabling Sparse and Dense GEMMs for LLM Inference

SpenseGPT introduces a practical one-shot pruning method that utilizes a hybrid sparse-dense weight format to achieve up to 1.2x end-to-end LLM decoding speedup on B200 GPUs while maintaining model accuracy, overcoming the limitations of strict semi-structured sparsity without requiring custom compiler support.

Original authors: Jaeseong Lee, Seung-won Hwang, Samyam Rajbhandari

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

Original authors: Jaeseong Lee, Seung-won Hwang, Samyam Rajbhandari

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 have a massive, incredibly smart library (a Large Language Model, or LLM) that helps computers write code, solve math problems, and follow instructions. To make this library run fast on modern computers, engineers have been trying to "prune" it—removing unnecessary books to make it lighter and quicker.

However, there's a catch. The fastest way to read these books on new computer chips (like NVIDIA's B200) requires a very strict rule: For every four books on a shelf, exactly two must be empty. This is called "2:4 sparsity."

The Problem: The Strict Rule

The problem with this strict rule is that it's like trying to pack a suitcase where you must leave exactly half the space empty. If you just randomly throw away half the books to fit the rule, you lose important information, and the library stops working well. The computer becomes fast, but the answers it gives become silly or wrong.

Other researchers tried to fix this by making the rules more flexible, but their solutions were like building a custom, expensive engine that only works with a specific type of fuel, or they added so much extra work (overhead) that the speed gain disappeared.

The Solution: Spense (The Hybrid Bookshelf)

The authors of this paper propose a new method called Spense. Instead of forcing the entire library to follow the strict "two empty, two full" rule, they split the shelves into two zones:

  1. The Sparse Zone: Here, they follow the strict rule (2 out of 4 books are removed). This zone gets the speed boost from the computer's special hardware.
  2. The Dense Zone: Here, they keep all the books. No books are removed. This zone preserves the most important information.

Think of it like a hybrid car. The "Sparse Zone" is the electric motor (super efficient for cruising), and the "Dense Zone" is the gas engine (powerful when you need to climb a hill). By combining them, you get the best of both worlds: speed without losing power.

The Secret Sauce: Choosing What to Keep

The tricky part is deciding which books go into the "Dense Zone" and which get thrown out. The authors found that this choice is critical. If you pick the wrong books to keep, the library still fails.

They developed two strategies to make this choice:

  • SpenseGPT (The Simple Strategy): Imagine the books are arranged in a line. This method says, "Let's keep the last 25% of the books on the shelf as they are (Dense), and prune the first 75% (Sparse)." It turns out this simple "cut at the end" approach works surprisingly well because of how the pruning math is calculated.
  • SpenseGPT+ (The Smart Strategy): This is like hiring a librarian who reads every book to see which ones are most important. It calculates a "score" for every book based on how much it contributes to the final answer. It keeps the highest-scoring books in the Dense Zone, ensuring the most critical knowledge is never lost.

The Results: Fast and Accurate

The team tested this on two very large, smart models (Qwen3-32B and Seed-OSS-36B) using the latest super-fast computer chips (B200 GPUs).

  • Speed: They achieved a 1.2x speedup in real-world usage. This means the computer can generate answers noticeably faster than before.
  • Accuracy: Unlike other methods that made the models "dumb," Spense kept the models smart. They performed just as well on difficult tasks like math reasoning, coding, and following instructions as the original, unpruned models.
  • Practicality: Crucially, this method doesn't require building new, custom computer software (compilers). It works with the standard, highly optimized tools that already exist on these chips.

Summary

In short, the paper introduces a way to make AI models faster without making them less smart. Instead of forcing the whole model to be "half-empty" (which breaks it), they created a hybrid system: part of the model is stripped down for speed, and the most important part is kept full for accuracy. This allows modern computers to run these giant AI brains faster than ever before, using tools that are already available.

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 →