105 points · by pseudolus · 3y ago · 35 comments
In a lot of cases, yes. You can start with a reasonable baseline architectural guess, like “convolution should be good for vision” or “attention should be good for language”, but after that it's a lot of guess and check.
I consider it a tragedy that we throw huge hogs of models into datacenters and let them churn without giving much thought to improving performance. The climate impacts relative to the real benefits are measurable and depressing for a field so focused on innovation. Usually the 100x model built by a team of "data scientists" over a month is no better than a 1x model built by a couple SMEs over a couple weeks.
Not unlike how you can linear regress on x1,x1^2,x1^3,x2,x2^2. Encoding prior knowledge about input data as additional inputs helps with machine learning. 1980 called it wants its accomplishments back.
But in that case it's not quite Fourier analysis because those functions aren't applied to the input; they are just constants that are added to the input because transformers are permutation invariant (without some positional encoding).
Was there a model that applied sin and cos to the input?
Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domains, https://arxiv.org/abs/2006.10739
The world was all model-based analysis, and then neural networks came along. Model-based analysis-which requires a thorough understanding of the model mathematics-went out the window. Now, we let the network develop its own model, but it’s based on the data that is used to train it. But what if that data is biased? What if the data doesn’t contain some necessary “truth?”
I feel that I t’s like driving a car looking out of the rear window to see where you have been. This can’t be good.
However, there are many, many useful real world tasks where we haven't been able to do that (e.g. almost all of image analysis, image generation, a significant part of of text analysis and generation tasks), so for these tasks the (valid) criticism doesn't really matter, as we don't have any reasonable alternatives - if let the network develop its own model, we get a somewhat working solution (with all the risks you mention), and if we don't, then we best we can make is unusably bad.
If all the windows in your car are painted opaque black except the rear window, then driving the car by looking out of the rear window to see where you have been can be as good as it gets.
The most successful applications of ML in my own career have always been judiciously building small task-specific models that fit inside a broader system. And there is also usually quite a lot of consideration being given to the model input data as well.
Similarly, I have never seen a "just throw a model at it" project succeed in a finite amount of time.
The ML approach is a machine generating a function from test input data to test output data.
Both approaches will be compromised by biased data.
You could argue that you don't really need the data in the classic approach, if the human knows what he's doing. But that's kind of like writing code without writing tests. I'm not arguing for or against tests here, but perhaps you'd just be shifting the source of the bias from the data to the human doing the coding?
> What if the data doesn’t contain some necessary “truth?”
This is my gut reaction to a lot of data-driven-crap. "We increased our customer acquisition by-" No you didn't. "Customers are 15% more likely to-". Nope.
> I feel that it's like driving a car looking out of the rear window
I don't think this an apt metaphor here for ML in general, but I think it could apply to other HNer's utopian vision of ML, e.g. once GPT is "good enough", we'll be able to throw away the real world data and use GPT to train more models.
[0] https://academic.oup.com/pnasnexus/advance-article/doi/10.10...
1. Knowing when to use the right tool, and
2. Being in the right place at the right time to offer the insight.
What’s obvious to the expert is frequently intractable to the outsider. In many cases, I wouldn’t call it so much “avoidance” as “not knowing the solution exists at all”.
Edit: I missed the quip about the Kalman comment being in jest, my reply probably wasn’t necessary but I’ll leave it up.
99% of the time it seems they're not wrong, despite control engineering being a pretty large area of research.
http://www.ecircuitcenter.com/Circuits/op_pid/op_pid.htm
https://www.nutsvolts.com/magazine/article/the_perceptron_ci...
maybe some s-plane control theory if you’re feeling fancy.
The next level up is obvious