Score: 1

NaturalEdit: Code Modification through Direct Interaction with Adaptive Natural Language Representation

Published: October 6, 2025 | arXiv ID: 2510.04494v1

By: Ningzhi Tang , David Meininger , Gelei Xu and more

Potential Business Impact:

Helps programmers understand and change code faster.

Business Areas:
Natural Language Processing Artificial Intelligence, Data and Analytics, Software

Code modification requires developers to comprehend code, plan changes, articulate intentions, and validate outcomes, making it a cognitively demanding process. Generated natural language code summaries aid comprehension but remain static and limited in supporting the full workflow. We present NaturalEdit, a system that makes code summaries interactive and adaptive representations directly linked to source code. Grounded in the Cognitive Dimensions of Notations, NaturalEdit implements a paradigm of code modification through interaction with natural language representations through three key features: (1) adaptive multi-faceted representation of code summaries with flexible Abstraction Gradient; (2) interactive mapping mechanisms between summaries and codes, ensuring a tight Closeness of Mapping; and (3) intent-driven, bidirectional synchronization that reduces Viscosity in editing and validation. A technical evaluation confirms the performance of NaturalEdit, and a user study with 12 developers shows that it enhances comprehension, intent articulation, and validation, giving developers greater confidence and control.

Country of Origin
🇺🇸 United States


Page Count
26 pages

Category
Computer Science:
Human-Computer Interaction