TL;DR
This paper introduces AUTOCOMET, a novel Neural Architecture Search (NAS) framework designed for efficient on-device AI. It tackles the challenge of finding optimal neural network architectures for diverse hardware and task requirements by employing a high-fidelity meta-behavior predictor and a unique co-regulated reinforcement learning approach, achieving significantly faster search times.
What Problem Does This Paper Address?
Designing deep neural network (DNN) architectures for AI-driven applications on resource-constrained devices like smartphones and edge sensors is a significant challenge. While Neural Architecture Search (NAS) automates this process, existing methods struggle with several key issues:
- Model-Hardware Fidelity: Architectures optimized for one type of hardware (e.g., high-end TPUs) may perform poorly or be incompatible with other devices, especially mobile ones with varying capabilities.
- Prohibitive Search Times: NAS can be computationally expensive, requiring extensive search to find suitable architectures, making industrial adoption difficult.
- Deviation from Objectives: NAS might over-optimize for one objective (like latency) at the expense of others (like accuracy), or fail to generalize across different tasks.
- Context Adaptation: Architectures need to adapt to a "context" that encompasses both hardware configurations and specific task/quality requirements, which current NAS methods often lack.
Methods
AUTOCOMET introduces two main innovations to address these problems:
- High-Fidelity Context Meta-Behavior Predictor: This component predicts how a candidate DNN architecture will perform (e.g., latency, memory usage, power consumption) on various hardware and task contexts. It's trained on execution statistics from a wide range of devices and uses an ensemble of regression models (specifically, a Bag-of-Boosted models approach) to handle the hybrid feature space and piece-wise nature of meta-behavior functions. This predictor provides accurate, context-aware feedback without requiring actual on-device execution during the search.
- Co-Regulated Shaping Reinforcement Learning (RL) Controller: This is a novel RL-based NAS controller that uses a "co-regulated reward shaping" strategy. Instead of simply scalarizing (combining) multiple reward signals (like accuracy and predicted latency), it allows these signals to dynamically "regulate" each other. This approach, inspired by social psychology's concept of co-regulation, helps overcome the reward sparsity problem inherent in RL for NAS. The framework uses a primary reward (e.g., accuracy) and secondary rewards (meta-behavior predictions) to shape the learning process, leading to faster convergence and a more principled way to balance multiple objectives. The "co-regulated" aspect comes from a dynamic trade-off parameter that adapts based on the primary reward's progress.
Datasets
The paper does not explicitly list datasets used for training the meta-behavior predictor. However, for evaluating the generated architectures, they use:
- ImageNet: For object classification tasks.
- COCO: For segmentation tasks.
The meta-predictor is trained on execution statistics collected from various mobile devices with different hardware configurations.
Key Insights and Ideas
- Context is King: The paper emphasizes that "context" (hardware + task requirements) is crucial for designing effective on-device models, and AUTOCOMET's ability to adapt to this context is a key differentiator.
- Predictors are Essential for Speed: Relying on a high-fidelity predictor for meta-behavior (like latency) is vital for reducing the search time, as it avoids costly on-device evaluations during the search process.
- Co-Regulation for Multi-Objective RL: The novel co-regulated reward shaping is a significant contribution. It offers a more sophisticated way to handle multi-objective optimization in RL than simple weighted combinations, leading to better balance and faster convergence by addressing reward sparsity.
- Generalizability: The framework is designed to be generalized, allowing for arbitrary numbers of meta-behavior components and flexible assignment of primary/secondary reward dominance.
Key Results
- Faster Search: AUTOCOMET achieves approximately a 3x speedup in search time compared to baselines like ProxylessNAS. Figure 3 shows AUTOCOMET converging in about 4-5 epochs, while ProxylessNAS takes around 40 epochs.
- Improved Efficiency and Accuracy: AUTOCOMET consistently generates architectures that achieve competitive or better predictive performance (accuracy/IOU) while significantly reducing inference latency and model size across different device types (Type 1: flagship, Type 2: mid-tier, Type 3: low-tier). For instance, for segmentation on a flagship device, AUTOCOMET achieved ~13ms latency.
- Effective Meta-Behavior Prediction: The proposed Bag-of-Boosted (B-o-B) meta-behavior predictor (specifically for latency) outperformed other models like XGBoost, MLP, and SVR in terms of R² score and RMSE, while being faster than GCN predictors.
Limitations and Future Work
- Meta-Behavior Predictor Robustness: The authors acknowledge that careful training of the meta-behavior predictor is crucial for robustness.
- Data Exhaustiveness: Capturing more exhaustive device behavior data for predictor training is an important future direction.
- Expanding Metrics: While the framework supports arbitrary meta-behavior metrics, future work could involve more extensive experimentation with metrics like memory and power.
- IoT Ecosystem Adaptation: Adapting the framework to the Internet of Things (IoT) ecosystem of connected devices is identified as an open challenge.
Summary updated