Evaluating Representation Learning of Code Changes for Predicting Patch Correctness in Program Repair
Not on the map. Why?
Abstract (arXiv)
A large body of the literature of automated program repair develops approaches where patches are generated to be validated against an oracle (e.g., a test suite). Because such an oracle can be imperfect, the generated patches, although validated by the oracle, may actually be incorrect. While the state of the art explore research directions that require dynamic information or rely on manually-crafted heuristics, we study the benefit of learning code representations to learn deep features that may encode the properties of patch correctness. Our work mainly investigates different representation learning approaches for code changes to derive embeddings that are amenable to similarity computations. We report on findings based on embeddings produced by pre-trained and re-trained neural networks. Experimental results demonstrate the potential of embeddings to empower learning algorithms in reasoning about patch correctness: a machine learning predictor with BERT transformer-based embeddings associated with logistic regression yielded an AUC value of about 0.8 in predicting patch correctness on a deduplicated dataset of 1000 labeled patches. Our study shows that learned representations can lead to reasonable performance when comparing against the state-of-the-art, PATCH-SIM, which relies on dynamic information. These representations may further be complementary to features that were carefully (manually) engineered in the literature.
Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). First posted on arXiv 7 Aug 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 5; 2022: 2; 2023: 9; 2024: 4; 2025: 2.
22 papers.
Sort:
By area:
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
- 2023Baldur: Whole-Proof Generation and Repair with Large Language Modelscited by 118
- 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repaircited by 85
- 2023Is ChatGPT the Ultimate Programming Assistant -- How far is it?cited by 72
- 2025LLM-JEPA: Large Language Models Meet Joint Embedding Predictive Architecturescited by 35
- 2021A Survey on Machine Learning Techniques for Source Code Analysiscited by 23
- 2024How secure is AI-generated Code: A Large-Scale Comparison of Large Language Modelscited by 23
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
- 2021DeepCVA: Automated Commit-level Vulnerability Assessment with Deep Multi-task Learningcited by 11
- 2023Invalidator: Automated Patch Correctness Assessment via Semantic and Syntactic Reasoningcited by 11
- 2024Generative AI for Requirements Engineering: A Systematic Literature Reviewcited by 10
- 2023Extending the Frontier of ChatGPT: Code Generation and Debuggingcited by 9
10 more
- 2022Is this Change the Answer to that Problem? Correlating Descriptions of Bug and Code Changes for Evaluating Patch Correctnesscited by 7
- 2023Just-in-Time Detection of Silent Security Patchescited by 7
- 2024Automated Program Repair: Emerging trends pose and expose problems for benchmarkscited by 7
- 2022On the Use of Fine-grained Vulnerable Code Statements for Software Vulnerability Assessment Modelscited by 5
- 2021Predicting Patch Correctness Based on the Similarity of Failing Test Casescited by 4
- 2023CCRep: Learning Code Change Representations via Pre-Trained Code Model and Query Backcited by 3
- 2023An Exploratory Literature Study on Sharing and Energy Use of Language Models for Source Codecited by 1
- 2025RePaCA: Leveraging Reasoning Large Language Models for Static Automated Patch Correctness Assessmentcited by 1
- 2021Exploring Plausible Patches Using Source Code Embeddings in JavaScriptcited by 0
- 2024Transducer Tuning: Efficient Model Adaptation for Software Tasks Using Code Property Graphscited by 0
- 2025LLM-JEPA: Large Language Models Meet Joint Embedding Predictive Architectures11 Sep 2025
- 2025RePaCA: Leveraging Reasoning Large Language Models for Static Automated Patch Correctness Assessment30 Jul 2025
- 2024Transducer Tuning: Efficient Model Adaptation for Software Tasks Using Code Property Graphs18 Dec 2024
- 2024Generative AI for Requirements Engineering: A Systematic Literature Review10 Sep 2024
- 2024Automated Program Repair: Emerging trends pose and expose problems for benchmarks8 May 2024
- 2024How secure is AI-generated Code: A Large-Scale Comparison of Large Language Models29 Apr 2024
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkit30 Dec 2023
- 2023Just-in-Time Detection of Silent Security Patches2 Dec 2023
- 2023Large Language Models for Software Engineering: A Systematic Literature Review21 Aug 2023
- 2023Extending the Frontier of ChatGPT: Code Generation and Debugging17 Jul 2023
- 2023An Exploratory Literature Study on Sharing and Energy Use of Language Models for Source Code5 Jul 2023
- 2023Is ChatGPT the Ultimate Programming Assistant -- How far is it?24 Apr 2023
10 more
- 2023Baldur: Whole-Proof Generation and Repair with Large Language Models8 Mar 2023
- 2023CCRep: Learning Code Change Representations via Pre-Trained Code Model and Query Back8 Feb 2023
- 2023Invalidator: Automated Patch Correctness Assessment via Semantic and Syntactic Reasoning3 Jan 2023
- 2022Is this Change the Answer to that Problem? Correlating Descriptions of Bug and Code Changes for Evaluating Patch Correctness8 Aug 2022
- 2022On the Use of Fine-grained Vulnerable Code Statements for Software Vulnerability Assessment Models16 Mar 2022
- 2021A Survey on Machine Learning Techniques for Source Code Analysis18 Oct 2021
- 2021DeepCVA: Automated Commit-level Vulnerability Assessment with Deep Multi-task Learning18 Aug 2021
- 2021Predicting Patch Correctness Based on the Similarity of Failing Test Cases28 Jul 2021
- 2021Exploring Plausible Patches Using Source Code Embeddings in JavaScript31 Mar 2021
- 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repair26 Feb 2021
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
- 2023Baldur: Whole-Proof Generation and Repair with Large Language Modelscited by 118
- 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repaircited by 85
- 2023Is ChatGPT the Ultimate Programming Assistant -- How far is it?cited by 72
- 2025LLM-JEPA: Large Language Models Meet Joint Embedding Predictive Architecturescited by 35
- 2021A Survey on Machine Learning Techniques for Source Code Analysiscited by 23
- 2024How secure is AI-generated Code: A Large-Scale Comparison of Large Language Modelscited by 23
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
- 2021DeepCVA: Automated Commit-level Vulnerability Assessment with Deep Multi-task Learningcited by 11
- 2023Invalidator: Automated Patch Correctness Assessment via Semantic and Syntactic Reasoningcited by 11
- 2024Generative AI for Requirements Engineering: A Systematic Literature Reviewcited by 10
- 2023Extending the Frontier of ChatGPT: Code Generation and Debuggingcited by 9
12 most cited of 21 All 21 (JSON)
- 2025LLM-JEPA: Large Language Models Meet Joint Embedding Predictive Architectures11 Sep 2025
- 2024Transducer Tuning: Efficient Model Adaptation for Software Tasks Using Code Property Graphs18 Dec 2024
- 2024Generative AI for Requirements Engineering: A Systematic Literature Review10 Sep 2024
- 2024Automated Program Repair: Emerging trends pose and expose problems for benchmarks8 May 2024
- 2024How secure is AI-generated Code: A Large-Scale Comparison of Large Language Models29 Apr 2024
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkit30 Dec 2023
- 2023Just-in-Time Detection of Silent Security Patches2 Dec 2023
- 2023Large Language Models for Software Engineering: A Systematic Literature Review21 Aug 2023
- 2023Extending the Frontier of ChatGPT: Code Generation and Debugging17 Jul 2023
- 2023An Exploratory Literature Study on Sharing and Energy Use of Language Models for Source Code5 Jul 2023
- 2023Is ChatGPT the Ultimate Programming Assistant -- How far is it?24 Apr 2023
- 2023Baldur: Whole-Proof Generation and Repair with Large Language Models8 Mar 2023
12 newest of 21 All 21 (JSON)