Source-linked AI summary

Squeeze-Release: Iterative Pruning with Exact Structural Minimization

Roman Denkin, Ida Akerholm, Prashant Singh, Ida-Maria Sintorn

arXiv:2606.14346v1cs.LGcs.AI

TL;DR

Unstructured pruning can leave deployed tensor shapes unchanged, so sparse models remain larger than their useful parameters. Squeeze-Release alternates exact structural minimization with release and fine-tuning, reaching a 14.8× deployable-size reduction on ConvNeXt-Tiny at matched accuracy.

  • Problem

    Unstructured pruning leaves zero weights inside unchanged-shaped tensors, so deployable models retain storage and computation that those weights do not use.

  • Method

    Squeeze-Release iterates pruning, exact structural minimization, calibrated release of internal zeros, and fine-tuning, with CompensatedLayerNorm extending minimization across LayerNorm streams.

  • Results

    14.8× reduction in ConvNeXt-Tiny deployable size is achieved by Squeeze-Release at matched accuracy, versus 2.78× under post-hoc minimization.

  • Takeaways & Limitations

    Iterating prune, squeeze, release, and fine-tune reaches smaller final architectures than a single prune-and-minimize pass.

  • Takeaways & Limitations

    The transformer result is only a single-seed post-hoc minimization proof of concept without the iterated Squeeze-Release loop.

Abstract

from arXiv · show

Unstructured pruning produces sparse weight tensors, but the standard implementation keeps tensor shapes unchanged so the deployed model is no smaller than before pruning. We present an exact structural rewrite, which we call minimization, that converts a masked network into a smaller dense network with the same forward function up to floating-point rounding. The Squeeze-Release cycle iterates pruning and minimization with an intermediate release step that re-enables the exact-zero positions inside the compacted tensors as small calibrated noise, turning otherwise wasted capacity back into trainable parameters. Successive cycles use that capacity to find structural redundancy a single pass cannot reach. We additionally introduce CompensatedLayerNorm, a function-preserving replacement for LayerNorm that extends minimization to channel reduction across LayerNorm-equipped residual streams. Squeeze-Release compresses the deployable network to 39x smaller than the unpruned model on a fully-connected model network and 14.8x smaller on modern CNN (ConvNeXt-Tiny), at comparable accuracy. In addition we prove that the rewrite can be extended to transformer architectures.

1. Introduction

The paper targets the gap between unstructured sparsity and deployable model size by introducing minimization, an exact structural rewrite that produces smaller dense networks. It then proposes Squeeze-Release, which iteratively reuses capacity left inside compacted tensors to achieve further structural compression.

  • Motivation: Unstructured pruning leaves tensor shapes unchanged, so mask-alive parameter counts overstate deployable savings and often yield small commodity-GPU speedups.Deployable size is the smallest dense network preserving the same forward function and determines memory, latency, and runtime cost on standard hardware.
  • Minimization: The paper focuses on structural rewriting and defines minimization as an exact conversion from a sparsely masked network into a smaller dense network with the same forward function.This separates the problem of removing parameters structurally from importance scoring, pruning schedules, and fine-tuning protocols.
  • Motivation: Only whole-channel or whole-neuron zero patterns can be structurally removed, leaving other zeros stored and processed inside kept dense tensors as wasted deployable capacity.Individual weight pruning therefore does not eliminate every zero from the deployed computation.
  • Squeeze-Release: Squeeze-Release cycles pruning, minimization, calibrated noise release, and fine-tuning to pursue smaller deployable networks than a single pruning-and-minimization pass.Release replaces previously disabled positions in squeezed tensors with small random values calibrated to surviving layer statistics, restoring them as trainable capacity.

2. Related Work

