NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Xiangzhe Xu

Purdue University West Lafayette
1 previous affiliation
34Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Xiangzhe Xu focuses on the intersection of machine learning and software engineering, specifically targeting trustworthy code models, agent-driven code reasoning systems, and traditional program analysis. His trajectory spans from formal verification and binary semantics to the integration of large language models for decompilation and static analysis. Currently, he investigates autonomous repository-level auditing, proactive security alignment for code generation, and the robustness of AI coding assistants.

Research Trajectory

Xiangzhe Xu’s early research concentrated on traditional program analysis, formal verification, and the extraction of semantics from both source code and compiled binaries. In 2020, he developed a systematic approach to leverage natural language in codebases with The Classification and Propagation of Program Comments. By categorizing comments and applying natural language processing, he established rules based on programming language semantics to propagate these comments among code entities, enabling automated checks for code usage and consistency. The following year, he addressed the formal verification of machine code manipulation in Automatic Generation and Validation of Instruction Encoders and Decoders. Observing that consistent encoder-decoder pairs could be derived from bijections embedded in instruction formats, he introduced a framework to automatically generate and formally validate these pairs, ensuring they function as mutual inverses.

By 2023, his focus expanded to binary code similarity and decompilation, increasingly incorporating machine learning techniques. He explored probabilistic execution models to represent binary program semantics for similarity analysis in PEM: Representing Binary Program Semantics for Similarity Analysis via a Probabilistic Execution Model. Recognizing that deep learning models applied to binary analysis often suffer from instruction distribution biases caused by compiler conventions, he introduced a technique to detect and repair these biases in Improving Binary Code Similarity Transformer Models by Semantics-Driven Instruction Deemphasis.

During this period, Xu also began bridging large language models (LLMs) with traditional program analysis. In LmPa: Improving Decompilation by Synergy of Large Language Model and Program Analysis, he addressed the challenge of recovering variable names during decompilation. By dividing the task into smaller LLM queries and using program analysis to correlate and propagate the results, he overcame the context window limitations of language models. This work advanced the broader area of Reconstructing Source Logic from Optimized Binaries and contributed to the research direction Structural Context for Repository Level Code Intelligence.

In 2024 and 2025, Xu’s work increasingly emphasized the use of LLMs for complex, repository-scale reasoning and static analysis. With collaborators, he developed LLMDFA: Analyzing Dataflow in Code with Large Language Models, a framework that combines the code-comprehension capabilities of LLMs with the rigor of SMT solvers. By synthesizing executable scripts rather than relying on direct LLM predictions, the system achieved highly precise dataflow analysis, driving forward the area of Compilation Free Static Analysis with Large Language Models. He further applied agentic LLM workflows to large codebases in RepoAudit: An Autonomous LLM-Agent for Repository-Level Code Auditing. This system mimics the demand-driven approach of human security experts, utilizing an exploration loop and validation module to identify complex, inter-procedural bugs across massive projects, which aligns with the research direction Repository Scale Context Constraints in Code Language Models. Continuing his work on decompilation, he introduced GENNM in Unleashing the Power of Generative Model in Recovering Variable Names from Stripped Binary. Utilizing a novel Symbol Preference Optimization technique, the tool leverages global program context to recover human-readable variable names, significantly impacting the area of Reconstructing High-Level Semantics from Stripped Binaries.

Most recently, Xu has focused on the safety, alignment, and intent integrity of AI coding assistants and agentic systems. In Position: Intelligent Coding Systems Should Write Programs with Justifications, he argued for a neuro-symbolic framework where AI systems generate cognitively aligned and semantically faithful justifications alongside code, addressing the "black box" trust issues inherent in modern coding assistants. To ensure these systems operate safely in dynamic environments, he developed IntenTest: Stress Testing for Intent Integrity in API-Calling LLM Agents, an API-centric framework that systematically uncovers intent integrity violations by generating realistic tasks based on toolkit documentation.

His recent security research also encompasses automated red-teaming and defense mechanisms for neural networks. He introduced ASTRA: Autonomous Spatial-Temporal Red-teaming for AI Software Assistants, a system that combines knowledge graphs with spatial and temporal exploration to systematically uncover safety flaws in code generation models. To proactively defend against such flaws, he developed ProSec: Fortifying Code LLMs with Proactive Security Alignment, a framework that intentionally traps models into generating vulnerable code based on Common Weakness Enumerations (CWEs) and then trains them to fix those specific errors. Finally, in From Poisoned to Aware: Fostering Backdoor Self-Awareness in LLMs, he collaborated on a reinforcement learning framework that enables poisoned models to introspectively reverse-engineer hidden triggers, contributing to the research direction Blind Backdoor Defense for Neural Networks.

Current Directions

The most recent papers in the evidence highlight a strong focus on the security, robustness, and alignment of agentic code reasoning systems. Xu is actively investigating methods to secure code-generating LLMs against both accidental vulnerabilities and adversarial attacks. This includes developing proactive security alignment frameworks that teach models to recognize and patch their own vulnerabilities during generation, as well as building autonomous red-teaming agents that systematically probe AI assistants for safety flaws. Additionally, his recent work addresses the reliability of LLM agents that interact with external APIs, focusing on stress-testing methodologies to ensure these agents maintain intent integrity and do not deviate from user instructions when faced with ambiguous natural language or evolving toolkits.

Profile updated

See something wrong? Report a mistake