arXiv:2508.02823cs.HCcs.AI2025-08中稿 · UIST 2025被引 13

让大模型理解过程可视化,用户可直接修改意图与代码的对应关系。

NeuroSync: Intent-Aware Code-Based Problem Solving via Direct LLM Understanding Modification

  • 通过知识蒸馏提取大模型对用户意图的理解和任务映射
  • 用户可直观查看并编辑意图-代码的匹配关系,提升对齐度
  • 实测降低认知负担,提升编程效率,适合非程序员用大模型解题

对话式大模型被缺乏编程经验的领域用户广泛用于解决专业问题。然而,用户意图与生成代码之间常存在偏差,导致反复澄清与挫败感。本文首次分析该偏差根源:用户意图和编码任务均具非线性特征,却需通过线性提示与代码序列表达和解读,造成双向模糊。为此,提出直接意图-任务匹配新范式,将大模型在生成代码前推断出的任务及其关系显式化,并支持用户直接交互修改。作为概念验证,实现NeuroSync系统,采用知识蒸馏流程提取大模型理解、用户意图及其映射关系,并通过可视化界面让用户直观检视与编辑。技术实验验证组件有效性,用户研究(N=12)显示该方法显著提升意图-任务对齐度,降低认知负荷,提高编码效率。

原文摘要 · Abstract (English)

Conversational LLMs have been widely adopted by domain users with limited programming experience to solve domain problems. However, these users often face misalignment between their intent and generated code, resulting in frustration and rounds of clarification. This work first investigates the cause of this misalignment, which dues to bidirectional ambiguity: both user intents and coding tasks are inherently nonlinear, yet must be expressed and interpreted through linear prompts and code sequences. To address this, we propose direct intent-task matching, a new human-LLM interaction paradigm that externalizes and enables direct manipulation of the LLM understanding, i.e., the coding tasks and their relationships inferred by the LLM prior to code generation. As a proof-of-concept, this paradigm is then implemented in NeuroSync, which employs a knowledge distillation pipeline to extract LLM understanding, user intents, and their mappings, and enhances the alignment by allowing users to intuitively inspect and edit them via visualizations. We evaluate the algorithmic components of NeuroSync via technical experiments, and assess its overall usability and effectiveness via a user study (N=12). The results show that it enhances intent-task alignment, lowers cognitive effort, and improves coding efficiency.

大模型交互意图对齐可视化编程辅助

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。