← Latest papers
💻 computer science

LEAP: Learnable End-to-End Adaptive Pruning of Large Language Models

LEAP introduces a learnable, end-to-end unstructured pruning framework for Large Language Models that overcomes the combinatorial intractability of existing pattern-based methods by employing a per-weight Bernoulli relaxation via Gumbel-Sigmoid, thereby achieving significantly higher zero-shot accuracy than layer-wise baselines while maintaining compatibility with modern accelerated kernels.

Original author: Mohammad Mozaffari, Younes Hourri, Mohammad Rastegari, Mahyar Najibi

Published 2026-05-19✓ Author reviewed ⓘ
📖 5 min read🧠 Deep dive

Original author: Mohammad Mozaffari, Younes Hourri, Mohammad Rastegari, Mahyar Najibi

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 by the author. For technical accuracy, refer to the original paper. Read full disclaimer

Modern artificial intelligence relies on massive computer programs called large language models. These systems are trained on vast amounts of text and can write, translate, and reason with surprising fluency. However, their size is also their greatest weakness. To run these models, computers need enormous amounts of memory and processing power, which makes them expensive to operate and difficult to use on standard devices. To solve this, researchers have long tried to make these models smaller by removing unnecessary parts, a process known as pruning. The goal is to keep the model's intelligence while cutting down its weight, much like a sculptor removing stone to reveal a statue.

For years, the most effective way to do this involved removing weights in specific, rigid patterns, such as removing two out of every four numbers in a row. This approach worked well with existing computer chips because the hardware could easily skip over these predictable gaps. But a more powerful method exists: removing weights completely at random, known as unstructured sparsity. This random removal preserves the model's accuracy far better than the rigid patterns, but for a long time, computer chips could not handle the irregular gaps efficiently. Recent advances in chip design and software have finally changed this, allowing computers to run these random, sparse models at high speed. The bottleneck has shifted from execution to creation: the challenge is no longer how to run these models, but how to build them without losing their intelligence.

A team of researchers has now solved the difficult math behind building these random, sparse models. They introduced a new method called LEAP, which stands for Learnable End-to-End Adaptive Pruning. Before this work, the best tools for creating these models relied on a strategy that worked well for rigid patterns but failed completely when applied to random ones. The old approach tried to learn which specific combinations of numbers to keep, but the number of possible combinations for a random pattern is so astronomically large that it is impossible to store or calculate. It is a combinatorial wall that stopped progress. The researchers realized that trying to learn the pattern as a whole was the wrong path. Instead, they decided to treat every single number in the model independently.

The new method works by assigning a tiny, adjustable probability to every single weight in the model. Imagine that each number in the model has a small switch that can be turned on or off. The researchers built a system where these switches are not fixed; they can be learned and adjusted by the computer itself. The system starts with a rough guess based on the importance of each number, then runs a short training session where it fine-tunes these switches to find the best possible configuration. During this process, the computer learns exactly which numbers to keep and which to discard to maintain the highest possible accuracy. Crucially, the researchers kept the original numbers in the model frozen, only adjusting the switches that decide whether to keep them. This ensures the model stays stable and does not lose the knowledge it gained during its initial training.

The team tested this approach on five different families of large language models, ranging from small versions with half a billion parameters to larger ones with eight billion. They applied the method to create models that were 50% and 60% smaller than the originals. The results were significant. Across all the tests, the new method produced models that were more accurate than the previous best methods. On average, the new approach improved the model's performance on six different reasoning tasks by nearly three points compared to the leading alternative. In one specific case involving a one-billion-parameter model, the improvement was even more dramatic, reaching over five points. This gap widened as the models became more compressed, showing that the new method holds up better under aggressive reduction.

The researchers also examined how the model distributed these cuts across its internal layers. They found that the system naturally settled on a nearly even distribution, removing roughly the same amount of data from every section of the model. This contrasts with other methods that might remove too much from one part and too little from another. The study confirmed that this even approach works best for the specific range of compression they targeted. The process of finding these optimal cuts takes a few hours on powerful graphics cards, which is a one-time cost. Once the cuts are decided, the resulting model is ready to run on standard hardware using the new, fast software that supports random sparsity.

This work represents a practical breakthrough in making artificial intelligence more efficient. By solving the mathematical obstacle that prevented random pruning from being learned effectively, the researchers have opened a path to running smarter, more capable models on everyday hardware. The method does not require retraining the entire model from scratch, nor does it demand exotic new hardware. It simply provides a reliable way to trim the fat from the largest digital brains, preserving their ability to think while making them light enough to travel. As these models become more accessible, they can be deployed in settings where resources are limited, from mobile devices to remote locations, without sacrificing the quality of their output.

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 →