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

Can we apply modified sampling algorithm to the problems presented in the paper? #3

Open
kevin-on opened this issue Dec 26, 2022 · 2 comments

Comments

@kevin-on
Copy link

Hello, I have been reading your paper and had a few questions that I thought you might be able to help with.

In the paper, you argue that the proposed algorithm can solve problems that cannot be solved with the previous modified sampling algorithm. However, to maximize c(x, y) in the modified sampling algorithm, couldn't we just calculate the gradient of c(x', y) and adjust each sampling step, where x' is the predicted x0 in each timestep? Is there some critical issue with this sampling algorithm that I am not aware of?

I would greatly appreciate any insights you could provide on this matter. Thank you for your time and for the valuable contributions you have made to the field.

@qubewx
Copy link

qubewx commented Jan 5, 2023

I am also interested in how you could explain your question in detail.

@AlexGraikos
Copy link
Owner

Hello and thanks for the constructive comments,

I think that what you are proposing is similar to the idea presented here https://arxiv.org/pdf/2111.14818.pdf where the authors perform gradient steps using \hat{x_0} to also minimize the distance of the sampled image to a target CLIP embedding.

So yes, what you are proposing is definitely possible!

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