Related work spans importance-based, structured, and iterative pruning, while highlighting deployment gaps for unstructured sparsity. Function-preserving architectural shrinking remains less developed, particularly for LayerNorm-equipped residual streams.

  • Classical pruning ranked removable weights using second-derivative information, while modern approaches revived magnitude-based ranking and lottery-ticket analyses.
  • Structured pruning removes whole channels or filters for easier deployment, but unstructured pruning generally offers higher accuracy at matched compression levels.
  • Arbitrary-pattern sparse kernels rarely match dense commodity-GPU throughput, so pruning ratios alone do not guarantee deployment-time gains.
  • Gradual pruning, dense retraining, and iterative slimming recover pruning damage or narrow models across passes, but fixed-shape methods retain the original network dimensions.
  • LayerNorm-equipped residual streams are difficult to narrow because channel removal changes per-token normalization statistics; existing methods often avoid residual-width pruning or rely on long fine-tuning.
  • Function-preserving transformations have mainly focused on growing networks, leaving architectural shrinking as a less-developed direction.

3. Method

The method alternates iterative pruning with exact structural minimization, converting masked networks into smaller dense networks while preserving their forward function up to floating-point rounding. It supports layer-specific pruning units and specialized rewrites for pointwise convolutions, depthwise convolutions, residual blocks, and LayerNorm-equipped streams.

  • 3.1 Iterative pruning: Pruning ranks parameters with |∇θL·θ|, removes the lowest-scoring units toward a scheduled sparsity target, and interleaves fine-tuning between pruning steps.The score is computed on the last training-data batch before pruning, while pruning can roll back when validation accuracy violates the stated threshold.
  • 3.2 Structural minimization: Minimization removes structurally redundant rows, columns, and filters, producing a smaller dense deployable network without mask buffers.The resulting forward function is preserved up to floating-point rounding, and the minimal parameter count reflects the actual dense artifact rather than only mask-alive weights.
  • 3.2.1 Linear-layer rewrites: Dead-incoming units fold their constant consumer contribution into the next bias before dropping the preceding row and following column; dead-outgoing units are removed when the consumer reads nothing.Cascading folded constants are handled through successive layer rewrites, preserving the forward function because the consumer is linear in its inputs.
  • 3.2.2 ConvNeXt minimization: For ConvNeXt pointwise layers, scalar weights enable reduction of the 4C intermediate, while depthwise convolutions are minimized at whole-filter granularity.The 4C mode directly applies the fully connected rewrite across GELU; depthwise layers use the corresponding dead-incoming and dead-outgoing analysis on filters.
  • 3.2.2 ConvNeXt minimization: LayerNorm requires a separate channel-reduction treatment because its mean and variance are computed across channels, unlike BatchNorm’s channel-independent normalization.A third ConvNeXt mode removes an all-zero depthwise block by folding its fixed per-channel residual addition into an upstream bias.

4. Experiments

Experiments evaluate Squeeze-Release on fully-connected MNIST and ConvNeXt-Tiny CIFAR-10 models, with post-hoc minimization additionally tested on a pruned ViT-Tiny ImageNet-1k checkpoint. Runs compare Squeeze-Release against a No-minimize baseline and report accuracy, deployable parameter count, mask-alive count, and completed cycles.

  • Evaluation settings: Squeeze-Release is evaluated on a fully-connected MNIST network and ConvNeXt-Tiny on CIFAR-10, with transformer extension tested on pruned ViT-Tiny on ImageNet-1k.The ViT experiment is a separate post-hoc minimization proof of concept.
  • Baselines and protocol: The No-minimize baseline accumulates zeros under a single registered mask, while deployable size is measured after one post-hoc structural rewrite without additional training.Termination follows the cycle protocol, with validation-accuracy thresholds specified per setting.
  • Fully-connected MNIST: 193,226 parameters define the fully-connected model, including 191,104 prunable linear weights, with a 98.24% pre-training accuracy baseline.The network widths are [784, 128, 256, 128, 128, 64, 10], and experiments use five seeds per configuration.
  • CNN and transformer settings: 27,827,818 parameters define the ConvNeXt-Tiny starting checkpoint, while the ViT-Tiny checkpoint contains 22,050,664 parameters across 12 blocks.ConvNeXt-Tiny uses CIFAR-10 fine-tuning; ViT-Tiny uses ImageNet-1k pretraining and a 40% random training subset per epoch.
  • Reported metrics: Each run reports final test accuracy, deployable parameter count, last-cycle mask-alive count ∥m∥0, and completed cycles.The cycle terminates when network size no longer decreases or the maximum cycle limit is reached.

5. Results

