Skip to content

Semantic irreversibility: how language models learn the arrow of time from syntax to reasoning

Junang Li, Weishun Zhong

cs.CL

Abstract

Natural language has an arrow of time at every scale, from the ordering of words to the causal progression of ideas. How large language models (LLMs) acquire this directionality during training remains poorly understood. Here we introduce semantic irreversibility, a measure of how strongly a language model favors a text in its original order over one whose intact chunks are arranged in reverse. We find that semantic irreversibility exhibits universal power-law scaling across corpora, decreasing as the size of the preserved chunks increases. During pre-training, language models progressively acquire coherence over larger text spans, suggesting a learning trajectory from local syntax to global discourse structure. During post-training, semantic irreversibility increases with reasoning capability and aligns more closely with task performance than next-token prediction loss does. Together, these findings establish semantic irreversibility as a scale-resolved probe of LLM learning that links the acquisition of linguistic order to the development of reasoning capabilities.

Create a lesson

Metadata

Categories
cs.CL, cond-mat.stat-mech, cs.AI
Comments
24 pages, 14 figures. Project page: https://irreversibility.ai