# Library of Layers (LoL): Adaptively Ordering Transformer Layers at Runtime

Authors: Abdellah Rahmani, Sean McLeish, Ang Li, Sanae Lotfi, Pascal Frossard, Micah Goldblum.

Routes token windows through a reusable library of transformer layers, choosing their order at runtime. Uses shifted windows to maintain causal processing and examines the resulting routes on language modeling and puzzles.

First public: 2026-11-02.
ArXiv initial submission: 2026-11-02.

[Original paper](https://arxiv.org/abs/2611.03526) · [PDF](https://arxiv.org/pdf/2611.03526) · [HTML](https://arxiv.org/html/2611.03526v1) · [Reading-list entry](https://latent-implicit-thinking.github.io/papers/2611.03526/)
[Preprint BibTeX](https://latent-implicit-thinking.github.io/papers/2611.03526/citation.bib) · [Preprint CSL-JSON](https://latent-implicit-thinking.github.io/papers/2611.03526/citation.csl.json) · [JSON record](https://latent-implicit-thinking.github.io/papers/2611.03526/record.json)

## Approaches

- [Recurrent reasoning](https://latent-implicit-thinking.github.io/topics/recurrent-reasoning/): Repeat parts of the model or keep intermediate information in memory while working through a problem. Some methods also learn how many passes to run.
- [Analysis and evaluation](https://latent-implicit-thinking.github.io/topics/implicit-reasoning-evaluation/): Measure how well these methods work, investigate what their internal computation does, and identify where they fail. This includes experiments, studies of model internals, and mathematical results.

Reading-list version 0.21.0; last additions 2026-12-01; literature checked through 2026-11-03.
