← Latest papers
📊 statistics

Towards More General Control of Diffusion Models Using Jeffrey Guidance

This paper introduces Jeffrey guidance, a principled framework that leverages Jeffrey's rule to extend diffusion model control beyond standard conditional sampling by updating marginal distributions toward prescribed targets while minimally perturbing the joint distribution, thereby achieving improved image quality and fairness.

Original authors: Raphaël Razafindralambo, Rémy Sun, Frédéric Precioso, Jes Frellsen, Pierre-Alexandre Mattei

Published 2026-06-12
📖 5 min read🧠 Deep dive

Original authors: Raphaël Razafindralambo, Rémy Sun, Frédéric Precioso, Jes Frellsen, Pierre-Alexandre Mattei

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a very talented artist (a Diffusion Model) who can paint beautiful pictures from scratch. This artist is great, but sometimes you want to tweak their work without hiring a new artist or retraining them from scratch. You just want to say, "Hey, make the sky bluer," or "Make sure there are equal numbers of men and women in the crowd."

Usually, artists have a simple way to do this: you give them a specific label, like "Cat," and they try to paint a cat. This is called Classifier Guidance. But what if you don't want a specific label? What if you want to change the overall vibe of the painting, like making the colors match a specific photo album, or ensuring the crowd isn't biased toward one gender? Standard instructions struggle with these vague, "big picture" goals.

This paper introduces a new method called Jeffrey Guidance. Think of it as a "Universal Remote Control" for the artist's imagination.

The Core Idea: The "Jeffrey Rule"

To understand the magic, imagine you have a recipe book (the Joint Distribution) that tells you how to make a dish (the image) based on the ingredients you have (the attributes, like gender or age).

  • Old Way (Bayes/Standard Guidance): If you want a specific dish, you say, "I want the recipe for Spaghetti." The artist looks up "Spaghetti" and cooks that. It's rigid.
  • New Way (Jeffrey Guidance): Imagine you don't care about the specific recipe, but you want the flavor profile of the final meal to match a specific target (like "I want the crowd to be 50% men and 50% women"). Jeffrey's rule is a mathematical trick that says: "Keep the cooking method exactly the same, but swap out the ingredients to match the new flavor profile you want."

It updates the "marginal" (the overall mix of ingredients) to match your target, while keeping the "conditional" (how the artist actually paints the details) intact. It's the most minimal change possible to get the result you want.

Analogy 1: The DJ and the Playlist (Embedding Guidance)

Imagine the artist is a DJ. The "embedding" is like the genre of music they are playing.

  • The Problem: The DJ usually plays a mix that sounds a bit different from the original hits (the training data). The "FID" score is like a music critic rating how close the DJ's mix is to the original hits.
  • The Jeffrey Fix: The authors used Jeffrey Guidance to tell the DJ, "Don't just play any song; make the entire playlist sound exactly like the original Top 40 hits."
  • The Result: The DJ didn't change their style of mixing (the neural network wasn't retrained). They just adjusted the volume of certain tracks during the performance. The result? The playlist sounded much more like the original hits (the FID score dropped significantly), even though the individual songs still sounded like the DJ's work.

Analogy 2: The Seating Chart (Fairness and Decorrelation)

Imagine the artist is hosting a party and generating a guest list.

  • The Problem: In the original guest list, the artist accidentally invited way more "Young Women" than anyone else, and almost no "Old Men." Also, the "Young" and "Male" guests were strangely linked (maybe the artist only thought of young men as "athletes" and young women as "dancers").
  • The Goal: The organizers want a fair party. They want:
    1. Gender Parity: Exactly 50% men and 50% women.
    2. Decorrelation: Being "Young" shouldn't automatically mean you are "Male" or "Female." They should be independent.
  • The Jeffrey Fix: Instead of telling the artist, "Draw a man," or "Draw a woman," the authors used Jeffrey Guidance to say, "Adjust the guest list so the overall ratio of men to women is 50/50, and break the link between age and gender."
  • The Result:
    • Parity: The party became perfectly balanced (50/50) without ruining the quality of the invitations (the images still looked good).
    • Decorrelation: The strange link between "Young" and "Male" was broken. The artist started inviting young men, young women, old men, and old women in a way that felt natural and independent, rather than following a hidden bias.

Why is this a big deal?

  1. It's Plug-and-Play: You don't need to retrain the artist. You just add a small "correction term" while the artist is working.
  2. It's Flexible: You aren't limited to simple labels like "Cat" or "Dog." You can aim for complex goals like "Match the statistical distribution of a specific dataset" or "Remove bias between two specific traits."
  3. It's Principled: It's not just a random guess or a hack. It's based on a solid mathematical rule (Jeffrey's Rule) that guarantees you are making the smallest possible change to the original model to achieve your new goal.

The Catch

The paper notes that while this method works wonders for the "stats" (the numbers look perfect), sometimes the human eye doesn't notice a huge difference in the pictures themselves. It's like tuning a radio: the signal (the statistics) is perfect, but the song (the image) might sound mostly the same to a casual listener. However, for tasks like fairness or matching specific data distributions, this "invisible tuning" is exactly what's needed.

In short, Jeffrey Guidance gives us a precise, mathematical way to steer AI art generators toward specific statistical goals—like fairness or matching a dataset—without having to rebuild the engine from scratch.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →