arXiv:2610.33358cs.NEOct 2026

Manuscript Offprint

arXiv:2610.33358

MOSHO: A Native Discrete Shark-Inspired Metaheuristic for Hardware-Aware Neural Architecture Search

Nazim Abdeerhmane Aouni, Zakaria Soualah Mohammed, Maroua Ogab, Nour El Imane Elbar, Rayane Rahmat Errahmane Smara, Billel Moussous, Adriane Anis Khaled, Malika Bessedik, Fatima Benbouzid Si Tayeb, Hadjer Benmeziane

Abstract

Hardware-aware neural architecture search (NAS) requires jointly optimizing predictive accuracy and device-specific latency over discrete search spaces. While multi-objective swarm optimizers show promise, continuous formulations such as the Multi-Objective White Shark Optimizer (MOWSO) can suffer from quantization noise when rounded to integer-encoded architecture vectors. To address this limitation, we propose MOSHO (Multi-Objective Shark Hunting Optimization), a native discrete metaheuristic that replaces continuous motion equations with discrete architecture-editing operators. MOSHO integrates adaptive operator scheduling, energy-regulated restarts, and deferred crowding-distance truncation to enhance exploration and search efficiency. On the merged NAS-Bench-201/HW-NAS-Bench benchmark across 18 contexts, MOSHO achieves a median normalized hypervolume of 0.9987 and IGD +^{+} of 0.0064, yielding Pareto fronts competitive with NSGA-II while reducing search runtime by 96.4% (0.64s vs. 17.72s). These results demonstrate that tailored discrete search mechanisms can enable swarm optimizers to achieve high-quality multi-objective solution quality with substantially lower search cost in hardware-aware NAS.

Keywords: Neural architecture search, Hardware-aware optimization, Multi-objective optimization, Discrete optimization, Combinatorial optimization, Swarm intelligence, White Shark Optimizer

1. Introduction

Deep learning has become a fundamental approach for image classification and visual recognition, with Convolutional Neural Networks (CNNs) achieving strong performance across a wide range of applications (Elsken et al., 2019). The performance of a CNN depends not only on its learned parameters but also on architectural choices, including operation types, kernel sizes, channel widths, activation functions, and connectivity patterns. Manually designing these configurations is challenging because the number of possible combinations grows rapidly with the number of architectural decisions. Hyperparameter Optimization (HPO) addresses this challenge by automatically searching for effective training and model hyperparameters, typically while keeping the network architecture fixed. Neural Architecture Search (NAS) extends this optimization paradigm by treating the architecture itself as a search variable (Elsken et al., 2019; Ren et al., 2021). NAS therefore searches an architecture space X for configurations offering desirable predictive performance. Early NAS approaches based on reinforcement learning and evolutionary algorithms demonstrated the potential of automated architecture design but often required substantial computational resources (Zoph and Le, 2017; Real et al., 2019). Subsequent weight-sharing approaches and tabular NAS benchmarks have made architecture search more practical and reproducible (Liu et al., 2019; Dong and Yang, 2020).

For deployment on resource-constrained edge and Internet-of-Things (IoT) devices, however, predictive accuracy alone is insufficient. Hardware-Aware Neural Architecture Search (HW-NAS) therefore incorporates hardware-related objectives such as inference latency, memory consumption, and energy usage into architecture optimization. In this work, we focus on the accuracy-latency trade-off and formulate HW-NAS as the multi-objective problem

min⁡x∈XF(x)=(1−Accuracy(x,Dval),Latencyd(x))T,(1)\min_{\mathbf{x}\in\mathcal{X}}\mathbf{F}(\mathbf{x})=(1-\mathrm{A c c u r a c y}(\mathbf{x},\mathcal{D}_{\mathrm{v a l}}),\mathrm{L a t e n c y}_{d}(\mathbf{x}))^{T}, \tag{1}

where x\mathbf{x} denotes a discrete architecture, Dval\mathcal{D}_{\text{val}} is the validation set, and Latencyd(x)\text{Latency}_d(\mathbf{x}) is its inference latency on target device dd. The objective is to identify a Pareto set of architectures providing different accuracy-latency trade-offs.

Multi-objective NAS has been addressed using evolutionary algorithms, reinforcement learning, and swarm intelligence. Methods such as NSGA-II (Kumar, 2025) provide effective Pareto-based search, while swarm-based methods offer alternative exploration-exploitation mechanisms, with shark-inspired optimizers such as the White Shark Optimizer (WSO) and its multi-objective extension MOWSO providing promising search mechanisms (Braik et al., 2022; Zheng et al., 2025). However, adapting continuous shark-inspired optimization mechanisms to discrete architecture spaces remains a challenge, motivating the development of optimization strategies that operate directly on discrete architectures.

In this work, we introduce MOSHO (Multi-Objective Shark Hunting Optimization), a discrete shark-inspired metaheuristic for hardware-aware NAS. MOSHO operates directly on integer-encoded architectures using discrete architecture-editing operators. It further incorporates archive-guided search, adaptive operator scheduling, energy-regulated restarts, and deferred archive truncation to balance exploration and exploitation while limiting multi-objective search overhead.

The remainder of this paper is organized as follows. Section 2 reviews related work on hardware-aware neural architecture search and multi-objective swarm optimization. Section 4 presents MOSHO and its discrete search mechanisms. Section 5 describes the experimental setup and results. Finally, Section 6 concludes the paper and outlines future research directions.

References (38)