cs.CLNov 17, 2026

RICoT: Recurrent Interleaved Chain-of-Thought for Page Stream Segmentation

Authors: Prashant Khatri, Bhavana Malagavalli, Saiful Haq, Niyati Chhaya

Organizations: Hyperbots · Indian Institute of Technology Bombay

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.

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Splitting Documents at Lower Cost: Multi-Split Boundary Decisions for LLM-Based Page Stream Segmentation

    Sep 18, 2026Nikhil Reddy Pottanigari, Sepideh Kharaghani, Saverio Vadacchino +2Document ChunkingLLM Inference Efficiency

  2. Can LLMs Separate Pasted Artifacts from User Speech? Absorption at Unmarked Prompt Seams

    Oct 3, 2026Sugam Panthi, Muhaiminul Yeamin, Rabab AbdelfattahLLM Evaluation

  3. PaDoc: Layout-Grounded Parallel Decoding for Document Parsing

    Aug 6, 2026Hao Yu, Jiabo Zhan, Kang Liu +8LLM Inference AccelerationDocument Parsing