Search papers, labs, and topics across Lattice.
The paper introduces "inner looping," an inference-time technique that iteratively re-applies a selected block range within a pre-trained transformer model to refine latent representations. This method leverages the iterative refinement interpretation of transformer blocks, where inner representations are seen as progressive refinements of a propagated latent state. By prolonging this refinement process without training, the authors achieve consistent accuracy improvements across multiple benchmarks.
Unlock hidden performance in your pre-trained language models with "inner looping," a simple inference-time trick that repeatedly refines latent representations by re-applying selected transformer blocks.
Deep Learning architectures, and in particular Transformers, are conventionally viewed as a composition of layers. These layers are actually often obtained as the sum of two contributions: a residual path that copies the input and the output of a Transformer block. As a consequence, the inner representations (i.e. the input of these blocks) can be interpreted as iterative refinement of a propagated latent representation. Under this lens, many works suggest that the inner space is shared across layers, meaning that tokens can be decoded at early stages. Mechanistic interpretability even goes further by conjecturing that some layers act as refinement layers. Following this path, we propose inference-time inner looping, which prolongs refinement in pretrained off-the-shelf language models by repeatedly re-applying a selected block range. Across multiple benchmarks, inner looping yields modest but consistent accuracy improvements. Analyses of the resulting latent trajectories suggest more stable state evolution and continued semantic refinement. Overall, our results suggest that additional refinement can be obtained through simple test-time looping, extending computation in frozen pretrained models.