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

AI-generated keywords: Generative AI

AI-generated Key Points

The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.

  • Authors explore generative AI and large language models for improving programming education
  • Focus on generating personalized feedback and hints for learners
  • Benchmarking various language models for programming feedback generation across multiple criteria
  • Leveraging advancements in in-browser inference technology for cost-effectiveness and data privacy protection
  • Introducing fine-tuning pipeline based on synthetic data generated by GPT-4 to enhance feedback quality of smaller models
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Nachiket Kotalwar, Alkis Gotovos, Adish Singla

Abstract: 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.

Submitted to arXiv on 07 Jun. 2024

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2406.05053v1

This paper's license doesn't allow us to build upon its content and the summarizing process is here made with the paper's metadata rather than the article.

, , , , In their paper titled "Hints-In-Browser: Benchmarking Language Models for Programming Feedback Generation," authors Nachiket Kotalwar, Alkis Gotovos, and Adish Singla explore the potential of generative AI and large language models in improving programming education. The focus is on generating personalized feedback and hints for learners, with recent efforts aiming to enhance the quality of generated feedback to match that of human tutors. The study benchmarks various language models for programming feedback generation across multiple performance criteria, including quality, cost, time efficiency, and data privacy. A key innovation lies in leveraging advancements in in-browser inference technology, enabling these models to run directly within web browsers. This approach offers advantages in terms of cost-effectiveness and data privacy protection. To enhance the feedback quality of smaller models compatible with in-browser inference engines, the authors introduce a fine-tuning pipeline based on synthetic data generated by GPT-4. They demonstrate the effectiveness of fine-tuned Llama3-8B and Phi3-3.8B 4-bit quantized models using WebLLM's in-browser inference engine on three distinct Python programming datasets. In addition to presenting their findings, the authors plan to release the full implementation of their work along with a web application and datasets to support further research on in-browser language models. By addressing a range of performance criteria beyond just quality, this study contributes valuable insights into optimizing programming education through innovative AI-driven approaches.
Created on 06 Sep. 2024

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.