*in machine learning
One of my favorite blog posts of all time was written by Andrej Karpathy nearly ten years ago. In it, he details how he would require the students of his CS231n Deep Learning class at Stanford to implement the forward and backward passes of neural networks by hand (that is, in Python with NumPy). Why? Because he wanted his students to leave his class with a visceral understanding of backpropagation. They should know how it works, why it works, and thus how to fix it when it stops working.
It’s a great read, and I highly recommend that anyone and everyone interested in ML peruse it. You can find it here.
There are some things that are sealed abstractions (that is, they are not leaky). But I do not think any of them exist in the serious study of machine learning. Some examples include:
Sure, with some of these things you occasionally need to understand the underlying system for performance tuning. But knowledge of the underlying system is rarely the difference between success and failure.
ML is not that way. To successfully train a model, you need to have a clear understanding of every aspect of the system, all the way down to how individual weights and biases are updated. It is not a kind discipline.
Obviously, there is Karpathy’s example of backpropagation, but it goes further than that. Every aspect of model architecture can influence the shape of the cost function optimized via backpropagation, which means every aspect of model architecture is leaky.
I have got the sense that laymen believe that any problem can be solved by throwing a transformer at it. If only it were so simple.
Successful use of a transformer (or any model architecture, for that matter) depends on a good understanding of how it works and how it affects the cost function.
As with any kind of system with a Rube Goldberg–level complexity, it is best to take your time. Go slow. Skip that extra pot of coffee. It’s better to be right slowly than wrong very fast. Understand every aspect of your model and training regimen before you start, not after.
Published October 16, 2026 at 9:08 PM
Proofread by Harper.
A complete or partial loss of function while reviewing the output of a coding agent.
I like HackerNews, but I don't love that so much of it has turned into discussion of a single topic: AI. This is a version of HackerNews, filtered to remove any article focusing on __AI__. Refreshes about every ten minutes.
I have been seeing an increasingly prevalent trend of people showing up in online spaces flaunting that they are writing with the assistance of AI. They seem to be proud of this. They shouldn't be.