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

$S^{2}$-FracMix: Label-Preserving Self-Saliency Mixup Augmentation

Khawar Islam, Arif Mahmood, Xin Jin, Naveed Akhtar

TL;DR

$S^2$-FracMix is a novel, label-preserving data augmentation framework that eliminates the semantic confusion of traditional mixup methods by mixing an image with itself. By combining multi-scale self-saliency masking with targeted fractal pattern injection, it achieves state-of-the-art classification accuracy, robustness, and model calibration with minimal computational overhead.

What Problem Does This Paper Address?

Mixup-based data augmentations (like standard Mixup or CutMix) are incredibly popular for training deep visual models because they improve generalization. However, they suffer from a fundamental flaw: cross-sample semantic disruption. When you randomly blend a picture of a dog with a picture of a car, you create an unnatural image with ambiguous, interpolated labels (e.g., 50% dog, 50% car). This can confuse the model and degrade its structural consistency.

While some advanced methods use saliency maps to find and preserve important object regions during mixing, they typically require heavy optimization loops that drastically increase training time. Other methods inject fractal patterns to increase structural complexity, but doing so globally across the entire image destroys the underlying object semantics.

$S^2$-FracMix solves this dilemma by operating entirely within a single image (self-mixing), ensuring that labels remain 100% consistent while keeping computational costs low.

Methods

The $S^2$-FracMix framework relies on three core components:

  1. Self-Saliency ($S^2$) Mixing: Instead of pairing two different images, the method extracts informative patches from an image and blends them back into its own non-salient (background) regions. It uses a fast, lightweight spectral residual method to compute a saliency map. Patches are sampled at multiple scales ($1/2$ and $1/4$ of the image size) to promote scale-invariant feature learning.
  2. FracMix (Targeted Fractal Injection): To increase structural complexity without inducing harmful distribution shifts, the framework blends precomputed fractal patterns only within the extracted salient patches. This targeted approach adds high-frequency structural noise to the object of interest while keeping the background clean.
  3. High-Level Multi-Mode Mixing: Rather than relying on a single augmentation heuristic, the training pipeline randomly selects between $S^2$-FracMix, standard Mixup, CutMix, and ResizeMix for each training instance. This stochastic combination provides complementary regularization effects.
An example of an augmented sample generated by S²-FracMix, showing the intricate composition of fractal and non-fractal patterns at multiple scales.

Datasets

The authors evaluated their method across seven diverse benchmarks:

  • General Image Classification: CIFAR-100, Tiny-ImageNet, and ImageNet-1K.
  • Fine-Grained Visual Classification: Caltech Birds-200 (CUB-200-2011), FGVC-Aircraft, and Stanford-Cars.
  • Robustness Evaluation: CIFAR100-C (a dataset containing common real-world image corruptions).

Key Insights and Ideas

  • The Elegance of Self-Mixing: By restricting the mixing process to a single image, $S^2$-FracMix completely avoids cross-sample semantic interference. The ground-truth label never becomes ambiguous.
  • Regularization Where It Matters: Injecting fractal patterns exclusively into salient regions forces the network to learn robust features invariant to high-frequency perturbations on the actual object, rather than wasting regularization energy on background pixels.
  • Theoretical Backing: The authors provide a mathematical analysis using a second-order Taylor expansion, proving that their targeted fractal injection acts as a "saliency-local stability penalty." This explains why the method excels at suppressing sensitivity to localized input perturbations.
  • Efficiency is King: Because it avoids complex mask optimization procedures (unlike PuzzleMix or Co-Mixup), $S^2$-FracMix delivers top-tier performance without requiring expensive high-end compute resources.

Key Results

$S^2$-FracMix consistently achieves state-of-the-art (SOTA) performance across multiple backbones (CNNs and Vision Transformers):

  • Classification Accuracy: On CIFAR-100, it outperforms the previous best method (AdAutoMix) by 0.42% on ResNet-18 and 0.69% on ResNeXt-50. The improvement is even more pronounced on Tiny-ImageNet, outperforming AdAutoMix by over 1.1%.
  • Robustness and Calibration: In corruption benchmarks (CIFAR100-C), $S^2$-FracMix achieves a 2.4% accuracy gain over AdAutoMix. It also reduces FGSM adversarial error by 3.14% and achieves an exceptionally low Expected Calibration Error (ECE) of just 2.8%, preventing the model from becoming overconfident.
  • Speed vs. Accuracy Tradeoff: As shown below, $S^2$-FracMix achieves the highest Top-1 accuracy on CIFAR-100 while maintaining a training time close to basic, non-saliency methods.
Fig. 2: Comparisons of total training time vs. top-1 accuracy of ResNet-18 on CIFAR-100 dataset with RTX 3090.

Limitations and Future Work

While highly effective, the authors note a few limitations:

  • Random Mode Selection: The high-level multi-mode wrapper selects mixing strategies uniformly at random. A learned gating mechanism could optimize this choice but would introduce additional training overhead.
  • Manual Hyperparameters: The saliency threshold ($t$) and fractal blending coefficient ($\lambda$) are currently tuned manually rather than learned dynamically.
  • Single-Modality Focus: The current framework is designed strictly for 2D image data. Extending it to video or multimodal inputs would require a more complex spatio-temporal saliency detector and temporally coherent fractal generation.

Summary updated

BibTeX
@misc{islam2026s,
  author = {Khawar Islam and Arif Mahmood and Xin Jin and Naveed Akhtar},
  title = {{$S^\{2\}$-FracMix: Label-Preserving Self-Saliency Mixup Augmentation}},
  year = {2026},
  eprint = {2606.25784},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.25784},
}
Figure