r/MachineLearning • • 1d ago

Research Looped Weight-Space Programming: transformer weights written directly[R]

We asked Claude Opus 5.5 to solve hard mazes. It got only 26% right.

Then we asked it to write a transformer that solves them, setting every weight directly.

It took just 39 minutes and $19. No training.

The model it wrote solves 100% of our test mazes.

The key idea is the looped design. One small block runs again and again, advancing the computation by one step per pass. This lets the same approach solve many algorithmic reasoning problems, including Sudoku-Extreme, GraphWalks, Tower of Hanoi, and BIG-Bench Extra Hard tasks.

Blog: https://mbzuai-oryx.github.io/LoopedWSP/

X thread: https://x.com/ahmedmm72234641/status/2124869402634129901

0 Upvotes

0 comments sorted by