ICLR 2025poster0 citations

Lines of Thought in Large Language Models

Raphaël Sarfati, Toni J.B. Liu, Nicolas Boulle, Christopher Earls

Abstract

Large Language Models achieve next-token prediction by transporting a vectorized piece of text (prompt) across an accompanying embedding space under the action of successive transformer layers. The resulting high-dimensional trajectories realize different contextualization, or 'thinking', steps, and fully determine the output probability distribution. We aim to characterize the statistical properties of ensembles of these 'lines of thought.' We observe that independent trajectories cluster along a low-dimensional, non-Euclidean manifold, and that their path can be well approximated by a stochastic equation with few parameters extracted from data. We find it remarkable that the vast complexity of such large models can be reduced to a much simpler form, and we reflect on implications.

LLMlatent spacetoken trajectoriesinterpretabilitytransformer
BibTeX
@inproceedings{
sarfati2025lines,
title={Lines of Thought in Large Language Models},
author={Rapha{\"e}l Sarfati and Toni J.B. Liu and Nicolas Boulle and Christopher Earls},
booktitle={The Thirteenth International Conference on Learning Representations},
year={2025},
url={https://openreview.net/forum?id=zjAEa4s3sH}
}