
What happened
The paper by Sean McLeish and co-authors describes Library of Layers, where a router picks the next transformer block from a shared library. Forcing a learned 'mode path' makes a 360M model follow one of five sudoku or maze strategies with close to 100% accuracy.
Why it matters
That means the layer order can be controlled at inference to steer the model toward a specific solving strategy, rather than leaving it fixed as in standard transformers.
WHO IT HITSAI researchers and engineers who design transformer architectures may see a new way to control model behavior at inference by reordering layers, potentially offering a knob between dense, depth-recurrent and mixture-of-experts behavior.
Summaries like this, every morning.
The Library of Layers work stands out because it turns layer order into a controllable variable. Standard transformers apply their blocks in a fixed sequence, but LoL lets a router choose the next block from a shared library, and the researchers show that the learned routing path can be overridden. Forcing a specific 'mode path' makes the model produce the trace of a chosen sudoku-solving strategy with close to 100% accuracy, and the same holds for maze-solving algorithms like BFS, DFS, A*, bidirectional search and dead-end filling.
Beyond strategy control, the paper reports that a simple ridge regression on router probabilities can separate safe from unsafe text, with an AUROC of 0.95 at the sequence level. That suggests the router's internal choices carry information about the input's safety, which could be useful for monitoring. At 1B parameters, LoL stays within 2 standard errors of a vanilla dense baseline on several benchmarks, indicating that the dynamic ordering does not come at a large performance cost in that setting. The code is released, so other researchers can build on the approach.
Pick your industry and the AI tools you use, and get news related to your work every day.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.
A Zenn author summarized the Claude Certified Architect – Foundations Exam Guide into five decision axes, incl…

In a paper by Princeton University and Snowflake researchers, Soteria checked agent plans with the Dafny verif…

Hugging Face froze Qwen3.8-27B and trained adapter weights inside agent harnesses; the adapter model hit 55% t…

A non-engineer working with Claude Code every day published 10 prompt templates in which the key instruction i…

The developer wired a Hermes plugin so a model calls a create_draft tool, SKILL.md carries the procedure, and…

In a 2026-07-15 test on a Z Fold6 with Shelly's bundled llama-server (build b9371), Bonsai 27B loaded without…
