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

About Fix point iteration #12

Open
BraveDrXuTF opened this issue Jul 28, 2023 · 3 comments
Open

About Fix point iteration #12

BraveDrXuTF opened this issue Jul 28, 2023 · 3 comments

Comments

@BraveDrXuTF
Copy link

Thank you for your excellent work! I note the sample code in the blog said there should be a fixed point iteration before the one-step grident, so that it's guaranteed to be a contraction mapping right? I search the code with keyword "fix", "fixed", "iterations"and so on, but I cannot find fixed point iteration. So where is it?

@BraveDrXuTF
Copy link
Author

Besides, I'm also curious about you say " It is obvious that F is a contraction mapping", how can you guarentee it is a contraction mapping.

@Gsunshine
Copy link
Owner

Hi @BraveDrXuTF ,

Thank you for your interest in this work! Regarding your questions,

  1. This codebase does not contain the naming of "fixed point." The discussion presented in blog series 2 is for generic cases. As for further analysis, check this paper on training more generalized fixed point systems/deep equilibrium models. In addition, you can find Hamburger's code here, which treats the optimization algorithm as fixed point iteration.
  2. This is the assumption for analysis in Section 2.3. Please take a look at the sentence below Figure 2: One-Step Gradient on page 5. People established toolkits leaner toward optimization to prove the convergence of optimization algorithms rather than Lipschitzness in fixed point analysis. See this paper for the convergence of MU, for example.

Please let me know if you have additional questions!

Thanks!
Zhengyang

@BraveDrXuTF
Copy link
Author

Thanks you for providing rich details and references. So there may be a certain guarentee of convergence in matrix decomposition. And If we do not use factorization method to replace the attention mechanism, for example, we use other common neural arch, like fc, conv, and rnn, without any additional constraint, we would not have the guarentee of the good property that iteration will converge, right? In WGAN and Lipschitzness-GAN, they tend to clip the weights (WGAN) or penalize the gradients (Lipschitzness-GAN) of the discriminator, and by doing so they have the Lipschitzness.

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

2 participants