Neural Architecture Search (NAS) has achieved state-of-the-art performance across diverse tasks, but its high computational cost remains a major barrier. We introduce PruneNAS, a novel framework that integrates structured pruning into NAS to efficiently explore high-performing architectures while leveraging pretrained models. Unlike conventional NAS methods that train each candidate from scratch, PruneNAS generates a candidate pool by pruning pretrained networks at multiple granularity levels and formulates the selection as a global optimization problem using training-free importance metrics. This approach enables rapid evaluation of candidate architectures under strict resource constraints, dramatically reducing search time from hundreds of GPU hours to mere minutes. Experiments on standard benchmarks demonstrate that PruneNAS discovers compact, high-accuracy architectures that nearly halve the computational cost (MACs) of prior methods on ResNet-50, while also showing strong generalization on object detection tasks with YOLO. Our method bridges structured pruning and NAS, offering a practical solution for resource-constrained model deployment.
Figures & tables
Method
Training-Free
Combinatorial
Pre-Search
Approx. GPU Hours
Search
Prep
Search
Product
Mechanism
OFA [ Cai et al.(2019)Cai, Gan, Wang, Zhang, and Han ]
✗
✓
Massive supernet
∼ 1,200
Evolutionary
AutoSlim [ Yu and Huang(2020) ]
✗
✗
Slimmable Net
> 300
Greedy
MetaPruning [ Liu et al.(2019b) ]
✗
✓
PruningNet
> 200
Evolutionary
DepGraph [ Fang et al.(2023)Fang, Ma, Song, Mi, and Wang ]
✓
✗
None (Standard Pruning)
NA
Heuristic
PruneNAS (Ours)
✓
✓
Lookup tables
minutes
ILP
Table 1: Comparison of state-of-the-art methods on ResNet50/MobileNet and ImageNet.
Figure 1: The PruneNAS pipeline. (Left) A dense pretrained model is parsed into structurally coupled channel groups. (Center) A local search space is tabulated using zero-cost proxies to estimate resource reductions ( ΔR ) and importance tradeoffs ( ΔS ). (Right) An ILP solver selects the globally optimal configuration under target resource budgets, producing a pruned architecture ready for fine-tuning.
Figure 2: Independent groups in a sample model based on common number of input and output channels
ΔRg,k=R0−Rg,k,ΔSg,k=S0−Sg,k
Algorithm 1 PruneNAS: Group-wise Candidate Generation and Search
Arch.
Method
Base
Pruned
Δ Acc.
MACs (G)
Params (M)
ResNet-50
Baseline
76.15
-
-
4.13
25.6
ThiNet [ Luo et al.(2017)Luo, Wu, and Lin ]
72.88
72.04
-0.84
2.44
-
SSS [ Wen et al.(2016) ]
76.12
74.18
-1.94
2.82
-
SFP [ He et al.(2018a)He, Kang, Dong, Fu, and Yang ]
76.15
74.61
-1.54
2.40
-
AutoSlim [ Yu and Huang(2020) ]
76.10
75.60
-0.50
2.00
-
FPGM [ He et al.(2019)He, Liu, Wang, Hu, and Yang ]
76.15
75.50
-0.65
2.38
-
Table 2: Pruning results on ImageNet. Δ Acc. denotes the accuracy drop after pruning. MACs are in billions (G) and Params in millions (M). A group-wise prune ratio ceiling of 70% is applied to MobileNetV2 and no ceiling is applied to ResNet-50. ResNet-50 was fine-tuned with one-shot and MobileNetV2 was fine-tuned iteratively for 5 rounds. (*Not a ResNet variation but model with similar GMACs)
Model
mAP@50–95
FLOPS (G)
Parameters (M)
YOLOv8s [ Ultralytics(2023) ] (Dense)
44.9
28.60
11.17
YOLOv8n [ Ultralytics(2023) ] (Dense)
37.3
8.70
3.20
YOLOv8s (PruneNAS)
38.4
8.48
2.32
YOLOv8s (PruneNAS)
41.4
15.74
3.28
Table 3: YOLOv8 Results on MSCOCO [ Ultralytics(2023) ] dataset trained using 640px resolution
Model
Variation
MAC Reduction
1.0x
1.5x
3.0x
6.0x
9.0x
ResNet18
Pruned
91.87
27.79
1.14
0.47
0.47
DepGraph [ Fang et al.(2023)Fang, Ma, Song, Mi, and Wang ]
91.87
90.32
86.27
79.87
76.01
PruneNAS( one-shot )
91.87
89.40
85.35
82.55
74.66
PruneNAS ( iterative )
91.87
90.13
87.25
84.89
82.79
MobileNetV2
Pruned
93.62
2.46
1.40
1.19
0.60
Table 4: Accuracy to MAC Reduction trade-offs on the Flowers102 dataset using one-shot and iterative training. Pruned represents the accuracy immediately after pruning and before training. A maximum group-wise pruning ratio ceiling of 70% is imposed to prevent layer collapse, except for MobileNetV2 at 9 × compression, where the ceiling is relaxed to 80%.
Importance
MAC Reduction
1.5 ×
3 ×
6 ×
9 ×
Avg.
Unpruned
91.87
Magnitude
89.21 ± 0.35
84.74 ± 0.36
83.69 ± 0.28
79.77 ± 0.29
84.35 ± 0.16
Taylor
89.51 ± 0.27
86.65 ± 0.22
83.50 ± 0.13
77.03 ± 0.37
84.17 ± 0.13
Hessian
89.23 ± 0.40
83.72 ± 0.50
71.13 ± 2.42
50.28 ± 4.05
73.59 ± 1.19
FPGM
88.75 ± 0.41
83.37 ± 0.21
81.91 ± 0.25
77.94 ± 0.43
82.99 ± 0.17
Table 5: Comparison of pruned accuracy using various importance criteria and MAC reductions, tested with ResNet-18 and the Flowers102 dataset. A max group-wise prune ratio ceiling of 70% is applied to prevent layer collapse. To ensure statistical robustness, the performance metrics for the importance criteria ablations are averaged over 3 random seeds.
Figure 3: Group-wise score distributions for various zero-cost accuracy estimators (L2-Norm [ Li et al.(2017a)Li, Kadav, Durdanovic, Samet, and Graf ] , NWOT [ Mellor et al.(2021)Mellor, Turner, Storkey, and Crowley ] , AZ-NAS [ Lee and Ham(2024) ] , and Taylor Importance [ Molchanov et al.(2017)Molchanov, Tyree, Karras, Aila, and Kautz ] across the ResNet-18 architecture. Each plot illustrates how the estimator’s score changes with the number of channels.
Figure 4: Group-wise channel distribution at 3 × Mac Reduction
Model
Params (M)
Top-1 Acc. (%)
RAM (MB)
Latency (ms)
Baseline
MobileNetV2
3.39
93.62
1.61
1304.00
DepGraph
MAC/1.5
1.59
90.86
1.34∗
1034.00
MAC/3.0
0.82
86.05
1.05∗
542.60
MAC/6.0
0.46
64.63
0.77
339.70
Table 6: Benchmarking of MobileNetV2 models on STM32H7S78-DK device (trained on Flowers102 datasets). Accuracy is reported on FP32 models; RAM and latency are measured on STM32H7 [ STMicroelectronics(2024) ] using INT8 inference. ∗ Indicates the use of external memory, which is slower than internal memory.
Figure 5: Group-wise channel distribution at 1.5 × Mac Reduction
Figure 6: Group-wise channel distribution at 6 × Mac Reduction
Figure 7: Group-wise channel distribution at 9 × Mac Reduction
Method
Description
Importance Score
Weight Magnitude [ Han et al.(2015)Han, Pool, Tran, and Dally ]
Assumes that weights with smaller absolute values contribute less to the network output.
Smag(c)=w∈Wc∑∣w∣
First-Order Taylor [ Molchanov et al.(2017)Molchanov, Tyree, Karras, Aila, and Kautz ]
Estimates change in loss L when a channel is removed using first-order gradient information.
Staylor(c)=w∈Wc∑w∂w∂L
Hessian Approximation [ LeCun et al.(1989)LeCun, Denker, and Solla ]
Captures curvature of the loss using a diagonal approximation of the Hessian (empirical Fisher).
Shessian(c)=w∈Wc∑w2(∂w∂L)2
LAMP [ Lee et al.(2020)Lee, Park, Mo, Ahn, and Shin ]
Normalizes magnitude scores to produce globally comparable importance across layers.
Slamp(cu)=∑v≥uSmag(cv)Smag(cu)
FPGM [ He et al.(2019)He, Liu, Wang, Hu, and Yang ]
Identifies redundant channels via geometric similarity (Euclidean distance) within a group G .
Sfpgm(c)=c′∈G∑∥Wc−Wc′∥2
Table 7: Summary of channel importance metrics used for structured pruning.
Estimator
MAC Reduction
9 ×
L2-Norm [ Li et al.(2017a)Li, Kadav, Durdanovic, Samet, and Graf ]
82.35
NWOT [ Mellor et al.(2021)Mellor, Turner, Storkey, and Crowley ]
82.61
AZ-NAS [ Lee and Ham(2024) ]
81.80
Taylor [ Molchanov et al.(2017)Molchanov, Tyree, Karras, Aila, and Kautz ]
82.79
Table 8: Comparison of top-1 accuracy across various estimators at a fixed 9 × MAC reduction, evaluated using ResNet-18 (dense model top-1 accuracy 91.87) on the Flowers102 dataset [ Nilsback and Zisserman(2008) ] .
Method
MAC Reduction
1.0 ×
1.5 ×
3.0 ×
6.0 ×
9.0 ×
Pruned
77.48
50.51
7.83
2.30
1.46
DepGraph [ Fang et al.(2023)Fang, Ma, Song, Mi, and Wang ]
77.48
76.90
75.99
74.38
73.06
(-0.58)
(-1.49)
(-3.10)
(-4.42)
PruneNAS
76.93
77.02
76.34
74.57
73.10
(+0.44)
(-0.59)
(-2.36)
(-3.83)
Table 9: Accuracy–MAC reduction trade-offs on the CIFAR100 for ResNet-18 model [ Krizhevsky(2009) ] dataset. “Pruned” denotes the accuracy immediately after pruning and before fine-tuning.
Granularity
Top-1 Accuracy (%)
MAC Reduction
Tabulation Time (s)
2
75.61
2.994 ×
135.32
4
75.90
3.021 ×
69.64
8
76.34
3.001 ×
36.11
16
75.88
3.007 ×
19.92
32
76.18
3.012 ×
11.27
Table 10: Tradeoff between granularity and optimization quality for ResNet-18 on the CIFAR-100 [ Krizhevsky(2009) ] dataset. The model is pruned to approximately one-third of its MAC, and Top-1 accuracy is reported after fine-tuning.
Max Pruning Percentage
Top-1 Acc (%)
Δ vs. baseline
90%
70.43
−6.48
80%
72.41
−4.50
70%
73.10
−3.81
Table 11: Per-group pruning-cap sensitivity for ResNet-18 on CIFAR-100 at 9.01× compression ( 557.9→61.9 MMACs; baseline 76.91%).
Neural Architecture Search (NAS) has automated the design of deep learning models but traditionally requires massive computational resources, often measured in thousands of GPU-days. In this paper, we propose a frugal and memetic NAS framework designed to democratize architecture design on consumer-grade hardware. Our approach combines the global macro-search capabilities of an autoregressive Transformer controller, trained via Reinforcement Learning (RL), with the local micro-exploitation of an Artificial Bee Colony (ABC) algorithm. To prevent premature convergence during the RL phase, we introduce a dynamic entropy mechanism that forces topological exploration upon detection of performance stagnation. Evaluated on a standard GPU (NVIDIA RTX 3060), our hybrid method effectively resolves the "cold-start" problem inherent in metaheuristics. By algorithmically penalizing network depth, our framework actively mitigates model bloat: on the CIFAR-10 dataset, it discovers an efficient architecture reaching 84.85% accuracy with only ∼174,000 parameters (significantly smaller than standard baselines like ResNet-20) in 3 hours of search time. Furthermore, we demonstrate the framework's flexibility by applying it to credit card fraud detection, directly optimizing the F1-Score on highly imbalanced tabular data to reach a F1-Score of 0.71 with a compact network of ∼4,600 parameters. These results suggest that our approach can yield tailored, accessible, and highly parameter-efficient deep learning models suitable for edge deployment.
Romain Amigon
Universit´e du Qu´ebec `a Chicoutimi (UQAC) Saguenay, Canada
Neural Architecture Search (NAS) is naturally formulated as a bilevel optimization problem, where the upper-level optimizes the architecture using validation performance and the lower-level trains network parameters using training loss. However, NAS is computationally expensive due to discrete architectural decisions, exponentially growing search spaces, and the high cost of training candidate architectures. This work develops a general bilevel optimization framework for NAS across diverse architectures, including MLPs, CNNs, RNNs, and Transformers, to identify compact architectures with strong predictive performance. We propose three scalable formulations that replace discrete neuron- and activation-level decisions with continuous relaxations, enabling differentiable optimization over otherwise combinatorial architecture spaces. These formulations give rise to three NAS methods: NAS based on Neuron Gating (NAS-NG), NAS based on Mixed Activation (NAS-MA), and NAS based on Neuron Gating and Mixed Activation (NAS-NGMA). Experiments on MLPs and CNNs using MNIST and CIFAR-10 show that the proposed methods consistently identify compact architectures with competitive or improved predictive performance. On MNIST, NAS-NGMA achieves 98.68% test accuracy with 7.69M MLP parameters, while NAS-NG achieves 99.63% accuracy with only 0.26M CNN parameters. On CIFAR-10, the proposed methods consistently outperform vanilla DARTS. Further experiments demonstrate that NAS-NG can optimize substantially over-parameterized and literature-optimal architectures, improving accuracy while reducing parameters. These results establish relaxed bilevel optimization as a scalable alternative to discrete NAS and provide a general framework for efficient neuron- and activation-level architecture optimization.
Abhishek Shukla, Ankur Sinha, Faiz Hamid
Department of Management Sciences, IIT Kanpur, India
Neural Architecture Search (NAS) has advanced the automated design of deep networks, but remains computationally expensive due to reliance on model training or performance predictors. We introduce DIFFNAS, a predictor-free NAS framework that leverages a discrete graph diffusion model guided by zero-cost performance proxies. Unlike prior diffusion-based NAS methods that require learned performance predictors, DIFFNAS conditions the generative process on training-free metrics such as MeCo and SWAP, enabling efficient architecture search with minimal computational overhead. Experiments on NAS-Bench-201 show that DIFFNAS finds the optimal architectures for CIFAR-10 and CIFAR-100 (94.37% and 73.51%) without a pretrained predictor, while reducing search cost by up to 17.5x compared to DiffusionNAG. On the MobileNetV3 search space, its accuracy is lower than that of DiffusionNAG. These results highlight the promise of diffusion models combined with zero-cost proxies for scalable and effective architecture search.
Yize Sun, Hanzhang Ma, Zixin Wu +3
Ludwig-Maximilians-Universität München (LMU Munich), Germany · Munich Center for Machine Learning (MCML), Germany · Paderborn University, Germany +1