Skip to content

BestAnHongjun/Physics-in-Next-token-Prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Physics in Next-token Prediction

Hongjun An, Yiliang Song, and Xuelong Li✉️

Equal contribution. The authors are with the Institute of Artificial Intelligence (TeleAI), China Telecom, P. R. China. ✉️ Correspondence to: Xuelong Li ([email protected]).

Abstract

We discovered the underlying physics in Next-token Prediction (NTP). We identified the law of information conservation within NTP and proposed the First Law of Information Capacity (IC-1), demonstrating that the essence of intelligence emergence in auto-regressive models is fundamentally a process of information transfer. We also introduced Landauer's Principle into NTP, formulating the Second Law of Information Capacity (IC-2), which establishes the relationship between auto-regressive model training and energy consumption. Additionally, we presented several corollaries, which hold practical significance for production practices. Finally, we validated the compatibility and complementarity of our findings with existing theories.

[ArXiv] [YouTube] [HuggingFace]

Citations

H. An, Y. Song, and X. Li. Physics in Next-token Prediction, 2024.
@misc{an2024physicsnexttokenprediction,
    title={{Physics in Next-token Prediction}}, 
    author={Hongjun An and Yiliang Song and Xuelong Li},
    year={2024},
    eprint={2411.00660},
    archivePrefix={arXiv},
    primaryClass={cs.LG},
    url={https://arxiv.org/abs/2411.00660}
}