Mason Swofford retweeted
Matt Gorski is up with the Bucs!
Having an excellent year in AAA -
- .300/.325/.529 (122 wRC+
- .853 OPS
- 3 HRs
- 7 doubles
- 14 RBIs
Mason Swofford retweeted
Replying to @latentgravity @SteveStuWill
The Origins of Wokeness: paulgraham.com/woke.html
Mason Swofford retweeted
Since Robert Reich is tweeting again, here is how people actually get rich in America (and why they get so much richer now than they used to):
paulgraham.com/richnow.html
Mason Swofford retweeted
Bertrand Russell on the fundamental difference between liberal and illiberal thinking (via @SteveStuWill):
Mason Swofford retweeted
I don't have too too much to add on top of this earlier post on V3 and I think it applies to R1 too (which is the more recent, thinking equivalent).
I will say that Deep Learning has a legendary ravenous appetite for compute, like no other algorithm that has ever been developed in AI. You may not always be utilizing it fully but I would never bet against compute as the upper bound for achievable intelligence in the long run. Not just for an individual final training run, but also for the entire innovation / experimentation engine that silently underlies all the algorithmic innovations.
Data has historically been seen as a separate category from compute, but even data is downstream of compute to a large extent - you can spend compute to create data. Tons of it. You've heard this called synthetic data generation, but less obviously, there is a very deep connection (equivalence even) between "synthetic data generation" and "reinforcement learning". In the trial-and-error learning process in RL, the "trial" is model generating (synthetic) data, which it then learns from based on the "error" (/reward). Conversely, when you generate synthetic data and then rank or filter it in any way, your filter is straight up equivalent to a 0-1 advantage function - congrats you're doing crappy RL.
Last thought. Not sure if this is obvious. There are two major types of learning, in both children and in deep learning. There is 1) imitation learning (watch and repeat, i.e. pretraining, supervised finetuning), and 2) trial-and-error learning (reinforcement learning). My favorite simple example is AlphaGo - 1) is learning by imitating expert players, 2) is reinforcement learning to win the game. Almost every single shocking result of deep learning, and the source of all *magic* is always 2. 2 is significantly significantly more powerful. 2 is what surprises you. 2 is when the paddle learns to hit the ball behind the blocks in Breakout. 2 is when AlphaGo beats even Lee Sedol. And 2 is the "aha moment" when the DeepSeek (or o1 etc.) discovers that it works well to re-evaluate your assumptions, backtrack, try something else, etc. It's the solving strategies you see this model use in its chain of thought. It's how it goes back and forth thinking to itself. These thoughts are *emergent* (!!!) and this is actually seriously incredible, impressive and new (as in publicly available and documented etc.). The model could never learn this with 1 (by imitation), because the cognition of the model and the cognition of the human labeler is different. The human would never know to correctly annotate these kinds of solving strategies and what they should even look like. They have to be discovered during reinforcement learning as empirically and statistically useful towards a final outcome.
(Last last thought/reference this time for real is that RL is powerful but RLHF is not. RLHF is not RL. I have a separate rant on that in an earlier tweet
nitter.cf/karpathy/status/182127…)
DeepSeek (Chinese AI co) making it look easy today with an open weights release of a frontier-grade LLM trained on a joke of a budget (2048 GPUs for 2 months, $6M).
For reference, this level of capability is supposed to require clusters of closer to 16K GPUs, the ones being brought up today are more around 100K GPUs. E.g. Llama 3 405B used 30.8M GPU-hours, while DeepSeek-V3 looks to be a stronger model at only 2.8M GPU-hours (~11X less compute). If the model also passes vibe checks (e.g. LLM arena rankings are ongoing, my few quick tests went well so far) it will be a highly impressive display of research and engineering under resource constraints.
Does this mean you don't need large GPU clusters for frontier LLMs? No but you have to ensure that you're not wasteful with what you have, and this looks like a nice demonstration that there's still a lot to get through with both data and algorithms.
Very nice & detailed tech report too, reading through.
Mason Swofford retweeted
I want to show you a clever trick you didn't know before.
Imagine you have six months' worth of data. You want to build a model, so you take the first five months to train it. Then, you use the last month to test it.
This is a common approach for building machine learning models.
Unfortunately, you may find out your model works well with the train data but sucks on the test data.
Overfitting is not weird. We've all been there. But often, the worst you can do is try and fix it before understanding why it’s happening.
Ask anyone about this, and they will give you their favorite step-by-step guide on regularizing a model. They will jump right in and try to fix overfitting. Don’t do this.
There's a different way. A better way.
Here is the question I want you to answer before you start racking your brain trying to fix a model:
Do your test and training data come from the same distribution?
When building a model, we assume the train and test come from the same place. Unfortunately, this is not always the case.
Here is where the trick I promised comes in:
1. Put your train and test set together.
2. Get rid of the target column.
3. Create a new binary feature, and set every sample from your train set to 0 and every sample from the test set to 1. This feature will be the new target.
Now, train a simple binary classification model on this new dataset. The goal of this model is to predict whether a sample comes from the train or the test split.
The intuition behind this idea is simple:
If all your data comes from the same distribution, this model won't work. But if the data comes from different distributions, the model will learn to separate it.
After you build a model, you can use the ROC-AUC to evaluate it. If the AUC is close to 0.5, your model can't separate the samples. This means your training and test data come from the same distribution. If the AUC is closer to 1.0, your model learned to differentiate the samples. Your training and test data come from different distributions.
This technique is called Adversarial Validation. It's a clever, fast way to determine whether two datasets come from the same source.
If your splits come from different distributions, you won't get anywhere. You can't out-train bad data.
But there's more!
You can also use Adversarial Validation to identify where the problem is coming from:
1. Compute the importance of each feature.
2. Remove the most important one from the data.
3. Rebuild the adversarial model.
4. Recompute the ROC-AUC again.
You can repeat this process until the ROC-AUC is close to 0.5 and the model can’t differentiate between training and test samples.
Adversarial Validation is especially useful in production applications to identify distribution shifts.
Low investment with a high return.
Mason Swofford retweeted
Announcing Living Images: optimize your images with generative A/B testing 👇
producthunt.com/posts/living…
Mason Swofford retweeted
AI is eating software. ChatGPT, Github Copilot, and Jasper are some of the fastest growing SaaS products ever. Building in this paradigm shift means answering a different set of eigenquestions.
I penciled through what these could be: philipjclark.substack.com/p/…
Mason Swofford retweeted
With the 57th pick in the 2019 #MLBDraft, the Pirates select OF Matt Gorski from Indiana University.
#LetsGoBucs
Mason Swofford retweeted
"Global warming isn't real"
Then how do you explain this picture NASA just sent me? – at West Lafayette, IN
Mason Swofford retweeted
Congratulations to @HSEHighSchool Mason Swofford! Valedictorian and Presidential Scholars Program Semifinalist. nitter.cf/CI_Fishers/status/7351…
HSEHS valedictorian semifinalist for Presidential Scholars Program ow.ly/NvRB300wD4G
Mason Swofford retweeted
HSE DECA. We're kind of a big deal. Just ask @masonDECA @Mswoff
Mason Swofford retweeted
One last thing before I go to bed: I was 100% robbed of a finalist spot this year at DECA. And I blame @Mswoff personally. – at Fishers, IN






























