mlsanityData to 14 Oct 2026

A Progressive Transformer for Unifying Binary Code Embedding and Knowledge Transfer

arXiv 2412.11177 ↗First posted 15 Dec 2024cs.SE cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Language model approaches have recently been integrated into binary analysis tasks, such as function similarity detection and function signature recovery. These models typically employ a two-stage training process: pre-training via Masked Language Modeling (MLM) on machine code and fine-tuning for specific tasks. While MLM helps to understand binary code structures, it ignores essential code characteristics, including control and data flow, which negatively affect model generalization. Recent work leverages domain-specific features (e.g., control flow graphs and dynamic execution traces) in transformer-based approaches to improve binary code semantic understanding. However, this approach involves complex feature engineering, a cumbersome and time-consuming process that can introduce predictive uncertainty when dealing with stripped or obfuscated code, leading to a performance drop. In this paper, we introduce ProTST, a novel transformer-based methodology for binary code embedding. ProTST employs a hierarchical training process based on a unique tree-like structure, where knowledge progressively flows from fundamental tasks at the root to more specialized tasks at the leaves. This progressive teacher-student paradigm allows the model to build upon previously learned knowledge, resulting in high-quality embeddings that can be effectively leveraged for diverse downstream binary analysis tasks. The effectiveness of ProTST is evaluated in seven binary analysis tasks, and the results show that ProTST yields an average validation score (F1, MRR, and Recall@1) improvement of 14.8% compared to traditional two-stage training and an average validation score of 10.7% compared to multimodal two-stage frameworks.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 26 of its 55 references that are in the map. First posted on arXiv 15 Dec 2024.

Builds on

26 of 55 references.

References · 26

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  3. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  4. 2020Longformer: The Long-Document Transformercited by 3,413
  5. 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,367
  6. 2014Distributed Representations of Sentences and Documentscited by 678
  7. 2021Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Surveycited by 463
  8. 2017Zero-Shot Learning -- The Good, the Bad and the Uglycited by 255
  9. 2015Unifying distillation and privileged informationcited by 233
  10. 2017Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detectioncited by 65
  11. 2021PalmTree: Learning an Assembly Language Model for Instruction Embeddingcited by 49
  12. 2018Microsoft Malware Classification Challengecited by 46
14 more
  1. 2022jTrans: Jump-Aware Transformer for Binary Code Similaritycited by 44
  2. 2020Trex: Learning Execution Semantics from Micro-Traces for Binary Similaritycited by 34
  3. 2018SAFE: Self-Attentive Function Embeddings for Binary Similaritycited by 33
  4. 2020Classifying Sequences of Extreme Length with Constant Memory Applied to Malware Detectioncited by 24
  5. 2020XDA: Accurate, Robust Disassembly with Transfer Learningcited by 21
  6. 2020Revisiting Binary Code Similarity Analysis using Interpretable Feature Engineering and Lessons Learnedcited by 14
  7. 2023CP-BCS: Binary Code Summarization Guided by Control Flow Graph and Pseudo Codecited by 11
  8. 2023kTrans: Knowledge-Aware Transformer for Binary Code Embeddingcited by 10
  9. 2022BinBert: Binary Code Understanding with a Fine-tunable and Execution-aware Transformercited by 8
  10. 2023Asteria-Pro: Enhancing Deep-Learning Based Binary Code Similarity Detection by Incorporating Domain Knowledgecited by 5
  11. 2021Callee: Recovering Call Graphs for Binaries with Transfer and Contrastive Learningcited by 4
  12. 2022NeuDep: Neural Binary Memory Dependence Analysiscited by 3
  13. 2018o-glasses: Visualizing x86 Code from Binary Using a 1d-CNNcited by 2
  14. 2024Machine Learning for Windows Malware Detection and Classification: Methods, Challenges and Ongoing Researchcited by 1

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Towards A Generalist Code Embedding Model Based On Massive Data Synthesis
  2. 2025Cross-modal Retrieval Models for Stripped Binary Analysis
  3. 2025An Empirical Study of Knowledge Distillation for Code Understanding Tasks
  4. 2025Beyond Embeddings: Interpretable Feature Extraction for Binary Code Similarity
  5. 2026CLT-Forge: A Scalable Library for Cross-Layer Transcoders and Attribution Graphs
  6. 2025ReCopilot: Reverse Engineering Copilot in Binary Analysis
  7. 2023TransCoder: Towards Unified Transferable Code Representation Learning Inspired by Human Skills
  8. 2026Can LLMs Deobfuscate Binary Code? A Systematic Analysis of Large Language Models into Pseudocode Deobfuscation ↗