Steven H. H. Ding

McGill University
2 previous affiliations
12Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Steven H. H. Ding focuses on binary code analysis, reverse engineering, and the application of machine learning to cybersecurity. His work addresses the challenges of identifying code clones and vulnerabilities in software where source code is unavailable, moving from scalable search architectures to sophisticated deep learning and large language model (LLM) frameworks.

Research Trajectory

Ding’s early research focused on the scalability and efficiency of assembly code analysis. In 2016, his work addressed the manual intensity of reverse engineering by developing high-throughput systems for assembly clone search. This phase of research emphasized the use of distributed computing frameworks to handle the computational demands of nearest-neighbor searches across large-scale binary datasets. The primary objective was to facilitate the detection of software plagiarism and patent infringement by identifying previously analyzed code segments within a MapReduce-based architecture.

By 2021, Ding’s work shifted toward the integration of deep learning architectures to overcome the limitations of manual feature engineering. This period marked a transition from traditional code matching algorithms to unsupervised learning approaches. By utilizing Transformer-based models and generative denoising techniques, his research sought to embed the semantics of binary code into latent spaces. This approach aimed to capture the functional variance of code across different compilation environments and architectures without requiring exhaustive labeled datasets for training, which are often difficult to obtain in the context of malware analysis.

His more recent work, appearing in 2025, explores the specialization of Large Language Models (LLMs) for binary code tasks. This research involves adapting general-purpose coder LLMs into specialized embedding models for binary code similarity detection (BCSD). This trajectory reflects a move toward parameter-efficient fine-tuning and the use of causal training objectives to refine code embeddings. This recent focus allows smaller, specialized models to achieve performance levels comparable to or exceeding much larger, general-purpose architectures, particularly when dealing with high levels of code obfuscation and diverse hardware architectures.

Representative Work

In Kam1n0: MapReduce-based Assembly Clone Search for Reverse Engineering, Ding (as first author) introduced a scalable engine designed to automate the identification of cloned assembly code. The system utilizes a MapReduce-based architecture to perform efficient nearest neighbor searches, addressing the time-consuming nature of manual reverse engineering. This work is particularly relevant for cybersecurity applications such as vulnerability discovery and the detection of software plagiarism, where the absence of source code necessitates robust analysis at the binary level. The system was designed to handle the practical constraints of large-scale code repositories while maintaining search accuracy.

Ding contributed to the development of GenTAL: Generative Denoising Skip-gram Transformer for Unsupervised Binary Code Similarity Detection, an approach that leverages unsupervised learning to detect similarities in binary code. The framework employs a generative denoising skip-gram objective within a Transformer architecture to learn code semantics. By focusing on unsupervised contrastive learning, the work addresses the difficulty of covering all possible semantic variances in a supervised training set. This method improves the accuracy and efficiency of malware analysis and vulnerability detection by embedding binary code into a latent space that is resilient to variations in compilation and optimization.

In a collaborative effort, Ding participated in the development of the Transforming Generic Coder LLMs to Effective Binary Code Embedding Models for Similarity Detection (EBM) framework. This research demonstrates a method for specializing small, generic coder LLMs for the task of binary code similarity detection. The framework combines "translation-style" causal training with bidirectional embedding refinements. The results indicate that specialized 0.5B parameter models can outperform significantly larger models across various architectures and obfuscation levels. This work highlights a trend toward domain-specific model optimization, demonstrating that smaller, specialized experts can be more effective for binary analysis than general-purpose models with much higher parameter counts.

Profile updated

See something wrong? Report a mistake