Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

AutoCompress: Automated Hardware-Guided Model Compression

AutoCompress searches for model sizes that meet real hardware latency and memory limits

  • Problem Pruning targets parameter counts, but parameter count does not predict latency, throughput, or GPU memory. Practitioners must hand-pick model sizes to meet those limits, because those costs depend on architecture and serving engine.
  • Method AutoCompress uses a differentiable search over global and per-layer structure, unlike Minitron's uniform layer widths. It prices each candidate with cost models measured in the target serving engine, and it trains the router with a penalty for exceeding each cap.
  • Results On RTX 5070, AutoCompress scored 26.67 Avg8, compared to 20.10 for Minitron++.

Figure 2: | AutoCompress overview.Given a base model and deployment constraints,AutoCompress
automatically selects, prunes, and distills an architecture for on…

Figure 2 | AutoCompress overview.Given a base model and deployment constraints,AutoCompress automatically selects, prunes, and distills an architecture for on-device gaming, local coding, or datacenter serving. The compressed models meet their latency, memory, or throughput targets, measured on real GPUs.

Original paper · CC BY 4.0 · Sheldon Liang, Ali Taghibakhshi, Saurav Muralidharan, Sharath Turuvekere Sreenivas, Ashwath Aithal, Pavlo Molchanov, Nima Tajbakhsh · AutoCompress: Automated Hardware-Guided Model Compression · Original paper figure · Extracted the figure area from page 2 of the original PDF.

Why parameter counts mislead deployment

Parameter count is a weak stand-in for serving cost, so a parameter budget can miss a latency or memory target. On an H100, two architectures meet the same throughput, yet one has 2.2× the parameters of the other. Practitioners therefore have to turn latency, throughput and memory limits into a size target by hand. Memory estimates built only from model weights and the KV cache also miss execution workspaces and runtime buffers, so they undercount the real footprint.

Figure 1: | Parameter count is a poor proxy for serving cost.(a) Two model architectures with
the same parameter count (3.61B total, 1.26B active); the narrow,…

Figure 1 | Parameter count is a poor proxy for serving cost.(a) Two model architectures with the same parameter count (3.61B total, 1.26B active); the narrow, deep one has 35% higher latency on an RTX 5070. (b) Two model architectures that meet the same throughput on an H100; one has 2.2× the parameters of the other.

Original paper · CC BY 4.0

The search space adds a second limit, because Minitron restricts layers to uniform dimensions. The authors therefore want a search that covers global dimensions and per-layer structure together. They also want each candidate priced with cost models measured within the target serving environment.

The key idea: a budget-aware router over shared weights

The search turns deployment limits into a choice among architectures by letting a router learn logits over candidate values for each axis. Hidden size and Mamba head count are global, while expert counts and routed and shared FFN widths are chosen per layer. Removing a layer is one of the candidate choices, so layer removal sits in the same search space as width pruning.

Zero routed width gives a dense MLP when the shared width is positive, and zeroing both widths removes the layer.

Before search, the parent's components are ranked by activation-based importance and permuted so the strongest come first. This ordering covers residual channels, Mamba heads, experts, and routed and shared FFN channels. The choices must stay differentiable, so AutoCompress samples them with Gumbel-softmax. Equation 1 gives the sampled weight y_c as exp((κ_t z_c + g_c)/τ_t) normalized over all choices on the axis.

The logit scale κ_t sets how strongly learned preferences count against the noise. The temperature τ_t sets how close the relaxed choices get to one-hot selections. Raising κ_t and lowering τ_t sharpens the soft architecture toward discrete choices during search. Each sampled choice becomes a mask over the importance-sorted components, and a component's mask is the sum of y_c over choices that keep it.

For widths 64 and 128, the first 64 channels get weight one, and the remaining channels get y_128. These masks let gradients update the architecture choices while the shared weights keep adapting.

The router is trained against the frozen parent's logits and a budget penalty, and its loss is written as L_KD plus a weighted sum over resources. For each constrained resource, ρ_r is the predicted cost from the soft architecture divided by its budget, so a latency cap T_max gives ρ_T = T̂/T_max. The penalty stays at zero between 98% and 100% of each cap, which pushes against violations and also rewards capacity below that band.

Pricing candidates with layer timings

Profiling every full architecture is impractical because the joint choices of global and per-layer structure make the space too large. Instead, the authors time individual layer configurations inside the target serving engine and add their runtimes. The latency of a candidate is then estimated with the following sum. \[ \hat{T}(a|\mathcal{D}) = T_0(d|\mathcal{D}) + \sum_{\ell=1}^{L} t_\ell(a_\ell; d|\mathcal{D}) \] Here \(d\) is the global hidden size, \(L\) is the parent's layer count, and \(a_\ell\) is the configuration at layer \(\ell\).

