Poking at LLM benchmarks, 2 - FrontierCS
TLDR: Neat recipe to construct tasks, with a very renewable source (CS research papers). Useful to look at how frontier models work through the same scoped but open-ended problems.
TLDR: Neat recipe to construct tasks, with a very renewable source (CS research papers). Useful to look at how frontier models work through the same scoped but open-ended problems.
This is a rough sketch of the inference loop in an LLM, as it predicts one token at a time. I find new research hard to follow unless it's clear where the change plugs in. Code helps, even pseudo-code that doesn't run, since it makes the primitives and the control-flow explicit. It's also been helpful to ground explanations from AI assistants, in the style I prefer.
The snippets below only convey the shape, and aren't real implementations. For more background on why tranformers are the way they are, there are a lot of good sources. My favorite piece of exposition is on Cosma Shalizi's blog, which you should go read!
TLDR: Good task shape, but not a well-vetted benchmark. Hard to trust the leaderboard.
First of a few posts looking at the benchmarks used to evaluate LLMs.
Each new model release decimates the older benchmarks but outside models from the Openai/Anthropic duopoly and Deepseek, I still don't find the others reliable enough to be a daily driver. Would be interesting to see which benchmarks are actually a good proxy for things I use the models for -interactive coding (no software factories here).
What do LLMs that are designed to be fine-tuned later look like? For ex, if you are Thinking Machines, where the main product is a fine-tuning platform, do you train the base model any differently besides trying to cover a lot of different domains?
How do you make sure the model weight are amenable to new behavior via further training rather than fighting it?
Can you preserve general solution strategies, and meta heuristics in the model weights; while making it easy to swap out more factual knowledge? Does this split even make sense?
What should the model be fine-tuned with, and what should you leave for in-context learning at query time?
Do you have to sacrifice performance on typical frontier model evals, for faster/better specialization?
What are good proxies for how fine-tunable a model artifact is? In-context learnability proportional to gains feasible with finetuning?
Computers are now non-deterministic too, great progress.
At least it apologizes if you ask?

Interesting work on predicting LLM benchmark scores, from other benchmarks - you fit a regression model over the scores on atomic, single-turn tasks to predict eval scores for agentic tasks, which are generally multi-turn and expensive to run.
Other recent work in the same vein - https://microsoft.github.io/benchpress/
The core idea is kinda expected. The matrix of LLM scores by models agains benchmark tasks should be low-rank.
LLM performance on benchmarks is fairly general - a model that scores well on tasks A and B typically also performs well on task C.
Some selection pressure that ensures above always holds true. Labs don't release model checkpoints until it performs similar/better at most benchmark tasks, vis-a-vis other models in the same weight class.
So, while there is some expected structure - discovering a prediction model is neat.
Feel like it'd be useful to score new benchmarks with it - large prediction error on a task means it is less correlated to known benchmarks, and a signal of novelty!
Log of personal notes about async/await and durable workflows and state machines, and how they are all ways to model asynchronous execution. Not very readable, I need to make it more coherent.
I was trying to make sense of why newer React code shows up with use client and use server annotations everywhere. Apparently, React frameworks have this new construct called Server components now.
SQL queries get tricky to write as they get longer, and even trickier to read. FunSQL is a Julia / Python library to make it a bit easier by constructing SQL queries one table operation at a time. This post provides a couple examples to make this point.
Reading about multiple projects on Twitter that provide a metrics layer against the database. For example - dbt metrics, Transform, Supergrain. Thoughts from what I make of it below.
The product webpages use the term Headless BI or metrics layer, none of them super informative. I'd expect the pitch roughly goes like this.
This was prompted by looking at multiple tools for data exploration and analytics, for ex - Datablocks, Basis Data and more. A common substrate across many of these is an infinite canvas, where you write small bits of functionalities in nodes and then wire them together to model data flow. A visual workspace allows richer interactions and visual tooling that are hard to replicate with a text based IDE.
At a previous workplace, we created a recommendation engine to feed into an adaptive learning system for school students. This descriptive post was never polished enough to go on the technical blog, so here is the draft.
I've always been curious why the Hackernews company is named "Ycombinator". Finally found a neat article to work though - The Y Combinator (Slight Return). Scattered notes below.
We try to write a recursive definition for the factorial function so that it has no dependence on any free variables (bound variables inside a lambda expression are those passed to it as an argument, the others are free).
This is an explicitly recursive implementation, since the body of the function refers to a symbol fac that we assign to the function outside. We want to avoid this.
fac = lambda n: 1 if n<1 else n*fac(n-1)
Combinators are lambda-expressions/functions with no free variables.
Umm, why does a programming environment need to explicitly support recursion? If functions can call other functions, which is kinda essential, recursion is legible too.
sortfac is a higher order function, such that sortfac(fac) = fac.
sortfac = lambda f: lambda n: 1 if n<1 else n*f(n-1)
Woah, is fac like a fixed point of the sortfac routine?
That's exactly right. In fact, starting off with feeding in the identity routine to the sortfac function, we can successively extract better and better approximations to the correct factorial function.
iden = lambda x: x
fac0 = sortfac(iden) # matches fac for x<1
fac1 = sortfac(fac0) # matches fac for x<2
fac2 = sortfac(fac1) # matches fac for x<3
# and so on.
# fac-infi ~= fac
In a strict language, we evaluate all the arguments to a function call before applying the function