Model Reuse Through Retargeted-Architecture Binary Code Analysis
Abstract
NLP-inspired deep learning for binary code analysis demonstrates notable performance. Considering the diverse Instruction Set Architectures (ISAs) on the market, it is important to be able to analyze code of various ISAs. However, training a deep learning model usually requires a large amount of data, which poses a challenge for certain ISAs such as PowerPC that suffer from the “data scarcity” issue. For instance, acquiring a large dataset of PowerPC malware proves to be challenging. Moreover, given a binary analysis task and multiple ISAs, it takes much time and effort (e.g., for data collection, labeling and cleaning, and parameter tuning) to train one modelperISA. We propose a new direction,retargeted-architecture binary code analysis, to handle the data scarcity issue and alleviate the per-ISA effort. Our idea is totransfer knowledge from one ISA to others—that is, a model, trained with rich data and much time and effort for one ISA, can perform prediction for otherswithout any modification. We showcase the idea through two important tasks: malware detection and function similarity detection. An extensive evaluation involving four ISAs (x86, ARM, MIPS, and PowerPC) demonstrates the effectiveness of the approach and the high performance is interpreted.
Fields of Study & Subjects
Advanced Malware Detection Techniques
Software Engineering Research
Software Testing and Debugging Techniques
Publication details
- Journal / source
- IEEE Transactions on Dependable and Secure Computing
- Publisher
- Institute of Electrical and Electronics Engineers (IEEE)
- Volume
- 23
- Issue
- 3
- Pages
- 7111–7128
- Publication date
- 9 March 2026