Abstract
Deploying deep neural networks on resource-constrained edge devices, often referred to as "TinyML," requires simultaneous optimization of network architecture and quantization. This paper introduces MARCO (Multi-Agent Reinforcement learning with Conformal Optimization), a hardware-aware Neural Architecture Search (NAS) framework that achieves a 3–4× reduction in search time compared to state-of-the-art baselines. MARCO utilizes a multi-agent reinforcement learning (MARL) system to decouple design decisions and a novel Conformal Prediction (CP) filtering mechanism to statistically discard low-quality candidates before expensive evaluation. Evaluations across image and audio benchmarks demonstrate that MARCO maintains state-of-the-art accuracy while significantly accelerating the design cycle for specialized hardware.
Introduction
Automated design methods for edge-based deep learning face significant hurdles: an astronomical search space created by combining structural and quantization decisions, and the massive computational bottleneck of evaluating thousands of candidate models. Traditional "Once-for-All" (OFA) approaches often require days of expensive GPU pre-training and lack the flexibility to adapt quickly when hardware constraints change.
MARCO addresses these challenges by treating NAS as a multi-agent coordination problem and introducing a statistical "pre-screening" layer. This approach allows the system to focus computational resources only on the most promising architectures, slashing search time from 10 days to approximately 2–3 days without sacrificing model performance.
The MARCO Framework
MARCO's architecture is built on two primary innovations: specialized multi-agent reinforcement learning and statistical filtering.
Multi-Agent Reinforcement Learning (MARL)
Rather than using a single monolithic algorithm, MARCO employs two specialized agents operating under a "centralized-critic, decentralized-execution" (CTDE) paradigm:
- Hardware Configuration Agent (HCA): Optimizes macro-level structural decisions such as layer counts and kernel sizes.
- Quantization Agent (QA): Assigns specific bit-widths (e.g., 4-bit vs. 8-bit) to individual layers.
By decoupling these decisions, the agents navigate the complex design space more efficiently, avoiding the combinatorial explosion typical of joint optimization.
Conformal Prediction (CP) Filtering
The framework's most novel component is the Conformal Filter. Before any candidate architecture undergoes partial training or hardware simulation, a surrogate model predicts its potential reward. Using Conformal Prediction theory, the system calculates a statistical safety margin. If a candidate's predicted reward—even when accounting for this margin—falls below a defined threshold, it is discarded immediately. This provides a rigorous statistical guarantee that high-quality designs are preserved while pruning roughly 25-30% of the search space.
Experimental Evaluation and Results
MARCO was evaluated on standard benchmarks including MNIST, CIFAR-10, CIFAR-100, and Google Speech Commands. To ensure real-world relevance, results were validated on a physical MAX78000 evaluation board, with simulator estimates staying within 5% of actual hardware performance.
Key Findings
- Search Efficiency: MARCO reached high-reward architectures in just 2–3 days, whereas the OFA baseline required 10 days to achieve similar results. This represents a 3-4× speedup in the design cycle.
- Accuracy and Latency: Despite the accelerated search, MARCO's models remained within 0.3% accuracy of top-tier baselines. On CIFAR-10, the framework successfully reduced inference latency by up to 0.4ms compared to standard pipelines.
- Pruning Effectiveness: The CP filter successfully rejected approximately a quarter of all candidates before any expensive evaluation occurred, serving as the primary driver for the total search time reduction.
Conclusion and Future Work
MARCO demonstrates that statistical filtering combined with multi-agent RL can drastically reduce the overhead of hardware-aware NAS. While highly effective, the framework currently relies on the availability of hardware simulators or on-device profilers. Future research will focus on reducing this dependency and extending the multi-agent approach to more complex design variables, such as power-gating strategies and specialized hardware-accelerator mapping. Additionally, the surrogate model used for CP filtering requires periodic recalibration to maintain accuracy as the RL agents explore new regions of the design space.
Summary updated