Learning by Teaching: Engaging Students as Instructors of Large Language Models in Computer Science Education
Not on the map. Why?
Abstract (arXiv)
While Large Language Models (LLMs) are often used as virtual tutors in computer science (CS) education, this approach can foster passive learning and over-reliance. This paper presents a novel pedagogical paradigm that inverts this model: students act as instructors who must teach an LLM to solve problems. To facilitate this, we developed strategies for designing questions with engineered knowledge gaps that only a student can bridge, and we introduce Socrates, a system for deploying this method with minimal overhead. We evaluated our approach in an undergraduate course and found that this active-learning method led to statistically significant improvements in student performance compared to historical cohorts. Our work demonstrates a practical, cost-effective framework for using LLMs to deepen student engagement and mastery.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 23 of its 43 references that are in the map. First posted on arXiv 8 Aug 2025.
Builds on
23 of 43 references.
References · 23
- 2023GPT-4 Technical Reportcited by 18,396
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
- 2023A Survey of Large Language Modelscited by 2,576
- 2023PaLM 2 Technical Reportcited by 1,162
- 2023Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyondcited by 411
- 2023Universal Self-Consistency for Large Language Model Generationcited by 203
11 more
- 2024Large Language Models for Education: A Survey and Outlookcited by 188
- 2023Navigate through Enigmatic Labyrinth A Survey of Chain of Thought Reasoning: Advances, Frontiers and Futurecited by 184
- 2024CodeAid: Evaluating a Classroom Deployment of an LLM-based Programming Assistant that Balances Student and Educator Needscited by 84
- 2023A Survey of GPT-3 Family Large Language Models Including ChatGPT and GPT-4cited by 81
- 2023Beyond Accuracy: Evaluating Self-Consistency of Code Large Language Models with IdentityChaincited by 31
- 2024Desirable Characteristics for AI Teaching Assistants in Programming Educationcited by 17
- 2024Can LLMs Reliably Simulate Human Learner Actions? A Simulation Authoring Framework for Open-Ended Learning Environmentscited by 17
- 2024Large Language Models in Computer Science Education: A Systematic Literature Reviewcited by 13
- 2023Self-Consistency of Large Language Models under Ambiguitycited by 12
- 2023Generative AI in the Classroom: Can Students Remain Active Learners?cited by 5
- 2023Are LLMs Useful in the Poorest Schools? TheTeacher.AI in Sierra Leonecited by 4
Built on by
Not cited yet.