Squeeze-Release substantially reduces deployable model size beyond post-hoc structural minimization on FC and ConvNeXt-Tiny while preserving accuracy or forward-function equivalence within floating-point precision. CompensatedLayerNorm enables additional residual-stream reduction, and a proof-of-concept extends minimization to transformers.

  • FC results: 39.2× smaller than the no-minimize baseline, Squeeze-Release reduces the FC model to 4,878 parameters versus 18,126 after post-hoc minimization.The post-hoc rewrite provides a 10.5× reduction from 191,104 parameters, while Squeeze-Release requires approximately 2.8× as many cycles as the baseline.
  • FC results: 4,878 versus 3,354 mask-alive entries, Squeeze-Release ends with more surviving mask entries but a smaller deployable network because the counts coincide after release.The No-minimize deployable network is more than 5× larger than its mask-alive count.
  • ConvNeXt-Tiny results: 14.8× smaller than the full pre-trained model, Squeeze-Release Mode AB reaches 1.88M ConvNeXt-Tiny parameters at 90.27% test accuracy versus 90.81% for the baseline.Post-hoc minimization reaches 10.0M parameters, while Mode A reaches 2.45M parameters and is less aggressive on size.
  • ConvNeXt-Tiny results: 1.3× additional shrinkage, CompensatedLayerNorm-based residual-stream reduction provides this improvement beyond Stage A in Mode AB.This difference empirically supports the LayerNorm rewrite.
  • Exactness and transformer extension: 1.06×10−6 maximum absolute logit difference, ConvNeXt minimization reproduces the original forward function within floating-point precision across all calls.A transformer proof-of-concept also extends minimization and exhibits the same mask-versus-deployable metric pathology.

6. Discussion

The discussion explains how release converts zeros left by structural minimization into trainable capacity, while comparing practical entry points and acknowledging iteration cost and limited transformer evidence. Mode A+C already reduces ConvNeXt-Tiny deployment size relative to the No-minimize baseline, whereas transformer results remain a single-seed post-hoc proof of concept.

  • Wasted capacity: 5.4× on FC, 11.3× on ConvNeXt, and 5.0× on ViT separate mask-alive counts from deployable parameters in No-minimize mode.These gaps are zeros left inside compacted dense tensors after structural rewriting, yet still read, multiplied, and accumulated during every forward pass.
  • Release mechanism: The release step samples exact-zero positions with calibrated small noise and trains them into useful parameters before the next pruning cycle.This lets computation redistribute across previously wasted positions and tends to expose further structural redundancy.
  • Practical entry points: 4.1× reduction on ConvNeXt-Tiny with Mode A+C reaches 91.14% test accuracy versus 90.81% for the No-minimize baseline.Mode A+C retains the original layer types and block structure while reducing inner widths and occasionally removing full blocks.
  • Cost: 4.5× on FC/MNIST and > 30× on ConvNeXt-Tiny describe the wall-clock iteration cost relative to a single-pass baseline.The higher ConvNeXt-Tiny cost reflects a hard limit on the number of cycles, so the method is not presented as free.
  • Transformer scope: The transformer result is a post-hoc minimization proof of concept on a single seed without the iterated Squeeze-Release loop.Its deployable-size reduction supports applying the approach to transformer-based and other transformer-like networks, but does not demonstrate the full iterative loop.

7. Conclusion

The paper concludes that exact minimization converts unstructured-pruned networks into smaller dense deployable models, while CompensatedLayerNorm extends this rewrite to LayerNorm-equipped architectures. Iterative prune–squeeze–release–fine-tune cycles exploit reclaimed capacity to reach smaller architectures than a single pass.

  • Conclusion: Exact minimization converts any unstructured-pruned network into a smaller dense deployable model.CompensatedLayerNorm extends the rewrite to LayerNorm-equipped architectures.
  • Conclusion: Post-minimization size alongside mask-alive count provides a fairer comparison basis because it reflects the deployed model.
  • Conclusion: Iterating prune, squeeze, release, and fine-tune reaches smaller final architectures than a single prune-and-minimize pass.Release reclaims capacity in zero positions of compacted tensors, enabling later cycles to find new structural redundancy.
Loading 2606.14346v1…