Learning Agent-based Modeling with LLM Companions: Experiences of Novices and Experts Using ChatGPT & NetLogo Chat
Authors
Title of the Paper
Learning Agent-based Modeling with LLM Companions: Experiences of Novices and Experts Using ChatGPT & NetLogo Chat
Paper Information
- Research Domain: Human-Computer Interaction, AI-assisted Programming Education, Computer Modeling
- Keywords: Agent-based Modeling, NetLogo Chat, ChatGPT, Programming Assistant, LLM Companion, Learning with LLMs
Research Background and Problems
-
Identified Issues or Challenges:
- Large Language Models (LLMs) with self-coding capabilities could fundamentally change the way computer programming is approached, but their actual impact on learning programming remains underexplored.
- While many studies have examined LLM performance in general-purpose programming languages (e.g., Python and JavaScript), there is limited research on their application in specialized domains like Agent-based Modeling (ABM).
- Existing research suggests that experienced programmers benefit more from LLMs, but the reasons behind this phenomenon remain unclear.
-
Research Significance:
- ABM has been widely applied in natural and social sciences, particularly for simulating emergent phenomena in complex systems.
- NetLogo, as a widely used ABM programming language, bridges scientific research and education, yet its complexity and steep learning curve pose challenges for many users.
- LLMs could provide more accessible tools for learning and practicing scientific modeling.
-
Research Motivation and Related Work:
- The research team designed a new system (NetLogo Chat) that integrates Constructionist learning theory and best practices in ABM to support learning and practice in NetLogo through an LLM interface.
- This study aims to understand user perceptions, behaviors, and needs when using LLMs to facilitate ABM learning, addressing gaps in the existing literature.
Solution
-
Proposed Method or Solution:
- Designed and developed an LLM-based system—NetLogo Chat—integrated into the NetLogo IDE to support users in learning and practicing NetLogo.
- The design of NetLogo Chat includes several core features: providing authoritative documentation support, clarifying user needs, and assisting with code debugging.
-
Innovative Aspects:
- The system aims to address the issue of LLM hallucinations by emphasizing user control and transparency.
- It incorporates authoritative information based on official NetLogo documentation to enhance LLM performance and build user trust.
- It creates a highly integrated learning experience by embedding the conversational assistant directly into the NetLogo development environment.
-
Implementation Steps and Key Technologies:
- Optimized interactions with the LLM through Prompt Engineering and implemented the ReAct framework to reduce hallucinations and improve interpretability.
- Combined official NetLogo documentation and code examples in the experimental version to enhance AI performance, providing authoritative resources for users to consult.
- Enabled users to run small code snippets in the chat interface, debug problematic code, and quickly create working models.
Research Findings
-
Specific Results:
- NetLogo Chat was designed to support users in incrementally building code and was seamlessly integrated into the NetLogo IDE.
- Through empirical interviews with 30 experts and novices, differences in user perceptions, behaviors, and needs when collaborating with LLMs were revealed.
- Proposed a knowledge gap theory to explain the factors influencing human-LLM collaboration efficiency and offered potential design recommendations.
-
Advantages Compared to Existing Solutions:
- NetLogo Chat provides a more personalized learning experience, accommodating users with varying levels of knowledge and learning paths.
- Its features enhance user control over code debugging and reduce LLM over-assumptions about user needs.
- Specifically designed for NetLogo and its academic and educational users, it makes ABM language learning and modeling practices more efficient and accessible.
-
Experimental or Evaluation Results:
- Expert users demonstrated a marked tendency to benefit more from LLMs, while novices were more susceptible to the negative effects of AI hallucinations.
- Experts critically evaluated and adjusted AI-generated code, whereas novices relied more heavily on AI guidance, lacking experience in code reading and debugging.
- The experiments revealed knowledge gaps among novices in collaborating with LLMs, including insufficient understanding of modeling, basic syntax, and debugging.
-
Limitations and Future Directions:
- The study sample primarily consisted of participants from North America and Europe, with a low proportion of K-12 educators and students, necessitating more representative samples to validate the findings' applicability.
- Future research could conduct more rigorous quantitative and controlled experiments to further test and expand on the current findings.
- Iterative design goals for the future include enhancing personalization features, broader integration, and better adaptation to diverse cultural and knowledge backgrounds.
Research Questions / Practical Problems
Question signals indexed for this paper.
Research Questions
3- How can large language models (LLMs) help users more efficiently learn and use the agent-based modeling (ABM) language NetLogo?Category: LLM Interfaces, Prompts, and Interaction UnderstandingSimilar questionsarrow_forward
- How do experts and novices differ in behavior, perception, and needs when collaborating with LLMs to learn ABM?Category: LLM Interfaces, Prompts, and Interaction UnderstandingSimilar questionsarrow_forward
- How can LLM systems be designed to bridge knowledge gaps for novices in programming learning?Category: LLM Interfaces, Prompts, and Interaction UnderstandingSimilar questionsarrow_forward
Practical Problems
1- The complexity and high barrier of learning NetLogo deter many users.Category: LLM Interfaces, Prompts, and Interaction UnderstandingSimilar questionsarrow_forward
- 100%
Trade-offs in Sampling and Search for Early-stage Interactive Machine Learning
IUI '22· Human-LLM Collaboration +1
- 80%
Evaluating Large Language Models on Academic Literature Understanding and Review: An Empirical Study among Early-stage Scholars
CHI '24· Human-LLM Collaboration +1
- 80%
Assuage: Assembly Synthesis Using A Guided Exploration
UIST '21· Human-LLM Collaboration +1
- 71%
Estimating Shared Mental Models via Communication-Categorized Directed Graphs
CHI '26· Human-LLM Collaboration +3
- 67%
Investigating How Computer Science Researchers Design Their Co-Writing Experiences With AI
CHI '25· Human-LLM Collaboration +1
- 67%
Hypothesizer: A Hypothesis-Based Debugger to Find and Test Debugging Hypotheses
UIST '23· Immersion & Presence Research +2
- 67%
PaperBridge: Crafting Research Narratives through Human-AI Co-Exploration
UIST '25· Human-LLM Collaboration +2
- 60%
Computational Interaction: Theory and Practice
CHI '18· Computational Methods in HCI
- 60%
Model-based Evaluation of Recall-based Interaction Techniques
CHI '24· Computational Methods in HCI
- 60%
MAPLE: Mobile App Prediction Leveraging Large Language Model Embeddings
UbiComp '24· Human-LLM Collaboration
Based on Jaccard similarity of research subtopics & professions (≥60%)