A Causal World Model Underlying Next Token Prediction: Exploring GPT in a Controlled Environment
10 Dec · Raanan Y. Rohekar, Yaniv Gurwicz, Sungduk Yu +2 · arXiv:2412.07446
Are generative pre-trained transformer (GPT) models, trained only to predict the next token, implicitly learning a world model from which sequences are generated one token at a time? We address this question by deriving a causal interpretation of the attention mechanism in GPT and presenting a causal world model that arises from this interpretation. Furthermore, we propose that GPT models, at inference time, can be…