arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.26650cs.AIcs.CL
收藏

从结果到组件:一种针对大语言模型(LLM)提出的修复方案的反事实评估框架

From Outcomes to Components: A Counterfactual Evaluation Framework for LLM-Proposed Repairs

ShanghaiTech University(上海科技大学);City University of Hong Kong(香港城市大学)

Hengyu Ye, Songhua Hu

AI总结:

本研究针对LLM提出的修复方案,提出反事实评估框架,在交通网络和数据库中验证了修复组件配对的效果,发现重组配对的损失恢复率优于仅选择单一提议。

摘要:

大语言模型(LLM)生成的修复动作指定了需要修改的记录以及修改幅度。一个失败的动作仍可能包含有用的目标集合或数值更新,具体取决于这两者的配对方式。我们在交通网络和数据库中评估该问题,其中聚合观测结果会掩盖需要修正的记录。我们通过从相同初始状态执行每一种配对,并使用能恢复受影响记录的参考动作来检验这些配对。在114个交通动作中,有76个的修正两个部分带来的收益超过了单独修正每个部分的收益之和。其中6个动作在单独修正任一部分后会变得更差,但在修正两个部分后会得到改善。在数据库修复中,仅用参考更新替换提出的更新会使108个模型动作中的17个变差,这些动作全部选择了未受影响的记录。我们还测试了两个提议的部分是否可复用。在保留的观测结果上,在提议及其重组的目标-更新配对中进行选择可恢复参考动作损失减少量的61.6%,而仅在提议之间进行选择的恢复率为58.0%。

英文摘要:

A repair action proposed by a large language model (LLM) specifies which records to change and how to change their values. A failed action may still contain a useful choice of records or a useful update, depending on how the two are paired. We introduce a counterfactual evaluation framework that separates selected records (targets) from the applied change (an update). Four executions combine proposed and reference targets and updates to measure the effects of correcting or retaining each component and their interaction. We evaluate the framework on two tasks: traffic assignment, where affected demand must be identified from road counts, and database repair, where affected rows must be identified from aggregate reports. An injected fault supplies a reference action that reverses it, and the recovery rate measures an action's loss reduction relative to that reference. For sparse-target actions in the traffic experiments, retaining the proposed update on reference targets achieves 79.4% of the reference loss reduction, compared with 43.7% from tuning update strength on the proposed targets. In the database experiments, update replacement worsens 17 of 108 actions, all selecting unaffected records, with sharply different frequencies across models. The value of a proposed update depends on the targets it is paired with. Missed targets hide useful updates, while excess targets can make a milder update better than the reference correction. In a component-reuse study, testing new target-update pairings from two proposals raises mean held-out recovery rate to 0.616, compared with 0.580 when selecting between the original proposals.

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

↑