AutoCompress: Shrinking models for the hardware they’ll run on, not their parameter count

AutoCompress shrinks language model layers to match real speed and memory limits, achieving higher accuracy within the same deployment budget.

AutoCompress: Automated Hardware-Guided Model Compression — arXiv:2611.08290

When will it reach products?

6–12 mo — You may see this idea in model compression and deployment tools over the next 6–12 months as an option for generating models tailored to target-device limits. For small teams, the first practical form may be using models prepared for specific devices rather than running the search themselves.

What happened?

NVIDIA developed AutoCompress, a method that shrinks language models not just according to their size, but to the speed and memory limits of the devices they will run on. By shrinking different parts of the model at different rates, the method achieves higher accuracy within defined resource limits.

Why it matters

Local coding assistants, in-game characters, and data center services handling large numbers of requests have different resource constraints. Rather than choosing the same small model for every use case, AutoCompress aims to produce a model suited to each use case’s needs. In experiments, it achieves higher average accuracy than the comparison method under the same resource limits. This approach could make it easier to provide services without upgrading hardware, but the study does not directly measure monetary savings.

Technical summary

AutoCompress applies structured pruning to large language models while directly incorporating the target hardware’s latency, throughput, and memory limits into the optimization. Differentiable architecture search jointly selects overall dimensions and per-layer expert counts and widths. Serving cost models use layer timings measured in the target engine and actual memory allocations. The selected heterogeneous architecture is extracted from the base model’s weights, and its quality is recovered through knowledge distillation.

Contribution

The central contribution is to make deployment constraints a direct target of architecture search, rather than addressing them indirectly through model size. AutoCompress jointly learns global dimensions and per-layer structure, using cost models calibrated to the target serving environment. The comparison is against hardware-adapted Minitron++ under the same resource limits and matched quality-recovery training.

arXiv