Skip to main content
QUICK REVIEW

[Paper Review] Zero Shot Learning for Code Education: Rubric Sampling with Deep Learning Inference

Mike Wu, Milan Mosse|arXiv (Cornell University)|Sep 5, 2018
Adversarial Robustness in Machine LearningComputer Science22 references5 citations
TL;DR

This paper introduces a zero-shot feedback system for programming education using 'rubric sampling'—a human-in-the-loop method that elicits expert priors over program-misconception pairs (p(x,y)) to enable deep learning inference (p(y|x)) without historical data. It achieves human-level accuracy in feedback prediction, doubling the F1 score over baselines, and enables attribution, temporal tracking, and synthetic dataset generation.

ABSTRACT

In modern computer science education, massive open online courses (MOOCs) log thousands of hours of data about how students solve coding challenges. Being so rich in data, these platforms have garnered the interest of the machine learning community, with many new algorithms attempting to autonomously provide feedback to help future students learn. But what about those first hundred thousand students? In most educational contexts (i.e. classrooms), assignments do not have enough historical data for supervised learning. In this paper, we introduce a human-in-the-loop "rubric sampling" approach to tackle the "zero shot" feedback challenge. We are able to provide autonomous feedback for the first students working on an introductory programming assignment with accuracy that substantially outperforms data-hungry algorithms and approaches human level fidelity. Rubric sampling requires minimal teacher effort, can associate feedback with specific parts of a student's solution and can articulate a student's misconceptions in the language of the instructor. Deep learning inference enables rubric sampling to further improve as more assignment specific student data is acquired. We demonstrate our results on a novel dataset from Code.org, the world's largest programming education platform.

Motivation & Objective

  • Address the challenge of providing high-quality feedback in programming education at scale, especially for assignments with no historical student data.
  • Overcome the limitations of supervised learning in low-data regimes where labeling is prohibitively expensive and infeasible.
  • Develop a method that enables accurate, interpretable feedback for the first students on a new programming assignment without prior examples.
  • Enable feedback attribution to specific code segments and support longitudinal tracking of student misconceptions.
  • Create a scalable, data-efficient framework that improves with more assignment-specific data using deep generative models.

Proposed method

  • Use 'rubric sampling' to elicit expert priors over joint distributions p(x,y), where x is a student program and y is its misconception, by asking experts to generate plausible programs for given misconceptions.
  • Leverage deep generative models (MVAE) to learn the true distribution of student programs by interpolating between synthetic data from rubric sampling and unlabeled real student data.
  • Apply a log-Zipf transformation to the unlabeled data to prevent model collapse into memorizing frequent programs, ensuring better coverage of rare, tail-case solutions.
  • Train the MVAE on a mixture of synthetic programs from rubric sampling and real student programs to improve fidelity to the empirical data distribution.
  • Use the trained MVAE to perform inference p(y|x) for new, unseen student programs, enabling zero-shot feedback prediction.
  • Employ evolutionary strategies to automatically learn optimal parameters (θ) for rubric sampling when expert knowledge is unavailable, improving robustness and performance.

Experimental results

Research questions

  • RQ1Can a zero-shot feedback system achieve human-level accuracy in identifying student misconceptions without any historical student data?
  • RQ2How effective is rubric sampling in capturing the distribution of student programs, especially in the long tail of rare but meaningful errors?
  • RQ3To what extent can a deep generative model (MVAE) improve feedback accuracy by combining synthetic rubric-generated data with real unlabeled student data?
  • RQ4Can the system attribute feedback to specific code segments and support longitudinal tracking of student learning?
  • RQ5How does the performance of rubric sampling compare to data-intensive state-of-the-art methods in low-data regimes?

Key findings

  • Rubric sampling with deep learning inference achieved an F1 score that doubled the baseline, approaching human-level accuracy in zero-shot feedback prediction.
  • The method outperformed data-hungry state-of-the-art algorithms, even with zero historical examples, demonstrating strong generalization to unseen assignments.
  • The MVAE trained on a mixture of rubric-sampled and real student data covered the true distribution of student programs (D_unlabeled) significantly better than a PCFG-based synthetic model.
  • The log-Zipf transformation effectively prevented model collapse into memorizing the most frequent programs, ensuring better coverage of rare, error-prone solutions.
  • Rubric sampling required only 19.4 minutes on average for a novice to create a rubric, compared to 24.9 hours for teaching assistants to label 800 programs, highlighting its efficiency.
  • Evolutionary strategies for learning rubric parameters (θ) outperformed hand-picked parameters in some cases, reducing performance gap and even beating expert choices in specific tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.