mlsanityData to 7 Oct 2026

PalmTree: Learning an Assembly Language Model for Instruction Embedding

arXiv 2103.03809 ↗First posted 21 Jan 2021cs.LG cs.AI cs.PLcited by 49

Not on the map. Why?

Abstract (arXiv)

Deep learning has demonstrated its strengths in numerous binary analysis tasks, including function boundary detection, binary code search, function prototype inference, value set analysis, etc. When applying deep learning to binary analysis tasks, we need to decide what input should be fed into the neural network model. More specifically, we need to answer how to represent an instruction in a fixed-length vector. The idea of automatically learning instruction representations is intriguing, however the existing schemes fail to capture the unique characteristics of disassembly. These schemes ignore the complex intra-instruction structures and mainly rely on control flow in which the contextual information is noisy and can be influenced by compiler optimizations. In this paper, we propose to pre-train an assembly language model called PalmTree for generating general-purpose instruction embeddings by conducting self-supervised training on large-scale unlabeled binary corpora. PalmTree utilizes three pre-training tasks to capture various characteristics of assembly language. These training tasks overcome the problems in existing schemes, thus can help to generate high-quality representations. We conduct both intrinsic and extrinsic evaluations, and compare PalmTree with other instruction embedding schemes. PalmTree has the best performance for intrinsic metrics, and outperforms the other instruction embedding schemes for all downstream tasks.

Key facts. Cited by 49 papers in the map (data through 7 Oct 2026). Builds on 26 of its 46 references that are in the map. First posted on arXiv 21 Jan 2021.

Builds on

26 of 46 references.

References · 26

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  6. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  7. 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
  8. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  9. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  10. 2018Deep contextualized word representationscited by 2,285
  11. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  12. 2014Distributed Representations of Sentences and Documentscited by 677
14 more
  1. 2020Pre-trained Models for Natural Language Processing: A Surveycited by 504
  2. 2015Skip-Thought Vectorscited by 321
  3. 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 220
  4. 2019Graph Matching Networks for Learning the Similarity of Graph Structured Objectscited by 202
  5. 2016Discriminative Embeddings of Latent Variable Models for Structured Datacited by 130
  6. 2017Malware Detection by Eating a Whole EXEcited by 114
  7. 2017Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detectioncited by 65
  8. 2018Neural Code Comprehension: A Learnable Representation of Code Semanticscited by 59
  9. 2020Big Code != Big Vocabulary: Open-Vocabulary Models for Source Codecited by 53
  10. 2018Automated software vulnerability detection with machine learningcited by 34
  11. 2020Trex: Learning Execution Semantics from Micro-Traces for Binary Similaritycited by 34
  12. 2018SAFE: Self-Attentive Function Embeddings for Binary Similaritycited by 33
  13. 2018A Survey of Word Embeddings Evaluation Methodscited by 26
  14. 2018Neural Machine Translation Inspired Binary Code Similarity Comparison beyond Function Pairscited by 25

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 2; 2022: 7; 2023: 8; 2024: 15; 2025: 6; 2026: 11.

49 papers.

Sort:

By area:

  1. 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 457
  2. 2024LLM4Vuln: A Unified Evaluation Framework for Decoupling and Enhancing LLMs' Vulnerability Reasoningcited by 57
  3. 2024CLAP: Learning Transferable Binary Code Representations with Natural Language Supervisioncited by 17
  4. 2022Beyond the C: Retargetable Decompilation using Neural Machine Translationcited by 15
  5. 2023Binary Code Summarization: Benchmarking ChatGPT/GPT-4 and Other Large Language Modelscited by 13
  6. 2024Assemblage: Automatic Binary Dataset Construction for Machine Learningcited by 12
  7. 2023kTrans: Knowledge-Aware Transformer for Binary Code Embeddingcited by 10
  8. 2023Exploiting Code Symmetries for Learning Program Semanticscited by 9
  9. 2022BinBert: Binary Code Understanding with a Fine-tunable and Execution-aware Transformercited by 8
  10. 2026ShieldedCode: Learning Robust Representations for Virtual Machine Protected Codecited by 8
  11. 2022Decompiling x86 Deep Neural Network Executablescited by 7
  12. 2024SOS! Soft Prompt Attack Against Open-Source Large Language Modelscited by 7
