TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Graph-based, Self-Supervised Program Repair from Diagnosti...

Graph-based, Self-Supervised Program Repair from Diagnostic Feedback

Michihiro Yasunaga, Percy Liang

2020-05-20ICML 2020 1Program RepairSelf-Supervised LearningProgram SynthesisGraph LearningDiagnosticCode Generation
PaperPDFCode(official)Code(official)

Abstract

We consider the problem of learning to repair programs from diagnostic feedback (e.g., compiler error messages). Program repair is challenging for two reasons: First, it requires reasoning and tracking symbols across source code and diagnostic feedback. Second, labeled datasets available for program repair are relatively small. In this work, we propose novel solutions to these two challenges. First, we introduce a program-feedback graph, which connects symbols relevant to program repair in source code and diagnostic feedback, and then apply a graph neural network on top to model the reasoning process. Second, we present a self-supervised learning paradigm for program repair that leverages unlabeled programs available online to create a large amount of extra program repair examples, which we use to pre-train our models. We evaluate our proposed approach on two applications: correcting introductory programming assignments (DeepFix dataset) and correcting the outputs of program synthesis (SPoC dataset). Our final system, DrRepair, significantly outperforms prior work, achieving 68.2% full repair rate on DeepFix (+22.9% over the prior best), and 48.4% synthesis success rate on SPoC (+3.7% over the prior best).

Results

TaskDatasetMetricValueModel
Program SynthesisSPoC TestPSuccess rate @budget 10038.5DrRepair
Program SynthesisSPoC TestWSuccess rate @budget 10057DrRepair
Program SynthesisDeepFixAverage Success Rate68.2DrRepair
Program RepairDeepFixAverage Success Rate68.2DrRepair

Related Papers

Smart fault detection in satellite electrical power system2025-07-18CUDA-L1: Improving CUDA Optimization via Contrastive Reinforcement Learning2025-07-18A Semi-Supervised Learning Method for the Identification of Bad Exposures in Large Imaging Surveys2025-07-17SGCL: Unifying Self-Supervised and Supervised Learning for Graph Recommendation2025-07-17Demographic-aware fine-grained classification of pediatric wrist fractures2025-07-17Towards Formal Verification of LLM-Generated Code from Natural Language Prompts2025-07-17Trustworthy Tree-based Machine Learning by $MoS_2$ Flash-based Analog CAM with Inherent Soft Boundaries2025-07-16MERA Code: A Unified Framework for Evaluating Code Generation Across Tasks2025-07-16