AutoTailor: Automatic and Efficient Adaptive Model Deployment for Diverse Edge Devices

Mengyang Liu, Chenyu Lu, Haodong Tian, Fang Dong, Ruiting Zhou, Wei Wang, Dian Shen, Guangtong Li, Ye WanarXiv 2025 · OpenReview

Abstract

On-device machine learning (ML) has become a fundamental component of emerging mobile applications. Adaptive model deployment delivers efficient inference for heterogeneous device capabilities and performance requirements through customizing neural architectures. SuperNet-based approaches offer a promising solution by generating a large number of model variants from a pre-trained ML model. However, applying SuperNet in existing frameworks suffers from tedious model-aware development and time-consuming hardware-aware profiling, which limits their practical adoption. We present AutoTailor, the first framework to enable automated, end-to-end SuperNet-based adaptive model deployment for edge devices. Unlike manual SuperNet construction, AutoTailor employs a computation graph-guided compilation approach to automatically transform user-provided ML models into SuperNets. To support efficient specialization, AutoTailor incorporates learning-free latency and accuracy predictors, enabling low-cost yet accurate performance prediction. Our extended evaluations demonstrate that AutoTailor reduces the lines of code for SuperNet construction by 11–27×, decreases hardware-aware profiling costs by at least 11×, and achieves up to 15.60% absolute accuracy improvement and 60.03% latency reduction compared to state-of-the-art approaches across diverse models and devices.

Introduction

Deploying Deep Neural Networks (DNNs) on "the edge"—ranging from high-end smartphones to low-power IoT devices—presents a significant challenge due to hardware heterogeneity. A model optimized for a powerful GPU may be unusable on a budget microcontroller. To address this, adaptive model deployment has emerged as a key strategy. This approach typically involves training a "SuperNet"—a master model from which millions of smaller, optimized "SubNets" can be extracted to meet specific latency or power constraints on-the-fly.

Despite their potential, SuperNets face two major hurdles that hinder widespread adoption:

  1. Development Overhead: Converting a standard static model into a dynamic SuperNet currently requires experts to manually rewrite thousands of lines of code to make layers transformable.
  2. Profiling Explosion: A single SuperNet can contain an astronomical number of variants (up to $10^{45}$). Finding the optimal variant for a specific device usually requires exhaustive hardware profiling or training complex, data-hungry predictor models, both of which are time-consuming and costly.

The AutoTailor Framework

AutoTailor is designed to automate the end-to-end process of SuperNet-based deployment, removing the need for manual intervention and expensive profiling.

Automated Compilation with TailorIR

The core of AutoTailor is a computation graph-guided compiler. It introduces TailorIR, a model-agnostic abstraction that separates a model's structural definition from its potential modifications. By parsing standard pre-trained models (e.g., from PyTorch), AutoTailor automatically identifies mutable components and replaces them with "tailorable" versions. This automation reduces the engineering effort by orders of magnitude, allowing developers to deploy complex architectures without deep expertise in SuperNet internals.

Learning-Free Performance Predictors

To navigate the massive search space of SubNets without exhaustive testing, AutoTailor utilizes two innovative, learning-free predictors:

  • Latency Lookup Table (LUT): The authors observed that 96–98% of operators are shared across different SubNets. Instead of profiling every SubNet, AutoTailor profiles unique operators once to build a fine-grained LUT. This table even accounts for hardware-specific "operator fusion," ensuring high accuracy in latency estimation.
  • Modification Sensitivity Analysis: Rather than training a neural network to predict accuracy, AutoTailor measures the "sensitivity" of the model to individual architectural changes (e.g., reducing the width of a specific layer). It then approximates a SubNet's total accuracy by summing these individual sensitivities. This additive approach is significantly faster to build than traditional multi-layer perceptron (MLP) predictors.
Operator-level predictor building in AutoTailor, showing the Latency LUT and Modification Sensitivity Analysis.

Evaluation and Results

The researchers evaluated AutoTailor using the ImageNet1k dataset across a variety of architectures, including ResNet50, MobileNetV2/V3, and Vision Transformers (ViT). Testing was conducted on diverse hardware, including Samsung smartphones and NVIDIA Jetson edge GPUs.

Efficiency and Performance

AutoTailor demonstrates significant improvements in both development efficiency and model performance:

  • Engineering Effort: It reduces the lines of code (LoC) required for SuperNet construction by 11–27× compared to state-of-the-art frameworks.
  • Profiling Cost: Hardware-aware profiling costs are reduced by at least 11×. For instance, profiling a complex model on a mobile device takes only minutes rather than hours.
  • Inference Quality: As shown in Figure 1, AutoTailor (represented by the SuperNet curve) consistently achieves a better Pareto front than existing methods like LegoDNN and AdaptiveNet. It provides up to a 15.60% absolute accuracy improvement and a 60.03% reduction in latency.
Accuracy vs. Latency comparison across different deployment methods. AutoTailor's SuperNet approach achieves a superior Pareto front.

Conclusion and Future Work

AutoTailor represents a major step toward democratizing adaptive model deployment for the edge. By automating SuperNet construction and performance profiling, it enables developers to quickly specialize models for diverse hardware targets. While currently focused on image classification, future work will extend the framework to more complex tasks like object detection and Large Language Models (LLMs), as well as incorporating additional metrics like energy consumption and peak memory usage.

Summary updated

BibTeX
@misc{liu2025autotailor,
  author = {Mengyang Liu and Chenyu Lu and Haodong Tian and Fang Dong and Ruiting Zhou and Wei Wang and Dian Shen and Guangtong Li and Ye Wan and Li Li},
  title = {{AutoTailor: Automatic and Efficient Adaptive Model Deployment for Diverse Edge Devices}},
  year = {2025},
  eprint = {2511.22355},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.22355},
}
Figure