# Unifying Sparsity and Discreteness: One-Shot Pruning for Quantized LLMs via Discrete Optimization

*Haozhen Zhang, Hanyuan Zheng, Teng Hou, Zhaogeng Liu, Yi Chang, Bin Gu*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/151050) · [OpenReview](https://openreview.net/forum?id=dMShldodM4) · [Open on the map](../papers.html#p151050)

Category: [Efficient LLM Inference & Training](../pcat/14.md) › [Quantized Model Compression](../pgroup/360.md) · Type: new method · Keywords: sparse quantization, one-shot pruning, LLM optimization, discrete optimization, edge inference

## Summary
QOP unifies sparsity and discreteness by directly optimizing quantized LLM weights under sparsity and discreteness constraints, achieving better accuracy and perplexity than separate pruning and quantization.

## Explained to a 5-year-old
We want to make big computer programs that answer questions smaller so they can run on small devices like phones. Usually we cut out parts of the program (pruning) and make numbers smaller (quantization). Doing both at once is hard because the math doesn't work nicely together. The paper finds a new way to cut and shrink the program together, using a special math trick, so the program stays accurate and works better. This helps small devices run smarter programs without using a lot of energy.

## Explained to a 5-year-old, longer
Big computer programs that answer questions are called large language models. They are very useful but need a lot of computer power and memory. To use them on small devices like phones, we need to make them smaller. One way is to remove parts of the program that are not important, which is called pruning. Another way is to make the numbers used inside the program simpler, which is called quantization. When we try to do both pruning and quantization at the same time, the math gets tricky because the numbers become very discrete. This makes the usual methods not work well together, so we end up doing them separately and getting worse results. The paper comes up with a new idea that handles both pruning and quantization together in one step. It uses a special mathematical method that can work with both the need to keep the program sparse and the need for numbers to stay discrete. This way the program keeps its accuracy while being much smaller. The new method also has a proof that it will converge to a good solution. In experiments, the new method beats older methods on many different models and settings, giving better accuracy and smoother text generation.

## For a technical reader
The paper addresses the challenge of making large language models efficient enough for edge devices by simultaneously pruning unimportant weights and quantizing the remaining weights. Existing one-shot pruning methods assume continuous weights, which breaks when quantization introduces discrete values, leading to suboptimal performance. The authors introduce QOP, a unified optimization framework that extends the alternating direction method of multipliers to handle both sparsity and discreteness constraints in a single step. QOP directly optimizes quantized weights while learning which weights to keep, and provides theoretical guarantees of convergence to a stationary point. Experiments across multiple LLMs and quantization settings show that QOP consistently improves accuracy and perplexity compared to separate pruning-quantization pipelines.

## Problem
Integrating one-shot pruning with quantization is challenging because quantization introduces discreteness that breaks the continuity assumptions of pruning methods, leading to suboptimal decoupled pipelines.

## Method
The approach generalizes the alternating direction method of multipliers to sparse-constrained discrete optimization, optimizing quantized weights while enforcing sparsity and discreteness constraints.

## Results
The approach achieves higher average accuracy and lower perplexity compared to existing baselines across LLMs, sparsity levels, and quantization settings.

## Contributions
It proposes a unified optimization framework that jointly handles sparsity and discreteness for quantized LLMs, provides convergence guarantees, and demonstrates superior performance across multiple models and settings.

## Practical relevance
Enables more efficient LLM deployment on resource-constrained edge devices while maintaining performance.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/151050)
