Nova: Generative Language Models for Assembly Code with Hierarchical Attention and Contrastive Learning
Not on the map. Why?
Abstract (arXiv)
Binary code analysis is the foundation of crucial tasks in the security domain; thus building effective binary analysis techniques is more important than ever. Large language models (LLMs) although have brought impressive improvement to source code tasks, do not directly generalize to assembly code due to the unique challenges of assembly: (1) the low information density of assembly and (2) the diverse optimizations in assembly code. To overcome these challenges, this work proposes a hierarchical attention mechanism that builds attention summaries to capture the semantics more effectively and designs contrastive learning objectives to train LLMs to learn assembly optimization. Equipped with these techniques, this work develops Nova, a generative LLM for assembly code. Nova outperforms existing techniques on binary code decompilation by up to 14.84 -- 21.58% (absolute percentage point improvement) higher Pass@1 and Pass@10, and outperforms the latest binary code similarity detection techniques by up to 6.17% Recall@1, showing promising abilities on both assembly generation and understanding tasks.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 32 of its 79 references that are in the map. First posted on arXiv 22 Nov 2023.
Builds on
32 of 79 references.
References · 32
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
- 2022CodeT: Code Generation with Generated Testscited by 369
20 more
- 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 342
- 2023Large Language Models for Code: Security Hardening and Adversarial Testingcited by 149
- 2022Practical Program Repair in the Era of Large Pre-trained Language Modelscited by 133
- 2023LongCoder: A Long-Range Pre-trained Language Model for Code Completioncited by 110
- 2023Impact of Code Language Models on Automated Program Repaircited by 85
- 2023Improving Code Generation by Training with Natural Language Feedbackcited by 75
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 71
- 2017Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detectioncited by 65
- 2023How Effective Are Neural Networks for Fixing Security Vulnerabilitiescited by 50
- 2022jTrans: Jump-Aware Transformer for Binary Code Similaritycited by 44
- 2022An Empirical Study of Deep Learning Models for Vulnerability Detectioncited by 44
- 2019DIRE: A Neural Approach to Decompiled Identifier Namingcited by 36
- 2020Trex: Learning Execution Semantics from Micro-Traces for Binary Similaritycited by 34
- 2021CAST: Enhancing Code Summarization with Hierarchical Splitting and Reconstruction of Abstract Syntax Treescited by 31
- 2023SLaDe: A Portable Small Language Model Decompiler for Optimized Assemblycited by 28
- 2021Augmenting Decompiler Output with Learned Variable Names and Typescited by 23
- 2022Beyond the C: Retargetable Decompilation using Neural Machine Translationcited by 15
- 2022Learning to Reverse DNNs from AI Programs Automaticallycited by 11
- 2022HierarchyNet: Learning to Summarize Source Code with Heterogeneous Representationscited by 9
- 2022Decompiling x86 Deep Neural Network Executablescited by 7
Built on by
Citing papers per year: 2024: 1; 2025: 2; 2026: 9.
12 papers.
- 2024LLM4Vuln: A Unified Evaluation Framework for Decoupling and Enhancing LLMs' Vulnerability Reasoningcited by 57
- 2025Skywork UniPic: Unified Autoregressive Modeling for Visual Understanding and Generationcited by 16
- 2025Risk Assessment Framework for Code LLMs via Leveraging Internal Statescited by 8
- 2026ShieldedCode: Learning Robust Representations for Virtual Machine Protected Codecited by 8
- 2026HELIOS: Hierarchical Graph Abstraction for Structure-Aware LLM Decompilationcited by 3
- 2026CoDe-R: Refining Decompiler Output with LLMs via Rationale Guidance and Adaptive Inferencecited by 1
- 2026A Small-Scale System for Autoregressive Program Synthesis Enabling Controlled Experimentationcited by 0
- 2026ASSEMBLAGE-DEEPHISTORY: A Cross-Build Binary Dataset with Temporal Coveragecited by 0
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modescited by 0
- 2026SoK: AI-Augmented Binary Reversingcited by 0
- 2026Instruction Alignment for Binary Code Representation Learningcited by 0
- 2026Recompilation Is Not Enough: Test-Guided Decompiled-C Repaircited by 0
- 2026Recompilation Is Not Enough: Test-Guided Decompiled-C Repair7 Sep 2026
- 2026Instruction Alignment for Binary Code Representation Learning12 Aug 2026
- 2026SoK: AI-Augmented Binary Reversing16 Jun 2026
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modes9 Jun 2026
- 2026ASSEMBLAGE-DEEPHISTORY: A Cross-Build Binary Dataset with Temporal Coverage20 May 2026
- 2026CoDe-R: Refining Decompiler Output with LLMs via Rationale Guidance and Adaptive Inference14 Apr 2026
- 2026A Small-Scale System for Autoregressive Program Synthesis Enabling Controlled Experimentation9 Feb 2026
- 2026ShieldedCode: Learning Robust Representations for Virtual Machine Protected Code28 Jan 2026
- 2026HELIOS: Hierarchical Graph Abstraction for Structure-Aware LLM Decompilation21 Jan 2026
- 2025Skywork UniPic: Unified Autoregressive Modeling for Visual Understanding and Generation5 Aug 2025
- 2025Risk Assessment Framework for Code LLMs via Leveraging Internal States20 Apr 2025
- 2024LLM4Vuln: A Unified Evaluation Framework for Decoupling and Enhancing LLMs' Vulnerability Reasoning29 Jan 2024