RICoT:用于页面流分割的循环交错思维链
研究论文 · 2026/11/20
大型语言模型(LLM)为页面流分割(PSS)带来了新思路,但现有LLM方法仍将任务视为对一页或几页相邻页面的边界分类,且商业文档分割API未公开方法。我们将PSS重新构想为LLM对整个流的顺序处理,并提出RICoT(循环交错思维链)提示框架,像读者一样逐页处理:在滑动窗口内对每页进行推理并在移动前做出边界决策,跨窗口时携带已读内容的紧凑记录,保持每次调用成本有界。我们还引入了FinancePSS-205,一个包含205个真实、去标识化金融页面流的基准,将公开。在FinancePSS-205上,RICoT在三个开源权重LLM的相同骨干下匹配或优于成对和窗口提示;在TABME测试子集上,使用GLM-5的RICoT达到文档F1 0.847和边界F1 0.915,高于已发表的零样本结果。一个2B参数的学生模型,在更大教师的决策(带或不带页面级推理)上训练,在两种模式下表现相当,并在FinancePSS-205上达到最强提示模型文档F1的0.05以内。
该论文重新定义了LLM在页面流分割中的角色,提出了更接近人类阅读过程的RICoT框架,并在新基准上验证了其有效性,同时展示了小模型通过蒸馏达到接近大模型性能的潜力,对文档理解和分割领域有重要参考价值。
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.