Efficient Malware Analysis Using Metric Embeddings
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
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
- 2017In Defense of the Triplet Loss for Person Re-Identificationcited by 784
- 2013DeCAF: A Deep Convolutional Activation Feature for Generic Visual Recognitioncited by 422
- 2014Deep metric learning using Triplet networkcited by 421
- 2020A Metric Learning Reality Checkcited by 317
- 2020Fast Differentiable Sorting and Rankingcited by 196
- 2018EMBER: An Open Dataset for Training Static PE Malware Machine Learning Modelscited by 164
- 2018Learning to Evade Static PE Machine Learning Malware Models via Reinforcement Learningcited by 60
- 2018Adversarial Malware Binaries: Evading Deep Learning for Malware Detection in Executablescited by 60
- 2020Functionality-preserving Black-box Optimization of Adversarial Windows Malwarecited by 58
- 2019Hardness-Aware Deep Metric Learningcited by 55
- 2020SOREL-20M: A Large Scale Benchmark Dataset for Malicious PE Detectioncited by 49
12 more
- 2021PalmTree: Learning an Assembly Language Model for Instruction Embeddingcited by 49
- 2018Exploring Adversarial Examples in Malware Detectioncited by 41
- 2019Deep Metric Learning Beyond Binary Supervisioncited by 36
- 2016MOON: A Mixed Objective Optimization Network for the Recognition of Facial Attributescited by 34
- 2018SAFE: Self-Attentive Function Embeddings for Binary Similaritycited by 33
- 2020Adversarial EXEmples: A Survey and Experimental Evaluation of Practical Attacks on Machine Learning for Windows Malware Detectioncited by 18
- 2021MOTIF: A Large Malware Reference Dataset with Ground Truth Family Labelscited by 17
- 2021A Framework for Cluster and Classifier Evaluation in the Absence of Reference Labelscited by 16
- 2019ALOHA: Auxiliary Loss Optimization for Hypothesis Augmentationcited by 9
- 2017Lempel-Ziv Jaccard Distance, an Effective Alternative to Ssdeep and Sdhashcited by 8
- 2021Asteria: Deep Learning-based AST-Encoding for Cross-platform Binary Code Similarity Detectioncited by 8
- 2019A New Burrows Wheeler Transform Markov Distancecited by 6
Built on by
Citing papers per year: 2024: 2; 2025: 3; 2026: 1.
6 papers.
- 2024Enhancing Knowledge Distillation of Large Language Models through Efficient Multi-Modal Distribution Alignmentcited by 10
- 2025A Practical Guide for Evaluating LLMs and LLM-Reliant Systemscited by 3
- 2024Online Clustering of Known and Emerging Malware Familiescited by 2
- 2025Zipf-Gramming: Scaling Byte N-Grams Up to Production Sized Malware Corporacited by 2
- 2025AutoMalDesc: Large-Scale Script Analysis for Cyber Threat Researchcited by 1
- 2026FARM: Few-shot Adaptive Malware Family Classification under Concept Driftcited by 0
- 2026FARM: Few-shot Adaptive Malware Family Classification under Concept Drift25 Jan 2026
- 2025Zipf-Gramming: Scaling Byte N-Grams Up to Production Sized Malware Corpora17 Nov 2025
- 2025AutoMalDesc: Large-Scale Script Analysis for Cyber Threat Research17 Nov 2025
- 2025A Practical Guide for Evaluating LLMs and LLM-Reliant Systems16 Jun 2025
- 2024Enhancing Knowledge Distillation of Large Language Models through Efficient Multi-Modal Distribution Alignment19 Sep 2024
- 2024Online Clustering of Known and Emerging Malware Families6 May 2024