Xiao Cheng
· 2 previous affiliations
- Macquarie UniversitySince 2025
- Lecturer · 2025–2028
- Current
- UNSW Sydney2021–2024
- PhD student · 2021–2024
Research Overview
Xiao Cheng focuses on automated program repair, large language model orchestration for code generation, and static analysis. His early work addressed natural language processing tasks such as entity disambiguation, while his recent research integrates formal methods with machine learning to resolve complex, repository-level software errors. Currently, he investigates model-authored specifications and typestate-guided context retrieval to improve the reliability of AI-driven software engineering.
Research Trajectory
Cheng’s early research addressed natural language processing, specifically focusing on the challenge of entity disambiguation. He introduced Relational Inference for Wikification in 2013, which advanced the task of mapping text concepts to their corresponding Wikipedia pages (often referred to as Disambiguation to Wikipedia, or D2W). Rather than relying solely on local and global statistical evaluations of context compatibility—which often fail when deeper text understanding is required—this work incorporated richer relational analysis of the text to support more accurate disambiguation.
Following this early work in natural language semantics, the available evidence shows a shift in his research trajectory toward software engineering, formal methods, and program analysis. In 2024, he contributed to investigations of static analysis techniques, participating in the development of Dynamic Transitive Closure-based Static Analysis through the Lens of Quantum Search.
More recently, Cheng has focused extensively on the intersection of large language models (LLMs) and software reliability, designing systems that constrain and guide LLM outputs to produce more accurate code. He collaborated on Self-Spec: Model-Authored Specifications for Reliable LLM Code Generation, which explores whether LLMs produce more reliable code when they first generate a task-specific specification language. This lightweight, deterministic orchestration prompts the model to design a compact schema from a problem's docstring, instantiate that schema, resolve ambiguities via a minimal question-and-answer loop, and finally generate code strictly from the confirmed specification. The underlying intuition is distributional: a self-authored specification better aligns with a model’s internal representational bias, thereby reducing formatting errors and docstring drift.
Building on the integration of LLMs with structured software engineering practices, he developed the LTFix framework in Tracing Errors, Constructing Fixes: Repository-Level Memory Error Repair via Typestate-Guided Context Retrieval. This work addresses complex memory errors in C programs by combining LLMs with formal typestate analysis. By utilizing a finite typestate automaton to selectively retrieve only the most semantically relevant debugging context, the framework overcomes LLM token limitations. This approach allows the system to outperform standard LLM software agents while using significantly fewer tokens. This contribution advances several broader research areas, including the research direction of Repository Scale Context Constraints in Code Language Models, the area of Coordinated Multi File Reasoning for Repository Level Code Repair, and the area of Controlling Thread Interleavings to Reproduce Concurrency Bugs.
Current Directions
The most recent papers in the evidence indicate a strong focus on improving the reliability and scalability of AI-driven software engineering. Current work investigates how formal methods and structured intermediate representations—such as finite typestate automata and model-authored specifications—can guide large language models during code generation and repair. By constraining LLM outputs with deterministic orchestration and selectively retrieving debugging context, this research addresses the inherent token limitations and representational biases of modern language models. Ultimately, these methods aim to automate complex, repository-level program repair and ensure that AI-generated code adheres strictly to intended specifications and memory safety constraints.
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