Live data from Hacker News

Gradient Descent Finds Global Minima of Deep Neural Networks

arxiv.org

11–20 of 60 posts

Re: Gradient Descent Finds Global Minima of Deep Neural Networks

#11

Earlier quoted context omitted.

This is not necessarily a trivial fact, but I wouldn't call it incredible. It says a net trained with gradient descent can fit the input perfectly if its much larger than the input. But this says nothing about generalization, i.e. performance on test set -- which is what we really want.

Importantly not SGD, just GD.

you're right, fixed.

Re: Gradient Descent Finds Global Minima of Deep Neural Networks

#12
post #8

Although I'm no expert, isn't this result an incredibly important contribution? This paper claims to prove that: > The current paper proves gradient descent achieves zero training loss in polynomial time for a deep over-parameterized neural network with residual connections (ResNet). If this variant of gradient descent is able to reach global minima in polynomial time, and if neural networks are proven to approximate…

I interpret it as saying: "non-convexity ain't no big deal in this context", and this is the latest contribution in a line of other "no spurious local minima" machine learning theory research. It's interesting for showing that it applies to a rather complex model like ResNet.

Its quite important that its not so much about "non-convexity", its more about "random initialization". All these results, and there are others, more sophisticated, basically say that after random init everything is already good, and the gradient descent just has to train the highest layer, without screwing up the previous ones. They are all pretty naive that way.

Re: Gradient Descent Finds Global Minima of Deep Neural Networks

#13
I did not understand the paper very well.

1. It's theoretically impossible to guarantee a convergence to global optima using gradient descent if the function is non-convex.

2. The only way to guarantee is to start the gradient descent from different points in the search space or try with different step sizes if the algorithm only starts from the same point in the search space.

3. Also does "achieving zero training loss" mean the network has converged to the global optima? I used to know you will get zero training loss even if you are at a local minima as well.

Please correct me if I am wrong.

Re: Gradient Descent Finds Global Minima of Deep Neural Networks

#14

I did not understand the paper very well. 1. It's theoretically impossible to guarantee a convergence to global optima using gradient descent if the function is non-convex. 2. The only way to guarantee is to start the gradient descent from different points in the search space or try with different step sizes if the algorithm only starts from the same point in the search space. 3. Also does "achieving zero training lo…

1) Just because you can prove convergence for convex functions does not mean you can't prove it for non-convex functions.

2) This is "a way" not "The only way".

(If A then B) does not imply (if not A then not B)

Re: Gradient Descent Finds Global Minima of Deep Neural Networks

#16

I did not understand the paper very well. 1. It's theoretically impossible to guarantee a convergence to global optima using gradient descent if the function is non-convex. 2. The only way to guarantee is to start the gradient descent from different points in the search space or try with different step sizes if the algorithm only starts from the same point in the search space. 3. Also does "achieving zero training lo…

FF NNs of even one hidden layer are universal approximators. That is, they do find the global min. What this doesn't tell you is that it's likely a huge graph and will take a looong time to optimize for even trivial data sets. There's lots of proofs around. That's why SGD is used, and for only a small subset of training points at a time.

Re 2: No.

Re 3: Yes.

Re: Gradient Descent Finds Global Minima of Deep Neural Networks

#17

I did not understand the paper very well. 1. It's theoretically impossible to guarantee a convergence to global optima using gradient descent if the function is non-convex. 2. The only way to guarantee is to start the gradient descent from different points in the search space or try with different step sizes if the algorithm only starts from the same point in the search space. 3. Also does "achieving zero training lo…

1) Just because you can prove convergence for convex functions does not mean you can't prove it for non-convex functions. 2) This is "a way" not "The only way". (If A then B) does not imply (if not A then not B)

>Just because you can prove convergence for convex functions does not mean you can't prove it for non-convex functions.

I don't understand. How do you prove a gradient descent is guaranteed to escape local minima?

Re: Gradient Descent Finds Global Minima of Deep Neural Networks

#18

Earlier quoted context omitted.

1) Just because you can prove convergence for convex functions does not mean you can't prove it for non-convex functions. 2) This is "a way" not "The only way". (If A then B) does not imply (if not A then not B)

>Just because you can prove convergence for convex functions does not mean you can't prove it for non-convex functions. I don't understand. How do you prove a gradient descent is guaranteed to escape local minima?

Convex functions aren't the only functions with a single local (and global) minimum - consider sqrt(|x|) for a simple 1d example.

Re: Gradient Descent Finds Global Minima of Deep Neural Networks

#19

Although I'm no expert, isn't this result an incredibly important contribution? This paper claims to prove that: > The current paper proves gradient descent achieves zero training loss in polynomial time for a deep over-parameterized neural network with residual connections (ResNet). If this variant of gradient descent is able to reach global minima in polynomial time, and if neural networks are proven to approximate…

Well, without reading the whole paper, two important things strike me. 1. Zero training loss is impossible in most networks because the last layer can only reach the targets asymptotically. 2. Zero training loss means nothing from a practical standpoint. We've had algorithms capable of this for a long time (knn [k=1], decision trees etc.).

1. people overfit the baby datasets to zero training loss (MNIST) all the time. maybe you meant a "hard" dataset.

2. You clearly have no idea what you are talking about. This paper is trying to argue a bit about why neural networks generalize well by showing with math that a nn with some of their conditions converges to the zero training loss. It isn't remotely meant to be practical. IT IS A THEORETICAL PAPER.

And comparing it to nearest neighbors of 1 is so so so so so silly it isn't even wrong.

edit. #1 is actually an entire research direction in the theory of machine learning fyi.

It is possible to get neural networks that massively overfit but still generalize (which Is weird).

https://arxiv.org/pdf/1611.03530.pdf

That paper was really famous. It showed you can get zero training loss on data when you replace the labels with random noise.

edit 2: I am sorry to be harsh. It is just hard to read such arrant nonsense.

Re: Gradient Descent Finds Global Minima of Deep Neural Networks

#20

Earlier quoted context omitted.

>Just because you can prove convergence for convex functions does not mean you can't prove it for non-convex functions. I don't understand. How do you prove a gradient descent is guaranteed to escape local minima?

Convex functions aren't the only functions with a single local (and global) minimum - consider sqrt(|x|) for a simple 1d example.

Yes, that's true. But in optimization domain the concept of "convexity" is understood in terms of set, not always from the 2nd derivative of a function. Because you might have search spaces where you are not able to differentiate the objective function at all. In those cases the "convex" means a "convex set".
Post reply on HN