Library of Layers: models route transformer block order per input to control algorithms

jonasgeiping · x · 2026-11-04

Library of Layers introduces models that adapt layer order per input, routing over whole transformer blocks from a shared layer library. This opens a new control axis: the model's execution path. The team shows that merely changing layer order switches which algorithm the model uses to solve mazes and sudoku.

Related event: Library of Layers: Reworking Transformer Layer Order at Inference Time(3 posts)→

Original post →

More from Research

Research channel →