Bin2vec: Learning Representations of Binary Executable Programs for Security Tasks
Not on the map. Why?
Abstract (arXiv)
Tackling binary program analysis problems has traditionally implied manually defining rules and heuristics, a tedious and time-consuming task for human analysts. In order to improve automation and scalability, we propose an alternative direction based on distributed representations of binary programs with applicability to a number of downstream tasks. We introduce Bin2vec, a new approach leveraging Graph Convolutional Networks (GCN) along with computational program graphs in order to learn a high dimensional representation of binary executable programs. We demonstrate the versatility of this approach by using our representations to solve two semantically different binary analysis tasks - functional algorithm classification and vulnerability discovery. We compare the proposed approach to our own strong baseline as well as published results and demonstrate improvement over state-of-the-art methods for both tasks. We evaluated Bin2vec on 49191 binaries for the functional algorithm classification task, and on 30 different CWE-IDs including at least 100 CVE entries each for the vulnerability discovery task. We set a new state-of-the-art result by reducing the classification error by 40% compared to the source-code-based inst2vec approach, while working on binary code. For almost every vulnerability class in our dataset, our prediction accuracy is over 80% (and over 90% in multiple classes).
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). First posted on arXiv 9 Feb 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 3; 2023: 0; 2024: 3; 2025: 1; 2026: 1.
8 papers.
- 2022Pre-Training Representations of Binary Code Using Contrastive Learningcited by 6
- 2022Deep-Learning-based Vulnerability Detection in Binary Executablescited by 6
- 2022UniASM: Binary Code Similarity Detection without Fine-tuningcited by 3
- 2024Bi-Directional Transformers vs. word2vec: Discovering Vulnerabilities in Lifted Compiled Codecited by 2
- 2025Binary BPE: A Family of Cross-Platform Tokenizers for Binary Analysiscited by 2
- 2024Impact of Data Snooping on Deep Learning Models for Locating Vulnerabilities in Lifted Codecited by 0
- 2024Can Neural Decompilation Assist Vulnerability Prediction on Binary Code?cited by 0
- 2026Deep Learning-based Binary Analysis for Vulnerability Detection in x86-64 Machine Codecited by 0
- 2026Deep Learning-based Binary Analysis for Vulnerability Detection in x86-64 Machine Code14 Jan 2026
- 2025Binary BPE: A Family of Cross-Platform Tokenizers for Binary Analysis14 Nov 2025
- 2024Can Neural Decompilation Assist Vulnerability Prediction on Binary Code?10 Dec 2024
- 2024Impact of Data Snooping on Deep Learning Models for Locating Vulnerabilities in Lifted Code3 Dec 2024
- 2024Bi-Directional Transformers vs. word2vec: Discovering Vulnerabilities in Lifted Compiled Code31 May 2024
- 2022Deep-Learning-based Vulnerability Detection in Binary Executables25 Nov 2022
- 2022UniASM: Binary Code Similarity Detection without Fine-tuning28 Oct 2022
- 2022Pre-Training Representations of Binary Code Using Contrastive Learning11 Oct 2022