arXiv:2501.05414cs.CL2025-01被引 28

新基准测试长文本生成模型的流程执行能力,发现主流模型在长输出时严重退化。

LongProc: Benchmarking Long-Context Language Models on Long Procedural Generation

  • 设计六类流程生成任务,要求整合分散信息并生成结构化长文本
  • 8000词输出下,闭源模型性能显著下降,开源模型在2000词任务即失效
  • 揭示当前模型长程连贯性差,适合研究长文本生成与评估的学者使用

现有长上下文语言模型(LCLMs)评测多聚焦于长上下文召回,要求模型基于少数关键片段生成短回答,同时处理数千个无关标记。我们提出LongProc(长流程生成)新基准,要求模型整合高度分散的信息并生成长篇内容。LongProc包含六类多样化流程生成任务,如从HTML页面提取结构化信息至TSV格式、执行复杂搜索程序生成旅行计划。这些任务挑战模型遵循详细指令、跨分散信息推理及生成结构化长文本(最长可达8000词)的能力。由于任务具有确定性流程且输出结构化,可实现可靠的规则化评估。我们对23个LCLM进行了三档难度测试,最大输出词数分别为500、2000和8000。值得注意的是,尽管所有测试模型宣称上下文窗口超过32000词,但开源模型通常在2000词任务上表现不佳,闭源模型如GPT-4o在8000词任务中出现显著退化。推理模型整体表现更优,受益于长思维链训练。进一步分析显示,LCLMs在长文本生成中难以保持长程连贯性。这些发现揭示了当前模型的关键局限,并表明仍有巨大改进空间。数据与代码见:https://princeton-pli.github.io/LongProc。

原文摘要 · Abstract (English)

Existing benchmarks for evaluating long-context language models (LCLMs) primarily focus on long-context recall, requiring models to produce short responses based on a few critical snippets while processing thousands of irrelevant tokens. We introduce LongProc (Long Procedural Generation), a new benchmark that requires both the integration of highly dispersed information and long-form generation. LongProc consists of six diverse procedural generation tasks, such as extracting structured information from HTML pages into a TSV format and executing complex search procedures to create travel plans. These tasks challenge LCLMs by testing their ability to follow detailed procedural instructions, synthesize and reason over dispersed information, and generate structured, long-form outputs (up to 8K tokens). Furthermore, as these tasks adhere to deterministic procedures and yield structured outputs, they enable reliable rule-based evaluation. We evaluated 23 LCLMs, including instruction-tuned models and recent reasoning models, on LongProc at three difficulty levels, with the maximum number of output tokens set at 500, 2K, and 8K. Notably, while all tested models claim a context window size above 32K tokens, open-weight models typically falter on 2K-token tasks, and closed-source models like GPT-4o show significant degradation on 8K-token tasks. Reasoning models achieve stronger overall performance in long-form generation, benefiting from long CoT training. Further analysis reveals that LCLMs struggle to maintain long-range coherence in long-form generations. These findings highlight critical limitations in current LCLMs and suggest substantial room for improvement. Data and code available at: https://princeton-pli.github.io/LongProc.

长文本生成流程推理模型评估

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