TL;DR
Natural language has an "arrow of time" at every scale, from the grammar of a sentence to the logical flow of an argument. This paper introduces semantic irreversibility—a measure of how much more surprised a language model is when intact chunks of text are placed in reverse order—and uses it to watch LLMs learn. The authors show that models learn local syntax before global discourse during pre-training, and that during post-training, irreversibility tracks reasoning gains even when next-token prediction loss gets worse.
What Problem Does This Paper Address?
Language is ordered at multiple scales. Reversing every word in a paragraph scrambles both local grammar and high-level meaning, while reversing whole sentences preserves grammar but breaks the logical flow. Until now, researchers lacked a systematic way to perturb text order at arbitrary scales and measure how an LLM's sensitivity to that order evolves during training.
There is also a practical puzzle in post-training (such as supervised fine-tuning, DPO, and reinforcement learning). Once a model leaves pre-training, its next-token prediction loss on ordinary held-out text typically rises—even as the model becomes a much better reasoner. Because loss points the wrong way, engineers usually have to run full benchmark evaluations to know if reasoning improved. The authors ask whether order sensitivity on a fixed text can serve as a better, generation-free indicator.
Methods
To probe directionality across scales, the authors use recursive semantic chunking to build a tree for each text. The root is the full document, internal nodes are semantically coherent chunks (with at most $K = 4$ children per split), and the leaves are either individual tokens or sentences.
At any chosen depth $L$ in the tree, they take the intact chunks on that "frontier" and reverse their order—leaving the words inside each chunk untouched. They then define semantic irreversibility as:
$$\sigma_{\theta, L}(y) = \frac{1}{B(y)} \log \frac{P_\theta(y)}{P_\theta(R_L y)}$$
where $y$ is the original text, $R_L y$ is the chunk-reversed version, and $B(y)$ is the text length in UTF-8 bytes (normalizing to nats per byte so different tokenizers can be compared).
The authors track this spectrum across:
- Pre-training: 10 checkpoints of Pythia-1.4B (from initialization to step 143,000).
- Post-training: 4 stages of OLMo-3-32B (end of pre-training, SFT, DPO, and RLVR).
Datasets
- 11-corpus collection (1,146 texts, ~92–110 per corpus): Theorem proving, Narrative, Wikipedia, Dictionary, Regulations (CFR), Biomedical papers, arXiv papers, Patent backgrounds, Software manuals, Product reviews, and Simple English Wikipedia.
- Post-training reasoning benchmarks: MuSR, LogiQA, and LSAT tasks from AGIEval. To isolate reasoning structure, an external model (Qwen3-32B) generated worked explanations, keeping only those reaching the correct answer (483/756 MuSR, 501/649 LogiQA, 900/1,009 LSAT).
- Controls: ZebraLogic (clue-list puzzles) and DeepSeek-R1 math chain-of-thought solutions (from OpenR1-Math-220k).
Key Insights and Ideas
- Universal power-law scaling: Across all 11 corpora, semantic irreversibility decreases as a power law with chunk size (exponents between $-0.78$ and $-1.06$). Differences between genres—like dictionary entries versus theorem proofs—emerge mainly above the sentence level.
- Fine scales are learned before coarse scales: During pre-training, models learn the order of small chunks (local syntax) much earlier than large chunks (global discourse). When rescaled by a chunk-size power law, 155 learning curves across all 11 corpora collapse onto a single sigmoid master curve.
- Irreversibility separates order from familiarity: Next-token loss mixes how familiar a text is with how well the model captures its order. Because semantic irreversibility compares two orderings of the same text, familiarity cancels out—allowing it to track reasoning gains during post-training when loss fails.
Key Results
- Pre-training acquisition: In Pythia-1.4B, the ratio of the latest to earliest acquisition time (the step where a level hits 50% of its final irreversibility) grows from 3.0× for dictionary entries to 9.3× for Wikipedia, 16.9× for arXiv papers, and 34.4× for theorem proving. The scaling exponent $z_c$ correlates strongly with sentence-level irreversibility ($r = 0.81, p = 0.002$).
- Post-training tracking: On OLMo-3-32B, SFT produces the largest jump in both accuracy (MuSR: 61.1% → 80.3%; LogiQA: 52.5% → 76.0%; LSAT: 59.4% → 84.6%) and sentence-level irreversibility. RLVR pushes accuracy further (82.2%, 81.0%, 86.4%) and adds another 1–2% in irreversibility. Meanwhile, next-token loss worsens at every stage (~0.03 nats/byte at SFT, 0.01 at DPO, 0.002 at RLVR).
Limitations and Future Work
- Checkpoint availability: Measuring pre-training trajectories requires public intermediate checkpoints, limiting the study to Pythia-1.4B and OLMo-3-32B (whose earliest post-init checkpoint at 8.4B tokens is already too late to resolve the pre-training power law).
- Prose specificity: The post-training signal only holds for prose arguments. On ZebraLogic, where clues can be listed in any order, irreversibility drops at SFT even as accuracy rises.
- Future directions: Extending semantic irreversibility to formal languages like code, and testing whether it can serve as an auxiliary training objective or checkpoint-selection signal.
Summary updated