NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Augmentation Network via Influence Functions

Donghoon Lee, Hyunsin Park, Trung X. Pham, Chang D. Yoo

Abstract

Automated data augmentation has become a cornerstone for improving the generalization of deep neural networks. However, existing methods like AutoAugment rely on reinforcement learning or evolutionary algorithms, which are computationally prohibitive, often requiring thousands of GPU hours. This paper introduces a differentiable "Augmentation Network" that learns to generate training samples specifically designed to minimize validation loss. By leveraging influence functions from robust statistics, the proposed method approximates the impact of an augmented sample on the model's performance without the need for costly retraining. Experimental results on ImageNet demonstrate a 375x speedup over AutoAugment while maintaining or exceeding state-of-the-art accuracy.

Introduction

Deep learning models are notoriously data-hungry, and their performance is heavily dependent on the diversity and volume of training data. Data augmentation—the process of creating synthetic training examples through transformations like rotation, flipping, or color jittering—is a standard technique to mitigate overfitting. Traditionally, these transformations were hand-crafted heuristics. Recent "AutoML" efforts have sought to automate this process, but at a massive computational cost. For instance, AutoAugment requires training thousands of "child models" to evaluate different policies.

This work addresses the efficiency bottleneck by formulating data augmentation as a differentiable learning problem. We propose a framework that learns an optimal augmentation strategy in a single training run by using influence functions to provide a gradient signal from the validation set back to the augmentation generator.

Proposed Method: The Augmentation Network

The core of our approach is a two-part system: a learnable network $E$ and a transformation model $G$.

Overview of the proposed Augmentation Network architecture, where $E$ and $G$ work together to transform input $x$ into augmented sample $\tilde{x}$ based on validation performance.

Architecture

The network takes an input image $x$ and a learnable parameter $\tau$ to produce an augmented image $\tilde{x}$. The transformation model $G$ is designed to be differentiable, allowing for end-to-end optimization. We decompose $G$ into two specialized components: a Spatial Transformation Model ($G_s$) for geometric changes like warping, and an Appearance Transformation Model ($G_a$) for pixel-level attributes like color and contrast.

Optimization via Influence Functions

The primary challenge in learning augmentations is the "bilevel" nature of the problem: we want to find augmentations that help the classifier perform better on unseen data. Normally, evaluating a new augmentation requires retraining the classifier and checking validation loss—a process that is too slow for gradient descent.

We bypass this by using influence functions. Influence functions allow us to approximate how the validation loss would change if we were to add a specific augmented sample to the training set. By calculating the Inverse Hessian-Vector Product (iHVP), we obtain a gradient that tells the Augmentation Network how to modify its parameters to produce images that are most likely to reduce validation error.

Experimental Results

We evaluated the proposed method across several standard benchmarks, including MNIST, CIFAR-10, CIFAR-100, and ImageNet.

Efficiency and Speed

The most striking result is the efficiency gain. On the ImageNet dataset, our method found an optimal augmentation strategy in just 40 GPU hours. In contrast, AutoAugment requires approximately 15,000 GPU hours. This 375x improvement makes automated augmentation accessible to researchers without massive compute clusters.

Accuracy Gains

Beyond speed, the method delivers superior generalization. On CIFAR-100, the method achieved a 29.6% error rate, a significant improvement over the 31.6% achieved with standard heuristic augmentations. On ImageNet, it achieved comparable or better Top-1 accuracy than AutoAugment while using a fraction of the compute. Additionally, the method showed significant gains on MNIST when only 1% of the data was labeled, proving that learned augmentation is especially powerful when data is scarce.

Key Insights

A qualitative analysis of the learned augmentations reveals that the network learns to generate "hard" samples.

Visual examples of learned augmentations. The network learns complex spatial warps and appearance shifts that challenge the classifier's current weaknesses.

Rather than simple rotations, it might learn to present the classifier with occluded views or unusual color distributions that target the model's current weaknesses. This "validation-led" learning ensures that the generated data is always informative for the current state of the classifier.

Conclusion and Future Work

This paper demonstrates that influence functions are a powerful tool for making automated data augmentation differentiable and efficient. By targeting validation loss directly, the Augmentation Network learns complex, task-specific transformations that significantly improve model generalization. Future work will focus on extending this framework to more complex vision tasks such as object detection and semantic segmentation, as well as refining the influence function approximations to capture deeper layer features.

Summary updated

BibTeX
@inproceedings{lee2020learning,
  author = {Donghoon Lee and Hyunsin Park and Trung X. Pham and Chang D. Yoo},
  title = {{Learning Augmentation Network via Influence Functions}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.01097},
}
Figure