arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.07223cs.HCcs.AI
收藏

NoteEx:面向计算笔记本中LLM辅助探索性数据分析的交互式视觉上下文操控

NoteEx: Interactive Visual Context Manipulation for LLM-Assisted Exploratory Data Analysis in Computational Notebooks

School of Computer Science\ of Waterloo Waterloo Ontario Canada;The Hong Kong University of Science;School of Computer Science\ of Waterloo

Mohammad Hasan Payandeh, Lin-Ping Yuan, Jian Zhao

AI总结:

NoteEx通过JupyterLab中的语义可视化帮助分析师外化EDA心智模型并交互式选择LLM上下文,实验证明其能提升心智模型保持与LLM响应质量。

摘要:

计算笔记本在探索性数据分析(EDA)中已变得流行,并通过基于LLM的代码生成和结果解释得到增强。有效的LLM辅助关键在于选择信息丰富的上下文——即其代码、数据或输出足以回答提示的最小单元格集合。随着笔记本变得冗长且杂乱,用户可能失去对其分析心智模型的跟踪。因此,他们难以为LLM任务整理合适的上下文,导致挫败感和繁琐的提示工程。我们进行了一项形成性研究(n=6),揭示了LLM上下文选择与心智模型维护中的挑战。为此,我们引入了NoteEx,一个JupyterLab扩展,它提供EDA工作流的语义可视化,使分析师能够外化其心智模型、指定分析依赖关系,并支持交互式选择与任务相关的LLM上下文。一项针对基线的用户研究(n=12)表明,NoteEx改善了心智模型保持和上下文选择,从而带来更准确和相关的LLM响应。

英文摘要:

Computational notebooks have become popular for Exploratory Data Analysis (EDA), augmented by LLM-based code generation and result interpretation. Effective LLM assistance hinges on selecting informative context -- the minimal set of cells whose code, data, or outputs suffice to answer a prompt. As notebooks grow long and messy, users can lose track of the mental model of their analysis. They thus fail to curate appropriate contexts for LLM tasks, causing frustration and tedious prompt engineering. We conducted a formative study (n=6) that surfaced challenges in LLM context selection and mental model maintenance. Therefore, we introduce NoteEx, a JupyterLab extension that provides a semantic visualization of the EDA workflow, allowing analysts to externalize their mental model, specify analysis dependencies, and enable interactive selection of task-relevant contexts for LLMs. A user study (n=12) against a baseline shows that NoteEx improved mental model retention and context selection, leading to more accurate and relevant LLM responses.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