GeNIe: Generative Hard Negative Images Through Diffusion

Soroush Abbasi Koohpayegani, Anuj Singh, K L Navaneet, Hamed Pirsiavash, Hadi Jamali-Rad
12/5/2023
cs.CV

Official code: UCDvision/GeNIe (12 stars, MIT, last commit 2024-10-02).

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

View on arXivView PDF

Code Implementations(1)

UCDvision/GeNIeOfficial100%
MIT

Official implementation for "GeNIe: Generative Hard Negative Images as Data Augmentation"

121Shell, Python2 years agoMIT

Similar Papers

Cite this paper

@article{koohpayegani2023genie,
  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},
  year   = {2023},
  eprint = {2312.02548},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.02548v3}
}

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/2312.02548.svg)](https://codeofpaper.com/paper/2312.02548)

Discussion