A new research paper asks whether the order of a transformer’s computations should be something a model learns to choose, rather than a sequence fixed in advance. Library of Layers, or LoL, turns that question into an experimental architecture. The proposal is interesting less as a claim to a new performance crown than as a way to investigate what changes when a model can take different internal routes.
A library instead of one compulsory sequence
The paper, submitted on November 2 and indexed on Hugging Face, describes a routed middle section surrounded by fixed-order beginning and ending layers. A router selects blocks from a shared library. The number of distinct blocks and the number of block applications are separate quantities: a route can reuse a block or leave one unused. These are architecture choices in an experimental system, not a feature now available in every transformer. Original paper listing, full technical paper.
A small hypothetical example makes the distinction concrete. Owning four tools and performing four operations need not mean using each tool once. One tool might be used twice while another remains on the shelf. Counting the tools would describe the available repertoire; counting the operations would describe the work performed. Neither count alone tells the complete computational story.
That distinction is especially important when interpreting claims about model size. Reusing a component does not make its repeated execution free, while storing an additional component does not prove it was used for a particular input.
Reordering is different from repeating
The historical reference point is the original 2017 Transformer paper. Its encoder and decoder were organized as stacks, with attention and feed-forward sublayers, residual connections and normalization. Its decoder also masked later positions so that a prediction could depend only on preceding outputs. That earlier design provides architectural context; it is not a new announcement or a claim that every subsequent model uses the identical arrangement. Attention Is All You Need.
Another relevant predecessor is the 2025 recurrent-depth work associated with Huginn. That study explored doing additional computation by repeatedly applying a recurrent block to internal representations before emitting a token. Its authors presented this as an alternative to expressing all extra reasoning through longer generated text. Earlier recurrent-depth research.
These ideas expose two different design questions. How many times should a computation run? And which available computation should run next? Increasing repetition does not automatically give a model a choice of ordering. Conversely, selecting a different order does not by itself demonstrate that a model has learned to spend an optimal amount of computation.
This is why parameter count, executed depth and measured task performance should remain separate columns in any assessment. Combining them into a single claim of a “smarter” model would discard much of what the experiment is trying to reveal.
Interesting control experiments, limited conclusions
LoL’s authors report broadly competitive small-scale language-model results, alongside experiments connecting routing patterns with languages and puzzle-solving strategies. They also report that routing features contain information about harmfulness labels. Their discussion explicitly leaves open whether such features could support useful interventions in conversational safety. A detectable label signal is not a demonstrated safety mechanism. Experiments and discussion.
The strongest follow-up would distinguish three propositions that are easy to conflate: observing a route, predicting something from that route and changing a route to obtain a desired behavior. Evidence for one does not automatically establish the others.
Practical evaluation should likewise ask whether an apparent gain survives matched training budgets, repeated runs and broader tasks. A route that is revealing on a controlled puzzle need not remain equally interpretable in unrestricted dialogue.
LoL therefore offers a concrete research instrument for examining computation order. Its value will depend on whether that instrument produces reproducible control and efficiency benefits beyond the settings already tested, not simply on whether a visualized path looks like an intelligible account of a model’s reasoning.










