447 points · by alexmolas · 3y ago · 84 comments
On any given chatGPT topic, there are hundreds of comments usually. Here, so far 100 upvotes, only 7 comments.
The book looks great - and given the authors, it almost certainly is (I will buy it for sure). It makes me think though about the state of 'ML / AI / Data Science' - and the cynic part of me thinks that this upvotes / comments ratio kind of reflects the fact that most people interested in AI hype have not really touched a lot of underlying concepts and don't have any deeper understanding of maths / stats behind.
PS. That being said, I didn't do a meaningful comment on the link topic neither.
https://github.com/melling/ISLR
There’s an edX course from the authors:
This kind of books are key to getting started with Machine Learning/AI, and this particular book is a very good one. I started my ML journey with this book.
There is a lot of hype around AI and it is going to be like the dotcom bubble.
Unlike Crypto, AI has real uses right now and I am saying this not taking into account any LLM products. But there is also a lot of hype and wishful thinking, and this bubble is going to burst and hurt a lot of people. But that won't stop people making real money in the short term. Many hypers I know understand this well.
But AI is here to stay. And even after the bubble bursts, there will be real uses of AI all around us.
> But AI is here to stay. And even after the bubble bursts, there will be real uses of AI all around us.
This is, as a ML researcher, exactly where I'm at (in belief). The utility is high, but so is the noise. Rather, the utility is sufficient. The danger of ML is not so much X-risk or malevolent AGI, but dumb ML being used inappropriately. And in general, that is using ML without understanding the limitations and having checks on it to ensure that when hallucinations happen that they don't cause major problems. But we're headed in a direction where we're becoming more reliant upon them and then once we have a few big issues with hallucinations the bubble will burst and can end up setting us back a lot in our progress to creating AGI. Previous winters were caused by lack of timely progress, but the next winter will happen because we shoot ourselves in the foot. Unfortunately, the more people you give guns to, the more likely this is to happen -- especially when there's no safety training or even acknowledgement of danger (or worse, the only discussion is about being shot by others).
As an ML researcher myself, I'm glad to see other researchers maintaining a level-headed approach amidst the noise.
I understand your sentiment but we also have to accept that for a lot of Ml usecases just calling ChatGPT api is 100x better approach than creating your own Ml model, and thus there is really no need to understand any math.
As an example I am building an Ai nutrition counting app. And I use ChatGPT function calling. I can just add a field that has say an emoji of the good and it automatically classifies any food to the right emoji. There is absolutely no need to know gradient descent or any fundamental property to be able to do that.
That intern who figured out how to make a POST request and accidentally committed the API keys to public GitHub? Long gone. The rise and grind manager who discovered ChatGPT in April? Retired. But we will be there, ready to cut your costs by 95% because people couldn’t be bothered to understand the basics of what they’re using, in exchange for a sizable consulting fee of course.
Have you forgotten the No Free Lunch Theorem?
Not really interesting.
Similar to seeing job postings some years back (and even recently), wanting n+ years of Rails experience when DHH had created it significantly less than n years before.
It's almost a meme on HN at this point.
Since they're probably using ChatGPT to generate these job reqs - this is only to be expected.
w.r.t HN, there's almost all hype and no "science". People have strong convictions but not strong evidence. They happily cite papers, but only read the abstracts and miss the essential nuance. Especially in a field where suggesting limitations puts you at high risk of rejection (reviewers just copy paste that and thank you for the work).
w.r.t academia, it is a bit better, but I find that in general there are a lot of researchers missing math fundamentals. I know or have met people at top universities or top labs that don't know the difference between likelihood and probability. Similarly ones that don't understand probability density. Even ones working on diffusion. But I will say, that in general the most prominent researchers do have these skills. But you'll notice that they aren't publishing as fast and their works might not even be as popular. A lot of research right now goes into parameter tuning and throwing compute at the problem. I've been a bit vocal about this though. Mostly due to it being a barrier to other types of research (because I'll admit that the tuning is needed, but we need to be honest that it isn't high innovation either and that it is hard to prove these are better given that we haven't tuned other models/architectures to the same degree).
tldr: You're pretty spot on. There's a shit ton of noise in ML/AI. Especially on HN
Edit:
I thought I should also suggest Richard McElreath's Statistical Rethinking (https://xcelab.net/rm/statistical-rethinking/), which is a more enjoyable read than ISLR and will also introduce you to Bayesian stats (Lectures are also on youtube). I'd also suggest Gelman's Regression and Other Stories (https://avehtari.github.io/ROS-Examples/).
I'm a phd student in a "top university", in a research group primarily focused on data science (NLP, LLMs, blah blah blah). I'm 100% sure I am the only person in the group of ~25 (including profs/postdocs) that knows the difference between f(θ|x) and f(x|θ). In fact I'm pretty sure I'm the only person that has ever even seen f(θ|x) (because I took a stats sequence out of casella+berger). This group puts out dozens of papers a year. My research focus is not data science (compilers).
Fwiw, at CVPR last year I asked every author of a diffusion paper about likelihood or score and only 2 gave me meaningful answers (1 compared their model's density against the data's density which was estimated through an explicit density method. Yeah, parametric vs parametric, but diffusion is not a tractable density method). It is really impressive that people who are working with probability and likelihood every day do not understand the difference (I see many assume they are the same, not just not know the difference).
Case in point, Google AML AI, which promises to do away with pesky model validation and such ( because it will do everything in a closed box you will not have a reason to investigate ). I am already looking forward to the conversations with regulators.
In that case it is hard to say anything of value other than an upvote.
That's because anyone can interact with chatgpt. Textbooks on the other hand take serious effort to consume.
Linear Algebra is a huge ... space?
And then there's all the other algebras. I'm not sure what you are thinking, like, do you not know matrix multiplication you had better get a clue.
https://statisticswithjulia.org/
They have a book on Mathematics of DL too which has several of the concepts covered here.
(Disclosure: I am slightly biased towards this since I've known the author by online interactions)
Having the examples only in R was a pain when teaching with it while using Python. I hope they‘ll now turn this into a series of Jupyter notebooks and distribute it through Colab or similar.
You can find them here: https://www.statlearning.com/resources-python
I’ve only had the chance to look over the Python lab for a few minutes, but compared to what I remember from the R labs, it is much, much more involved and longer.
I know HN likes to complain about how difficult and confusing R is, but I think that it is an easier language for beginners or stat inclined people to start doing statistical work in.
/two cents
I suppose that's what makes the ISLA being translated such a big deal. A sufficiently advanced student in ML/Statistical modeling doesn't really need code at all since it should be fairly trivial to translate the mathematical models into computational ones, and the ability to do so is a prerequisite to understanding these models in the first place.
Sidney Siegel, N. John Castellan, Jr. 'Nonparametric Statistics for the Behavioral Sciences, Second Edition', ISBN 0-07-057357-3, McGraw-Hill, New York, 1988.
So, "nonparametric" means make no assumptions about a probability distribution based on parameters. Or, call the material distribution-free.
E.g., get to see about resampling plans -- tiny assumptions, really simple, darned cleaver, quite generally useful, especially appropriate for computing. Might use resampling to get more information from the data from "A - B" tests.
Nonparametric Statistics for the Behavioral Sciences,
should make a good contribution to statistical learning. Some of the techniques are so robust, i.e., need such meager assumptions, that they should be especially welcome in automatically applied AI (artificial intelligence) applications.
Actually the book ISLR, Introduction to Statistical Learning, does claim to cover
"Resampling methods"
It can be watched without the book. The coding parts can be skipped. It has some insights missing in the book, and they've got an amazing mix of incredible technical talent and a great ability to distill and explain concepts.