DBox: Scaffolding Algorithmic Programming Learning through Learner-LLM Co-Decomposition
Shuai Ma, Junling Wang, Yuanhao Zhang, Xiaojuan Ma, April Yi Wang
Abstract
Decomposition is a fundamental skill in algorithmic programming, requiring learners to break down complex problems into smaller, manageable parts. However, current self-study methods, such as browsing reference solutions or using LLM assistants, often provide excessive or generic assistance that misaligns with learners' decomposition strategies, hindering independent problem-solving and critical thinking. To address this, we introduce Decomposition Box (DBox), an interactive LLM-based system that scaffolds and adapts to learners' personalized construction of a step tree through a "learner-LLM co-decomposition" approach, providing tailored support at an appropriate level. A within-subjects study (N=24) found that compared to the baseline, DBox significantly improved learning gains, cognitive engagement, and critical thinking. Learners also reported a stronger sense of achievement and found the assistance appropriate and helpful for learning. Additionally, we examined DBox's impact on cognitive load, identified usage patterns, and analyzed learners' strategies for managing system errors. We conclude with design implications for future AI-powered tools to better support algorithmic programming education.
• Human-centered computing → Empirical studies in HCI; Interactive systems and tools.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f18e6d5b-35fb-4457-be57-dec54539a103Cited by top-tier papers7
- "Shall We Dig Deeper?": Designing and Evaluating Strategies for LLM Agents to Advance Knowledge Co-Construction in Asynchronous Online DiscussionsYuanhao Zhang, Wenbo Li, Xiaoyu Wang, Kangyu Yuan et al.CHI 2026 · 2 citations
- Answering Developer Questions with Annotated Agent-Discovered Program TracesLitao Yan, Jeffrey Tao, Lydia B. Chilton, Andrew HeadUIST 2025 · 2 citations
- WordCraft: Scaffolding the Keyword Method for L2 Vocabulary Learning with Multimodal LLMsYuheng Shao, Junjie Xiong, Chaoran Wu, Xiyuan Wang et al.CHI 2026 · 1 citation
- Barriers that Programming Instructors Face While Performing Emergency Pedagogical Design to Shape Student-AI Interactions with Generative AI ToolsSam Lau, Kianoosh Boroojeni, Harry Keeling, Jenn MarroquinCHI 2026 · 1 citation
- Perspectra: Choosing Your Experts Enhances Critical Thinking in Multi-Agent Research IdeationYiren Liu, Viraj Nischal Shah, Sangho Suh, Pao Siangliulue et al.CHI 2026 · 1 citation
Builds on14
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
- Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code GenerationJiawei Liu, Chunqiu Steven Xia, Yuyao Wang, Lingming ZhangNeurIPS 2023 · 2,317 citations
- Studying the effect of AI Code Generators on Supporting Novice Learners in Introductory ProgrammingMajeed Kazemitabaar, Justin Chow, Carl Ka To Ma, Barbara J. Ericson et al.CHI 2023 · 348 citations
- Who Should I Trust: AI or Myself? Leveraging Human and AI Correctness Likelihood to Promote Appropriate Trust in AI-Assisted Decision-MakingShuai Ma, Ying Lei, Xinru Wang, Chengbo Zheng et al.CHI 2023 · 139 citations
- "What It Wants Me To Say": Bridging the Abstraction Gap Between End-User Programmers and Code-Generating Large Language ModelsMichael Xieyang Liu, Advait Sarkar, Carina Negreanu, Benjamin G. Zorn et al.CHI 2023 · 114 citations
Related papers
- CoLadder: Manipulating Code Generation via Multi-Level BlocksRyan Yen, Jiawen Stefanie Zhu, Sangho Suh, Haijun Xia et al.UIST 2024 · 22 citations
- ANPL: Towards Natural Programming with Interactive DecompositionDi Huang, Ziyuan Nan, Xing Hu, Pengwei Jin et al.NeurIPS 2023 · 24 citations
- Improving Steering and Verification in AI-Assisted Data Analysis with Interactive Task DecompositionMajeed Kazemitabaar, Jack Williams, Ian Drosos, Tovi Grossman et al.UIST 2024 · 49 citations
- Can guided decomposition help end-users write larger block-based programs? a mobile robot experimentNico Ritschel, Felipe Fronchetti, Reid Holmes, Ronald Garcia et al.OOPSLA 2022 · 10 citations
- Learning Task Decomposition to Assist Humans in Competitive ProgrammingJiaxin Wen, Ruiqi Zhong, Pei Ke, Zhihong Shao et al.ACL 2024
