Edit Recommendation: Can LLMs Anticipate Edit Requests from Users, and When?
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.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI, cs.HC
- Comments
- Blog: https://ntt-dkiku.github.io/llm-edit-recommendation, Code: https://github.com/ntt-dkiku/llm-edit-recommendation
Related papers
Unlocking the Power of Loops in Pretrained LLMs with Loop Residuals
Shared title terminologycs.CLXuanlei Zhao, Hailun Xu, Kai Wang et al.
SARA: An Auditor-in-the-Loop LLM Recommender for Sustainability Reports
Shared title terminologycs.CLLars Hillebrand, Thiago B. F. de Oliveira, Tim Dilmaghani et al.
Trallie: from Free-Form Text to Structured Data with LLMs
Shared title terminologycs.CLVijayasri Iyer, Cristiano De Nobili, Mubashir Hussain Shah et al.
Empirical Margin Sensitivity: An Interventional Neuron-Level Probe of Post-Trained Medical LLMs
Shared title terminologycs.CLAniruddh Shreyas, Aarnav Kembhavi, Minal Moharir
Quantizing Diffusion LLMs under Parallel Decoding: Commitment Risk and the Parallelism Tax
Shared title terminologycs.CLHuan Xu, Maosen Zhao, Pengtao Chen et al.
When Does Continual Pre-Training Help? An Empirical Study of Decoupled Knowledge and Generation Trajectories in Clinical LLMs
Shared title terminologycs.CLNiclas Doll, Jasper Schulze Buschhoff, Shalaka Satheesh et al.