[Paper Review] Fast Task-Aware Architecture Inference
This paper proposes a gradient-based, task-aware architecture inference framework that leverages meta-features learned directly from raw data to predict model performance across tasks. By training a deep value network on prior training experiments, it enables fast, zero-shot architecture search via gradient ascent, achieving performance close to expensive NAS baselines without training any models on the new task—demonstrating high efficiency and strong generalization across diverse tasks.
Neural architecture search has been shown to hold great promise towards the automation of deep learning. However in spite of its potential, neural architecture search remains quite costly. To this point, we propose a novel gradient-based framework for efficient architecture search by sharing information across several tasks. We start by training many model architectures on several related (training) tasks. When a new unseen task is presented, the framework performs architecture inference in order to quickly identify a good candidate architecture, before any model is trained on the new task. At the core of our framework lies a deep value network that can predict the performance of input architectures on a task by utilizing task meta-features and the previous model training experiments performed on related tasks. We adopt a continuous parametrization of the model architecture which allows for efficient gradient-based optimization. Given a new task, an effective architecture is quickly identified by maximizing the estimated performance with respect to the model architecture parameters with simple gradient ascent. It is key to point out that our goal is to achieve reasonable performance at the lowest cost. We provide experimental results showing the effectiveness of the framework despite its high computational efficiency.
Motivation & Objective
- To address the high computational cost of neural architecture search (NAS) in resource-constrained environments such as cloud ML services.
- To enable fast, efficient architecture inference for new tasks without training any models on the target data.
- To learn task meta-features directly from raw data samples rather than relying on pre-computed features.
- To amortize architecture search cost across multiple tasks through knowledge transfer from prior training experiments.
- To develop a scalable, differentiable framework for end-to-end architecture search using continuous parametrization and gradient optimization.
Proposed method
- A deep value network is trained to predict the performance of candidate architectures on a given task using both meta-features and prior training results from related tasks.
- Meta-features are learned end-to-end from raw task data samples via a neural network component within the value network, eliminating reliance on handcrafted features.
- Model architectures are continuously parametrized to allow differentiable optimization, enabling efficient gradient-based search.
- For a new task, the framework performs gradient ascent on the architecture parameters to maximize the predicted performance from the value network.
- The online phase requires no child model training; architecture inference is performed solely via the value network and gradient optimization.
- The framework uses a two-phase setup: an offline phase to train the value network on historical data, and an online phase to infer architectures for new tasks.
Experimental results
Research questions
- RQ1Can a deep value network trained on prior training experiments predict architecture performance on new tasks with high accuracy?
- RQ2To what extent can meta-features learned directly from raw data improve performance prediction compared to pre-computed features?
- RQ3How effective is gradient-based architecture search in the continuous space for identifying high-performing models without training on the target task?
- RQ4How close can zero-shot architecture inference come to NAS performance in terms of test accuracy?
- RQ5Can knowledge transfer across multiple tasks significantly reduce the cost of architecture search while maintaining high performance?
Key findings
- The proposed method achieved test accuracy within 1-3% of NAS baselines across 11 diverse NLP tasks, despite performing zero training on the new task.
- Spearman’s rank correlation between predicted and actual performance was approximately 0.8 across most tasks, indicating strong predictive capability.
- The R2 metric for performance prediction ranged from 0.6 to 0.8, confirming the value network’s ability to generalize across tasks.
- The inclusion of learned meta-features improved both Spearman’s rho and R2 metrics, demonstrating their value in performance estimation.
- For all tasks, the best architecture found by the proposed method outperformed the average of the first 10 models tried by NAS, indicating strong sample efficiency.
- The framework achieved high performance with minimal computational cost, as it required no child model training in the online phase.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.