mlsanityData to 7 Oct 2026

CONCORD: Towards a DSL for Configurable Graph Code Representation

arXiv 2401.17967 ↗First posted 31 Jan 2024cs.SE cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Deep learning is widely used to uncover hidden patterns in large code corpora. To achieve this, constructing a format that captures the relevant characteristics and features of source code is essential. Graph-based representations have gained attention for their ability to model structural and semantic information. However, existing tools lack flexibility in constructing graphs across different programming languages, limiting their use. Additionally, the output of these tools often lacks interoperability and results in excessively large graphs, making graph-based neural networks training slower and less scalable. We introduce CONCORD, a domain-specific language to build customizable graph representations. It implements reduction heuristics to reduce graphs' size complexity. We demonstrate its effectiveness in code smell detection as an illustrative use case and show that: first, CONCORD can produce code representations automatically per the specified configuration, and second, our heuristics can achieve comparable performance with significantly reduced size. CONCORD will help researchers a) create and experiment with customizable graph-based code representations for different software engineering tasks involving DL, b) reduce the engineering work to generate graph representations, c) address the issue of scalability in GNN models, and d) enhance the reproducibility of experiments in research through a standardized approach to code representation and analysis.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 26 of its 69 references that are in the map. First posted on arXiv 31 Jan 2024.

Builds on

26 of 69 references.

References · 26

  1. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
  2. 2017Graph Attention Networkscited by 8,854
  3. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  4. 2015Gated Graph Sequence Neural Networkscited by 792
  5. 2018code2vec: Learning Distributed Representations of Codecited by 249
  6. 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 220
  7. 2017Learning to Represent Programs with Graphscited by 219
  8. 2018SySeVR: A Framework for Using Deep Learning to Detect Software Vulnerabilitiescited by 91
  9. 2020Retrieval-Augmented Generation for Code Summarization via Hybrid GNNcited by 89
  10. 2020Improved Code Summarization via a Graph Neural Networkcited by 79
  11. 2020Detecting Code Clones with Graph Neural Networkand Flow-Augmented Abstract Syntax Treecited by 68
  12. 2019Multi-Modal Attention Network Learning for Semantic Source Code Retrievalcited by 40
14 more
  1. 2020Improved Automatic Summarization of Subroutines via Attention to File Contextcited by 34
  2. 2021Combining Graph Neural Networks with Expert Knowledge for Smart Contract Vulnerability Detectioncited by 34
  3. 2021Project-Level Encoding for Neural Source Code Summarization of Subroutinescited by 24
  4. 2022Diet Code Is Healthy: Simplifying Programs for Pre-trained Models of Codecited by 24
  5. 2021A Survey on Machine Learning Techniques for Source Code Analysiscited by 23
  6. 2021GraphSearchNet: Enhancing GNNs via Capturing Global Dependencies for Semantic Code Searchcited by 15
  7. 2017Semantic Code Repair using Neuro-Symbolic Transformation Networkscited by 13
  8. 2022A domain-specific language for describing machine learning datasetscited by 12
  9. 2021Multimodal Representation for Neural Code Searchcited by 11
  10. 2020Modeling Functional Similarity in Source Code with Graph-Based Siamese Networkscited by 10
  11. 2020Assessing Software Defection Prediction Performance: Why Using the Matthews Correlation Coefficient Matterscited by 8
  12. 2022A Library for Representing Python Programs as Graphs for Machine Learningcited by 4
  13. 2022RMove: Recommending Move Method Refactoring Opportunities using Structural and Semantic Representations of Codecited by 2
  14. 2023DACOS-A Manually Annotated Dataset of Code Smellscited by 2

Built on by

Not cited yet.