arXiv:2610.03127cs.LGOct 2026

Manuscript Offprint

arXiv:2610.03127

Coverage You Can Steer: Online Conformal Calibration for RL-Driven Hardware-Aware NAS

Pedro Brandimarte, Nerea Aranjuelo, Marcos Nieto, Oihana Otaegui

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Hardware-aware neural architecture search (NAS) is dominated by evaluation cost: every architecture must be trained before its reward is known. Conformal-prediction filters cut this cost by pruning candidates whose predicted-reward upper bound misses a threshold, with a distribution-free guarantee that at most a fraction δ\delta are wrongly discarded. That guarantee assumes exchangeability between calibration and test candidates, which the surrounding reinforcement-learning (RL) loop violates: the policy's proposals improve as search proceeds and, in layer-by-layer construction, shift within every episode. We replace one-shot quantile estimation with online feedback control (Adaptive Conformal Inference, with tuning-free, locally-adaptive, and group-conditional variants), restoring steerable coverage: dialing the target delivers it, monotonically and reproducibly, for arbitrary sequences. Across three neural-network architecture families and both single-step and sequential search (three seeds), it tracks every requested level to within ∼10−3\sim10^{-3} while pruning 25–50% of evaluations at no measured accuracy cost, whereas static calibration loses control of its coverage and a Gaussian-process baseline stays conservative regardless of the request. Finally, used as an acquisition function on one constrained testbed, the same optimistic bound beats random search, a gain that fixed optimism already carries and online calibration sharpens. The source code is available at https://github.com/Vicomtech/rl-hw-nas.

Keywords: neural architecture search, hardware-aware NAS, conformal prediction, adaptive conformal inference, distribution shift, reinforcement learning, edge AI

1 Introduction

Deploying deep neural networks on resource-constrained edge devices (microcontrollers with a few hundred kilobytes of SRAM, embedded accelerators with hard real-time latency budgets) has become a central requirement of practical machine learning. On-device inference avoids the latency, cost, energy and privacy penalties of round-tripping data to the cloud, but it confronts the designer with a multi-objective problem that hand design handles poorly: accuracy must be traded against memory footprint, inference latency and quantization precision, simultaneously and per device. The design spaces are combinatorial (depth, width, kernel sizes, connectivity and per-layer bit-widths multiply into millions of configurations), and the accuracy of a configuration can only be observed by training it. Hardware-aware

©2026 P. Brandimarte, N. Aranjuelo, M. Nieto and O. Otaegui.

License: CC-BY 4.0, see https://creativecommons.org/licenses/by/4.0/.

neural architecture search (HW-NAS) automates this exploration by optimizing a scalar reward that combines task accuracy with hardware penalties, and has repeatedly produced edge models that dominate hand-designed baselines (Tan et al., 2019; Wu et al., 2019; Cai et al., 2020; Lin et al., 2020).

The search strategies behind these results fall into a few families. Reinforcement-learning controllers learn a proposal distribution over architectures from observed rewards (Zoph and Le, 2017; Tan et al., 2019); evolutionary methods mutate populations of strong candidates (Real et al., 2019); differentiable methods relax the discrete space and optimize architecture parameters by gradient descent (Liu et al., 2018); supernet approaches such as Once-for-All train one weight-sharing network from which sub-networks are extracted without retraining (Cai et al., 2020); and Bayesian optimization (BO) builds a probabilistic surrogate of the reward and proposes candidates by expected utility (White et al., 2021). Whatever the proposal mechanism, a common bottleneck dominates the wall-clock cost: candidate evaluation. Each proposed architecture must be trained (even if only partially, on a subset of data) before its reward is known, and a realistic search consumes hundreds to thousands of such evaluations. A large fraction of them are wasted on candidates that were never competitive, which is why evaluation-avoidance mechanisms (reward predictors, early-stopping proxies, weight sharing) are as important to practical NAS as the search strategy itself. More fundamentally, on moderate spaces, well-tuned random search remains a remarkably strong baseline that learned controllers often fail to beat (Li and Talwalkar, 2020), so the marginal value of a NAS method lies less in the cleverness of its proposer than in how efficiently and safely it spends the evaluation budget.

MARCO (Fayyazi et al., 2026) made this explicit for edge HW-NAS: a multi-agent reinforcement-learning search over MCU-scale CNN spaces in which a conformal-prediction filter prunes unpromising candidates before training. A cheap surrogate predicts each candidate's reward; a split-conformal offset (Vovk et al., 2022; Papadopoulos et al., 2002) widens that prediction into an upper bound that is guaranteed (with probability at least 1−δ1 - \delta) not to fall below the true reward; candidates whose bound misses an acceptance threshold are discarded without training. The construction is attractive precisely because the guarantee is distribution-free: it requires no assumption about the surrogate's error distribution. It requires something else instead: exchangeability between the calibration candidates and the candidates the filter subsequently judges.

That assumption is violated by the search itself. A reinforcement-learning policy improves; the distribution of proposed architectures later in the search is not the warm-up distribution the filter was calibrated on, and it keeps moving for as long as the policy learns. In sequential, layer-by-layer formulations of the search the violation is compounded within every episode, as the filter is asked to judge partial networks that grow from shallow stubs to deep architectures in a handful of steps. Under this drift the static conformal guarantee silently degrades: the realized coverage of the bound detaches from the requested 1−δ1 - \delta, in a direction and magnitude that depend on where calibration happened to occur. The practical consequences are the two failure modes a pruning filter can have: wasted evaluations (over-coverage: the bound is looser than requested, so junk is trained anyway) and false discards (under-coverage: genuinely strong candidates are pruned unseen, an error that, unlike a wasted evaluation, can cost the best architecture in the space). MARCO acknowledges the issue and mitigates it by periodically recalibrating the filter; as we show, this reduces the variance of the failure but not the failure itself, and re-estimating a single, stream-wide offset, however often, cannot correct the depth-dependent miscoverage a within-episode shift produces, because it never conditions on where in the episode the candidate sits.

