Reproduce “An Empirical Study of Interaction Smells in Multi-Turn Human-LLM Collaborative Code Generation” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Binquan Zhang, Li Zhang, Lin Shi, Song Wang, Yuwei Qian, Linhui Zhao, Fang Liu, An Fu and 1 more
An empirical study identified and categorized nine types of "Interaction Smells" that degrade multi-turn human-LLM collaborative code generation, such as "Must-Do Omission" and "Partial Functionality Breakdown." Researchers also developed the Invariant-aware Constraint Evolution (InCE) framework, which improved task success rates for most evaluated LLMs by up to 6.67% and significantly reduced the prevalence of these identified smells.
Key insights
- Interaction Smells are pervasive in multi-turn human-LLM code generation, with "Must-Do Omission" and "Partial Functionality Breakdown" being the most frequently observed types across diverse LLMs.
- Current LLMs face systemic challenges in preserving invariant constraints and avoiding regressions when incorporating new requirements during iterative code modifications.
- Explicitly managing global constraints and proactively detecting potential interaction issues through an agentic framework can significantly enhance the quality and efficiency of human-LLM collaborative programming.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.