mlsanityData to 7 Oct 2026

Can Language Models Employ the Socratic Method? Experiments with Code Debugging

arXiv 2310.03210 ↗First posted 4 Oct 2023cs.CL cs.CYcited by 14

Not on the map. Why?

Abstract (arXiv)

When employing the Socratic method of teaching, instructors guide students toward solving a problem on their own rather than providing the solution directly. While this strategy can substantially improve learning outcomes, it is usually time-consuming and cognitively demanding. Automated Socratic conversational agents can augment human instruction and provide the necessary scale, however their development is hampered by the lack of suitable data for training and evaluation. In this paper, we introduce a manually created dataset of multi-turn Socratic advice that is aimed at helping a novice programmer fix buggy solutions to simple computational problems. The dataset is then used for benchmarking the Socratic debugging abilities of a number of language models, ranging from fine-tuning the instruction-based text-to-text transformer Flan-T5 to zero-shot and chain of thought prompting of the much larger GPT-4. The code and datasets are made freely available for research at the link below. https://github.com/taisazero/socratic-debugging-benchmark

Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 10 of its 42 references that are in the map. First posted on arXiv 4 Oct 2023.

Builds on

10 of 42 references.

References · 10

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  4. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
  5. 2020Recipes for building an open-domain chatbotcited by 593
  6. 2022Experiences from Using Code Explanations Generated by Large Language Models in a Web Software Development E-Bookcited by 84
  7. 2022Using Large Language Models to Enhance Programming Error Messagescited by 67
  8. 2023Copiloting the Copilots: Fusing Large Language Models with Completion Engines for Automated Program Repaircited by 55
  9. 2022Automatic Generation of Socratic Subquestions for Teaching Math Word Problemscited by 42
  10. 2019A Survey of Automated Programming Hint Generation -- The HINTS Frameworkcited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 7; 2025: 3; 2026: 3.

14 papers.

Sort:

By area:

  1. 2024Unifying AI Tutor Evaluation: An Evaluation Taxonomy for Pedagogical Ability Assessment of LLM-Powered AI Tutorscited by 60
  2. 2024MathVC: An LLM-Simulated Multi-Character Virtual Classroom for Mathematics Educationcited by 35
  3. 2023Mathematical Language Models: A Surveycited by 24
  4. 2024Improving Socratic Question Generation using Data Augmentation and Preference Optimizationcited by 15
  5. 2024Instruct, Not Assist: LLM-based Multi-Turn Planning and Hierarchical Questioning for Socratic Code Debuggingcited by 11
  6. 2024How Novice Programmers Use and Experience ChatGPT when Solving Programming Exercises in an Introductory Coursecited by 11
  7. 2024Analyzing Chat Protocols of Novice Programmers Solving Introductory Programming Tasks with ChatGPTcited by 8
  8. 2024Evaluating Language Models for Generating and Judging Programming Feedbackcited by 8
  9. 2025Bringing Pedagogy into Focus: Evaluating Virtual Teaching Assistants' Question-Answering in Asynchronous Learning Environmentscited by 1
  10. 2025McMining: Automated Discovery of Misconceptions in Student Codecited by 1
  11. 2026Automatic Classification of Pedagogical Materials against CS Curriculum Guidelinescited by 1
  12. 2025ACE-RLHF: Automated Code Evaluation and Socratic Feedback Generation Tool using Large Language Models and Reinforcement Learning with Human Feedbackcited by 0
2 more
  1. 2026Mitigating Scaffolding Collapse in Socratic Tutors via Representation Alignmentcited by 0
  2. 2026SPHERE: Adaptive VR Indoor Scene Generation via LLM-Enhanced Spatial Preference Learning and Human-in-the-Loop RLcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Reasoning Trajectories for Socratic Debugging of Student Code: From Misconceptions to Contradictions and Updated Beliefs
  2. 2024Boosting Large Language Models with Socratic Method for Conversational Mathematics Teaching
  3. 2026Teaching Language Models How to Code Like Learners: Conversational Serialization for Student Simulation
  4. 2023Prompting Large Language Models With the Socratic Method
  5. 2023SocREval: Large Language Models with the Socratic Method for Reference-Free Reasoning Evaluation
  6. 2026Teaching Language Models to Think in Code
  7. 2024NExT: Teaching Large Language Models to Reason about Code Execution
  8. 2023Large Language Model for Science: A Study on P vs. NP