arXiv:2610.02524cs.LGOct 2026

Manuscript Offprint

arXiv:2610.02524

BaCP: Backbone Contrastive Pruning for Preserving Representations in Extremely Sparse Neural Networks

Mohammad Haroon Khawaja, Muhammad Haseeb, Mohammad Fatim Shoaib, Muhammad Tahir

Mohammad Haroon Khawaja

Lahore University of Management Sciences

Lahore, Pakistan

25100225@lums.edu.pk

Mohammad Fatim Shoaib

Lahore University of Management Sciences

Lahore, Pakistan

26100004@lums.edu.pk

Muhammad Haseeb

Lahore University of Management Sciences

Lahore, Pakistan

26100253@lums.edu.pk

Muhammad Tahir

Lahore University of Management Sciences

Lahore, Pakistan

tahir@lums.edu.pk

Abstract

Unstructured pruning at extreme sparsity often suffers from representational collapse, causing sharp drops in accuracy. To address this, we study Backbone Contrastive Pruning (BaCP), which regularizes the sparse network's embedding space by aligning it with pretrained, fine-tuned, and historical snapshot models. Building on the contrastive decomposition of the CAP framework [Xu et al., 2022], we provide a rigorous matched-budget characterization of this approach across multiple pruning criteria. Evaluated across 90 settings, BaCP improves accuracy substantially in extreme sparsity regimes where standard pruning fails, and is close to baseline where representations remain intact.

1 Introduction

While deep neural networks (DNNs) perform well across vision and language tasks, their large number of parameters makes deployment difficult on resource-constrained devices [Wang et al., 2025, Cheng et al., 2024]. Network pruning addresses this overhead by removing redundant parameters. Pruning methods are either structured, removing whole components such as channels or attention heads, or unstructured, removing individual weights and allowing much higher sparsity levels. To maximize performance, unstructured pruning is often applied gradually. A sparsity schedule increases sparsity from zero to the target over training, with retraining between pruning steps, so the network can recover as weights are removed [Zhu and Gupta, 2017, Gale et al., 2019].

While unstructured pruning works well at moderate compression, accuracy degrades sharply at extreme sparsity such as 99.9% [Li et al., 2024]. This has been attributed to representational collapse [Corti et al., 2022], since standard methods prune weights based on the network’s current state, using metrics like weight magnitudes [Han et al., 2015], weight–gradient products [Lee et al., 2019], or weight–activation products [Sun et al., 2024]. As sparsity increases, learned representations can become degraded and unstable, which makes subsequent pruning decisions less reliable.

To address this issue, we study Backbone Contrastive Pruning (BaCP), which regularizes the sparse network’s embedding space during pruning. BaCP adds supervised [Khosla et al., 2020] and self-supervised [Chen et al., 2020] contrastive terms to the task loss. These align the sparse model’s representations with three frozen references: the pretrained model, the fine-tuned model, and intermediate snapshots. This design follows CAP [Xu et al., 2022], which introduced the PrC/FiC/SnC decomposition and its combination with cross-entropy for pruning BERT-family encoders up to 97% sparsity.

Preprint.

We evaluate BaCP on five convolutional backbones, ResNet-34, ResNet-50, VGG-11, VGG-19, and MobileNetV2, across CIFAR-10 and CIFAR-100, using multiple pruning criteria (Magnitude, SNIP-it, WANDA). All criteria are applied under a single global threshold, keeping the criterion the only variable between blocks of results. The effect is large under magnitude and WANDA and near zero under SNIP-it. We test sparsity up to 99.95%, beyond the 97% ceiling reported by CAP. Every BaCP run is matched against an iterative pruning (I.P.) baseline that shares the same initialization, dense checkpoint, criterion, schedule, prunable scope, data splits, pruning epoch budget, and post-pruning fine-tune. The two arms differ in the pruning-phase learning rate and the augmentation stack, and a cross-entropy control holding both of those fixed separates their contribution from the objective's. BaCP's advantage is conditional rather than uniform. It is large where pruning has already degraded the baseline and close to zero where the baseline is intact.