Learning Programming with AI

会議の名前
CHI 2024
How Beginning Programmers and Code LLMs (Mis)read Each Other
要旨

Generative AI models, specifically large language models (LLMs), have made strides towards the long-standing goal of text-to-code generation. This progress has invited numerous studies of user interaction. However, less is known about the struggles and strategies of non-experts, for whom each step of the text-to-code problem presents challenges: describing their intent in natural language, evaluating the correctness of generated code, and editing prompts when the generated code is incorrect. This paper presents a large-scale controlled study of how 120 beginning coders across three academic institutions approach writing and editing prompts. A novel experimental design allows us to target specific steps in the text-to-code process and reveals that beginners struggle with writing and editing prompts, even for problems at their skill level and when correctness is automatically determined. Our mixed-methods evaluation provides insight into student processes and perceptions with key implications for non-expert Code LLM use within and outside of education.

著者
Sydney Nguyen
Wellesley College, Wellesley, Massachusetts, United States
Hannah McLean Babe
Oberlin College, Oberlin, Ohio, United States
Yangtian Zi
Northeastern University, Boston, Massachusetts, United States
Arjun Guha
Northeastern University, Boston, Massachusetts, United States
Carolyn Jane. Anderson
Wellesley College, Wellesley, Massachusetts, United States
Molly Q. Feldman
Oberlin College, Oberlin, Ohio, United States
論文URL

https://doi.org/10.1145/3613904.3642706

動画
Teach AI How to Code: Using Large Language Models as Teachable Agents for Programming Education
要旨

This work investigates large language models (LLMs) as teachable agents for learning by teaching (LBT). LBT with teachable agents helps learners identify knowledge gaps and discover new knowledge. However, teachable agents require expensive programming of subject-specific knowledge. While LLMs as teachable agents can reduce the cost, LLMs' expansive knowledge as tutees discourages learners from teaching. We propose a prompting pipeline that restrains LLMs' knowledge and makes them initiate "why" and "how" questions for effective knowledge-building. We combined these techniques into TeachYou, an LBT environment for algorithm learning, and AlgoBo, an LLM-based tutee chatbot that can simulate misconceptions and unawareness prescribed in its knowledge state. Our technical evaluation confirmed that our prompting pipeline can effectively configure AlgoBo's problem-solving performance. Through a between-subject study with 40 algorithm novices, we also observed that AlgoBo's questions led to knowledge-dense conversations (effect size=0.71). Lastly, we discuss design implications, cost-efficiency, and personalization of LLM-based teachable agents.

受賞
Honorable Mention
著者
Hyoungwook Jin
KAIST, Daejeon, Korea, Republic of
Seonghee Lee
Stanford University, Palo Alto, California, United States
Hyungyu Shin
KAIST, Daejeon, Korea, Republic of
Juho Kim
KAIST, Daejeon, Korea, Republic of
論文URL

https://doi.org/10.1145/3613904.3642349

動画
ChatScratch: An AI-Augmented System Toward Autonomous Visual Programming Learning for Children Aged 6-12
要旨

As Computational Thinking (CT) continues to permeate younger age groups in K-12 education, established CT platforms such as Scratch face challenges in catering to these younger learners, particularly those in the elementary school (ages 6-12). Through formative investigation with Scratch experts, we uncover three key obstacles to children's autonomous Scratch learning: artist's block in project planning, bounded creativity in asset creation, and inadequate coding guidance during implementation. To address these barriers, we introduce ChatScratch, an AI-augmented system to facilitate autonomous programming learning for young children. ChatScratch employs structured interactive storyboards and visual cues to overcome artist's block, integrates digital drawing and advanced image generation technologies to elevate creativity, and leverages Scratch-specialized Large Language Models (LLMs) for professional coding guidance. Our study shows that, compared to Scratch, ChatScratch efficiently fosters autonomous programming learning, and contributes to the creation of high-quality, personally meaningful Scratch projects for children.

著者
Liuqing Chen
Zhejiang University, Hangzhou, Zhejiang, China
Shuhong Xiao
Zhejiang University, Hangzhou, Zhejiang, China
Yunnong Chen
Zhejiang University, Hangzhou, China
Ruoyu Wu
Beijing Normal University , Beijing, China
Yaxuan Song
Zhejiang University, Hangzhou, China
Lingyun Sun
Zhejiang University, Hangzhou, China
論文URL

https://doi.org/10.1145/3613904.3642229

動画
“It’s Weird That it Knows What I Want”: Usability and Interactions with Copilot for Novice Programmers
要旨

Recent developments in deep learning have resulted in code-generation models that produce source code from natural language and code-based prompts with high accuracy. This is likely to have profound effects in the classroom, where novices learning to code can now use free tools to automatically suggest solutions to programming exercises and assignments. However, little is currently known about how novices interact with these tools in practice. We present the first study that observes students at the introductory level using one such code auto-generating tool, Github Copilot, on a typical introductory programming (CS1) assignment. Through observations and interviews we explore student perceptions of the benefits and pitfalls of this technology for learning, present new observed interaction patterns, and discuss cognitive and metacognitive difficulties faced by students. We consider design implications of these findings, specifically in terms of how tools like Copilot can better support and scaffold the novice programming experience.

著者
James Prather
Abilene Christian University, Abilene, Texas, United States
Brent Reeves
Abilene Christian University, Abilene, Texas, United States
Paul Denny
The University of Auckland, Auckland, New Zealand
Brett A.. Becker
University College Dublin, Dublin, Ireland
Juho Leinonen
The University of Auckland, Auckland, New Zealand
Andrew Luxton-Reilly
The University of Auckland, Auckland, Auckland, New Zealand
Garrett B. Powell
Abilene Christian University, Abilene, Texas, United States
James Finnie-Ansley
University of Auckland, Auckland, New Zealand
Eddie Antonio Santos
University College Dublin, Dublin, Ireland
動画