mlsanityData to 7 Oct 2026

CC2Vec: Distributed Representations of Code Changes

arXiv 2003.05620 ↗First posted 12 Mar 2020cs.SEcited by 38

Not on the map. Why?

Abstract (arXiv)

Existing work on software patches often use features specific to a single task. These works often rely on manually identified features, and human effort is required to identify these features for each task. In this work, we propose CC2Vec, a neural network model that learns a representation of code changes guided by their accompanying log messages, which represent the semantic intent of the code changes. CC2Vec models the hierarchical structure of a code change with the help of the attention mechanism and uses multiple comparison functions to identify the differences between the removed and added code. To evaluate if CC2Vec can produce a distributed representation of code changes that is general and useful for multiple tasks on software patches, we use the vectors produced by CC2Vec for three tasks: log message generation, bug fixing patch identification, and just-in-time defect prediction. In all tasks, the models using CC2Vec outperform the state-of-the-art techniques.

Key facts. Cited by 38 papers in the map (data through 7 Oct 2026). First posted on arXiv 12 Mar 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 9; 2022: 4; 2023: 11; 2024: 3; 2025: 5; 2026: 6.

38 papers.

Sort:

By area:

  1. 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repaircited by 85
  2. 2022Code Generation Tools (Almost) for Free? A Study of Few-Shot, Pre-Trained Language Models on Codecited by 39
  3. 2025LLM-JEPA: Large Language Models Meet Joint Embedding Predictive Architecturescited by 35
  4. 2021A Survey on Machine Learning Techniques for Source Code Analysiscited by 23
  5. 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
  6. 2021On the Evaluation of Commit Message Generation Models: An Experimental Studycited by 20
  7. 2023Trustworthy and Synergistic Artificial Intelligence for Software Engineering: Vision and Roadmapscited by 19
  8. 2021Learning Structural Edits via Incremental Tree Transformationscited by 16
  9. 2023From Commit Message Generation to History-Aware Commit Message Completioncited by 16
  10. 2021DeepCVA: Automated Commit-level Vulnerability Assessment with Deep Multi-task Learningcited by 11
  11. 2023Invalidator: Automated Patch Correctness Assessment via Semantic and Syntactic Reasoningcited by 11
  12. 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Surveycited by 9
26 more
  1. 2022Is this Change the Answer to that Problem? Correlating Descriptions of Bug and Code Changes for Evaluating Patch Correctnesscited by 7
  2. 2023On the Usage of Continual Learning for Out-of-Distribution Generalization in Pre-trained Language Models of Codecited by 7
  3. 2022On the Use of Fine-grained Vulnerable Code Statements for Software Vulnerability Assessment Modelscited by 5
  4. 2021Predicting Patch Correctness Based on the Similarity of Failing Test Casescited by 4
  5. 2023Multi-Granularity Detector for Vulnerability Fixescited by 4
  6. 2021Generating Informative CVE Description From ExploitDB Posts by Extractive Summarizationcited by 3
  7. 2021Unsupervised Learning of General-Purpose Embeddings for Code Changescited by 3
  8. 2022ApacheJIT: A Large Dataset for Just-In-Time Defect Predictioncited by 3
  9. 2023CCRep: Learning Code Change Representations via Pre-Trained Code Model and Query Backcited by 3
  10. 2023A study on the impact of pre-trained model on Just-In-Time defect predictioncited by 3
  11. 2024COMET: Generating Commit Messages using Delta Graph Context Representationcited by 3
  12. 2021Repo2Vec: A Comprehensive Embedding Approach for Determining Repository Similaritycited by 2
  13. 2024Bridging Expert Knowledge with Deep Learning Techniques for Just-In-Time Defect Predictioncited by 2
  14. 2023An Exploratory Literature Study on Sharing and Energy Use of Language Models for Source Codecited by 1
  15. 2024Just-In-Time Software Defect Prediction via Bi-modal Change Representation Learningcited by 1
  16. 2026Favia: Forensic Agent for Vulnerability-fix Identification and Analysiscited by 1
  17. 2026Rethinking Code Review in the Age of AI: A Vision for Agentic Code Reviewcited by 1
  18. 2023Predicting Line-Level Defects by Capturing Code Contexts with Hierarchical Transformerscited by 0
  19. 2025ReDef: Do Code Language Models Truly Understand Code Changes for Just-in-Time Software Defect Prediction?cited by 0
  20. 2025CoRaCMG: Contextual Retrieval-Augmented Framework for Commit Message Generationcited by 0
  21. 2025Enhancing Neural Code Representation with Additional Contextcited by 0
  22. 2025CodeFlowLM: Incremental Just-In-Time Defect Prediction with Pretrained Language Models and Exploratory Insights into Defect Localizationcited by 0
  23. 2026Risk-Aware Batch Testing for Performance Regression Detectioncited by 0
  24. 2026Stylometric Defenses Against Author Impersonation in Software Repositoriescited by 0
  25. 2026Exploring Semantic Stability Across Reviews in the Linux Kernelcited by 0
  26. 2026XAgent: eXecution-guided Agentic AI for Effective Localization and Resolution of GitHub Issuescited by 0