mlsanityData to 14 Oct 2026

BinBert: Binary Code Understanding with a Fine-tunable and Execution-aware Transformer

arXiv 2208.06692 ↗First posted 13 Aug 2022cs.CR cs.LGcited by 8

Not on the map. Why?

Abstract (arXiv)

A recent trend in binary code analysis promotes the use of neural solutions based on instruction embedding models. An instruction embedding model is a neural network that transforms sequences of assembly instructions into embedding vectors. If the embedding network is trained such that the translation from code to vectors partially preserves the semantic, the network effectively represents an assembly code model. In this paper we present BinBert, a novel assembly code model. BinBert is built on a transformer pre-trained on a huge dataset of both assembly instruction sequences and symbolic execution information. BinBert can be applied to assembly instructions sequences and it is fine-tunable, i.e. it can be re-trained as part of a neural architecture on task-specific data. Through fine-tuning, BinBert learns how to apply the general knowledge acquired with pre-training to the specific task. We evaluated BinBert on a multi-task benchmark that we specifically designed to test the understanding of assembly code. The benchmark is composed of several tasks, some taken from the literature, and a few novel tasks that we designed, with a mix of intrinsic and downstream tasks. Our results show that BinBert outperforms state-of-the-art models for binary instruction embedding, raising the bar for binary code understanding.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 21 of its 54 references that are in the map. First posted on arXiv 13 Aug 2022.

Builds on

21 of 54 references.

References · 21

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  6. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
  7. 2016Enriching Word Vectors with Subword Informationcited by 1,583
  8. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,475
  9. 2019Cross-lingual Language Model Pretrainingcited by 1,090
  10. 2014Distributed Representations of Sentences and Documentscited by 678
  11. 2017A Structured Self-attentive Sentence Embeddingcited by 318
  12. 2019A Multiscale Visualization of Attention in the Transformer Modelcited by 292
9 more
  1. 2019Graph Matching Networks for Learning the Similarity of Graph Structured Objectscited by 205
  2. 2017Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detectioncited by 65
  3. 2021PalmTree: Learning an Assembly Language Model for Instruction Embeddingcited by 49
  4. 2020Trex: Learning Execution Semantics from Micro-Traces for Binary Similaritycited by 34
  5. 2019Few-Shot Representation Learning for Out-Of-Vocabulary Wordscited by 30
  6. 2018Neural Machine Translation Inspired Binary Code Similarity Comparison beyond Function Pairscited by 25
  7. 2019How Large a Vocabulary Does Text Classification Need? A Variational Approach to Vocabulary Selectioncited by 11
  8. 2022BinMLM: Binary Authorship Verification with Flow-aware Mixture-of-Shared Language Modelcited by 6
  9. 2019In Nomine Function: Naming Functions in Stripped Binaries with Neural Networkscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 5; 2025: 1; 2026: 1.

8 papers.