The measured \(t_\ell\) is zero for a removed layer, and \(T_0\) covers embedding, the LM head, sampling and engine overhead.

Each profiling run serves a short model with about ten layer configurations, all initialized with dummy weights. One run therefore fills several rows of the timing table, which keeps profiling cheap. The authors check these additive estimates on complete architectures that were not used to build the table.

Memory is estimated with four terms and an allowance. \[ \hat{M}(a|\mathcal{D}) = W + C + P + R + \epsilon_{\mathcal{D}} \] Here \(W\) is weight memory from tensor shapes and deployed data types, \(C\) is the request cache holding attention KV and Mamba states, \(P\) is the prefill workspace, and \(R\) is runtime buffers. The allowance \(\epsilon_{\mathcal{D}}\) is the largest residual between measured memory and \(W + C + P + R\) across calibration server starts, so unmodeled CUDA and graph allocations are absorbed empirically.

Balancing budgets against distillation

The search loss adds a resource penalty to a logit distillation term, so budget control and model quality are optimized together. The distillation term is the forward KL divergence from the parent's token distribution to the sampled supernet's distribution. For a latency cap T_max, this ratio is the predicted latency divided by T_max, so the penalty compares predicted cost with the cap.

A throughput requirement works differently, because at a fixed workload it becomes an upper bound on serving time.

The penalty uses δ = 0.02, so it stays at zero between 98% and 100% of each cap. Above that band the penalty pushes the search away from budget violations, and below it the penalty rewards extra capacity. The coefficient α sets how strongly the resource terms compete with distillation, and the authors set it to 0.3 in an H100 sweep.

Predicted costs come from the timing and memory models, so the penalty depends on the layer timings built earlier. The latency estimate sums a constant T_0 with per-layer runtimes, which gives the ρ values the penalty sees. The authors measure the search budgets against real hardware, and the selected architectures meet them.

After search, AutoCompress keeps the highest-logit choice of each router gate and checks it with the cost models. The selected model is rebuilt from the importance-sorted parent weights instead of the trained supernet weights. Recovery then runs logit distillation from that starting point, so the final model keeps the parent's retained weights.

Three deployment targets and a matched baseline

The on-device NPC scenario compresses Nemotron Nano 3 Elastic 12B for an RTX 5070 under a 4GiB memory cap and a 750ms latency target. Its workload is 2,048 input and 256 output tokens at batch size 1, taken as an upper bound on NPC dialogue sample lengths. The 8GiB left over stands in for an entry-level gaming GPU that keeps rendering running alongside the model.

The local coding scenario compresses Nemotron 3.5 Lightning for an RTX 5080, using a 262,144-token cache, 16,384 input and 1,024 output tokens. The latency target there is 11.5s, the mean step time in the TraceLab dataset traces. The memory target is 13.96GiB, the default vLLM limit on that GPU.

Table 1: |Deployment settings

Table 1 |Deployment settings.

Original paper · CC BY 4.0

The datacenter scenario reuses the Lightning parent on an 8×H100 node with 8,192 input and 65,536 output tokens per request. After sweeping parallelism layouts and batch size, the authors chose TP1×DP8 at batch size 128 per GPU. The throughput target is 7,330 output tokens per second per GPU, a 50% increase over the parent. Minitron++ is the authors' adaptation of Minitron that uses the same serving-cost models, the same importance-sorted parent and the same budgets.

It uses uniform per-layer dimensions and keeps all layers, so it doesn't search heterogeneous architectures. Its candidates stay within a 5% band below each cap, and each gets 100 distillation iterations. AutoCompress uses a 2% band instead, because only one maximal RTX 5080 candidate passes that filter.

Schedule that sharpens the search

The router's search runs for 250 steps, and the schedule moves it from soft choices toward firm ones. The logit scale in Eq. 1 rises linearly from 1 to 10 over those steps. The temperature falls geometrically from 1.0 to 0.05, so the relaxed choices approach one-hot selections. Increasing the logit scale and decreasing the temperature sharpen the soft architecture toward discrete choices.

About 0.4% of samples use hard one-hot choices during this sampling.

The router doesn't stop at a fixed step count, because extraction waits until each gate settles. Extraction then takes the highest-logit choice from each router gate and evaluates the discrete architecture with the cost models.

