mlsanityData to 7 Oct 2026

XFL: Naming Functions in Binaries with Extreme Multi-label Learning

arXiv 2107.13404 ↗First posted 28 Jul 2021cs.CR cs.LG cs.SEcited by 5

Not on the map. Why?

Abstract (arXiv)

Reverse engineers benefit from the presence of identifiers such as function names in a binary, but usually these are removed for release. Training a machine learning model to predict function names automatically is promising but fundamentally hard: unlike words in natural language, most function names occur only once. In this paper, we address this problem by introducing eXtreme Function Labeling (XFL), an extreme multi-label learning approach to selecting appropriate labels for binary functions. XFL splits function names into tokens, treating each as an informative label akin to the problem of tagging texts in natural language. We relate the semantics of binary code to labels through DEXTER, a novel function embedding that combines static analysis-based features with local context from the call graph and global context from the entire binary. We demonstrate that XFL/DEXTER outperforms the state of the art in function labeling on a dataset of 10,047 binaries from the Debian project, achieving a precision of 83.5%. We also study combinations of XFL with alternative binary embeddings from the literature and show that DEXTER consistently performs best for this task. As a result, we demonstrate that binary function labeling can be effectively phrased in terms of multi-label learning, and that binary function embeddings benefit from including explicit semantic features.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 21 of its 73 references that are in the map. First posted on arXiv 28 Jul 2021.

Builds on

21 of 73 references.

References · 21

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  3. 2014Distributed Representations of Sentences and Documentscited by 677
  4. 2019On Evaluating Adversarial Robustnesscited by 442
  5. 2017Learning to Represent Programs with Graphscited by 219
  6. 2018code2seq: Generating Sequences from Structured Representations of Codecited by 177
  7. 2016A Convolutional Attention Network for Extreme Summarization of Source Codecited by 90
  8. 2017Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detectioncited by 65
  9. 2018Generative Code Modeling with Graphscited by 59
  10. 2013Large-scale Multi-label Learning with Missing Labelscited by 58
  11. 2018Structured Neural Summarizationcited by 53
  12. 2021PalmTree: Learning an Assembly Language Model for Instruction Embeddingcited by 49
9 more
  1. 2019DIRE: A Neural Approach to Decompiled Identifier Namingcited by 36
  2. 2018SAFE: Self-Attentive Function Embeddings for Binary Similaritycited by 33
  3. 2018A General Path-Based Representation for Predicting Program Propertiescited by 28
  4. 2018Neural Machine Translation Inspired Binary Code Similarity Comparison beyond Function Pairscited by 25
  5. 2019An Observational Investigation of Reverse Engineers' Processescited by 20
  6. 2019Multi-Label Adversarial Perturbationscited by 18
  7. 2018A simple yet effective baseline for non-attributed graph classificationcited by 16
  8. 2020Revisiting Binary Code Similarity Analysis using Interpretable Feature Engineering and Lessons Learnedcited by 14
  9. 2018Multi-Level Network Embedding with Boosted Low-Rank Matrix Approximationcited by 3

Built on by

Cited by year (2026 to 7 Oct)

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

5 papers.