mlsanityData to 14 Oct 2026

Is Function Similarity Over-Engineered? Building a Benchmark

arXiv 2410.22677 ↗First posted 30 Oct 2024cs.LG cs.CRcited by 6

Not on the map. Why?

Abstract (arXiv)

Binary analysis is a core component of many critical security tasks, including reverse engineering, malware analysis, and vulnerability detection. Manual analysis is often time-consuming, but identifying commonly-used or previously-seen functions can reduce the time it takes to understand a new file. However, given the complexity of assembly, and the NP-hard nature of determining function equivalence, this task is extremely difficult. Common approaches often use sophisticated disassembly and decompilation tools, graph analysis, and other expensive pre-processing steps to perform function similarity searches over some corpus. In this work, we identify a number of discrepancies between the current research environment and the underlying application need. To remedy this, we build a new benchmark, REFuSE-Bench, for binary function similarity detection consisting of high-quality datasets and tests that better reflect real-world use cases. In doing so, we address issues like data duplication and accurate labeling, experiment with real malware, and perform the first serious evaluation of ML binary function similarity models on Windows data. Our benchmark reveals that a new, simple basline, one which looks at only the raw bytes of a function, and requires no disassembly or other pre-processing, is able to achieve state-of-the-art performance in multiple settings. Our findings challenge conventional assumptions that complex models with highly-engineered features are being used to their full potential, and demonstrate that simpler approaches can provide significant value.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 30 of its 72 references that are in the map. First posted on arXiv 30 Oct 2024.

Builds on

30 of 72 references.

References · 30

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,849
  3. 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 861
  4. 2017In Defense of the Triplet Loss for Person Re-Identificationcited by 786
  5. 2019Graph Matching Networks for Learning the Similarity of Graph Structured Objectscited by 205
  6. 2021Accounting for Variance in Machine Learning Benchmarkscited by 201
  7. 2014Learning Fine-grained Image Similarity with Deep Rankingcited by 190
  8. 2017Malware Detection by Eating a Whole EXEcited by 115
  9. 2018Deep Metric Learning with Hierarchical Triplet Losscited by 112
  10. 2017Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detectioncited by 65
  11. 2020SOREL-20M: A Large Scale Benchmark Dataset for Malicious PE Detectioncited by 49
  12. 2021PalmTree: Learning an Assembly Language Model for Instruction Embeddingcited by 49
18 more
  1. 2022jTrans: Jump-Aware Transformer for Binary Code Similaritycited by 44
  2. 2018SAFE: Self-Attentive Function Embeddings for Binary Similaritycited by 33
  3. 2020A Survey of Machine Learning Methods and Challenges for Windows Malware Classificationcited by 33
  4. 2020Classifying Sequences of Extreme Length with Constant Memory Applied to Malware Detectioncited by 24
  5. 2021MOTIF: A Large Malware Reference Dataset with Ground Truth Family Labelscited by 17
  6. 2021A Framework for Cluster and Classifier Evaluation in the Absence of Reference Labelscited by 16
  7. 2024Assemblage: Automatic Binary Dataset Construction for Machine Learningcited by 12
  8. 2021Leveraging Uncertainty for Improved Static Malware Detection Under Extreme False Positive Constraintscited by 11
  9. 2023kTrans: Knowledge-Aware Transformer for Binary Code Embeddingcited by 10
  10. 2019I-MAD: Interpretable Malware Detector Using Galaxy Transformercited by 8
  11. 2022BinBert: Binary Code Understanding with a Fine-tunable and Execution-aware Transformercited by 8
  12. 2021Rank-1 Similarity Matrix Decomposition For Modeling Changes in Antivirus Consensus Through Timecited by 7
  13. 2021Semantic-aware Binary Code Representation with BERTcited by 6
  14. 2022Deep-Learning-based Vulnerability Detection in Binary Executablescited by 6
  15. 2024Holographic Global Convolutional Networks for Long-Range Prediction Tasks in Malware Detectioncited by 6
  16. 2023FASER: Binary Code Similarity Search through the use of Intermediate Representationscited by 4
  17. 2023Small Effect Sizes in Malware Detection? Make Harder Train/Test Splits!cited by 4
  18. 2022UniASM: Binary Code Similarity Detection without Fine-tuningcited by 3

Built on by

Cited by year (2026 to 14 Oct)

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

6 papers.