Lines of Thought in Large Language Models
<|reference_start|>Lines of Thought in Large Language Models: 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.<|reference_end|>
@article{sarfati2024lines,
    title={Lines of Thought in Large Language Models},
    author={Rapha"el Sarfati, Toni J. B. Liu, Nicolas Boull'e, and Christopher
  J. Earls},
    journal={arXiv preprint arXiv:2410.01545},
    year={2024},
    archivePrefix={arXiv},
    eprint={2410.01545},
    primaryClass={cs.LG physics.data-an}
}