English

GeNIe: Generative Hard Negative Images Through Diffusion

Computer Vision and Pattern Recognition 2024-11-08 v3

Abstract

Data augmentation is crucial in training deep models, preventing them from overfitting to limited data. Recent advances in generative AI, e.g., diffusion models, have enabled more sophisticated augmentation techniques that produce data resembling natural images. We introduce GeNIe a novel augmentation method which leverages a latent diffusion model conditioned on a text prompt to combine two contrasting data points (an image from the source category and a text prompt from the target category) to generate challenging augmentations. To achieve this, we adjust the noise level (equivalently, number of diffusion iterations) to ensure the generated image retains low-level and background features from the source image while representing the target category, resulting in a hard negative sample for the source category. We further automate and enhance GeNIe by adaptively adjusting the noise level selection on a per image basis (coined as GeNIe-Ada), leading to further performance improvements. Our extensive experiments, in both few-shot and long-tail distribution settings, demonstrate the effectiveness of our novel augmentation method and its superior performance over the prior art. Our code is available at: https://github.com/UCDvision/GeNIe

Keywords

Cite

@article{arxiv.2312.02548,
  title  = {GeNIe: Generative Hard Negative Images Through Diffusion},
  author = {Soroush Abbasi Koohpayegani and Anuj Singh and K L Navaneet and Hamed Pirsiavash and Hadi Jamali-Rad},
  journal= {arXiv preprint arXiv:2312.02548},
  year   = {2024}
}

Comments

Our code is available https://github.com/UCDvision/GeNIe

R2 v1 2026-06-28T13:41:21.178Z