Pith. sign in

REVIEW 1 cited by

ContrastiveCFG: Guiding Diffusion Sampling by Contrasting Positive and Negative Concepts

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2411.17077 v2 pith:K3Y6CXB4 submitted 2024-11-26 cs.LG cs.AIcs.CV

classification cs.LGcs.AIcs.CV
keywords guidanceconditiondiffusiongivennegativeconceptsconditionalconditions
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

As Classifier-Free Guidance (CFG) has proven effective in conditional diffusion model sampling for improved condition alignment, many applications use a negated CFG term as a Negative Prompting (NP) to filter out unwanted features from samples. However, simply negating CFG guidance creates an inverted probability distribution, often distorting samples away from the marginal distribution. Inspired by recent advances in conditional diffusion models for inverse problems, here we present a novel method to achieve guidance toward the given condition using contrastive loss. Specifically, our guidance term aligns or repels the denoising direction based on the given condition through contrastive loss, achieving a similar guiding effect to traditional CFG for positive conditions while overcoming the limitations of existing negative guidance methods. Experimental results demonstrate that our approach effectively injects or removes the given concepts while maintaining sample quality across diverse scenarios, from simple class conditions to complex and overlapping text prompts.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Synthetic Data Augmentation using Pre-trained Diffusion Models for Long-tailed Food Image Classification

    cs.CV 2025-06 conditional novelty 5.0 of 10

    A two-stage diffusion-based data augmentation pipeline with confusing-class negative prompts improves long-tailed food image classification accuracy on Food101-LT and VFN-LT.

Pith tools