Hao Chen
· 2 previous affiliations
- Deloitte (United States)Since 2004
- Full Professor · Since 2016
- Associate Professor · 2010–2016
- Assistant Professor · 2004–2010
- University of Hong KongSince 2025
- Full Professor · Since 2025
36 other authors named Hao Chen: Hao Chen (Hong Kong University of Science and Technology · 163 papers), Hao Chen (Zhejiang University · 133 papers), Hao Chen (Google (United States) · Google DeepMind (United Kingdom) · Carnegie Mellon University · 76 papers), Hao Chen (Shanghai Artificial Intelligence Laboratory · 67 papers), Hao Chen (City University of Macau · 52 papers), and 31 more
Research Overview
Hao Chen focuses on computer security, with particular emphasis on machine learning vulnerabilities, software analysis, and mobile privacy. His early work established foundational techniques in model checking for software security, while his recent research investigates adversarial robustness in deep neural networks and the security implications of large language models.
Research Trajectory
Chen’s early research, conducted during his doctoral studies at the University of California, Berkeley, focused on formal methods for identifying and mitigating software vulnerabilities. He developed MOPS: an infrastructure for examining security properties of software (2002), a program analysis tool that modeled programs as pushdown automata to verify safe programming practices. That same year, he published Setuid Demystified, further exploring the formal properties of privileged execution in operating systems. He subsequently scaled these verification techniques in Model Checking One Million Lines of C Code (2004), demonstrating the practical viability of model checking on large codebases.
As mobile computing proliferated, his focus expanded to address privacy in smartphone ecosystems. He led the development of AndroidLeaks: Automatically Detecting Potential Privacy Leaks in Android Applications on a Large Scale (2012), which identified how mobile applications inadvertently or maliciously expose sensitive sensor and user data.
By the late 2010s, Chen began investigating the vulnerabilities of deep learning systems and advancing software testing techniques. He collaborated on MagNet: A Two-Pronged Defense against Adversarial Examples (2017), a framework designed to protect neural network classifiers without modifying the underlying models. In the domain of software testing, he participated in the design of Angora: Efficient Fuzzing by Principled Search (2018), a mutation-based fuzzer that improved branch coverage by solving path constraints without relying on computationally expensive symbolic execution.
A major theme in his subsequent work is the study of black-box adversarial attacks, specifically how adversarial examples generated on one model can transfer to another. He explored highly restricted threat models in Practical No-box Adversarial Attacks against DNNs (2020) and demonstrated how modifying the backpropagation process could increase attack efficacy in Backpropagating Linearly Improves Transferability of Adversarial Examples (2020). This work directly contributed to the research direction of Cross Model Adversarial Transferability. He continued to refine these techniques with Yet Another Intermediate-Level Attack (2023), which learned linear mappings from feature discrepancies to adversarial loss. Recognizing the need for rigorous evaluation in this space, his lab introduced Towards Evaluating Transfer-based Attacks Systematically, Practically, and Fairly (2023). This paper presented TA-Bench, a comprehensive benchmark that standardized pre-processing and optimization back-ends, intersecting with the broader areas of Robust Adversarial Perturbations for Proactive Image Privacy and Unified Benchmarking for Robust Machine Learning.
More recently, Chen has extensively explored the intersection of large language models (LLMs) and software engineering, particularly in fuzzing and test generation. He introduced LLAMAFUZZ: Large Language Model Enhanced Greybox Fuzzing (2024), which integrated LLMs into the fuzzing loop to generate valid structured data without manual grammars. He also developed Exploring Fuzzing as Data Augmentation for Neural Test Generation (2024), advancing the research areas of Automated Synthesis of Software Test Oracles and Human Readable Automated Unit Test Generation, while also touching upon Saturation Limits of Synthetic Data Scaling and Compilation Free Static Analysis with Large Language Models.
To improve automated coding tasks, his team proposed RepoGenReflex: Enhancing Repository-Level Code Completion with Verbal Reinforcement and Retrieval-Augmented Generation (2024). This framework intersects with several active research areas, including Multi-turn Iterative Code Generation and Refinement, Iterative Self Improvement for Large Language Models, and Iterative Self-Correction via Execution Feedback. By integrating retrieval and reinforcement learning, the system also advances the fields of Iterative Self-Corrective Retrieval Augmented Generation, Repository Level Reasoning for Large Scale Software Engineering, Generalist Reasoning Over Domain Specific Fine Tuning, Reinforcement Learning for Grounded and Agentic Language Models, and Stability Based Termination for Iterative Refinement. To support further research in this domain, he co-authored UniTSyn: A Large-Scale Dataset Capable of Enhancing the Prowess of Large Language Models for Program Testing (2024).
Parallel to his software engineering research, Chen investigates the security and alignment of generative AI models. He adapted computer vision attack techniques to discrete text in Improved Generation of Adversarial Examples Against Safety-aligned LLMs (2024), contributing to the research directions of Automated Discovery of Adversarial Triggers in Generative Models, Gradient Based Discrete Optimization for Adversarial Prompts, and Differentiable Optimization in Discrete Token Spaces. In the visual domain, he proposed SteerDiff: Steering towards Safe Text-to-Image Diffusion Models (2024), a lightweight adapter to prevent the generation of harmful content. This approach contributes to the broader areas of Inference Time Latent Steering for Generative Safety and Adaptive Scaling for Inference Time Activation Steering, while addressing challenges in Adversarial Robustness and Knowledge Erasure in Aligned Language Models, Selective Knowledge Erasure in Large Language Models, and Exploiting Shallow Safety Alignment via Semantic Obfuscation.
His most recent work continues to probe the limits of AI systems. In Evaluating Program Semantics Reasoning with Type Inference in System $F$ (2025), he explored the boundaries of LLM reasoning capabilities, engaging with the areas of Structural Logic over Lexical Shortcuts in Code Models and Syntactic Brittleness in Neural Code Representations. Concurrently, he published Security of AI Agents (2025), detailing vulnerabilities in LLM-driven agents that interact with external environments, a problem space related to the direction of Secure Aggregation for Privacy Preserving Distributed Analytics.
Current Directions
Chen’s most recent research focuses heavily on the security, reasoning capabilities, and practical deployment of large language models and generative AI. A primary current direction involves securing AI agents that interact with real-world environments, identifying their unique attack surfaces, and developing robust mitigation strategies. Alongside this, he is actively investigating the safety alignment of generative models, designing inference-time steering mechanisms to prevent jailbreaks in both text-to-image diffusion models and safety-aligned LLMs. Finally, his work continues to rigorously evaluate the fundamental reasoning limits of neural models, particularly their ability to comprehend complex program semantics and type inference without relying on natural language shortcuts.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake