mlsanityData to 7 Oct 2026

Efficient Malware Analysis Using Metric Embeddings

arXiv 2212.02663 ↗First posted 5 Dec 2022cs.LG cs.AI cs.CRcited by 6

Not on the map. Why?

Abstract (arXiv)

In this paper, we explore the use of metric learning to embed Windows PE files in a low-dimensional vector space for downstream use in a variety of applications, including malware detection, family classification, and malware attribute tagging. Specifically, we enrich labeling on malicious and benign PE files using computationally expensive, disassembly-based malicious capabilities. Using these capabilities, we derive several different types of metric embeddings utilizing an embedding neural network trained via contrastive loss, Spearman rank correlation, and combinations thereof. We then examine performance on a variety of transfer tasks performed on the EMBER and SOREL datasets, demonstrating that for several tasks, low-dimensional, computationally efficient metric embeddings maintain performance with little decay, which offers the potential to quickly retrain for a variety of transfer tasks at significantly reduced storage overhead. We conclude with an examination of practical considerations for the use of our proposed embedding approach, such as robustness to adversarial evasion and introduction of task-specific auxiliary objectives to improve performance on mission critical tasks.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 24 of its 69 references that are in the map. First posted on arXiv 5 Dec 2022.

Builds on

24 of 69 references.

References · 24

  1. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
  2. 2017In Defense of the Triplet Loss for Person Re-Identificationcited by 784
  3. 2013DeCAF: A Deep Convolutional Activation Feature for Generic Visual Recognitioncited by 422
  4. 2014Deep metric learning using Triplet networkcited by 421
  5. 2020A Metric Learning Reality Checkcited by 317
  6. 2020Fast Differentiable Sorting and Rankingcited by 196
  7. 2018EMBER: An Open Dataset for Training Static PE Malware Machine Learning Modelscited by 164
  8. 2018Learning to Evade Static PE Machine Learning Malware Models via Reinforcement Learningcited by 60
  9. 2018Adversarial Malware Binaries: Evading Deep Learning for Malware Detection in Executablescited by 60
  10. 2020Functionality-preserving Black-box Optimization of Adversarial Windows Malwarecited by 58
  11. 2019Hardness-Aware Deep Metric Learningcited by 55
  12. 2020SOREL-20M: A Large Scale Benchmark Dataset for Malicious PE Detectioncited by 49
12 more
  1. 2021PalmTree: Learning an Assembly Language Model for Instruction Embeddingcited by 49
  2. 2018Exploring Adversarial Examples in Malware Detectioncited by 41
  3. 2019Deep Metric Learning Beyond Binary Supervisioncited by 36
  4. 2016MOON: A Mixed Objective Optimization Network for the Recognition of Facial Attributescited by 34
  5. 2018SAFE: Self-Attentive Function Embeddings for Binary Similaritycited by 33
  6. 2020Adversarial EXEmples: A Survey and Experimental Evaluation of Practical Attacks on Machine Learning for Windows Malware Detectioncited by 18
  7. 2021MOTIF: A Large Malware Reference Dataset with Ground Truth Family Labelscited by 17
  8. 2021A Framework for Cluster and Classifier Evaluation in the Absence of Reference Labelscited by 16
  9. 2019ALOHA: Auxiliary Loss Optimization for Hypothesis Augmentationcited by 9
  10. 2017Lempel-Ziv Jaccard Distance, an Effective Alternative to Ssdeep and Sdhashcited by 8
  11. 2021Asteria: Deep Learning-based AST-Encoding for Cross-platform Binary Code Similarity Detectioncited by 8
  12. 2019A New Burrows Wheeler Transform Markov Distancecited by 6

Built on by

Cited by year (2026 to 7 Oct)

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

6 papers.