ShapeBlend: Boosting out-of-distribution robustness in image classification via shape-based blending augmentation
Deep Neural Networks (DNNs) often struggle to generalize beyond their training distributions, making them vulnerable to domain shifts. To enhance robustness, various approaches have been developed, particularly focusing on data-centric methods. Modifying the training data can increase diversity and improve generalization, while also introducing bias that positively guides the model’s decision-making. Prior research suggests that DNNs tend to overemphasize texture-based patterns, at the expense of more robust shape-based representations. We introduce ShapeBlend, a novel data augmentation technique that emphasizes image contours, and hence shape features. It blends a contour map from the push-pull CORF operator with the original image at varying strengths. ShapeBlend consistently outperforms state-of-the-art methods across major Out-of-Distribution (OOD) benchmarks (ImageNet-A, ImageNet-R, ImageNet-C, and ImageNet- C ¯ ), setting new records in robustness. Moreover, ShapeBlend’s versatility allows its application during inference. To fully leverage ShapeBlend, we propose Shape-Enhanced Voting (SEV), an inference strategy that aggregates predictions from multiple ShapeBlend-processed images. The combination of ShapeBlend and SEV further enhances domain robustness, with performance gains varying based on the chosen configuration. • We introduce ShapeBlend: a shape-based augmentation for OOD robustness. • ShapeBlend improves performance across multiple robustness benchmarks. • Inference performance is boosted with Shape-enhanced Voting (SEV). • ShapeBlend is compatible with existing pipelines like AugMix and DeepAugment. • A simple, explainable method with strong theoretical motivation.
Authors
- George Azzopardi (ORCID: https://orcid.org/0000-0001-6552-2596)
- Antonio Greco (ORCID: https://orcid.org/0000-0002-5495-2432)
- Sabatino Esposito (ORCID: https://orcid.org/0009-0002-3410-2980)
- Mario Vento
Institutions
- University of Salerno (IT)
- University of Groningen (NL)
- Institute for High Performance Computing and Networking (IT)
- National Research Council (IT)
Publication Details
- Journal
- Computer Vision and Image Understanding
- Published
- 2026-04-17
- DOI
- https://doi.org/10.1016/j.cviu.2026.104768
- Primary Topic
- Generative Adversarial Networks and Image Synthesis
- Type
- article
- Field-Weighted Citation Impact
- 0.00