RICoT: Recurrent Interleaved Chain-of-Thought for Page Stream Segmentation
Prashant Khatri, Bhavana Malagavalli, Saiful Haq, Niyati Chhaya
Hyperbots · Indian Institute of Technology Bombay
Published November 17, 2026 · on the feed November 19, 2026 · ▲ 6 · arXiv 2611.22382
The abstract
Large language models (LLMs) have renewed interest in Page Stream Segmentation (PSS), splitting a multi-page file into its constituent documents. Yet published LLM methods still frame the task as boundary classification over one or a few neighboring pages, and commercial document-splitting APIs do not disclose their methods. We reimagine PSS for LLMs as a sequential process over the whole stream and propose RICoT (Recurrent Interleaved Chain-of-Thought), a prompting framework that works through the pages as a reader would: within a sliding window it reasons about each page and commits its boundary decision before moving on, and across windows it carries forward a compact record of what it has read, keeping per-call cost bounded. We also introduce FinancePSS-205, a benchmark of 205 real-world, de-identified financial page streams, to be released publicly. On FinancePSS-205, RICoT matches or outperforms pairwise and windowed prompting with the same backbone for each of three open-weight LLMs; on a TABME test subset, RICoT with GLM-5 reaches document F1 0.847 and boundary F1 0.915, above published zero-shot results. A 2B-parameter student, trained on a larger teacher's decisions with and without the page-level reasoning, performs comparably in both modes and comes within 0.05 document F1 of the strongest prompted model on FinancePSS-205.
The Brief
2:25A short podcast summary of the paper. Written and voiced by AI.
Transcript
RICoT. Recurrent Interleaved Chain-of-Thought for Page Stream Segmentation. By Prashant Khatri and three others, from Hyperbots and the Indian Institute of Technology Bombay. Published on the seventeenth of November.
Page Stream Segmentation is the task of taking one multi-page file and splitting it into the separate documents it contains. Large language models have renewed interest in it. Yet the published methods that use these models still treat it as boundary classification, looking at one page or a few neighbouring pages and deciding whether a new document starts there. The commercial document-splitting services that exist do not disclose how they work. So the open approaches see only a narrow slice of the stream at a time.
RICoT, short for Recurrent Interleaved Chain-of-Thought, reimagines the task for language models as a sequential process over the whole stream. It is a prompting framework that moves through the pages the way a reader would. It reasons about a page, commits to its boundary decision, and only then moves on to the next one.
That reading happens at two scales. Within a sliding window, the model reasons about each page and makes its boundary call before continuing. Across windows, it carries forward a compact record of what it has already read. That carried record is what lets the model keep the whole stream in view without the prompt growing without limit, so the cost of each call stays bounded.
Alongside the method the authors introduce FinancePSS-205, a benchmark of two hundred and five real-world financial page streams, de-identified, which they plan to release publicly.
On FinancePSS-205, RICoT matches or outperforms pairwise prompting and windowed prompting when all of them use the same backbone, and that holds for each of three open-weight language models. On a test subset of TABME, RICoT with GLM-5 reaches a document F1 of zero point eight four seven and a boundary F1 of zero point nine one five. Both are above the published zero-shot results.
There is also a small-model result. A student of two billion parameters is trained on a larger teacher's decisions, once with the page-level reasoning included and once without it. It performs comparably in both modes, and it comes within zero point zero five document F1 of the strongest prompted model on FinancePSS-205.
The shift here is one of framing more than of machinery. Instead of asking whether two adjacent pages belong together, RICoT reads the stream in order, decides as it goes, and remembers what came before in compressed form. That framing holds up across several open models, and a two billion parameter student trained on its decisions gets close to the strongest prompted result.
More with an account
Listen to every day’s papers
Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.
Join free