This paper replaces the static filter with an adaptive one, and then pushes the resulting machinery beyond filtering altogether. Adaptive Conformal Inference (ACI, Gibbs and Candès, 2021) does not estimate a quantile once but controls the coverage error by online feedback, updating the conformal offset after every evaluation. Its guarantee is of a different kind: long-run coverage converges to the requested 1−δ1 - \delta for arbitrary candidate sequences (no exchangeability, no stationarity), which is precisely the form of guarantee that survives inside a reinforcement-learning loop. On top of this foundation we remove ACI's single hyperparameter by expert aggregation (following Zaffran et al., 2022), obtain per-candidate interval widths through normalized conformal scores, and obtain group-conditional coverage (coverage that holds at every layer depth of the sequential search, not merely on stream average) through a Mondrian construction. Finally, we observe that a calibrated optimistic bound is exactly what an exploration strategy needs: the same machinery that gates evaluations can steer them. Used greedily, it yields a distribution-free analogue of the Gaussian-process upper confidence bound (GP-UCB) (Srinivas et al., 2010), whose optimism is continuously verified against realized outcomes rather than derived from model assumptions; used with lookahead, it plans over the layer-by-layer construction tree with AlphaZero-style search (Silver et al., 2018), whose leaves are valued by the calibrated bound instead of training runs.

Our contributions are as follows:

  1. Adaptive conformal filtering under policy drift. We replace the static split-conformal filter with ACI, which keeps coverage calibrated and steerable under the policy drift that leaves static conformal filtering not merely biased but out of control. Across three architecture families and datasets (LeNet/MNIST, ResNet/CIFAR-10, MobileNet/CIFAR-100), in both single-step and sequential search, the adaptive filter tracks every requested coverage level 1−δ1 - \delta to within ∼10−3\sim10^{-3} with across-seed deviation two orders of magnitude below the baselines, while the periodically-recalibrated static filter over- and under-covers uncontrollably, cannot be steered by δ\delta, and on the one landscape with an isolated optimum falsely discards the best architecture. The filter needs no step-size tuning in its aggregated form on these streams and prunes 25–50% of evaluations at no measured cost in solution quality.

  2. Conditional conformal extensions for structured search. A normalized filter yields per-candidate interval widths (the prerequisite for any conformal acquisition, since a global offset cannot rank exploration targets), and a Mondrian filter yields per-depth coverage in the sequential search, where we show marginal calibration conceals a systematic shallow-over/deep-under coverage imbalance that per-group adaptation corrects wherever the search visits a depth often enough to calibrate it.

  3. From pruning to search: conformal acquisition. We turn the calibrated bound into the search’s proposal mechanism, greedy acquisition over sampled pools, an optimism-shaped sequential controller, and a conformal-optimistic Monte-Carlo tree search whose simulated completions are valued by the bound so that real training is spent only on committed candidates. On one constrained testbed where most architectures are infeasible (one family, three seeds), greedy optimistic acquisition reaches higher best-reward than random search at every budget up to 1,000 evaluations (and is the most reproducible searcher we test) while an attribution ablation locates the mechanism in the optimism: fixed optimism carries most of the gain, its online calibration adds a final edge and a ∼6×\sim6\times variance reduction over pure exploitation, and tree search buys only an early-budget head start. Shaping the controller's own reward toward the objective, by contrast, does not reliably beat the unshaped controller and can destabilize it.

  4. A controller-agnostic framework and an honest controller analysis. All filters and proposers sit behind common interfaces over interchangeable model families and hardware cost models, so every claim is tested across architectures, datasets and both search formulations, the single-step bandit and the sequential Markov decision process (MDP). Within this framework we also report a negative result that sharpens the paper's thesis: the reinforcement-learning controller itself, faithful to MARCO, does not outperform random search on these spaces, it demonstrably learns, but it optimizes the expected reward while search rewards the argmax. The value added by our method is therefore located where the evidence places it: not in the learned controller, but in the calibrated bound, which, as a filter, gives drift-robust control of the evaluation budget behind any proposal mechanism, and, as an acquisition function, is itself a proposer that beats random search where the controller does not.

We further contrast the conformal bounds with the natural Bayesian-optimization alternative throughout: a Gaussian-process upper confidence bound at the same nominal level is confidently miscalibrated under search-induced drift (its realized coverage is pinned near 0.99 regardless of the requested level, and it cannot be steered), which turns the standard “why not BO?” objection into one of our clearest experimental illustrations of why distribution-free, feedback-controlled uncertainty is the right tool inside a learning search loop.

The remainder of the paper is organized as follows. Section 2 reviews related work in hardware-aware NAS, conformal prediction and Bayesian optimization for architecture search. Section 3 details the methodology (the search problem, the controllers, the family of conformal filters and the conformal acquisition) together with the coverage guarantees each construction carries under drift. Section 4 reports the experiments: the headline calibration and steerability results, solution quality and false discards, the generality studies across families, datasets and search formulations, the controller comparison, and the directed search. Section 5 concludes with limitations and future directions.

References (51)