RICoT: Recurrent Interleaved Chain-of-Thought for Page Stream Segmentation
Prashant Khatri, Bhavana Malagavalli, Saiful Haq, Niyati Chhaya
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.
Create a lesson
Related papers
What If Chain-of-Thought Is Not Enough?
Shared title terminology · Marc Jansen
Chain-of-Thought Hidden States Reveal Task-Solving Directions for Direct Answers
Shared title terminology · Houman Mehrafarin, Ioannis Konstas
Cross-Linguistic Distinctive-Feature Constraints on Segmental Triphones: Evidence for Contrastive Dispersion
Shared title terminology · Leonardo Araújo
dLoop: Looped Diffusion Language Models via Recurrent Latent Refinement
Shared title terminology · Handa Li, Pengxiang Li, Mingyu Cao et al.
What the model knows but does not say: monitoring medical LLMs through verbalized thoughts
Shared title terminology · Frederik Hauke, Jan Clusmann, Hanna Kreutzer et al.
Objective-Specialized Residual Streams in Manifold-Constrained Hyper-Connections
Shared title terminology · Shantanu Agarwal, Ruchita V. Maitri, Zhiqi Huang et al.