Each batch contains 2048 sequences of 8192 tokens, split equally among 32 sampled configurations. Students are sliced from the importance-sorted parent and trained only on the parent's output logits. AutoCompress and the baseline receive the same data, batch size and learning-rate schedule for each target. Benchmarks run in reasoning mode with temperature 1.0 and top-p 1.0.

Pass@1 is averaged over sampled responses, with 16 for AIME25 and eight for GPQA-Diamond.

Accuracy under matched budgets

On RTX 5070, AutoCompress scored 26.67 Avg8, compared to 20.10 for Minitron++. Both students were trained on 30B KD tokens, so the gap doesn't come from a larger recovery budget. Avg8 averages eight benchmarks, covering reasoning, coding, knowledge, and instruction following. That is a gain of 2.35 points under the same 10B KD tokens. The gain is largest on the tight RTX 5070 target and smallest on the H100 throughput target.

Table 3: | Accuracy and architecture-selection tokens under matched deployment budgets.Search
tokens count architecture selection; KD tokens count recovery tra…

Table 3 | Accuracy and architecture-selection tokens under matched deployment budgets.Search tokens count architecture selection; KD tokens count recovery training. KD loss is averaged over the final 25 iterations on matched batches. Benchmark scores are final-checkpoint pass@1 (%), with prompt-level strict accuracy for IFEval and IFBench. Evaluation follows §4.6; Avg8 averages the eight benchmarks.

Original paper · CC BY 4.0

AutoCompress also reached a lower final KD loss on every target, measured as 0.1909 against 0.2366 on RTX 5070. The loss reductions were 19.3%, 4.3%, and 0.6% for RTX 5070, RTX 5080, and H100. Lower distillation loss tracks the Avg8 gains, so the search picks architectures that recover more quality.

The RTX 5070 student stays under the 750ms latency target and the 4.0GiB memory target. On hardware, the RTX 5070 student ran at 739.7ms and 3.93GiB. The RTX 5080 student ran at 11.1s and 13.61GiB on hardware. Figure 5 shows that every selected architecture satisfies its deployment budget when measured on real hardware.

Search cost compared with Minitron++

Minitron++ spends more architecture-selection tokens than AutoCompress, at about 2.0× on RTX 5070, 3.0× on RTX 5080 and 3.3× on H100. On RTX 5070, AutoCompress uses 4.18B search tokens, while Minitron++ uses 8.49B. On RTX 5080 the counts are 2.85B for AutoCompress and 8.57B for Minitron++, and on H100 they are 3.00B and 9.98B.

Minitron++ evaluates each candidate with 100 distillation iterations, which is about 1.7B tokens. The candidate pool holds 6, 11, and 95 architectures for RTX 5070, RTX 5080, and H100. For H100 the baseline ranks all 95 candidates by loss first, then trains only the top five.

AutoCompress doesn't train candidates one by one, because the router and the supernet train together. The router learns from distillation from the frozen parent plus resource penalties, so each step scores the whole soft architecture. The router trains for 250 steps, with its logit scale rising from 1 to 10 and its temperature falling from 1.0 to 0.05.

The search stops once each gate gives its leading choice at least 0.95 probability.

The token count covers only architecture selection, so recovery training is a separate cost. Both RTX 5070 students receive 30B KD tokens, and both RTX 5080 and H100 students receive 10B.

Router initialization and expert masking

Random router-output initialization creates an initial bias over the architecture choices, and the search can lock onto it early. The authors therefore set the router's output layer to zero and removed router warmup, while keeping warmup for the model weights. The comparison runs two RTX 5080 searches and plots the distillation loss of the architectures they select over distillation iterations.

Figure 7: | Router initialization and warmup.Distillation loss of architectures selected by two RTX 5080
searches. Zero router-output initialization without ro…

Figure 7 | Router initialization and warmup.Distillation loss of architectures selected by two RTX 5080 searches. Zero router-output initialization without router warmup yields 10.9% lower loss than random initialization with warmup.

Original paper · CC BY 4.0

Expert masking is the second search-time choice the authors examined, and it decides how MoE routed experts receive gradient. A direct extension of channel masking applies the soft mask to expert routing scores before top-k selection. Output masking instead applies the soft mask after expert selection, so these experts stay accessible during search.

Figure 8 compares the two methods in expert token share, router KD gradient norm and architecture quality.

Compressing Nemotron 3.5 Super for one B200

The parent's estimated serving footprint is approximately 280GB, which exceeds the device's 180GB capacity. The router keeps the parent's backbone layers instead of removing any of them.

Figure 6: | Compression at scale.(a) The Super 3.5 parent’s estimated BF16 serving footprint of
approximately 280GB exceeds the B200’s 180GB capacity; theAutoC…

