arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.18245cs.LG
收藏

纠正与腐败:LLM协议中错误流动的双速率视角

Correction and Corruption: A Two-Rate View of Error Flow in LLM Protocols

Imens, LLC(Imens公司)

Fernando Reitich

AI总结:

本文提出双速率方法评估LLM协议步骤,区分纠正与腐败,通过实验验证其在不同任务中的有效性。

摘要:

大型语言模型越来越多地被用作协议:结构化的多调用过程,通过额外计算将基础答案转换为最终答案。这些协议仅通过端到端准确性评估,限制了对它们何时有益、何时有害以及在分布偏移或组合下行为的了解。我们提出了一种配对结果测量接口,用于审计单个协议步骤的精确匹配任务。对于每个实例,该接口记录基础正确性位$E_0\in\{0,1\}$和步骤后正确性位$E_1\in\{0,1\}$,通过两个速率:$c=\Pr(E_1=1\mid E_0=0)$和$γ=\Pr(E_1=0\mid E_0=1)$,区分纠正($E_0=0\to E_1=1$)与腐败($E_0=1\to E_1=0$)。这些速率预测准确性变化并定义了一个可重用的经验接口,可跨种子、混合物和管道测试。我们识别了三种失败机制。在混合偏移下,池估计的$(c,γ)$在校准和部署混合物不同时会偏向;通过难度代理条件恢复稳定性而无需额外模型调用。在呈现污染下,选择协议通过稳定的呈现艺术制品改变接口,当候选内容固定时。在状态不足下,正确性位可能不足以支持多步骤管道的可预测组合;马尔可夫因子化测试确定何时组合有效以及需要额外状态的位置。当协议步骤通过这些诊断时,它成为可审计模块:受估计收益门控,通过难度代理纠正混合偏移,并在可预测的准确性下组合到多步骤管道中。我们在合成数学任务和GSM8K上展示了这些想法,其中校准接口正确预测了协议步骤应被激活或抑制的时间。

英文摘要:

Large language models operate in protocols containing multiple calls, yet added calls are usually evaluated only by their net effect. That summary cannot distinguish correcting unsuccessful outputs from corrupting initially successful ones. We develop a paired audit recording success before and after a specified operation on the same tasks under one binary rule. Correction and corruption rates exactly account for the net change: gains come from corrected failures and losses from corrupted successes. The break-even correction requirement rises sharply with baseline success, so the same behavior can improve a moderate-baseline population but harm a high-baseline one. Applied to published GPT-4 GSM8K results, the framework bounds within-sample correction and corruption counts from aggregate accuracies. We ask if calibration estimates predict unobserved outcomes, how rates change with information supplied to an operation, and whether successive measurements combine. Calibration estimates track accuracy on a disjoint sample from the same generator. Under reweighting of generator-defined groups, pooled estimates can fail while group-specific estimates reduce average prediction error. On GSM8K, observable features capture limited variation at these sample sizes, so the group-level application rule remains exploratory. Reordering a fixed four-candidate set changes both rates, with the accuracy effect depending on whether a correct alternative is available; on MBPP, adding a helper artifact raises corruptions among 357 initially passing programs from 28 to 100. Direct and composed transition estimates are close on average within samples; weighting initial-success rows by support substantially reduces held-out discrepancy. Correction and corruption are measurements of specified operations, not model constants, and can guide input choices, application decisions, and composition tests.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