mlsanityData to 7 Oct 2026

ProtoTransformer: A Meta-Learning Approach to Providing Student Feedback

arXiv 2107.14035 ↗First posted 23 Jul 2021cs.CY cs.LGcited by 8

Not on the map. Why?

Abstract (arXiv)

High-quality computer science education is limited by the difficulty of providing instructor feedback to students at scale. While this feedback could in principle be automated, supervised approaches to predicting the correct feedback are bottlenecked by the intractability of annotating large quantities of student code. In this paper, we instead frame the problem of providing feedback as few-shot classification, where a meta-learner adapts to give feedback to student code on a new programming question from just a few examples annotated by instructors. Because data for meta-training is limited, we propose a number of amendments to the typical few-shot learning framework, including task augmentation to create synthetic tasks, and additional side information to build stronger priors about each task. These additions are combined with a transformer architecture to embed discrete sequences (e.g. code) to a prototypical representation of a feedback class label. On a suite of few-shot natural language processing tasks, we match or outperform state-of-the-art performance. Then, on a collection of student solutions to exam questions from an introductory university course, we show that our approach reaches an average precision of 88% on unseen questions, surpassing the 82% precision of teaching assistants. Our approach was successfully deployed to deliver feedback to 16,000 student exam-solutions in a programming course offered by a tier 1 university. This is, to the best of our knowledge, the first successful deployment of a machine learning based feedback to open-ended student code.

Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 49 of its 80 references that are in the map. First posted on arXiv 23 Jul 2021.

Builds on

49 of 80 references.

References · 49

  1. 2017Attention Is All You Needcited by 59,932
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  4. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
  5. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  6. 2017Prototypical Networks for Few-shot Learningcited by 3,001
  7. 2017FiLM: Visual Reasoning with a General Conditioning Layercited by 2,286
  8. 2016Matching Networks for One Shot Learningcited by 2,246
  9. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  10. 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,139
  11. 2020Meta-Learning in Neural Networks: A Surveycited by 944
  12. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
37 more
  1. 2018Meta-Learning for Semi-Supervised Few-Shot Classificationcited by 456
  2. 2018TADAM: Task dependent adaptive metric for improved few-shot learningcited by 408
  3. 2018Meta-learning with differentiable closed-form solverscited by 395
  4. 2015Deep Knowledge Tracingcited by 328
  5. 2017Few-Shot Learning with Graph Neural Networkscited by 324
  6. 2018Meta-Learning: A Surveycited by 254
  7. 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 220
  8. 2018Learning to Propagate Labels: Transductive Propagation Network for Few-shot Learningcited by 208
  9. 2018code2seq: Generating Sequences from Structured Representations of Codecited by 177
  10. 2018One-Shot Imitation from Observing Humans via Domain-Adaptive Meta-Learningcited by 146
  11. 2016A Convolutional Attention Network for Extreme Summarization of Source Codecited by 90
  12. 2018Unsupervised Learning via Meta-Learningcited by 81
  13. 2020Contrastive Code Representation Learningcited by 76
  14. 2018Unsupervised Meta-Learning For Few-Shot Image Classificationcited by 74
  15. 2019Induction Networks for Few-Shot Text Classificationcited by 64
  16. 2018Diverse Few-Shot Text Classification with Multiple Metricscited by 61
  17. 2019Few-shot Text Classification with Distributional Signaturescited by 58
  18. 2020SAINT+: Integrating Temporal Features for EdNet Correctness Predictioncited by 57
  19. 2020Self-Supervised Meta-Learning for Few-Shot Natural Language Classification Taskscited by 51
  20. 2020Self-supervised Knowledge Distillation for Few-shot Learningcited by 41
  21. 2020The Advantage of Conditional Meta-Learning for Biased Regularization and Fine-Tuningcited by 40
  22. 2019Learning to Learn and Predict: A Meta-Learning Approach for Multi-Label Classificationcited by 35
  23. 2018Natural Language to Structured Query Generation via Meta-Learningcited by 33
  24. 2019Learning and Evaluating Contextual Embedding of Source Codecited by 33
  25. 2020Unsupervised Meta-Learning through Latent-Space Interpolation in Generative Modelscited by 26
  26. 2020Self-Supervised Prototypical Transfer Learning for Few-Shot Classificationcited by 26
  27. 2019Assume, Augment and Learn: Unsupervised Few-Shot Meta-Learning via Random Labels and Data Augmentationcited by 24
  28. 2017Neural Program Meta-Inductioncited by 23
  29. 2020Task Augmentation by Rotating for Meta-Learningcited by 18
  30. 2018Zero Shot Learning for Code Education: Rubric Sampling with Deep Learning Inferencecited by 16
  31. 2019Prototype Propagation Networks (PPN) for Weakly-supervised Few-shot Learning on Category Graphcited by 15
  32. 2020OptTyper: Probabilistic Type Inference by Optimising Logical and Natural Constraintscited by 14
  33. 2019Automated Essay Scoring based on Two-Stage Learningcited by 12
  34. 2020Few-shot Sequence Learning with Transformerscited by 7
  35. 2018Recent Advances in Neural Program Synthesiscited by 5
  36. 2019Reliable Deep Grade Prediction with Uncertainty Estimationcited by 3
  37. 2019Generative Grading: Near Human-level Accuracy for Automated Feedback on Richly Structured Problemscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 2; 2023: 3; 2024: 1; 2025: 0; 2026: 2.

8 papers.