DexBERT: Effective, Task-Agnostic and Fine-grained Representation Learning of Android Bytecode
Not on the map. Why?
Abstract (arXiv)
The automation of a large number of software engineering tasks is becoming possible thanks to Machine Learning (ML). Central to applying ML to software artifacts (like source or executable code) is converting them into forms suitable for learning. Traditionally, researchers have relied on manually selected features, based on expert knowledge which is sometimes imprecise and generally incomplete. Representation learning has allowed ML to automatically choose suitable representations and relevant features. Yet, for Android-related tasks, existing models like apk2vec focus on whole-app levels, or target specific tasks like smali2vec, which limits their applicability. Our work is part of a new line of research that investigates effective, task-agnostic, and fine-grained universal representations of bytecode to mitigate both of these two limitations. Such representations aim to capture information relevant to various low-level downstream tasks (e.g., at the class-level). We are inspired by the field of Natural Language Processing, where the problem of universal representation was addressed by building Universal Language Models, such as BERT, whose goal is to capture abstract semantic information about sentences, in a way that is reusable for a variety of tasks. We propose DexBERT, a BERT-like Language Model dedicated to representing chunks of DEX bytecode, the main binary format used in Android applications. We empirically assess whether DexBERT is able to model the DEX language and evaluate the suitability of our model in three distinct class-level software engineering tasks: Malicious Code Localization, Defect Prediction, and Component Type Classification. We also experiment with strategies to deal with the problem of catering to apps having vastly different sizes, and we demonstrate one example of using our technique to investigate what information is relevant to a given task.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 30 of its 94 references that are in the map. First posted on arXiv 12 Dec 2022.
Builds on
30 of 94 references.
References · 30
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2013Spectral Networks and Locally Connected Networks on Graphscited by 1,097
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
- 2015Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networkscited by 305
- 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 266
- 2018code2vec: Learning Distributed Representations of Codecited by 249
18 more
- 2017graph2vec: Learning Distributed Representations of Graphscited by 228
- 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 220
- 2018TESSERACT: Eliminating Experimental Bias in Malware Classification across Space and Timecited by 108
- 2020Detecting Code Clones with Graph Neural Networkand Flow-Augmented Abstract Syntax Treecited by 68
- 2021Applying CodeBERT for Automated Program Repair of Java Simple Bugscited by 44
- 2019Multi-Modal Attention Network Learning for Semantic Source Code Retrievalcited by 40
- 2018DeepTriage: Exploring the Effectiveness of Deep Learning for Bug Triagingcited by 20
- 2013New Alignment Methods for Discriminative Book Summarizationcited by 18
- 2017R2-D2: ColoR-inspired Convolutional NeuRal Network (CNN)-based AndroiD Malware Detectionscited by 15
- 2019CORE: Automating Review Recommendation for Code Changescited by 14
- 2021DexRay: A Simple, yet Effective Deep Learning Approach to Android Malware Detection based on Image Representation of Bytecodecited by 9
- 2017A Multi-view Context-aware Approach to Android Malware Detection and Malicious Code Localizationcited by 8
- 2021Difuzer: Uncovering Suspicious Hidden Sensitive Operations in Android Appscited by 3
- 2018The Impact of IR-based Classifier Configuration on the Performance and the Effort of Method-Level Bug Localizationcited by 2
- 2018apk2vec: Semi-supervised multi-view representation learning for profiling Android applicationscited by 2
- 2020Droidetec: Android Malware Detection and Malicious Code Localization through Deep Learningcited by 2
- 2019Android Malware Detection Using Autoencodercited by 1
- 2019Using Deep Neural Network for Android Malware Detectioncited by 1
Built on by
Citing papers per year: 2023: 1; 2024: 2; 2025: 3.
6 papers.
- 2024Large Language Models for Cyber Security: A Systematic Literature Reviewcited by 65
- 2025Primus: A Pioneering Collection of Open-Source Datasets for Cybersecurity LLM Trainingcited by 23
- 2023LaFiCMIL: Rethinking Large File Classification from the Perspective of Correlated Multiple Instance Learningcited by 1
- 2024DetectBERT: Towards Full App-Level Representation Learning to Detect Android Malwarecited by 0
- 2025Large Language Models in Cybersecurity: Applications, Vulnerabilities, and Defense Techniquescited by 0
- 2025Retrofit: Continual Learning with Controlled Forgetting for Binary Security Detection and Analysiscited by 0
- 2025Retrofit: Continual Learning with Controlled Forgetting for Binary Security Detection and Analysis14 Nov 2025
- 2025Large Language Models in Cybersecurity: Applications, Vulnerabilities, and Defense Techniques18 Jul 2025
- 2025Primus: A Pioneering Collection of Open-Source Datasets for Cybersecurity LLM Training16 Feb 2025
- 2024DetectBERT: Towards Full App-Level Representation Learning to Detect Android Malware29 Aug 2024
- 2024Large Language Models for Cyber Security: A Systematic Literature Review8 May 2024
- 2023LaFiCMIL: Rethinking Large File Classification from the Perspective of Correlated Multiple Instance Learning30 Jul 2023