Giter VIP home page Giter VIP logo

Comments (3)

Cranial-XIX avatar Cranial-XIX commented on July 19, 2024

Sorry that I do not see the problem here. Note that when $g_w = 0$ it has to be that $g_0 = 0$, as $g_w^\top g_0 \geq (1 - c) ||g_0||^2 \geq 0$. So it just means that CAGrad finds a stationary point of $L_0$, which is also a Pareto optimal point.

from cagrad.

PierreQuinton avatar PierreQuinton commented on July 19, 2024

This holds only when $c\leq 1$, I guess you don't consider so much the case $c>1$, could you explain a bit why ?

If $c>1$, it is possible that $g_w=0$ and $g_0\neq 0$ in that case when dividing by $| g_w|$ the computation of CAGrad in your code will blow up, This is because $\lambda=0$ and setting $d=g_0+g_w/\lambda$ is a problem. Actually in the original paper, I think we are supposed to split the cases when this happens, luckily if we know that $\lambda=0$, then the problem has the same solution as the unconstrained one, therefore from what I said above, you can just pick $d=0$.

from cagrad.

Cranial-XIX avatar Cranial-XIX commented on July 19, 2024

Thanks for asking, I now understand what you mean. Yes, $\lambda = 0$ should be a separate case as the optimal $d$ form is different. Thanks for catching it.

from cagrad.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.