[Paper Review] Re-imagine the Negative Prompt Algorithm: Transform 2D Diffusion into 3D, alleviate Janus problem and Beyond
The paper introduces Perp-Neg, a training-free negative-prompt sampling method that uses perpendicular gradients to better separate negative prompts from the main prompt, improving view conditioning in 2D and mitigating the Janus problem in 3D DreamFusion.
Although text-to-image diffusion models have made significant strides in generating images from text, they are sometimes more inclined to generate images like the data on which the model was trained rather than the provided text. This limitation has hindered their usage in both 2D and 3D applications. To address this problem, we explored the use of negative prompts but found that the current implementation fails to produce desired results, particularly when there is an overlap between the main and negative prompts. To overcome this issue, we propose Perp-Neg, a new algorithm that leverages the geometrical properties of the score space to address the shortcomings of the current negative prompts algorithm. Perp-Neg does not require any training or fine-tuning of the model. Moreover, we experimentally demonstrate that Perp-Neg provides greater flexibility in generating images by enabling users to edit out unwanted concepts from the initially generated images in 2D cases. Furthermore, to extend the application of Perp-Neg to 3D, we conducted a thorough exploration of how Perp-Neg can be used in 2D to condition the diffusion model to generate desired views, rather than being biased toward the canonical views. Finally, we applied our 2D intuition to integrate Perp-Neg with the state-of-the-art text-to-3D (DreamFusion) method, effectively addressing its Janus (multi-head) problem. Our project page is available at https://Perp-Neg.github.io/
Motivation & Objective
- Identify limitations of current negative prompts when positive and negative prompts overlap.
- Develop a training-free method to use negative prompts without harming the main concept.
- Demonstrate improved view-conditioned 2D generation and reduced Janus problem in 3D via DreamFusion integration.
Proposed method
- Define Perp-Neg as a sampling scheme that uses perpendicular components of denoising scores to separate negative prompts from the main positive prompt.
- Generalize to a set of negative prompts by projecting each negative denoising component onto the space perpendicular to the main positive component (Equation 8).
- Replace or augment SDS-based loss with Perp-Neg guided terms during 2D and 3D generation (Equation 11 and related definitions).
- Apply Perp-Neg to 2D view conditioning to generate targeted back/side/front views by designing positive/negative prompt sets with view-aware weights.
- Integrate Perp-Neg into Stable DreamFusion to address the Janus problem by conditioning the 2D diffusion prior on desired views in 3D reconstruction (via Score Distillation Sampling variants).
- Conduct quantitative 2D view-alignment experiments and 3D DreamFusion experiments to validate fidelity improvements and Janus mitigation.
Experimental results
Research questions
- RQ1Can overlapping positive and negative prompts degrade prompt fidelity in diffusion models, and can Perp-Neg alleviate this?
- RQ2Does a training-free, perpendicular-gradient sampling scheme improve view-conditioned generation in 2D and reduce the Janus problem in text-to-3D pipelines?
- RQ3How effectively can Perp-Neg be integrated with DreamFusion to constrain view-conditioned 3D outputs?
- RQ4What are the empirical gains in 2D view fidelity and 3D view-consistency when using Perp-Neg compared with vanilla sampling and other baselines?
Key findings
- Perp-Neg significantly improves the success rate of generating the requested view in 2D prompts versus vanilla Stable Diffusion and CEBM baselines (Side view: 73.1%, Back view: 40.4%).
- CEBM performs poorly when positive and negative prompts overlap, while Perp-Neg handles overlap and preserves main semantic content.
- In 3D DreamFusion experiments, Perp-Neg reduces Janus artifacts, increasing the likelihood of correct view fidelity across prompts like “a corgi,” compared to non-Perp-Neg runs.
- Perp-Neg enables view interpolation and improved conditioning, enabling more accurate alignment with prompt-specified viewpoints.
- The method is training-free and can be applied to pre-trained diffusion models without fine-tuning.
- Experiments show improved 2D prompt fidelity translates into better 3D view-consistency and reduced canonical-view bias in the Janus problem.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.