Transforming Confusion into Diffusion: Advancing Machine Learning Education via Bottom-Up Instruction

Read full text
Authors: Carlos Cotrini, Sverrir Thorgeirsson, Jesus Solano, Zhendong Su
Cited by: 1
References: 17

Abstract

Balancing conceptual depth with practical skill development is a persistent challenge in advanced machine learning (ML) education, where powerful frameworks can obscure underlying mathematical and computational principles. To address this, we define a new principled approach that we call full-stack machine learning (FSML), which emphasizes the construction of large language models and diffusion models from scratch. To evaluate the effectiveness of FSML, we conducted a classroom-based randomized controlled trial (N=208) in which FSML-based instruction was compared against a popular library-based instructional approach. We measured students' conceptual understanding through a specialized assessment and administered a survey capturing knowledge-gap awareness, curiosity, and cognitive load. We found that students who received FSML instruction performed approximately 10% better than control participants in a quiz on transformers and stable diffusion (p=0.006). They also showed increased curiosity and more positive affective responses, suggesting deeper engagement with ML fundamentals. Our findings indicate that our full-stack approach to ML education can improve student learning outcomes, potentially reshaping curricula for ML and other advanced computing topics.

Fields of Study & Subjects

Psychological and Educational Research Studies Teaching and Learning Programming Visual and Cognitive Learning Processes

Publication details

Journal / source
Proceedings of the 57th ACM Technical Symposium on Computer Science Education V.1
Publisher
ACM
Pages
232–238
Publication date
13 February 2026