Edit Recommendation: Can LLMs Anticipate Edit Requests from Users, and When?

Daisuke Kikuta

arXiv:2611.21155 · 2026-11-26 공개 · arXiv · PDF

llm failure-analysis decision-model edit-recommendation wildchat-4-8m gating llm-edit-recommendation pass5

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.

한국어 요약

한 줄 요약

LLM이 사용자의 편집 요청을 사전에 예측하는 "편집 추천" 작업을 정의하고, 이를 평가하는 EditRecBench 벤치마크를 제시하며, Qwen3.5-4B 기반의 결정 모델을 활용한 게이팅 기법으로 추천 정확도를 12–25 포인트 개선한다.

핵심 기여도

핵심 아이디어

사용자가 생성된 문서나 코드에 대해 편집 요청을 보내기 전에, LLM이 이를 사전에 예측할 수 있다면 사용자 피드백의 부담을 줄일 수 있다. 이를 "편집 추천(edit recommendation)" 작업으로 정의하고, 실제 대화 로그(WildChat-4.8M)를 기반으로 EditRecBench라는 새로운 벤치마크를 제시한다. 기존 연구는 사용자 발언 예측에 초점을 맞추었으나, 본 연구는 편집 요청의 위치와 내용을 비교하는 새로운 평가 기준을 도입하여, 편집 추천의 실용성을 강조한다. 실패 분석을 통해 일부 요청은 문맥만으로 예측이 어려운 경우가 있음을 밝히고, 이를 해결하기 위해 결정 모델 기반의 게이팅(gating) 기법을 제안한다.

기술적 접근법

주요 결과

의의 및 한계

본 연구는 LLM이 사용자의 편집 요청을 사전에 예측하는 작업을 정의하고, 이를 평가할 수 있는 벤치마크를 제시함으로써, 대화형 생성 시스템에서 사용자 피드백의 효율성을 높이는 실용적 전략을 제시한다. 또한, 일부 요청은 문맥만으로 예측이 어려운 한계를 밝히고, 이를 해결하기 위한 결정 모델 기반의 게이팅 기법을 제안함으로써, 추천 시스템의 신뢰도를 높이는 연구적 기여를 한다. 그러나, 39%의 샘플은 여전히 예측 불가능하며, 이는 편집 요청 예측 작업의 본질적 한계를 반영한다.

실용적 활용

본 연구는 챗봇, 코드 생성 도구, 문서 작성 보조 시스템 등 사용자와 대화를 통해 반복적으로 편집을 요청하는 상황에서 활용 가능하다. 예를 들어, 코드 생성 시스템에서 사용자가 편집 요청을 보내기 전에 추천을 제공함으로써, 사용자의 피드백 부담을 줄이고 작업 효율성을 향상시킬 수 있다.