sk_p: a neural program corrector for MOOCs
Name
Barzilay_Sk-p.pdf
Size
458.15 KB
Format
Adobe PDF
Checksum (MD5)
45f02491c9818ca7a89d96748a505804
Author(s) • • •
Pu, Yewen
Narasimhan, Karthik Rajagopal
Solar Lezama, Armando
Barzilay, Regina
Date Issued
October 2016
Journal
Companion Proceedings of the 2016 ACM SIGPLAN International Conference on Systems, Programming, Languages and Applications: Software for Humanity - SPLASH Companion 2016
Publisher
Association for Computing Machinery
Citation
Pu, Yewen, Karthik Narasimhan, Armando Solar-Lezama, and Regina Barzilay. “Sk_p: a Neural Program Corrector for MOOCs.” Companion Proceedings of the 2016 ACM SIGPLAN International Conference on Systems, Programming, Languages and Applications: Software for Humanity - SPLASH Companion 2016 (2016). doi:10.1145/2984043.2989222.
Version
Original manuscript
Abstract
We present a novel technique for automatic program correction in MOOCs, capable of fixing both syntactic and semantic errors without manual, problem specific correction strategies. Given an incorrect student program, it generates candidate programs from a distribution of likely corrections, and checks each candidate for correctness against a test suite. The key observation is that in MOOCs many programs share similar code fragments, and the seq2seq neural network model, used in the natural-language processing task of machine translation, can be modified and trained to recover these fragments. Experiment shows our scheme can correct 29% of all incorrect submissions and out-performs state of the art approach which requires manual, problem specific correction strategies.
MIT Department
Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science
Terms of Use
Creative Commons Attribution-Noncommercial-Share Alike
Persistent DSpace Link
DOI of Published Version
https://doi.org/10.1145/2984043.2989222