[Paper Review] Learning Loss for Test-Time Augmentation
The paper proposes an instance-aware test-time augmentation method that uses a loss-prediction module to select the most promising transformations for each test input, improving robustness with minimal extra cost. It shows improved performance on CIFAR-100-C and ImageNet-C over standard TTA approaches.
Data augmentation has been actively studied for robust neural networks. Most of the recent data augmentation methods focus on augmenting datasets during the training phase. At the testing phase, simple transformations are still widely used for test-time augmentation. This paper proposes a novel instance-level test-time augmentation that efficiently selects suitable transformations for a test input. Our proposed method involves an auxiliary module to predict the loss of each possible transformation given the input. Then, the transformations having lower predicted losses are applied to the input. The network obtains the results by averaging the prediction results of augmented inputs. Experimental results on several image classification benchmarks show that the proposed instance-aware test-time augmentation improves the model's robustness against various corruptions.
Motivation & Objective
- Motivate robustness issues when using fixed test-time augmentations despite strong training-time augmentations.
- Introduce an instance-aware framework to dynamically select test-time transformations based on predicted losses.
- Demonstrate efficiency by using a compact loss-prediction module separate from the target network.
- Evaluate robustness gains on CIFAR-100-C and ImageNet-C against common corruption types.
Proposed method
- Define a moderate, discretized transformation space (rotation, zoom, color, contrast, sharpness).
- Train a separate loss-prediction network to estimate relative losses for each transformation given an input.
- Use ranking loss to train the loss predictor to correlate predicted losses with ground-truth relative losses.
- At test time, select the top-k transformations with the lowest predicted losses and average the target model outputs over these transformed inputs.
- Keep the target network fixed while training the loss predictor to avoid extra inference cost.
- Compare against conventional test-time augmentations and greedy policy search methods.
Experimental results
Research questions
- RQ1Can instance-specific test-time augmentations improve robustness to corruptions beyond fixed TTA policies?
- RQ2How effectively can a lightweight loss-prediction module estimate relative losses for candidate transformations?
- RQ3What is the trade-off between computation and accuracy when using top-k instance-aware augmentations?
- RQ4Do instance-aware augmentations generalize to held-out corruptions and maintain clean-set performance?
Key findings
- The method consistently improves robustness on corrupted datasets with minimal test-time cost.
- Using k=1 or k=2 augmented inputs achieves notable gains over Center-Crop, Horizontal-Flip, and 5-Crops baselines.
- The approach can outperform GPS-based policy search on ImageNet-C while incurring lower computational cost.
- The loss predictor remains compact and efficient, contributing little to inference overhead.
- The approach shows stronger generalization to held-out corruptions than some training-time augmentation baselines.
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.