Abstract
Deep Neural Networks (DNNs) often rely on redundant visual information, leading to overfitting and vulnerability to adversarial attacks. We present YONA (You Only Need hAlf), a parameter-free meta-augmentation strategy that bisects images and applies standard augmentations to only one half while masking the other. By forcing models to recognize objects from incomplete data, YONA enhances classification accuracy and significantly improves adversarial robustness across various architectures with negligible computational overhead.
Introduction
The success of Deep Neural Networks in computer vision is often tempered by their tendency to overfit training data and their susceptibility to adversarial perturbations. Standard data augmentation techniques, such as random cropping or flipping, attempt to mitigate these issues by increasing data diversity. However, natural images typically contain significant redundancy—multiple visual cues that all point to the same object class. While helpful for initial learning, this redundancy allows models to take "shortcuts," failing to develop the robust, part-based recognition capabilities characteristic of human vision.
The YONA Framework
YONA addresses this by systematically reducing visual redundancy. It operates as a "wrapper" for existing augmentation policies, following a simple four-step pipeline:
- Bisection: The input image is randomly split into two equal halves, either along the horizontal or vertical axis.
- Partial Augmentation: One half is selected to undergo a standard augmentation procedure (e.g., AutoAugment, Cutout, or Color Jitter).
- Masking: The remaining half is replaced with noise or a constant value (masking).
- Reassembly: The augmented and masked halves are concatenated to form the final training sample.
This approach is entirely parameter-free and requires no complex hyperparameter tuning or policy searching, making it easily integrable into any standard training workflow.
Experimental Evaluation
The researchers evaluated YONA on CIFAR-10 and CIFAR-100 datasets using a variety of architectures, including ResNet-18, Xception, and Vision Transformers (ViT).
Classification Performance
YONA consistently improved top-1 accuracy. In extensive testing, it outperformed baseline augmentations in 33 out of 48 cases on CIFAR-10 and 34 out of 48 cases on CIFAR-100. By presenting only half the content, YONA compels the network to prioritize critical, invariant visual features over extraneous background details.
Adversarial Robustness
The most significant gains were observed in robustness against adversarial attacks. When tested against Projected Gradient Descent (PGD) attacks, YONA-trained models showed an average robust accuracy increase of over 4%. When combined with specific techniques like Cutout, the robustness improvement reached as high as 6.76%. This suggests that by training on "fragmented" data, the model learns to ignore the subtle, misleading signals that adversarial attacks rely on.
Key Insights
Ablation studies revealed that the 50% masking ratio is an optimal "sweet spot." Masking less (e.g., 25%) fails to sufficiently reduce redundancy, while masking more (e.g., 75%) removes too much semantic information for the model to learn effectively.
Limitations and Future Directions
While highly effective for classification, YONA showed limitations in object detection tasks on the MS-COCO dataset. Using YOLOv7, the method resulted in a decrease in precision and mean Average Precision (mAP). This is likely because object detection relies heavily on precise localization and contextual boundaries, which are often disrupted by the large-scale masking inherent in YONA.
Future research may explore integrating self-supervised components, such as Masked Autoencoders, to allow models to "reconstruct" missing halves during training. This could potentially bridge the gap between classification robustness and detection accuracy.
Conclusion
YONA offers a simple yet powerful method to boost the performance and resilience of deep learning models. By embracing the principle that "you only need half," it encourages more robust feature learning and provides a significant shield against adversarial threats without adding computational complexity.
Summary updated