还有什么需要修复?探索对话生成工件中修订传播的经济高效测试时计算

·

研究论文 · 2026/09/08

大型语言模型(LLM)常通过对话中的迭代生成和修订来帮助用户创建工件。一个挑战是,当用户在修订时仅指定局部更改,LLM必须识别相关依赖并将修订传播到工件的所有受影响部分。本文研究了LLM在对话生成工件上的这种能力,其中工件上下文及其依赖可能嵌入在对话历史中。为实用起见,我们还探索了针对这一新场景的成本效益测试时计算。具体而言,我们为此场景引入了一个新基准,并使用gpt-oss-20b/120b、gpt-5.4-mini和qwen3.5-9b/27b/122b评估了九种修订方法,包括顺序反思和并行采样变体。结果表明,基线方法的准确率为68.3%–93%,最具成本效益的方法是从三个并行样本中选择,使用基于LLM或中位数选择,准确率提高了2.2%–9.7%。我们的代码和数据集可在https://github.com/ntt-dkiku/llm-revision-propagation获取。

该论文针对LLM在对话中生成工件时的修订传播问题,提出了新基准并系统评估了多种方法,为实际应用提供了成本效益分析,具有实用价值。

Large Language Models (LLMs) often help users generate artifacts through iterative cycles of generation and revision in conversation. A challenge here is that, when users specify only a local change during revision, LLMs must instead identify the relevant dependencies and propagate the revision to all affected parts of the artifact. This paper studies this ability of LLMs on conversationally generated artifacts, where the artifact context and its dependencies may be embedded in the conversation history. Toward practical use, we also explore cost-effective test-time compute for this new setting. Specifically, we introduce a new benchmark for this setting, and evaluate nine revision methods, including sequential reflection and parallel sampling variants, using gpt-oss-20b/120b, gpt-5.4-mini, and qwen3.5-9b/27b/122b on the benchmark. The results show that baselines achieve accuracies of 68.3--93%, and the most cost-effective method is selecting from three parallel samples using either LLM-based or medoid selection, which improves accuracy by 2.2--9.7%. Our code and dataset are available at https://github.com/ntt-dkiku/llm-revision-propagation.

阅读原文

参与讨论