mlsanityData to 7 Oct 2026

Extending Source Code Pre-Trained Language Models to Summarise Decompiled Binaries

arXiv 2301.01701 ↗First posted 4 Jan 2023cs.CR cs.AI cs.LGcited by 25

Not on the map. Why?

Abstract (arXiv)

Reverse engineering binaries is required to understand and analyse programs for which the source code is unavailable. Decompilers can transform the largely unreadable binaries into a more readable source code-like representation. However, reverse engineering is time-consuming, much of which is taken up by labelling the functions with semantic information. While the automated summarisation of decompiled code can help Reverse Engineers understand and analyse binaries, current work mainly focuses on summarising source code, and no suitable dataset exists for this task. In this work, we extend large pre-trained language models of source code to summarise decompiled binary functions. Furthermore, we investigate the impact of input and data properties on the performance of such models. Our approach consists of two main components; the data and the model. We first build CAPYBARA, a dataset of 214K decompiled function-documentation pairs across various compiler optimisations. We extend CAPYBARA further by generating synthetic datasets and deduplicating the data. Next, we fine-tune the CodeT5 base model with CAPYBARA to create BinT5. BinT5 achieves the state-of-the-art BLEU-4 score of 60.83, 58.82, and 44.21 for summarising source, decompiled, and synthetically stripped decompiled code, respectively. This indicates that these models can be extended to decompiled binaries successfully. Finally, we found that the performance of BinT5 is not heavily dependent on the dataset size and compiler optimisation level. We recommend future research to further investigate transferring knowledge when working with less expressive input formats such as stripped binaries.

Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). Builds on 17 of its 47 references that are in the map. First posted on arXiv 4 Jan 2023.

Builds on

17 of 47 references.

References · 17

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  5. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
  6. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
  7. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
  8. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
  9. 2016FastText.zip: Compressing text classification modelscited by 331
  10. 2018The Adverse Effects of Code Duplication in Machine Learning Models of Codecited by 123
  11. 2016A Convolutional Attention Network for Extreme Summarization of Source Codecited by 90
  12. 2021On the Evaluation of Neural Code Summarizationcited by 47
5 more
  1. 2019Recommendations for Datasets for Source Code Summarizationcited by 46
  2. 2021Multilingual training for Software Engineeringcited by 43
  3. 2019DIRE: A Neural Approach to Decompiled Identifier Namingcited by 36
  4. 2021Variable Name Recovery in Decompiled Binary Code using Constrained Masked Language Modelingcited by 7
  5. 2021Learning to Find Usages of Library Functions in Optimized Binariescited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 7; 2024: 8; 2025: 6; 2026: 4.

25 papers.

Sort:

By area:

  1. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
  2. 2024Agents in Software Engineering: Survey, Landscape, and Visioncited by 60
  3. 2024Language Models for Code Completion: A Practical Evaluationcited by 38
  4. 2023Binary Code Summarization: Benchmarking ChatGPT/GPT-4 and Other Large Language Modelscited by 13
  5. 2024Assemblage: Automatic Binary Dataset Construction for Machine Learningcited by 12
  6. 2024Leveraging Large Language Models for Enhancing the Understandability of Generated Unit Testscited by 11
  7. 2023The (ab)use of Open Source Code to Train Large Language Modelscited by 9
  8. 2024Source Code Foundation Models are Transferable Binary Analysis Knowledge Basescited by 8
  9. 2023Targeted Attack on GPT-Neo for the SATML Language Model Data Extraction Challengecited by 7
  10. 2023Enriching Source Code with Contextual Data for Code Completion Models: An Empirical Studycited by 7
  11. 2024Exploring the Efficacy of Large Language Models (GPT-4) in Binary Reverse Engineeringcited by 7
  12. 2025Code Red! On the Harmfulness of Applying Off-the-shelf Large Language Models to Programming Taskscited by 6
13 more
  1. 2023STACC: Code Comment Classification using SentenceTransformerscited by 5
  2. 2024MALSIGHT: Exploring Malicious Source Code and Benign Pseudocode for Iterative Binary Malware Summarizationcited by 5
  3. 2023On the Impact of Language Selection for Training and Evaluating Programming Language Modelscited by 4
  4. 2025ASMA-Tune: Unlocking LLMs' Assembly Code Comprehension via Structural-Semantic Instruction Tuningcited by 4
  5. 2025Scrub It Out! Erasing Sensitive Memorization in Code Language Models via Machine Unlearningcited by 3
  6. 2024LLMs in the Heart of Differential Testing: A Case Study on a Medical Rule Enginecited by 2
  7. 2025REx86: A Local Large Language Model for Assisting in x86 Assembly Reverse Engineeringcited by 1
  8. 2025Retrofit: Continual Learning with Controlled Forgetting for Binary Security Detection and Analysiscited by 0
  9. 2025C-ing Clearly: Enhanced Binary Code Explanations using C codecited by 0
  10. 2026SoK: AI-Augmented Binary Reversingcited by 0
  11. 2026OASIF: An Efficient Obfuscation-Aware Self-Improving Framework for LLM-Based Assembly Code Instruction Following and Comprehensioncited by 0
  12. 2026Beyond Text Matching: Towards Reference-Free Evaluation for Human-Oriented Binary Reverse Engineeringcited by 0
  13. 2026Reveree: Diagnosing LLM Reverse-Engineering Agentscited by 0