Oct 2026· Proceedings of the ACM on Software Engineering· Vol 3, pp. 3820 - 3844· 0 citations· 92 references
TL;DR
A systematic study of graph representations for ML-based BCSD is presented, finding that no single representation is universally dominant, that distinct topologies exhibit unique strengths depending on the evaluation scenario, and that their rankings are largely backbone-stable despite varying absolute performance.
Abstract
Binary Code Similarity Detection (BCSD) is a foundational capability in software security, underpinning critical applications ranging from vulnerability detection to malware analysis. While recent tools based on Machine Learning (ML) have achieved significant performance improvements, their efficacy is heavily contingent upon the underlying code representation. Through a systematic literature review of ML-based BCSD papers, we find that existing approaches typically leverage linear sequences or adopt graph-based representations, with the latter constituting the majority (77%). Despite this prevalence, there is no consensus on which graph representation yields superior effectiveness. Existing works usually couple graph construction with customized learning backbones and evaluate them on inconsistent benchmarks. This makes isolating the representation's impact difficult. Consequently, determining which graph topologies most effectively capture robust binary-code semantics under controlled and comparable evaluation settings remains an open problem. In this paper, we present a systematic study of graph representations for ML-based BCSD to bridge this gap. Specifically, we implement a modular evaluation framework that decouples graph construction from model training. Using this framework, we systematically evaluate seven representative graph representations, finding that no single representation is universally dominant, that distinct topologies exhibit unique strengths depending on the evaluation scenario, and that their rankings are largely backbone-stable despite varying absolute performance. We further investigate their combination effectiveness in N-day vulnerability detection and employ a tailored post-hoc analysis tool to study model-level structural reliance. The results show that DFG, PDG, and SOG subgraph pairs more often preserve trained models' similarity scores under pruning, while several other representations are more sensitive to structural reduction.
Automated vulnerability detection in C source code is a long-standing challenge, as traditional static analysis tools often trade precision for scalability and struggle with complex vulnerability patterns. Recently, large language models (LLMs) have shown promising results; yet, most approaches rely on a single code re...
Francesco C. Grasso, Pietro Liguori, R. Natella et al.· 0 citations
Family-wise cross-validation confirms performance holds on unseen malware families, and leave-one-source-out and source-prediction probes show that detection holds within a single source, although source and class remain confounded in the pooled corpus.
Anthony J. Rose, Wayne C. Henry, Scott R. Graham et al.· IEEE Access· 0 citations
This article presents SEMA-GUARD, a framework that uses semantic analysis and graph neural networks to identify flaws in assembly code, and results imply that including semantic information in graph-based models may be a successful method for identifying vulnerabilities in compiled code.
Results indicate that the proposed MalHGNN approach improves malware classification performance while providing interpretable node- and hyperedge-level evidence for its predictions, demonstrating the benefits of higher-order dependency modeling.
Zheng Lu, Thar Baker, De-Hua Zhu et al.· IEEE Transactions on Informa...· 0 citations
LWVIC4Code is proposed, a non-contrastive representation learning approach specifically designed for Type-IV clone detection that achieves competitive or superior performance without negative samples, benefits from layer-wise supervision, and generalizes effectively from Python to other languages, particularly Java and...
Luciano Marchezan, Kévin Delcourt, Eugene Syriani et al.· 0 citations
An uncertainty-aware adaptive hybrid framework that integrates pretrained code representations, uncertainty estimation, adaptive feature fusion, and machine learning-based classification and shows consistent performance on unseen projects and across independent runs is proposed.
Tuan Nguyen Kim, Chieu Ta Quang, Nin Ho Le Viet· Computers, Materials & C...· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.