[Paper Review] Learning Optimal Data Augmentation Policies via Bayesian Optimization for Image Classification Tasks
This paper proposes BO-Aug, a Bayesian optimization-based method for automatically learning optimal data augmentation (DA) policies in image classification with minimal computational cost. By efficiently searching a structured policy space using Bayesian optimization, BO-Aug achieves state-of-the-art or near-state-of-the-art accuracy on CIFAR-10, CIFAR-100, and SVHN using only 800 real evaluations—significantly fewer than prior methods—while demonstrating strong transferability across models and datasets.
In recent years, deep learning has achieved remarkable achievements in many fields, including computer vision, natural language processing, speech recognition and others. Adequate training data is the key to ensure the effectiveness of the deep models. However, obtaining valid data requires a lot of time and labor resources. Data augmentation (DA) is an effective alternative approach, which can generate new labeled data based on existing data using label-preserving transformations. Although we can benefit a lot from DA, designing appropriate DA policies requires a lot of expert experience and time consumption, and the evaluation of searching the optimal policies is costly. So we raise a new question in this paper: how to achieve automated data augmentation at as low cost as possible? We propose a method named BO-Aug for automating the process by finding the optimal DA policies using the Bayesian optimization approach. Our method can find the optimal policies at a relatively low search cost, and the searched policies based on a specific dataset are transferable across different neural network architectures or even different datasets. We validate the BO-Aug on three widely used image classification datasets, including CIFAR-10, CIFAR-100 and SVHN. Experimental results show that the proposed method can achieve state-of-the-art or near advanced classification accuracy. Code to reproduce our experiments is available at https://github.com/zhangxiaozao/BO-Aug.
Motivation & Objective
- To address the high cost and expertise required to manually design effective data augmentation policies for deep learning.
- To reduce the number of expensive real evaluations needed to search for optimal DA policies in image classification.
- To develop a method that learns transferable DA policies reusable across different neural network architectures and datasets.
- To achieve state-of-the-art or near-state-of-the-art classification accuracy with minimal search cost.
Proposed method
- The method defines a search space of DA policies composed of three sub-policies, each containing two image transformations (e.g., shear, rotation) with learnable probability and magnitude parameters.
- Bayesian optimization (BO) is used as the search algorithm to efficiently explore the policy space and select promising policies for evaluation.
- A feedback model (e.g., Wide ResNet) is trained on a validation set using each candidate policy, and the resulting classification error is used to update the BO surrogate model.
- The search process iteratively refines the policy selection based on performance feedback, minimizing the number of required real evaluations.
- The final optimal policy is derived from the BO-optimized configuration after 100 iterations, with convergence typically achieved in fewer than 100 evaluations.
- Policies learned on one dataset (e.g., Reduced CIFAR-10) are evaluated for transferability to other models and datasets, including CIFAR-100 and SVHN.
Experimental results
Research questions
- RQ1Can Bayesian optimization be effectively used to search for optimal data augmentation policies with significantly fewer real evaluations than existing methods?
- RQ2Can the optimal data augmentation policies discovered on one dataset be transferred across different neural network architectures without retraining?
- RQ3Can the proposed method achieve state-of-the-art or near-state-of-the-art classification accuracy on standard image classification benchmarks?
- RQ4How does the performance of the learned policies compare to existing automated data augmentation methods in terms of accuracy and search cost?
Key findings
- BO-Aug achieves state-of-the-art or near-state-of-the-art classification accuracy on CIFAR-10, CIFAR-100, and SVHN using only 800 real evaluations, which is less than 6% of the 15,000 evaluations required by AutoAugment.
- On reduced datasets (e.g., 10% of CIFAR-10), BO-Aug's performance is comparable to state-of-the-art semi-supervised learning methods, demonstrating strong effectiveness under data scarcity.
- The optimal data augmentation policies learned on one dataset (e.g., Reduced CIFAR-10) generalize well and improve performance across diverse architectures, including Wide ResNet and Shake-Shake networks, on the same and even different datasets like CIFAR-100.
- Convergence of the BO search is typically achieved in fewer than 100 iterations, with classification error decreasing rapidly over the first 20–30 evaluations.
- The method reduces the total training time for policy search to less than 6% of AutoAugment’s time, with negligible overhead from the BO algorithm itself.
- The transferability of policies across architectures and datasets suggests that the learned policies capture generalizable data augmentation strategies applicable beyond the original training setup.
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.