Context-guided Responsible Data Augmentation with Diffusion Models

Khawar Islam, Naveed Akhtar
3/12/2025
14 citations
cs.CV
diffusion-flow

Official code: khawar-islam/DiffCoRe-Mix (4 stars, Python, last commit 2025-03-19).

Abstract

Generative diffusion models offer a natural choice for data augmentation when training complex vision models. However, ensuring reliability of their generative content as augmentation samples remains an open challenge.

Show full abstract

Despite a number of techniques utilizing generative images to strengthen model training, it remains unclear how to utilize the combination of natural and generative images as a rich supervisory signal for effective model induction. In this regard, we propose a text-to-image (T2I) data augmentation method, named DiffCoRe-Mix, that computes a set of generative counterparts for a training sample with an explicitly constrained diffusion model that leverages sample-based context and negative prompting for a reliable augmentation sample generation. To preserve key semantic axes, we also filter out undesired generative samples in our augmentation process. To that end, we propose a hard-cosine filtration in the embedding space of CLIP. Our approach systematically mixes the natural and generative images at pixel and patch levels. We extensively evaluate our technique on ImageNet-1K,Tiny ImageNet-200, CIFAR-100, Flowers102, CUB-Birds, Stanford Cars, and Caltech datasets, demonstrating a notable increase in performance across the board, achieving up to $\sim 3\%$ absolute gain for top-1 accuracy over the state-of-the-art methods, while showing comparable computational overhead. Our code is publicly available at https://github.com/khawar-islam/DiffCoRe-Mix

View on arXivView PDF

Code Implementations(1)

Official Code of Context-Guided Responsible Data Augmentation with Diffusion Models (ICLRw'25)

41PythonMar 11, 20251 years ago

Similar Papers

Cite this paper

@article{islam2025contextguided,
  title  = {Context-guided Responsible Data Augmentation with Diffusion Models},
  author = {Khawar Islam and Naveed Akhtar},
  year   = {2025},
  eprint = {2503.10687},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.10687v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.10687.svg)](https://codeofpaper.com/paper/2503.10687)

Discussion