LLM能否预判用户编辑请求?EditRecBench基准与决策模型门控方案
Edit Recommendation: Can LLMs Anticipate Edit Requests from Users, and When?
论文将"LLM在用户发出编辑请求前预判请求"形式化为edit recommendation任务,并基于WildChat-4.8M真实对话日志构建EditRecBench基准。研究发现部分案例在真实场景中本身难以预测,为此引入基于决策模型的门控机制,在向用户展示前过滤预测不太可能正确的案例。所训练模型优于现有决策模型,在门控阈值下将展示建议的pass@5提升12–25个点。
arXiv:2611.21155v1 Announce Type: new Abstract: After a large language model (LLM) agent generates an artifact, users often send edit requests for it. This paper studies whether an LLM can anticipate these requests before they are sent. Such anticipation is useful in practice because it reduces the effort of user review and feedback. We formalize this task as edit recommendation and build EditRecBench, a benchmark for evaluating the performance of LLMs on this task, from real-world conversation logs in WildChat-4.8M. Through benchmarking and failure analysis, we identify a practical challenge that some cases are inherently difficult to predict in real-world settings. To address this, we introduce decision model-based gating to filter out cases where predictions are unlikely to be correct before they are presented to the user. Our trained model outperforms existing decision models and raises pass@5 among shown suggestions by 12--25 points at a gating threshold. Our code is available at https://github.com/ntt-dkiku/llm-edit-recommendation.
来源:arXiv (AI + Vision + Imaging) · arxiv.org