InstructMixup: Instruction-Guided Salient Patch Editing for Robust Data Augmentation
2026-07-21 • Computer Vision and Pattern Recognition
Computer Vision and Pattern Recognition
AI summaryⓘ
The authors propose a new data augmentation method called InstructMixup (InstructMix), which creates challenging training examples by editing parts of the same image rather than mixing different images. They use a saliency detector to find important patches, modify these patches with a generative model guided by instructions, then blend them back into the original image. This approach keeps labels consistent and is computationally efficient since edits are precomputed. They also add fractal patterns to increase variety within samples. The authors show their method improves model performance across various tasks and architectures better than existing augmentation techniques.
data augmentationmixupsaliency detectiongenerative modelsfractal structuresvicinal riskConvolutional Neural NetworksVision TransformersVision-Language Modelsself-supervised learning
Authors
Khawar Islam, Arif Mahmood, Xin Jin, Naveed Akhtar
Abstract
In image and video technologies, data augmentation is widely used to improve the generalization of deep visual models, and mixup-based strategies that interpolate between samples have become the dominant approach. However, computing informative mixing regions adds substantial overhead, and blending content across different images frequently disrupts the semantic integrity of the resulting sample. We propose \our{}, a data augmentation method that constructs challenging yet label-consistent training samples entirely within a single visual sample. \our{} first extracts multi-scale salient patches from the sample using a lightweight saliency detector, refines each patch with an instruction-guided generative model, and blends the edited patch back into the non-salient regions of the same sample; because the generative edits are computed once and cached offline, this step adds negligible training cost. To further diversify the learned representation, \our{} injects self-similar fractal structure into the same salient regions at an adaptive ratio, so each training sample carries both fractal and non-fractal structure. We derive a second-order approximation of the resulting vicinal risk, showing that the method simultaneously enforces invariance to the generative edit and suppresses curvature along the perturbed salient directions, and we verify both predictions empirically. We evaluate on small to large backbones for instance Convolutional Neural Networks (CNNs), Vision Transformers (ViTs) and Vision-Language Foundational Models (VLMs) across seven benchmarks covering coarse- and fine-grained classification, robustness to corruption and occlusion, calibration, and transfer and self-supervised learning, InstructMixup outperforms nine competing augmentation methods, surpassing the strongest baseline across all benchmarks.