Hao Wang

Peking University
2 previous affiliations
16Machine learning papers tracked by Lacuna

54 other authors named Hao Wang: Hao Wang (Leiden University · LIACS · 178 papers), Hao Wang (Stevens Institute of Technology · Scholera · United States Air Force Research Laboratory · 162 papers), Hao Wang (Monash University · 149 papers), Hao Wang (University of Science and Technology of China · 128 papers), Hao Wang (University of Illinois Urbana-Champaign · 117 papers), and 49 more

Is this you?

Research Overview

Hao Wang focuses on machine learning for software engineering, binary code analysis, and the security of large language models. His early work advanced semantic code search and binary similarity detection by integrating structural control flow into deep learning architectures. More recently, his research addresses the evaluation of decompilation tools and the automated red-teaming of AI agents to expose vulnerabilities in generative models.

Research Trajectory

Wang’s early research explored deep learning architectures for semantic code search. He introduced COSEA: Convolutional Code Search with Layer-wise Attention, a model that treats source code as a structured hierarchy of logic blocks rather than a flat text sequence. By combining parallelizable convolutional neural networks with a min-max contrastive loss, this work advanced the research direction of Hard Negative Selection for Contrastive Representation Learning to achieve faster training and improved retrieval performance for Python and SQL.

Building on this foundation, his focus expanded to binary code analysis and similarity detection. He developed jTrans: jump-aware transformer for binary code similarity detection, which incorporates control flow information into a Transformer-based architecture to improve vulnerability searching. He continued to refine binary representations with CLAP: Learning Transferable Binary Code Representations with Natural Language Supervision, leveraging natural language to guide the learning process. To address the scalability challenges of comparing massive volumes of binaries, he proposed CEBin: A Cost-Effective Framework for Large-Scale Binary Code Similarity Detection. CEBin utilizes a reusable embedding cache mechanism to train with extensive negative samples, bridging the gap between fast embedding models and precise comparison models. This framework contributed to broader areas such as Language Agnostic Intermediate Representations for Code Generation and Fine Grained Vulnerability Localization in Source Code.

In subsequent work, Wang addressed the complexities of reverse engineering and decompilation. With collaborators, he developed HyRES : Recovering Data Structures in Binaries via Semantic Enhanced Hybrid Reasoning, a technique combining static analysis, heuristics, and large language models to recover structural layouts from stripped binaries. He also explored natural language interfaces for binary analysis in BinQuery: A Novel Framework for Natural Language-Based Binary Code Retrieval and investigated automated function naming by fusing encoder-only and decoder-only LLMs in llasm: Naming Functions in Binaries by Fusing Encoder-only and Decoder-only LLMs. To rigorously evaluate these emerging tools, he participated in the creation of DecompileBench: A Comprehensive Benchmark for Evaluating Decompilers in Real-World Scenarios. This benchmark introduced runtime-aware validation to ensure decompiled code behaves identically to the original, advancing the area of Functional Correctness via Execution-Based Evaluation and contributing to Bridging the Inferential Gap in AI Software Engineering.

Wang’s vulnerability research also extends to dataset integrity and domain-specific applications. He critically examined the ground truth used to train cybersecurity models in Mono: Is Your "Clean" Vulnerability Dataset Really Solvable? Exposing and Trapping Undecidable Patches and Beyond, demonstrating that noise in existing datasets can render them fundamentally unsolvable for static analysis. Additionally, he applied advanced similarity analysis to the blockchain domain in SmartTrans: Advanced Similarity Analysis for Detecting Vulnerabilities in Ethereum Smart Contracts.

Most recently, Wang has investigated the security and safety of large language models themselves. He collaborated on An Engorgio Prompt Makes Large Language Model Babble on, which uncovered a vulnerability where specially crafted prompts suppress an auto-regressive model's internal stop signal, forcing it to generate maximum-length responses. This work highlighted critical risks in the area of Adversarial Overthinking and Computational Denial of Service. Continuing this focus on AI safety, he participated in developing SafeSearch: Automated Red-Teaming of LLM-Based Search Agents, a framework designed to identify vulnerabilities stemming from unreliable web search results in agentic systems.

Current Directions

The most recent papers in the evidence address the intersection of artificial intelligence safety and software engineering. Recent work investigates the vulnerabilities of large language models deployed as autonomous agents, focusing on automated red-teaming frameworks to expose risks in LLM-based search systems and adversarial attacks that exploit model inference mechanisms. Additionally, Wang continues to explore the rigorous evaluation of AI-driven decompilation and reverse engineering tools, emphasizing runtime-aware validation and hybrid reasoning techniques to ensure the functional correctness and security of generated code.

Profile updated

See something wrong? Report a mistake