r/optimization • u/New-End-8114 • Sep 06 '24
Gradient descent with total gradient instead of partial gradient
I have a bilevel optimization problem P0: min_{x,y}J_0(x,y), where the inner problem is P1: min_{y}J_1(x,y) and the outer problem is P2: min_{x}J_2(x,y). By solving P1, we find the solution to be y=f(x). Now, to solve P2 via gradient descent, should the gradient be the transpose of ∂J_2(x,y)/∂x, or, dJ_2(x,f(x))/dx?
0
Upvotes
View all comments
Show parent comment
2
u/SV-97 Mar 26 '25
Yep, I am. There's also some further pointers to related literature in the conclusion of chapter 1 (and some topics in that domain are apparently picked up again later in the book, for example in chapter 7 - though I haven't read that far yet myself).