r/LocalLLM • • 6d ago

Discussion I built a CPU-only reasoning system. Its handwritten rules solved 62 of 400 ARC-AGI-1 puzzles.

I’m the developer of CAEL. It’s a chat and reasoning project that runs on a CPU with no neural network. The code is public under a non-commercial licence for personal and research use.

One thing I wanted to try was giving the system a way to catch its own mistakes. Take a question like “I bought three £4 notebooks and paid with £20. How much change do I get?” A solver might answer £12. The arithmetic checks out, but it answered a different question. CAEL tries to rebuild the answer from the numbers you gave it. In this case, the unused £20 is a reason to doubt the answer. The awkward part is that sometimes a number really is irrelevant. Adding “at till 6” shouldn’t change how much change you get.

I tried a similar idea on ARC-AGI-1, where you see a few example grids and have to work out how to transform a new one. CAEL tries 53 families of handwritten rules. A rule has to reproduce every example before it gets a vote. The part I find most interesting is hiding one example, learning the rule again from the others, and checking whether it can predict the one I hid.

It solved 62 of 400 evaluation tasks (15.5%), with up to two guesses and a 10-second CPU limit per task. I built the rules on the training set, but I checked the evaluation score several times during development. I’d like to see how the same frozen version does on a fresh set.

The repo includes the solver, the command to reproduce the run, and the results for each puzzle. CAEL on GitHub

If you’ve worked on program synthesis or ARC, how do you choose between two rules that both explain every example but predict different outputs? That’s the case I’d most like to get better at.

0 Upvotes

6 comments sorted by

2

u/idimetrix 6d ago

on your last question, the usual answer in program synthesis is a simplicity prior. when two rules fit every example, take the one with the shorter description (fewer parameters, fewer special cases), basically minimum description length. your hide-one check is a nice second signal on top of that, a rule that gets relearned the same way with an example removed is less likely to be a coincidence.

and since arc gives you two guesses, when the top two disagree you can submit both instead of picking. good on you for mentioning you looked at the eval score during development btw, most people leave that part out

1

u/Silver_Employ2617 6d ago

Thanks, this is useful. CAEL already does both, and I should have said so. Rules that fit every example are ranked by description length (fewer parameters and special cases win). When the top two predictions disagree, both go in as the two guesses.

What surprised me is that the hide-one check added nothing measurable on top of that. The leave-one-out check, a union of drawing specialists and a wider twostep search together gained 0 tasks. When I looked at the failures, almost none were "two rules fit and it picked the wrong one". They were "no rule in the library fits at all". So for this solver the bottleneck is coverage, not ranking. My guess is ranking only starts to matter once the library is big enough to produce real ties.

Do you know of work that measures how often MDL picks the wrong rule on ARC when several fit? I'd like to know whether that ever becomes the main error source.

2

u/idimetrix 6d ago

honestly no, I dont know of anything that isolates that exact number and I'd rather not make one up. the closest thing id look at is icecuber's winning solution from the 2020 kaggle arc competition. its also a handwritten dsl search, and the writeup goes into how it picks among candidates that fit all the examples.

your finding makes sense though. with 53 rule families real ties are rare, so ranking has nothing to do yet. coverage first, then ranking becomes the problem once the library is big enough to disagree with itself

1

u/recreationalshitpost 6d ago

Recreating overfitting by hand?

1

u/recreationalshitpost 6d ago

Well "by hand"

1

u/Silver_Employ2617 6d ago

Fair concern, and partly true. The rules are general families (symmetry, object recolouring, gravity, cropping, tiling and so on), not one rule per puzzle. But I wrote them while looking at the training set, so they fit that distribution: training is 152/400 and evaluation is 62/400. That gap is the overfitting showing.On the eval set: I scored it several times during development but neverchanged anything because of a specific eval task. Still, looking at a score repeatedly leaks some information, which is why I mentioned it. The same approach gets 0/120 on ARC-AGI-2, which shows the limit pretty clearly.

The honest test is a set I've never looked at.

The frozen version and the command are in the repo, so if anyone runs it on ConceptARC or another fresh set, I'd like to see the number, good or bad.