arXiv:2607.26611v1 cs.AI

더 적은 명확화 질문으로 더 나은 코드 작성을: 코딩 어시스턴트의 세션 간 개인화된 모호성 적응 벤치마킹

Fewer Clarifications, Better Code: Benchmarking Cross-Session Personalized Ambiguity Adaptation in Coding Assistants

Zijian Xu, Wenshuo Zhang, Zisen Qin, Rui Sheng, Yushi Sun, Huamin Qu, Chuhan Shi

제출 2026-07-29

한국어 초록

AI 보조 코딩은 비정형적인 사용자 의도를 실행 가능한 소프트웨어로 점진적으로 변환하고 있으나, 코딩 요청에는 작업과 세션에 걸쳐 사용자별로 고유하게 반복되는 모호성이 종종 포함됩니다. 기존의 모호성 해소(disambiguation) 방법들은 주로 현재 코딩 세션 내에서 추가적인 명확화(clarification)를 유도함으로써 각각의 모호한 요청을 개별적으로 처리합니다. 그러나 동일한 사용자의 이전 해결 세션 기록이 새로 열린 세션에서 반복되는 개인화된 모호성을 해결하기 위한 메모리 역할을 할 수 있는지는 아직 충분히 탐구되지 않았습니다. 본 연구에서는 개인화된 모호성 적응(personalized ambiguity adaptation)을 새로운 과제로 정립합니다. 즉, 사용자의 이전에 해결된 코딩 세션들과 새로운 모호한 요청이 주어졌을 때, 어시스턴트는 반복되는 모호성 패턴을 식별하고, 의도된 실행 가능한 솔루션을 생성하며, 명확화 질문을 최소화해야 합니다. 이 과제를 벤치마크하기 위해, 6가지 메커니즘을 통해 개인화된 코딩 모호성을 특성화하고 제어된 3단계 생성 파이프라인을 사용해 모호하지 않은 실행 가능 작업에 이러한 메커니즘을 주입하는 CAPA를 도입합니다. CAPA는 300개의 보류(held-out) 평가 세션을 포함하여 60개의 균형 잡힌 사용자-모호성 셀에 걸친 600개의 코딩 세션으로 구성됩니다. 우리는 12개의 최신 대규모 언어 모델(LLM)을 히스토리가 없는 조건과 동일 사용자 히스토리 조건에서 실행 성공률, 첫 번째 턴 성공률, 완료까지의 턴 수를 기준으로 평가합니다. 분석을 통해 작업 난이도, 사용자 식별, 메모리 기반 히스토리 활용을 살펴보고, 경량 추론(inference) 시점 기법으로 동일 사용자 히스토리 게이팅을 추가로 제안합니다. CAPA는 생성된 코드를 사용자 의도에 더 잘 정렬(alignment)하는 동시에 반복적인 명확화 요구를 줄이는 장기 코딩 어시스턴트 개발을 위한 기반을 제공합니다.

원문 초록

AI-assisted coding increasingly translates informal user intent into executable software, yet coding requests often contain ambiguities that recur in user-specific ways across tasks and sessions. Existing disambiguation methods typically address each ambiguous request in isolation within the current coding session, often through eliciting additional clarification. However, whether resolved session history from the same user can serve as memory for resolving recurring personalized ambiguity in a newly opened session remains underexplored. We formulate personalized ambiguity adaptation as a new task: given a user's previously resolved coding sessions and a new ambiguous request, an assistant should identify the recurring ambiguity pattern, produce the intended executable solution, and minimize clarification. To benchmark this task, we introduce CAPA, which characterizes personalized coding ambiguity through six mechanisms and injects these mechanisms into unambiguous executable tasks using a controlled three-stage generation pipeline. CAPA contains 600 coding sessions across 60 balanced user--ambiguity cells, including 300 held-out evaluation sessions. We evaluate 12 recent LLMs under no-history and same-user-history conditions using executable success, first-turn success, and turns-to-completion. Our analyses examine task difficulty, user identity, and memory-based history use, and we further propose same-user history gating as a lightweight inference-time method. CAPA provides a foundation for developing long-term coding assistants that better align generated code with user intent while reducing repeated clarification.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2607.26611v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.