Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when do we use objective "pred_x_start"? #291

Open
liaocs2008 opened this issue Feb 14, 2024 · 3 comments
Open

when do we use objective "pred_x_start"? #291

liaocs2008 opened this issue Feb 14, 2024 · 3 comments

Comments

@liaocs2008
Copy link

Hi diffusion developers,

Thank you for the open source development!

I have a naive question about the objective "pred_x_start". If we use this objective, after training we have a model that can directly denoise from any timestep xt to x0. In this case, what is the purpose of reverse diffusion process with >1 timesteps?

There are essentially two possible outcomes after training:

  1. We have a well trained and PERFECT denoising model that always gives ideal x0. The reverse diffusion seems to be a waste of time adding noise to the perfect x0 at each timestep.
  2. We have a regular denoising model that gives approximately optimal x0. However, the reverse diffusion will keep adding noise during the process. This is like adding extra error (noise) on top of existing approximation error, which seems to make it even harder for the model to denoise.

Best,
Leo

@liaocs2008
Copy link
Author

To clarify, the p(x(t-1)|xt) is the denoise step in most papers, which may be unncessary as discussed. As Eq. 9 in https://arxiv.org/pdf/2107.00630.pdf, the well trained model by "predict_x_start" is already capable of producing x0 from xt.

@huyduong7101
Copy link

I had the same question. I read a couple of blogs, but there's no ones that clarify this issues.

@chengyiqiu1121
Copy link

chengyiqiu1121 commented May 8, 2024

Hello, Do you figure it out? I have the same question too. I don't know which paper should I read:(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants