Efficient Model Performance Estimation via Feature Histories

Shengcao Cao, Xiaofang Wang, Kris Kitani

Abstract

Evaluating candidate architectures in Neural Architecture Search (NAS) and Hyperparameter Optimization (HPO) typically requires training to convergence, a process that is computationally prohibitive. This paper introduces a novel method to accurately estimate a model's final performance early in the training process by ensembling "feature histories"—snapshots of intermediate representations. By building a stable proxy classifier from these histories, the proposed method achieves a massive reduction in search time (up to 80%) while identifying architectures that outperform state-of-the-art methods like DARTS.

Introduction: The Exploration-Exploitation Bottleneck

In the fields of NAS and HPO, researchers face a grueling trade-off. Finding the optimal model requires exploring a vast configuration space, yet evaluating even a single candidate can take days of GPU time. Existing shortcuts often prove inadequate: early stopping is noisy as "slow starters" may eventually win; learning curve extrapolation is mathematically complex and often inaccurate; and weight-sharing methods like DARTS are often restricted to specific, differentiable search spaces. This research addresses the need for a versatile, accurate, and efficient performance estimator that works across any search space without requiring full training.

Methodology: Leveraging Feature Histories

The core innovation lies in the use of Feature Histories. A standard Convolutional Neural Network (CNN) consists of a feature extractor and a linear classifier. While the feature extractor evolves slowly, the final classification of specific images often "oscillates" (flips between correct and incorrect) during early training.

The Feature History pipeline: snapshots of deep features are used to train optimized proxy heads, which are then ensembled for a stable performance estimate.

The proposed pipeline follows three main steps:

  1. Collection: During early training, "deep features" (outputs of the penultimate layer) are saved for training and validation sets at every epoch.
  2. Optimization: For each checkpoint, a new, optimal linear classifier is trained on these fixed features. This is computationally inexpensive as the heavy backbone remains frozen.
  3. Ensembling: A proxy classifier is created by ensembling the softmax outputs of the most recent $K$ (typically 10) optimized linear heads.

The consensus of several recent checkpoints provides a remarkably stable proxy for converged behavior, smoothing out the noise inherent in single early-stage checkpoints.

Experimental Evaluation

The method was evaluated on several standard benchmarks, including CIFAR-10, CIFAR-100, and NAS-Bench-201. The latter is particularly significant as it contains 15,625 architectures with pre-computed full-training data, allowing for rigorous testing of ranking accuracy. Results were also verified on ImageNet to ensure transferability to large-scale real-world tasks.

Key Insights and Results

A critical observation of the paper is Classification Oscillation: images correctly classified at convergence often flicker in and out of correctness early on. Ensembling historical features effectively filters this noise. Furthermore, the method prioritizes Ranking over Absolute Accuracy. For NAS, identifying that Model A is better than Model B is more important than predicting exact accuracy. This method significantly improves Kendall’s $\tau$ (rank correlation) compared to raw early-stage accuracy.

Accuracy vs. Epochs: The Ensemble method reaches converged accuracy levels significantly earlier than the original training process.

Key results include:

  • Search Efficiency: Combined with sampling-based search, the method found architectures superior to DARTS while reducing search time by 80%.
  • Estimation Speedup: On ResNet-18, the proxy classifier reached converged accuracy levels at epoch 75, a 2.7x speedup over standard evaluation.
  • Low Overhead: The extra computation for saving features and training linear heads is minimal, typically less than half an epoch of standard training.

Limitations and Future Work

While effective, the method requires storage for feature histories, though these are lower-dimensional than raw images. It also assumes linear separability in the final layer, which holds for most modern CNNs but may vary in complex architectures. Future work may explore using these histories not just for estimation, but to actively guide and accelerate the training process itself.

Reference: Cao, S., Wang, X., & Kitani, K. (2021). Efficient Model Performance Estimation via Feature Histories. arXiv:2103.04450v1.

Summary updated

BibTeX
@misc{cao2021efficient,
  author = {Shengcao Cao and Xiaofang Wang and Kris Kitani},
  title = {{Efficient Model Performance Estimation via Feature Histories}},
  year = {2021},
  eprint = {2103.04450},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.04450},
}
Figure