37 more
  1. 2022Efficient Malware Analysis Using Metric Embeddingscited by 6
  2. 2024Is Function Similarity Over-Engineered? Building a Benchmarkcited by 6
  3. 2021XFL: Naming Functions in Binaries with Extreme Multi-label Learningcited by 5
  4. 2024MALSIGHT: Exploring Malicious Source Code and Benign Pseudocode for Iterative Binary Malware Summarizationcited by 5
  5. 2021Callee: Recovering Call Graphs for Binaries with Transfer and Contrastive Learningcited by 4
  6. 2023FASER: Binary Code Similarity Search through the use of Intermediate Representationscited by 4
  7. 2024Unraveling the Key of Machine Learning-based Android Malware Detectioncited by 4
  8. 2022NeuDep: Neural Binary Memory Dependence Analysiscited by 3
  9. 2022UniASM: Binary Code Similarity Detection without Fine-tuningcited by 3
  10. 2024BLens: Contrastive Captioning of Binary Functions using Ensemble Embeddingcited by 3
  11. 2025How Different Tokenization Algorithms Impact LLMs and Transformer Models for Binary Code Analysiscited by 3
  12. 2023Which Features are Learned by CodeBert: An Empirical Study of the BERT-based Source Code Representation Learningcited by 2
  13. 2024Bi-Directional Transformers vs. word2vec: Discovering Vulnerabilities in Lifted Compiled Codecited by 2
  14. 2024ViC: Virtual Compiler Is All You Need For Assembly Code Searchcited by 2
  15. 2024On the Lack of Robustness of Binary Function Similarity Systemscited by 2
  16. 2025Tady: A Neural Disassembler without Structural Constraint Violationscited by 2
  17. 2023VEXIR2Vec: An Architecture-Neutral Embedding Framework for Binary Similaritycited by 1
  18. 2024Comparing Unidirectional, Bidirectional, and Word2vec Models for Discovering Vulnerabilities in Compiled Lifted Codecited by 1
  19. 2024A Progressive Transformer for Unifying Binary Code Embedding and Knowledge Transfercited by 1
  20. 2025REx86: A Local Large Language Model for Assisting in x86 Assembly Reverse Engineeringcited by 1
  21. 2022SimCLF: A Simple Contrastive Learning Framework for Function-level Binary Embeddingscited by 0
  22. 2023Pluvio: Assembly Clone Search for Out-of-domain Architectures and Libraries through Transfer Learning and Conditional Variational Information Bottleneckcited by 0
  23. 2024Multi-modal Learning for WebAssembly Reverse Engineeringcited by 0
  24. 2024Know Your Neighborhood: General and Zero-Shot Capable Binary Function Search Powered by Call Graphletscited by 0
  25. 2025On the Role of Pre-trained Embeddings in Binary Code Analysiscited by 0
  26. 2025Identifying Obfuscated Code through Graph-Based Semantic Analysis of Binary Codecited by 0
  27. 2025Beyond Embeddings: Interpretable Feature Extraction for Binary Code Similaritycited by 0
  28. 2026Deep Learning-based Binary Analysis for Vulnerability Detection in x86-64 Machine Codecited by 0
  29. 2026Identifier-Free Code Embedding Models for Scalable Searchcited by 0
  30. 2026Attacking the First-Principle: A Black-Box, Query-Free Targeted Mimicry Attack on Binary Function Classifierscited by 0
  31. 2026ASSEMBLAGE-DEEPHISTORY: A Cross-Build Binary Dataset with Temporal Coveragecited by 0
  32. 2026Large Byte Model: Teaching Language Models About Compiled Codecited by 0
  33. 2026SoK: AI-Augmented Binary Reversingcited by 0
  34. 2026Practical Source Code Recovery from Binary Functions Using Anchor-Based Retrieval and LLM Reasoningcited by 0
  35. 2026Pretraining on Call Graphs: When Binary Analysis Tasks Profit From Contextcited by 0
  36. 2026Instruction Alignment for Binary Code Representation Learningcited by 0
  37. 2026Reveree: Diagnosing LLM Reverse-Engineering Agentscited by 0