Cost-Effective Training of Deep CNNs with Active Model Adaptation

Sheng-Jun Huang, Jia-Wei Zhao, Zhao-Yang Liu · DOI

Training deep convolutional neural networks (CNNs) from scratch is notoriously expensive, requiring significant computational resources and extensive human labeling effort. While transfer learning—fine-tuning a pre-trained model on a new task—has become a standard practice to mitigate these costs, it often still requires a substantial amount of labeled data to achieve high performance in the target domain. Active learning offers a potential solution by selecting only the most informative samples for labeling, yet traditional active learning strategies frequently fail to leverage the rich feature representations already present in pre-trained models.

This paper introduces Active Deep Model Adaptation (ADMA), a novel framework designed to bridge this gap. ADMA intelligently selects a tiny fraction of the target dataset for labeling, enabling efficient model adaptation. By focusing on samples that challenge the pre-trained model's internal logic, ADMA achieves performance comparable to full-dataset training using as little as 5% of the labeled data.

Methodology

The core of the ADMA framework is a selection strategy specifically tailored for adapting pre-trained models. The process involves freezing the early layers of a pre-trained CNN, which typically capture general features like edges and textures, while fine-tuning the later, task-specific layers.

Overview of the ADMA framework for active model adaptation.

The selection of data points for fine-tuning is governed by a novel criterion that balances two key metrics:

  1. Distinctiveness: This is the primary innovation of the paper. It quantifies how much an image's "feature transformation pattern"—the way its representation changes as it passes from an early layer to a later layer—deviates from the patterns expected by the pre-trained model. If an image's transformation is highly unusual relative to the source domain (e.g., ImageNet), it is deemed highly distinctive and valuable for updating the model's internal feature extractors for the new task.
  2. Uncertainty: A standard active learning metric, uncertainty identifies images where the current classifier is most "confused," typically measured by high entropy in the output probability distribution.

ADMA employs a dynamic trade-off between these two metrics using a time-weighted score. In the initial stages of adaptation, the algorithm prioritizes distinctiveness to help the model learn more robust feature representations for the target domain. As training progresses and the feature space stabilizes, the focus shifts toward uncertainty to refine the final classification boundaries.

Experimental Evaluation

The researchers evaluated ADMA across several popular computer vision benchmarks, including PASCAL VOC2012 (20 classes), the Indoor dataset (67 categories), DOGvsCAT, and the INRIA Person Dataset. These evaluations utilized pre-trained versions of widely used architectures: AlexNet, VGG-16, and ResNet-18.

Performance comparison of ADMA against random sampling across various architectures and datasets.

As shown in the experimental results, ADMA consistently and significantly outperforms random sampling across all tested architectures and datasets. Most notably, on the PASCAL VOC and Indoor datasets, ADMA reached classification accuracy levels nearly identical to models trained on the entire labeled dataset while utilizing only 5% of the total training data. This highlights the extreme efficiency of the proposed selection strategy.

Key Insights

The success of ADMA stems from its recognition that model adaptation is a dual-objective problem: adapting the features (representation learning) and the decision boundary (classifier training). By using distinctiveness to handle feature adaptation and uncertainty for boundary refinement, ADMA ensures that every labeled sample provides maximum utility.

To calculate distinctiveness, the authors developed a method to compare a new image's transformation against "representative centers" of the original source classes. This allows the model to identify images that do not fit the "expected" logic of the pre-trained weights. Qualitative analysis using t-SNE visualizations confirmed that ADMA selects a non-uniform distribution of data points that specifically target the gaps between the source and target domains, whereas random sampling often wastes effort on redundant information.

Conclusion and Future Work

ADMA provides a powerful framework for cost-effective deep learning, proving that a "big" dataset is not always necessary if the "right" data points are selected. By leveraging the internal knowledge of pre-trained models through a novel distinctiveness metric, ADMA drastically reduces the human effort required for domain adaptation.

Future research directions include automating the selection of layers used for calculating feature transformations, perhaps through an ensemble approach. Additionally, optimizing the dynamic trade-off schedule and extending the framework to handle architectural changes during adaptation remain open areas for exploration.

Summary updated

BibTeX
@inproceedings{huang2018cost,
  author = {Sheng-Jun Huang and Jia-Wei Zhao and Zhao-Yang Liu},
  title = {{Cost-Effective Training of Deep CNNs with Active Model Adaptation}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2018},
  doi = {10.1145/3219819.3220026},
}
Figure