NoteEx: Interactive Visual Context Manipulation for LLM-Assisted Exploratory Data Analysis in Computational Notebooks
Payandeh, Mohammad Hasan, Yuan, Lin-Ping, Zhao, Jian
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Nov-11-2025
- Country:
- Asia
- China
- Guangxi Province > Nanning (0.04)
- Hong Kong (0.04)
- Japan > Honshū
- Kantō
- Kanagawa Prefecture > Yokohama (0.04)
- Tokyo Metropolis Prefecture > Tokyo (0.14)
- Kantō
- China
- Europe
- Denmark (0.04)
- Switzerland (0.04)
- United Kingdom > Scotland
- City of Glasgow > Glasgow (0.04)
- North America
- Canada
- United States
- Pennsylvania > Allegheny County
- Pittsburgh (0.04)
- New York > New York County
- New York City (0.05)
- Washington > King County
- Seattle (0.04)
- Virginia (0.04)
- California > Alameda County
- Berkeley (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Hawaii > Honolulu County
- Honolulu (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- Texas > Harris County
- Houston (0.04)
- Pennsylvania > Allegheny County
- Asia
- Genre:
- Personal > Interview (0.67)
- Questionnaire & Opinion Survey (1.00)
- Research Report
- Experimental Study (1.00)
- New Finding (1.00)
- Industry:
- Health & Medicine (0.46)
- Technology: