NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Exploring Low-Dimensional Subspace in Diffusion Models for Controllable Image Editing

Siyi Chen, Huijie Zhang, Minzhe Guo, Yifu Lu, Peng Wang, Qing QuNeurIPS 2024

While diffusion models like Stable Diffusion have revolutionized image generation, they remain notoriously difficult to control. Unlike Generative Adversarial Networks (GANs), which have well-mapped "latent directions" for editing (e.g., "add a smile"), diffusion models often feel like a black box. Achieving precise, localized edits—like changing just the curvature of a subject's hair or their hair color—usually requires expensive retraining or complex, slow optimization.

In this work, researchers introduce LOCO Edit (LOw-rank COntrollable image editing). This method provides a training-free, unsupervised way to perform precise image editing by leveraging a surprising discovery: inside the diffusion process, the model's internal mappings are actually quite simple.

LOCO Edit allows for precise, localized semantic changes, such as altering hair color and age, without affecting the background or facial structure.

TL;DR

LOCO Edit is a training-free, unsupervised method that enables precise, single-step image editing in diffusion models. By discovering that the model's internal "clean image predictor" is locally linear and low-rank, the authors identify semantic directions that allow for localized changes without affecting the rest of the image.

What Problem Does This Paper Address?

The core challenge in diffusion-based editing is disentanglement. If you want to change a person's hair color, you don't want their face shape or the background to change simultaneously. Existing methods often struggle with this:

  1. Global Control: Many methods can only change the whole image at once.
  2. Supervision Dependency: Some require text prompts or CLIP guidance, which can introduce biases or fail on fine-grained details.
  3. Efficiency: Many "training-free" methods actually require slow optimization loops for every single image you want to edit.

The authors sought to understand the "semantic space" of diffusion models to find a more direct, mathematically grounded way to manipulate content.

Methods: The Posterior Mean Predictor

The researchers focused on the Posterior Mean Predictor (PMP). In a diffusion model, the PMP is the function that takes a noisy image at a specific time step $t$ and tries to guess what the final, clean image $x_0$ looks like.

Their key technical contribution is the discovery of two "benign properties" of the PMP during the middle-to-late stages of denoising (specifically $t \in [0.5, 0.7]$):

  • Local Linearity: Small changes in the noisy input lead to proportional, predictable changes in the predicted clean image.
  • Low-Rank Jacobian: The "dictionary" of possible changes the model can make is very small. Most of the image's features are compressed into a low-dimensional subspace.

The LOCO Edit Pipeline: 1. Inversion: Take a real image and "reverse" the diffusion process to find its noisy representation $x_t$. 2. Jacobian Analysis: Compute the Jacobian of the PMP. By applying a mask to a Region of Interest (ROI), they calculate a "localized Jacobian." 3. SVD & Direction Finding: Use Singular Value Decomposition (SVD) to find the "principal directions" of change within that ROI. 4. Nullspace Projection: To ensure the edit is truly local, they project the chosen editing direction into the "nullspace" of the regions outside the mask. This mathematically guarantees that the edit won't bleed into parts of the image you want to keep original. 5. Single-Step Edit: Apply the edit in one shot and finish the denoising process.

Key Insights and Ideas

  • The "U-Shaped" Rank: The rank of the Jacobian is high at the very beginning (pure noise) and the very end (clean image), but it drops significantly in the middle. This "sweet spot" is where semantic control is most effective.
  • Semantic Directions are Physical: The singular vectors found by LOCO Edit correspond to meaningful physical attributes. One vector might control "eye size," while another controls "mouth opening."
  • Homogeneity and Transferability: Because these directions are properties of the model's learned space, a direction found for a specific feature on one image can often be transferred to a completely different image with high success.

Key Results

LOCO Edit significantly outperforms existing state-of-the-art methods in both precision and speed:

  • Success Rate: In human evaluations, LOCO Edit achieved a Local Edit Success Rate of 0.80, compared to 0.55 for BlendedDiffusion and 0.47 for Asyrp.
  • Efficiency: It identifies editing directions in roughly 79 seconds on a single GPU, whereas competing unsupervised methods like NoiseCLR can take an entire day.
  • Disentanglement: Qualitative results show that LOCO can adjust very specific features—like the size of a dog's tongue—without altering the rest of the scene.
Qualitative results demonstrate high disentanglement, allowing specific adjustments like the size of a dog's tongue while preserving the rest of the image.

Limitations and Future Work

While powerful, the authors note a few areas for growth:

  • Theoretical Scope: Their current mathematical proof relies on a "mixture of low-rank Gaussians" assumption for data, which may not capture the full complexity of real-world image distributions.
  • Text-Supervised Geometry: While they extended the method to text-to-image models (T-LOCO), they acknowledge that the geometric relationship between text prompts and these low-rank subspaces needs more rigorous study.
  • Multi-step Potential: The current method is "one-step" at a specific time $t$. Exploring how to combine edits across multiple time steps could lead to even more complex control.

Summary updated

BibTeX
@inproceedings{chen2024exploring,
  author = {Siyi Chen and Huijie Zhang and Minzhe Guo and Yifu Lu and Peng Wang and Qing Qu},
  title = {{Exploring Low-Dimensional Subspace in Diffusion Models for Controllable Image Editing}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=50aOEfb2km},
}
Figure