AlexNot is a pure-symbolic ARC-AGI-1/2 solver (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
This is (what I would call) the preliminary work you'd do before you'd try to write the paper. It is written in a beautiful and compelling way, with nice visuals, but that's not all that one needs to do to be taken seriously, and doubly so with the extremity of the claims of their position.
After a read, it strikes me as something where they might want to look for input from the academic community (even if they've read and cite much of the academic literature: this is not the same as feedback) ... because the community can catch errors. More on that below.
Much of the conveyance of this literature is correct ... but I still call it preliminary because it contains technical errors when it comes to their proposed technique and contribution.
For instance, In S3.1, the authors make several claims about Bayesian inference:
- Bayesian inference is the ideal way to learn.
- Their search process produces an importance-sampled list of candidates to approximate a Bayesian posterior.
Of course, you'd read this and think: they must have a well-defined probabilistic model, and their learning process is sound approximate inference in a conditioned version of the model.
Yet they do not have such a model, nor do they have a sound approximate inference algorithm -- essentially, the notion that they are approximating a "sound Bayesian inference" procedure is tenuous (at best).
- They specify a "complexity weight" e^(-C(h) / 15.5) where h is a program in their DSL, as a stand-in for a prior.
- They specify a "fit weight" e^{-25 m / 15.5} where m counts wrong demo pixels, think of this as being like the likelihood.
Okay, so these are both improper: the hand wave here is "the normalizing constant (the evidence) doesn't matter" because we're just going to softmax the weights. The preconditions on doing this (specifying an arbitrary unnormalized measure) are that the normalizing constant needs to be non-zero and finite.
One can quickly construct a counterexample:
- Take an ARC demo whose output equals its input, and whose input contains no red shapes
- Write a loop over red shapes.
- Inside, put n paint instructions, each choosing blue or green.
- All 2^N program texts make zero edits and zero pixel errors.
- Each additional instruction costs 3.5 (under the prior weight).
- Doubling the number of texts multiples total weight by ~1.60
- Summing over all lengths diverges.
Okay, so that's already an issue. To even move onto "importance sampling" in a mathematically correct way, you have to ... deal with this, because you can't even use the notion of proper weighting with such a measure ... but let's just keep going anyways:
Now, there's also the "importance-sampled list of candidates". To call something "importance sampled", it must satisfy proper weighting (expected weight is an unbiased estimator of Z). Their approximation does not:
- they have these hand-written edit generators which they call "monkeys". A monkey looks at demonstrations, the current parent programs, and their predicted pixel grid (the 2D grid of pixel colors produced by the candidate program)
- some of these generators make random choices before they perform any edits, for instance, they have a "block-reordering" generator which tries alternative orderings for up to four code blocks (in their DSL), and randomly picks some number of distinct alternative orderings for five or more.
To satisfy proper weighting, importance weights are typically density ratios such as P(x, y) / Q(x; y) ... you'll notice that there's an explicit usage of Q, the density of the proposal process.
In contrast, their technique uses a probabilistic proposal process which is not being accounted for in the importance weights (their softmax of the weights above) ... a textbook example of unsound inference. In other words, the weighting that they are performing if P was well-defined, inducing a well-defined posterior problem (it's not) would result in approximating Q(h)P(h) ... not the posterior induced by their weighting.
To the authors, if you end up seeing this:
- It's fine to write something loose and well-meaning, but I think it is extremely important to get the details right if you seek to make large claims, which this paper definitely does ...
- Don't just use Claude, use GPT, and particularly ChatGPT Pro ... to check your math.
- Hope this helps in the next iteration of the work.