Document Order Sorting for Coherent Narrative Reasoning

This direction is split into other directions: chronological coherence. Its last version stays readable and citable here.

Version 1 of 1115 papers147 conceptsfrozen 2026-10-04

In the rush to build Retrieval-Augmented Generation (RAG) systems, researchers have often treated documents as "bags of chunks." We break a long text into 512-token snippets, store them in a vector database, and retrieve the top-$k$ most similar pieces to answer a query.

However, this approach ignores a fundamental property of human language: sequence is meaning. When we strip a sentence of its neighbors and re-rank it based solely on a similarity score, we destroy the narrative flow, the causal dependencies, and the temporal progression that the original author carefully constructed. Recent research suggests that simply restoring the original document order—a technique often called Document Order Sorting (DOS)—is one of the most effective ways to improve the reasoning and faithfulness of Large Language Models (LLMs).

The Narrative Prior

The intuition behind preserving sequence dates back to the earliest days of NLP. In 1981, Lynette Hirschman and Guy Story observed in Representing Implicit And Explicit Time Relations In Narrative that time in a story is assumed to move forward or remain static between consecutive sentences. This "narrative logic" allows humans to reconstruct complex timelines even without explicit dates.

When modern RAG systems retrieve snippets out of order, they violate this prior. Mathis Pink and colleagues demonstrated in Assessing Episodic Memory in LLMs with Sequence Order Recall Tasks that while LLMs are excellent at semantic memory (facts), they struggle with episodic memory (the "when" and "where"). When retrieved text is decontextualized, the model loses the ability to "index" the relative order of events, leading to chronological contradictions.

Why Similarity Ranking Fails

Standard retrieval systems rank information by relevance to a query. While this finds the "right" facts, it often presents them in a disjointed sequence. Alex Laitenberger, Christopher D Manning, and Nelson F. Liu found that a simple "retrieve-then-read" strategy that re-sorts snippets into their original document order consistently outperforms more complex re-ranking methods. Their work on Stronger Baselines for Retrieval-Augmented Generation with Long-Context Language Models shows that maintaining the document's inherent structure allows the model to follow logical arguments that a similarity-based shuffle would obscure.

This phenomenon is also visible in summarization. Shiyue Zhang 0001 and Mohit Bansal discovered that extractive summaries are often unfaithful not because they get facts wrong, but because they break coreference chains and discourse structures. As they argue in Extractive is not Faithful, simply extracting the leading sentences of a document often yields higher faithfulness because it preserves the natural, sequential order of the source text.

Reconstructing the Timeline

To solve the "decontextualization" problem, researchers are moving toward "event-centric" architectures. Instead of treating text as static chunks, systems like DyG-RAG, proposed by Qingyun Sun and others in Dynamic Graph Retrieval-Augmented Generation with Event-Centric Reasoning, link information into a temporal graph. This allows the model to navigate causal dependencies that span different parts of a document.

Similarly, the EM-LLM framework developed by Adnan Oomerjee and Martin Benfeghoul mimics human episodic memory. In Human-like Episodic Memory for Infinite Context LLMs, they describe a system that segments information into "events" based on model surprise. When the model needs to retrieve information, it doesn't just look for similar tokens; it retrieves the entire temporal neighborhood of an event, ensuring the narrative flow remains intact.

The Power of Sequence-Aware Fusion

The shift toward sequence-aware processing is proving essential for complex reasoning tasks. Koustava Goswami and Inderjeet Jayakumar Nair showed in GenSco that when context is presented in a sequence that mirrors the steps of a reasoning chain, LLMs exhibit significantly higher accuracy.

This suggests that the "intelligence" of a long-context model is not just a function of its parameters, but a function of the structural coherence of its input. By using "Chronological Index Sorting"—as explored by Bin Bi and colleagues in Diversity Enhances an LLM's Performance in RAG and Long-context Task—we allow the model to leverage the logical scaffolding already provided by the original author. Whether generating a medical record, a scientific summary, or a legal analysis, the most powerful signal for the model is often the very order in which the information was first written.

Papers in this version

Showing 60 of 115 papers.

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_document_order_sorting_for_coherent_narr_21e1ee1e,
  title = {Document Order Sorting for Coherent Narrative Reasoning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/document-order-sorting-for-coherent-narrative-reasoning/rdr_21e1ee1e2a394cb9bba111cb2be34485},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 1, frozen text):

@misc{lacuna_document_order_sorting_for_coherent_narr_21e1ee1e_v1,
  title = {Document Order Sorting for Coherent Narrative Reasoning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/document-order-sorting-for-coherent-narrative-reasoning/rdr_21e1ee1e2a394cb9bba111cb2be34485/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-27},
}