Figure 6 | Compression at scale.(a) The Super 3.5 parent’s estimated BF16 serving footprint of approximately 280GB exceeds the B200’s 180GB capacity; theAutoCompressmodel supports a maximum batch size of 16 at 131,072-token context, with measured serving memory of 178GB. (b) Mean benchmark score versus serving memory; the arrow connects the parent to theAutoCompressmodel, and the red dashed line marks the 180GB memory limit. The mean includes 9 benchmarks and the breakdown is available in Appendix D.

Original paper · CC BY 4.0

The resulting model has about 74B parameters, down from 120B, a 38.3% reduction. At a maximum batch size of 16, the model supports a 131,072-token context and uses 178GB of GPU memory measured on the device. Architecture search converges within 4B tokens, which is in a similar range to the smaller-scale runs in Table 3. Search and recovery ran on 32 GB200 nodes (128 GPUs) for approximately 64 hours.

The parent scores 57.58 on the same mean, so the compressed model is 2.85 points lower. The compressed model also scores 9.30 points above the 45.44 mean of Nemotron 3 Super, a 120B-parameter reference model. The mean covers nine metrics, and the per-benchmark breakdown is in Appendix D.

Limits of the cost model and the scope tested

The latency estimate adds per-layer timings, so it can lose accuracy when architectural changes shift kernel selection, cache behavior, and overhead. AutoCompress profiles a short model with about ten layer configurations, then sums the matching table entries and adds T0. The authors validate these estimates on complete architectures that were excluded from timing-table construction, not on every candidate the search visits.

Memory estimates rest on W + C + P + R, and the allowance epsilon is set from the largest residual across calibration server starts. Because that allowance comes from calibration runs, memory predictions are only as good as the residuals those runs happened to capture.

The search fixes depth, so only Mamba and MoE layers may be removed. The Minitron++ baseline keeps a 5% band, while AutoCompress uses a 2% band. On H100, Minitron++ ranks all 95 candidates by loss and screens only the top five. The 120B case study has no matched baseline, because the authors did not run Minitron++ at that scale. Its 2.85-point drop is therefore not set against a deployment-adapted pruning method.

Paper info

Authors
Sheldon Liang, Ali Taghibakhshi, Saurav Muralidharan, Sharath Turuvekere Sreenivas, Ashwath Aithal, Pavlo Molchanov, Nima Tajbakhsh
Venue
arXiv · Preprint
First published
2026-11-5
Added
2026-11-7
Updated
2026-11-5
Version
v1
arXiv
2611.08290
Category
cs.LG · cs.AI
Original paper terms
CC BY 4.0
What we show
Paper info, commentary and permitted figures from the original paper

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Abstract

LLM pruning must preserve quality while meeting hardware- and workload-specific constraints on latency, throughput, and memory. Existing pruning workflows often target parameter counts, requiring practitioners to manually select model sizes that meet latency, throughput, and GPU memory limits. However, parameter count alone does not predict these metrics, which depend on the model architecture, workload, hardware, and serving engine. We introduce AutoCompress, a hardware-guided compression framework that directly incorporates such constraints into differentiable architecture search. AutoCompress jointly optimizes global and per-layer structure to produce heterogeneous architectures, guided by serving-engine cost models validated against end-to-end latency, throughput, and memory measurements. We evaluate AutoCompress on long-context local coding, batched datacenter serving, and latency-sensitive in-game interaction. Compared to the state-of-the-art Minitron pruning framework, AutoCompress improves average accuracy across eight benchmarks by 6.57, 2.35, and 0.57 percentage points on RTX 5070, RTX 5080, and H100, respectively. AutoCompress also compresses Nemotron 3.5 Super from 120B to 74B parameters for single-B200 BF16 serving at 128K context, retaining 95% of its mean benchmark score.

Quote from the paper

Sheldon Liang, Ali Taghibakhshi, Saurav Muralidharan, Sharath Turuvekere Sreenivas, Ashwath Aithal, Pavlo Molchanov, Nima Tajbakhsh (2026). AutoCompress: Automated Hardware-Guided Model Compression. arXiv:2611.08290v1. https://arxiv.org/abs/2611.08290v1

BibTeX
@misc{liang2026autocompress,
  title = {{AutoCompress: Automated Hardware-Guided Model Compression}},
  author = {Sheldon Liang and Ali Taghibakhshi and Saurav Muralidharan and Sharath Turuvekere Sreenivas and Ashwath Aithal and Pavlo Molchanov and Nima Tajbakhsh},
  year = {2026},
  eprint = {2611.08290},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.08290v1}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up