arXiv:2603.29232cs.CLcs.AI2026-03中稿 · ICLR被引 4

用结构化思维让小模型高效准确回答长文档问题。

Long-Document QA with Chain-of-Structured-Thought and Fine-Tuned SLMs

  • 设计结构化思维链,引导大模型生成可验证的表格化答案
  • 小模型在多领域长文档问答上达到接近大模型的准确率
  • 适合需要低延迟、高可信度的文档分析场景

大型语言模型广泛用于文档数据解析,但直接处理长而嘈杂的文档时仍易出错。为此,本文研究将分散证据整合为结构化输出(如表格、图或分块)的文档问答任务,以支持可靠、可验证的问答。提出双支柱框架LiteCoST:第一支柱,结构化思维链(CoST),通过模式感知指令引导强模型生成分步推理过程与对应结构化输出,实现实体/单位标准化、记录对齐、序列化输出并支持验证与修正,形成可审计监督信号;第二支柱,小模型微调,在两阶段进行:监督微调实现结构对齐,再通过组相对策略优化(GRPO)结合答案质量、格式正确性与推理一致性三重奖励进行优化。通过将结构优先行为蒸馏至小模型,该方法在3B/7B SLM上实现与大模型相当的多领域长文档问答性能,同时比GPT-4o和DeepSeek-R1(671B)降低2-4倍延迟。代码已公开于https://github.com/HKUSTDial/LiteCoST。

原文摘要 · Abstract (English)

Large language models (LLMs) are widely applied to data analytics over documents, yet direct reasoning over long, noisy documents remains brittle and error-prone. Hence, we study document question answering (QA) that consolidates dispersed evidence into a structured output (e.g., a table, graph, or chunks) to support reliable, verifiable QA. We propose a two-pillar framework, LiteCoST, to achieve both high accuracy and low latency with small language models (SLMs). Pillar 1: Chain-of-Structured-Thought (CoST). We introduce a CoST template, a schema-aware instruction that guides a strong LLM to produce both a step-wise CoST trace and the corresponding structured output. The process induces a minimal structure, normalizes entities/units, aligns records, serializes the output, and verifies/refines it, yielding auditable supervision. Pillar 2: SLM fine-tuning. The compact models are trained on LLM-generated CoST data in two stages: Supervised Fine-Tuning for structural alignment, followed by Group Relative Policy Optimization (GRPO) incorporating triple rewards for answer/format quality and process consistency. By distilling structure-first behavior into SLMs, this approach achieves LLM-comparable quality on multi-domain long-document QA using 3B/7B SLMs, while delivering 2-4x lower latency than GPT-4o and DeepSeek-R1 (671B). The code is available at https://github.com/HKUSTDial/LiteCoST.

文档问答结构化推理小模型优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。