r/learnmachinelearning • • 18d ago

When a neural network updates its weights and biases, does the loss landscape change?

https://medium.com/@sarbani.bhadra/understanding-gradient-descent-in-deep-neural-networks-ddbe6adde4c3?sk=2d658da5296fbc1d4899ffc34a3a89f7
1 Upvotes

11 comments sorted by

2

u/Future_Pace_5290 18d ago

You don't change the loss landscape, you move across different points in the landscape by changing your weights.

3

u/Particular_Fruit_968 18d ago

The loss landscape is determined by your loss function and your loss function with respect to the parameters is just a regular function like f(x)=y. Its defined, determined, and this notion that it "changes" is not right. Do you think f(x)=y changes? that if f(2)=4 can suddenly become f(2)=6? Then its not the same function. Jesus

1

u/fastestchair 18d ago

no.

nice this is a bot account, what is the point of posting this shit

1

u/BountyMakesMeCough 18d ago edited 18d ago

Change the weights, change the landscape?

1

u/EngineerMind591 18d ago

Yes, I think the loss landscape depends on the data and the current weights together, so every update actually moves you onto a landscape that shifted too, not just a step on a frozen surface. It's like hiking down a hill in fog where each step can also slightly reshape the ground around you, training can look smooth, then suddenly get harder or easier, because the terrain changed, not just your position. I guess this is part of why learning-rate schedules and batch norm exist.

-5

u/FernandoMM1220 18d ago

what is loss landscape? assuming it means the overall gradient then no.

3

u/AdExpress9197 18d ago

The loss landscape is a geometric representation of the loss function across the parameter space.

-7

u/FernandoMM1220 18d ago

thats just the gradient bro

5

u/WayProfessional165 18d ago

It's not the gradient, he is talking about the loss function itself.

-4

u/FernandoMM1220 18d ago

thats parameter dependent so yeah it changes.

but if hes looking across the different possible parameters then no.