TRANSMISSION // 2612.05007v1

How Language Models Learn the Order of Ideas

Source published

Researchers measure how language models score original text against versions with intact chunks reversed. Their results trace sensitivity to order during training and suggest a limited, task-specific connection with reasoning performance.

AI-generated conceptual illustration for How Language Models Learn the Order of Ideas
AI-generated conceptual illustration; not documentary evidence.

A passage can contain sensible sentences yet become harder to follow when their order is reversed. A new measure compares how language models score original passages and versions with coherent chunks reversed. The authors use it to study text order across training stages, but the findings do not establish that models understand meaning as people do.

Language depends on order at many scales: words form phrases, and sentences can build an explanation or story. How does a language model become sensitive to these patterns as it trains? In an arXiv preprint, Junang Li and Weishun Zhong introduce a measure called semantic irreversibility to examine that question.

The measure compares the score a model assigns to a text with the score it assigns to a version in which intact chunks appear in reverse order. A positive score means the model favors the original. It is a measure of how the model scores text, not proof that it understands the text as a person would.

Reversing chunks, not their contents

The researchers used an AI-based process to divide texts into nested, contiguous chunks. At a selected level of this hierarchy, they reversed the order of the chunks while preserving the order of words within each chunk. Repeating this at different levels makes it possible to measure the score difference for different chunk sizes. The chunks are not necessarily full sentences or paragraphs; their boundaries are part of the method.

For a cross-corpus analysis, the authors examined 1,146 passages from 11 collections spanning narrative, reference, technical and other writing. They scored these passages with Pythia-1.4B, an open language model with released training checkpoints. To study how the measure changed during pre-training, they scored the same passages at successive checkpoints. They also examined pre-training checkpoints from OLMo-3-32B. For post-training, they followed released OLMo-3-32B checkpoints through supervised fine-tuning (SFT), direct preference optimization (DPO) and reinforcement learning with verifiable rewards (RLVR), and evaluated accuracy on three reasoning benchmarks presented in prose.

Across the 11 collections, the reversal penalty generally decreased as the preserved chunks grew larger, following an approximate power-law pattern over much of the measured range. Differences between collections were more pronounced when intact sentences were reversed than in the analysis of smaller chunks. Reversing dictionary entries had little effect, while theorem-proving texts showed greater sensitivity to sentence order. This fits the distinction between largely self-contained entries and arguments whose later steps can depend on earlier ones; it does not show that every passage in either collection has that structure.

What the training checkpoints show

In Pythia, smaller chunks generally reached half of their final measured irreversibility earlier than larger chunks. The authors report an approximate power-law relationship between chunk size and this acquisition time. The finest chunks were roughly token-sized, but the result concerns sensitivity to the order of chunks at different scales. It does not establish a general sequence in which models first learn syntax and then learn to reason about whole arguments.

OLMo showed a similar pattern in its measured spectra and in the relative progress reached by smaller versus larger chunks. But its first checkpoint after initialization came only after substantial training. The authors therefore could not resolve its acquisition times or test the detailed timing relationship seen with Pythia. The broad ordering pattern appears in both models; the detailed timing evidence rests on Pythia.

The authors also report that the sentence-level measure rose at SFT and again at RLVR alongside accuracy changes on MuSR, LogiQA and LSAT. DPO slightly reduced irreversibility on these benchmarks, while accuracy changed by less than three percentage points, with mixed direction. Next-token prediction loss increased across the post-training stages, including stages when accuracy improved. This suggests the measure may provide information that loss does not in these particular tests, but it does not show that irreversibility consistently rises through post-training or predicts reasoning ability in general.

The post-training analysis scored fixed texts made from a problem context, question and explanation written by another model; OLMo’s answers were evaluated separately. Some retained explanations reached the correct answer but could still contain faulty steps. The move from the base model to SFT also changed the prompt, as well as the model checkpoint. And on ZebraLogic, a task presented as lists of clues, irreversibility fell after SFT even as accuracy rose. The authors suggest clue order may matter less, but that interpretation is not established by the score.

There are limits to the chunking method, too. In a check of 48 texts, two segmentation setups gave similar corpus-average spectra, but individual chunk boundaries still differed. The study also relies on two open models, and public training checkpoints are needed to trace changes over time. Its findings should be read as a proposed measurement and a set of results from specific models, passages and tasks—not a settled test of comprehension or reasoning. The paper is a preprint and may not have been peer reviewed.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.