PalmTree: Learning an Assembly Language Model for Instruction Embedding
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
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2018Deep contextualized word representationscited by 2,285
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2014Distributed Representations of Sentences and Documentscited by 677
14 more
- 2020Pre-trained Models for Natural Language Processing: A Surveycited by 504
- 2015Skip-Thought Vectorscited by 321
- 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 220
- 2019Graph Matching Networks for Learning the Similarity of Graph Structured Objectscited by 202
- 2016Discriminative Embeddings of Latent Variable Models for Structured Datacited by 130
- 2017Malware Detection by Eating a Whole EXEcited by 114
- 2017Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detectioncited by 65
- 2018Neural Code Comprehension: A Learnable Representation of Code Semanticscited by 59
- 2020Big Code != Big Vocabulary: Open-Vocabulary Models for Source Codecited by 53
- 2018Automated software vulnerability detection with machine learningcited by 34
- 2020Trex: Learning Execution Semantics from Micro-Traces for Binary Similaritycited by 34
- 2018SAFE: Self-Attentive Function Embeddings for Binary Similaritycited by 33
- 2018A Survey of Word Embeddings Evaluation Methodscited by 26
- 2018Neural Machine Translation Inspired Binary Code Similarity Comparison beyond Function Pairscited by 25
Built on by
Citing papers per year: 2021: 2; 2022: 7; 2023: 8; 2024: 15; 2025: 6; 2026: 11.
49 papers.
Sort:
By area:
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 457
- 2024LLM4Vuln: A Unified Evaluation Framework for Decoupling and Enhancing LLMs' Vulnerability Reasoningcited by 57
- 2024CLAP: Learning Transferable Binary Code Representations with Natural Language Supervisioncited by 17
- 2022Beyond the C: Retargetable Decompilation using Neural Machine Translationcited by 15
- 2023Binary Code Summarization: Benchmarking ChatGPT/GPT-4 and Other Large Language Modelscited by 13
- 2024Assemblage: Automatic Binary Dataset Construction for Machine Learningcited by 12
- 2023kTrans: Knowledge-Aware Transformer for Binary Code Embeddingcited by 10
- 2023Exploiting Code Symmetries for Learning Program Semanticscited by 9
- 2022BinBert: Binary Code Understanding with a Fine-tunable and Execution-aware Transformercited by 8
- 2026ShieldedCode: Learning Robust Representations for Virtual Machine Protected Codecited by 8
- 2022Decompiling x86 Deep Neural Network Executablescited by 7
- 2024SOS! Soft Prompt Attack Against Open-Source Large Language Modelscited by 7
37 more
- 2022Efficient Malware Analysis Using Metric Embeddingscited by 6
- 2024Is Function Similarity Over-Engineered? Building a Benchmarkcited by 6
- 2021XFL: Naming Functions in Binaries with Extreme Multi-label Learningcited by 5
- 2024MALSIGHT: Exploring Malicious Source Code and Benign Pseudocode for Iterative Binary Malware Summarizationcited by 5
- 2021Callee: Recovering Call Graphs for Binaries with Transfer and Contrastive Learningcited by 4
- 2023FASER: Binary Code Similarity Search through the use of Intermediate Representationscited by 4
- 2024Unraveling the Key of Machine Learning-based Android Malware Detectioncited by 4
- 2022NeuDep: Neural Binary Memory Dependence Analysiscited by 3
- 2022UniASM: Binary Code Similarity Detection without Fine-tuningcited by 3
- 2024BLens: Contrastive Captioning of Binary Functions using Ensemble Embeddingcited by 3
- 2025How Different Tokenization Algorithms Impact LLMs and Transformer Models for Binary Code Analysiscited by 3
- 2023Which Features are Learned by CodeBert: An Empirical Study of the BERT-based Source Code Representation Learningcited by 2
- 2024Bi-Directional Transformers vs. word2vec: Discovering Vulnerabilities in Lifted Compiled Codecited by 2
- 2024ViC: Virtual Compiler Is All You Need For Assembly Code Searchcited by 2
- 2024On the Lack of Robustness of Binary Function Similarity Systemscited by 2
- 2025Tady: A Neural Disassembler without Structural Constraint Violationscited by 2
- 2023VEXIR2Vec: An Architecture-Neutral Embedding Framework for Binary Similaritycited by 1
- 2024Comparing Unidirectional, Bidirectional, and Word2vec Models for Discovering Vulnerabilities in Compiled Lifted Codecited by 1
- 2024A Progressive Transformer for Unifying Binary Code Embedding and Knowledge Transfercited by 1
- 2025REx86: A Local Large Language Model for Assisting in x86 Assembly Reverse Engineeringcited by 1
- 2022SimCLF: A Simple Contrastive Learning Framework for Function-level Binary Embeddingscited by 0
- 2023Pluvio: Assembly Clone Search for Out-of-domain Architectures and Libraries through Transfer Learning and Conditional Variational Information Bottleneckcited by 0
- 2024Multi-modal Learning for WebAssembly Reverse Engineeringcited by 0
- 2024Know Your Neighborhood: General and Zero-Shot Capable Binary Function Search Powered by Call Graphletscited by 0
- 2025On the Role of Pre-trained Embeddings in Binary Code Analysiscited by 0
- 2025Identifying Obfuscated Code through Graph-Based Semantic Analysis of Binary Codecited by 0
- 2025Beyond Embeddings: Interpretable Feature Extraction for Binary Code Similaritycited by 0
- 2026Deep Learning-based Binary Analysis for Vulnerability Detection in x86-64 Machine Codecited by 0
- 2026Identifier-Free Code Embedding Models for Scalable Searchcited by 0
- 2026Attacking the First-Principle: A Black-Box, Query-Free Targeted Mimicry Attack on Binary Function Classifierscited by 0
- 2026ASSEMBLAGE-DEEPHISTORY: A Cross-Build Binary Dataset with Temporal Coveragecited by 0
- 2026Large Byte Model: Teaching Language Models About Compiled Codecited by 0
- 2026SoK: AI-Augmented Binary Reversingcited by 0
- 2026Practical Source Code Recovery from Binary Functions Using Anchor-Based Retrieval and LLM Reasoningcited by 0
- 2026Pretraining on Call Graphs: When Binary Analysis Tasks Profit From Contextcited by 0
- 2026Instruction Alignment for Binary Code Representation Learningcited by 0
- 2026Reveree: Diagnosing LLM Reverse-Engineering Agentscited by 0
- 2026Reveree: Diagnosing LLM Reverse-Engineering Agents1 Sep 2026
- 2026Instruction Alignment for Binary Code Representation Learning12 Aug 2026
- 2026Pretraining on Call Graphs: When Binary Analysis Tasks Profit From Context3 Aug 2026
- 2026Practical Source Code Recovery from Binary Functions Using Anchor-Based Retrieval and LLM Reasoning10 Jul 2026
- 2026SoK: AI-Augmented Binary Reversing16 Jun 2026
- 2026Large Byte Model: Teaching Language Models About Compiled Code1 Jun 2026
- 2026ASSEMBLAGE-DEEPHISTORY: A Cross-Build Binary Dataset with Temporal Coverage20 May 2026
- 2026Attacking the First-Principle: A Black-Box, Query-Free Targeted Mimicry Attack on Binary Function Classifiers18 May 2026
- 2026Identifier-Free Code Embedding Models for Scalable Search5 May 2026
- 2026ShieldedCode: Learning Robust Representations for Virtual Machine Protected Code28 Jan 2026
- 2026Deep Learning-based Binary Analysis for Vulnerability Detection in x86-64 Machine Code14 Jan 2026
- 2025How Different Tokenization Algorithms Impact LLMs and Transformer Models for Binary Code Analysis5 Nov 2025
37 more
- 2025REx86: A Local Large Language Model for Assisting in x86 Assembly Reverse Engineering23 Oct 2025
- 2025Beyond Embeddings: Interpretable Feature Extraction for Binary Code Similarity27 Sep 2025
- 2025Tady: A Neural Disassembler without Structural Constraint Violations16 Jun 2025
- 2025Identifying Obfuscated Code through Graph-Based Semantic Analysis of Binary Code2 Apr 2025
- 2025On the Role of Pre-trained Embeddings in Binary Code Analysis12 Feb 2025
- 2024A Progressive Transformer for Unifying Binary Code Embedding and Knowledge Transfer15 Dec 2024
- 2024On the Lack of Robustness of Binary Function Similarity Systems5 Dec 2024
- 2024Is Function Similarity Over-Engineered? Building a Benchmark30 Oct 2024
- 2024Comparing Unidirectional, Bidirectional, and Word2vec Models for Discovering Vulnerabilities in Compiled Lifted Code26 Sep 2024
- 2024BLens: Contrastive Captioning of Binary Functions using Ensemble Embedding12 Sep 2024
- 2024ViC: Virtual Compiler Is All You Need For Assembly Code Search10 Aug 2024
- 2024SOS! Soft Prompt Attack Against Open-Source Large Language Models3 Jul 2024
- 2024MALSIGHT: Exploring Malicious Source Code and Benign Pseudocode for Iterative Binary Malware Summarization26 Jun 2024
- 2024Know Your Neighborhood: General and Zero-Shot Capable Binary Function Search Powered by Call Graphlets2 Jun 2024
- 2024Bi-Directional Transformers vs. word2vec: Discovering Vulnerabilities in Lifted Compiled Code31 May 2024
- 2024Assemblage: Automatic Binary Dataset Construction for Machine Learning7 May 2024
- 2024Multi-modal Learning for WebAssembly Reverse Engineering4 Apr 2024
- 2024CLAP: Learning Transferable Binary Code Representations with Natural Language Supervision26 Feb 2024
- 2024Unraveling the Key of Machine Learning-based Android Malware Detection5 Feb 2024
- 2024LLM4Vuln: A Unified Evaluation Framework for Decoupling and Enhancing LLMs' Vulnerability Reasoning29 Jan 2024
- 2023Binary Code Summarization: Benchmarking ChatGPT/GPT-4 and Other Large Language Models15 Dec 2023
- 2023VEXIR2Vec: An Architecture-Neutral Embedding Framework for Binary Similarity1 Dec 2023
- 2023FASER: Binary Code Similarity Search through the use of Intermediate Representations5 Oct 2023
- 2023kTrans: Knowledge-Aware Transformer for Binary Code Embedding24 Aug 2023
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Models7 Aug 2023
- 2023Exploiting Code Symmetries for Learning Program Semantics7 Aug 2023
- 2023Pluvio: Assembly Clone Search for Out-of-domain Architectures and Libraries through Transfer Learning and Conditional Variational Information Bottleneck20 Jul 2023
- 2023Which Features are Learned by CodeBert: An Empirical Study of the BERT-based Source Code Representation Learning20 Jan 2023
- 2022Beyond the C: Retargetable Decompilation using Neural Machine Translation17 Dec 2022
- 2022Efficient Malware Analysis Using Metric Embeddings5 Dec 2022
- 2022UniASM: Binary Code Similarity Detection without Fine-tuning28 Oct 2022
- 2022NeuDep: Neural Binary Memory Dependence Analysis4 Oct 2022
- 2022Decompiling x86 Deep Neural Network Executables3 Oct 2022
- 2022SimCLF: A Simple Contrastive Learning Framework for Function-level Binary Embeddings6 Sep 2022
- 2022BinBert: Binary Code Understanding with a Fine-tunable and Execution-aware Transformer13 Aug 2022
- 2021Callee: Recovering Call Graphs for Binaries with Transfer and Contrastive Learning2 Nov 2021
- 2021XFL: Naming Functions in Binaries with Extreme Multi-label Learning28 Jul 2021
- 2026Reveree: Diagnosing LLM Reverse-Engineering Agentscited by 0
- 2026Reveree: Diagnosing LLM Reverse-Engineering Agents1 Sep 2026
- 2024CLAP: Learning Transferable Binary Code Representations with Natural Language Supervisioncited by 17
- 2022Beyond the C: Retargetable Decompilation using Neural Machine Translationcited by 15
- 2023Binary Code Summarization: Benchmarking ChatGPT/GPT-4 and Other Large Language Modelscited by 13
- 2024Assemblage: Automatic Binary Dataset Construction for Machine Learningcited by 12
- 2023kTrans: Knowledge-Aware Transformer for Binary Code Embeddingcited by 10
- 2023Exploiting Code Symmetries for Learning Program Semanticscited by 9
- 2022BinBert: Binary Code Understanding with a Fine-tunable and Execution-aware Transformercited by 8
- 2026ShieldedCode: Learning Robust Representations for Virtual Machine Protected Codecited by 8
- 2022Decompiling x86 Deep Neural Network Executablescited by 7
- 2022Efficient Malware Analysis Using Metric Embeddingscited by 6
- 2024Is Function Similarity Over-Engineered? Building a Benchmarkcited by 6
- 2021XFL: Naming Functions in Binaries with Extreme Multi-label Learningcited by 5
12 most cited of 45 All 45 (JSON)
- 2026Instruction Alignment for Binary Code Representation Learning12 Aug 2026
- 2026Pretraining on Call Graphs: When Binary Analysis Tasks Profit From Context3 Aug 2026
- 2026Practical Source Code Recovery from Binary Functions Using Anchor-Based Retrieval and LLM Reasoning10 Jul 2026
- 2026SoK: AI-Augmented Binary Reversing16 Jun 2026
- 2026Large Byte Model: Teaching Language Models About Compiled Code1 Jun 2026
- 2026ASSEMBLAGE-DEEPHISTORY: A Cross-Build Binary Dataset with Temporal Coverage20 May 2026
- 2026Attacking the First-Principle: A Black-Box, Query-Free Targeted Mimicry Attack on Binary Function Classifiers18 May 2026
- 2026Identifier-Free Code Embedding Models for Scalable Search5 May 2026
- 2026ShieldedCode: Learning Robust Representations for Virtual Machine Protected Code28 Jan 2026
- 2026Deep Learning-based Binary Analysis for Vulnerability Detection in x86-64 Machine Code14 Jan 2026
- 2025How Different Tokenization Algorithms Impact LLMs and Transformer Models for Binary Code Analysis5 Nov 2025
- 2025REx86: A Local Large Language Model for Assisting in x86 Assembly Reverse Engineering23 Oct 2025
12 newest of 45 All 45 (JSON)