Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why aren't neural networks convex?

Unlike linear and logistic regression, ANNs cost functions are not convex, and thus are susceptible to local optima. Can anyone provide an intuition as to why this is the case for ANNs and why the hypothesis cannot be modified to produce a convex function?

like image 419
Free Url Avatar asked Oct 23 '25 12:10

Free Url


1 Answers

I found a sufficient explanation here:

https://stats.stackexchange.com/questions/106334/cost-function-of-neural-network-is-non-convex

Basically since weights are permutable across layers there are multiple solutions for any minima that will achieve the same results, and thus the function cannot be convex (or concave either).

like image 73
Free Url Avatar answered Oct 27 '25 04:10

Free Url



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!