mlsanityData to 7 Oct 2026

Hints-In-Browser: Benchmarking Language Models for Programming Feedback Generation

arXiv 2406.05053 ↗First posted 7 Jun 2024cs.LG cs.AIcited by 7

Not on the map. Why?

Abstract (arXiv)

Generative AI and large language models hold great promise in enhancing programming education by generating individualized feedback and hints for learners. Recent works have primarily focused on improving the quality of generated feedback to achieve human tutors' quality. While quality is an important performance criterion, it is not the only criterion to optimize for real-world educational deployments. In this paper, we benchmark language models for programming feedback generation across several performance criteria, including quality, cost, time, and data privacy. The key idea is to leverage recent advances in the new paradigm of in-browser inference that allow running these models directly in the browser, thereby providing direct benefits across cost and data privacy. To boost the feedback quality of small models compatible with in-browser inference engines, we develop a fine-tuning pipeline based on GPT-4 generated synthetic data. We showcase the efficacy of fine-tuned Llama3-8B and Phi3-3.8B 4-bit quantized models using WebLLM's in-browser inference engine on three different Python programming datasets. We will release the full implementation along with a web app and datasets to facilitate further research on in-browser language models.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 16 of its 39 references that are in the map. First posted on arXiv 7 Jun 2024.

Builds on

16 of 39 references.

References · 16

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  5. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
  6. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
  7. 2023Teaching Large Language Models to Self-Debugcited by 963
  8. 2023Is Self-Repair a Silver Bullet for Code Generation?cited by 191
  9. 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 85
  10. 2018Leveraging Grammar and Reinforcement Learning for Neural Program Synthesiscited by 83
  11. 2024CodeAid: Evaluating a Classroom Deployment of an LLM-based Programming Assistant that Balances Student and Educator Needscited by 81
  12. 2023Generative AI for Programming Education: Benchmarking ChatGPT, GPT-4, and Human Tutorscited by 38
4 more
  1. 2023Generating High-Precision Feedback for Programming Syntax Errors using Large Language Modelscited by 34
  2. 2023Automating Human Tutor-Style Programming Feedback: Leveraging GPT-4 Tutor Model for Hint Generation and GPT-3.5 Student Model for Hint Validationcited by 29
  3. 2024Generative AI for Education (GAIED): Advances, Opportunities, and Challengescited by 13
  4. 2024Benchmarking Educational Program Repaircited by 2

Built on by

Cited by year

Citing papers per year: 2024: 2; 2025: 5.

7 papers.