mlsanityData to 7 Oct 2026

CSSG: Measuring Code Similarity with Semantic Graphs

arXiv 2601.04085 ↗First posted 7 Jan 2026cs.PL cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Existing code similarity metrics, such as BLEU, CodeBLEU, and TSED, largely rely on surface-level string overlap or abstract syntax tree structures, and often fail to capture deeper semantic relationships between programs.We propose CSSG (Code Similarity using Semantic Graphs), a novel metric that leverages program dependence graphs to explicitly model control dependencies and variable interactions, providing a semantics-aware representation of code.Experiments on the CodeContests+ dataset show that CSSG consistently outperforms existing metrics in distinguishing more similar code from less similar code under both monolingual and cross-lingual settings, demonstrating that dependency-aware graph representations offer a more effective alternative to surface-level or syntax-based similarity measures.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 9 of its 15 references that are in the map. First posted on arXiv 7 Jan 2026.

Builds on

9 of 15 references.

References · 9

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2021Program Synthesis with Large Language Modelscited by 3,509
  3. 2021Measuring Coding Challenge Competence With APPScited by 879
  4. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
  5. 2019SPoC: Search-based Pseudocode to Codecited by 176
  6. 2018Learning to Mine Aligned Code and Natural Language Pairs from Stack Overflowcited by 165
  7. 2018Mapping Language to Code in Programmatic Contextcited by 104
  8. 2025CodeContests+: High-Quality Test Case Generation for Competitive Programmingcited by 39
  9. 2024Revisiting Code Similarity Evaluation with Abstract Syntax Tree Edit Distancecited by 26

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.