Ask HN: As a professional, does it worth it to learn the math behind NN?
In 2021, as a (junior) professional working directly with ML/AI, does it worth it to learn what's going on in terms of mathematics behind Neural Networks? Or should we just focus on the pratical side of things, like daily applications using frameworks/libraries and metrics/performance?
17 comments
[ 3.0 ms ] story [ 53.1 ms ] threadhttps://www.amazon.com/Networks-Recognition-Advanced-Econome...
Another oldie-but-goodie is
https://www.amazon.com/Neural-Networks-Lecture-Computer-Scie...
which tells the secret of when to stop when you're doing "early stopping", something I've seen many modern deep learners fail to get right.
Off the top of my head I would say the fundamental math about deep networks is not really new. Most of the work in that field is pretty ad-hoc and not a lot is proven; probably people that are proving things are using difficult graduate-level math but you don't need to go there.
in practice, as long as you've studied basic calculus and understand how to find a minimum of a function via derivative you're good, there is your "gradient descent" in a nutshell: https://www.mathsisfun.com/calculus/maxima-minima.html
everything else is plug-and-play from existing libraries
you can ask any "data scientist" or "ML engineer" what they do all day, it's a whole lot of copy paste, and tweaking the data and parameters through trial and error until it fits
Edit: Ok , it would also help to understand dimensionality reduction via PCA/SVD at least once, it's available in any linear algebra book: https://en.wikipedia.org/wiki/Singular_value_decomposition , https://en.wikipedia.org/wiki/Principal_component_analysis that's probably the best and most "scientific" part of ML
Most of the stuff that is valuable in practice does not require much math.
Many people believe math actually hindered the development of AI.
Here's a nice, fairly detailed, summary - https://explained.ai/matrix-calculus/. But if you haven't taken undergraduate level single/multivariable calculus and linear algebra, I would take them from MIT Opencourseware even if it's just to fight off the impostor syndrome a little bit.
It won’t make you an ML expert, but it’s like the difference between knowing how to write a sort function vs. only knowing how to call a sort function. Ideally, you understand both. Not saying you need to understand how every sort function works internally and write a proof for it… but a basic understanding is helpful.