Looking beyond the next token

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Thankaraj, Abitha, Jiang, Yiding, Kolter, J. Zico, Bisk, Yonatan
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912343792812032
author Thankaraj, Abitha
Jiang, Yiding
Kolter, J. Zico
Bisk, Yonatan
author_facet Thankaraj, Abitha
Jiang, Yiding
Kolter, J. Zico
Bisk, Yonatan
contents The structure of causal language model training assumes that each token can be accurately predicted from the previous context. This contrasts with humans' natural writing and reasoning process, where goals are typically known before the exact argument or phrasings. While this mismatch has been well studied in the literature, the working assumption has been that architectural changes are needed to address this mismatch. We argue that rearranging and processing the training data sequences can allow models to more accurately imitate the true data-generating process, and does not require any other changes to the architecture or training infrastructure. We demonstrate that this technique, Trelawney, and the inference algorithms derived from it allow us to improve performance on several key benchmarks that span planning, algorithmic reasoning, and story generation tasks. Finally, our method naturally enables the generation of long-term goals at no additional cost. We investigate how using the model's goal-generation capability can further improve planning and reasoning. Additionally, we believe Trelawney could potentially open doors to new capabilities beyond the current language modeling paradigm.
format Preprint
id arxiv_https___arxiv_org_abs_2504_11336
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Looking beyond the next token
Thankaraj, Abitha
Jiang, Yiding
Kolter, J. Zico
Bisk, Yonatan
Machine Learning
Artificial Intelligence
Computation and Language
The structure of causal language model training assumes that each token can be accurately predicted from the previous context. This contrasts with humans' natural writing and reasoning process, where goals are typically known before the exact argument or phrasings. While this mismatch has been well studied in the literature, the working assumption has been that architectural changes are needed to address this mismatch. We argue that rearranging and processing the training data sequences can allow models to more accurately imitate the true data-generating process, and does not require any other changes to the architecture or training infrastructure. We demonstrate that this technique, Trelawney, and the inference algorithms derived from it allow us to improve performance on several key benchmarks that span planning, algorithmic reasoning, and story generation tasks. Finally, our method naturally enables the generation of long-term goals at no additional cost. We investigate how using the model's goal-generation capability can further improve planning and reasoning. Additionally, we believe Trelawney could potentially open doors to new capabilities beyond the current language modeling paradigm.
title Looking beyond the next token
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2504.11336