Xiaoguang Mao

National University of Defense Technology
1 previous affiliation
56Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Xiaoguang Mao focuses on automated software engineering, program repair, and code intelligence. His early work established foundational methods for multi-location bug fixing and fault localization, while his recent research leverages large language models and multimodal learning to address complex repository-level reasoning and entity linking tasks.

Research Trajectory

Mao’s early research explored formal evaluation methodologies for software systems. In Using ELECTRE TRI Outranking Method to Evaluate Trustworthy Software (2010), he developed an approach treating software trustworthiness as a multi-criteria decision-aiding process. The work introduced a metric for trustworthiness and an attribute weighting method, comparing software against predefined norms to assign trust levels.

By the late 2010s, his focus shifted toward automated program repair (APR) and fault localization. He contributed to foundational studies on complex bug fixing, including Multi-Location Program Repair: Roads Ahead and Multi-Location Program Repair Strategies Learned from Successful Experience (S). These works advanced the research direction of Coordinated Multi File Reasoning for Repository Level Code Repair by categorizing multi-location bugs into similar and relevant types based on repair actions. Concurrently, he collaborated on empirical assessments of APR systems, addressing the broader area of Overfitting in Automated Program Repair. This included large-scale evaluations in On the efficiency of test suite based program repair: A Systematic Assessment of 16 Automated Repair Systems for Java Programs, which raised concerns about the biases of state-of-the-art approaches, and investigations into patch validity in Automated Patch Correctness Assessment: How Far are We?.

Building on this empirical foundation, Mao introduced novel deep learning and data augmentation techniques to software engineering tasks. To address the severe data imbalance and high dimensionality in fault localization, his work proposed Aeneas in A Universal Data Augmentation Approach for Fault Localization, generating synthesized failing test cases to improve model training. He also participated in developing techniques that incorporate complex failure contexts into suspiciousness evaluation, as detailed in Context-Aware Neural Fault Localization. Expanding into software security, he applied deep learning to smart contract analysis in Reentrancy Vulnerability Detection and Localization: A Deep Learning Based Two-phase Approach.

Throughout 2023, Mao’s research increasingly leveraged neural networks and pre-trained models for code intelligence. He addressed the challenge of naming methods prior to implementation in Pre-implementation Method Name Prediction for Object-oriented Programming, utilizing class names and semantic similarity as predictive inputs. He also developed hybrid approaches for just-in-time documentation maintenance in Predictive Comment Updating With Heuristics and AST-Path-Based Neural Learning: A Two-Phase Approach, combining the precision of heuristics for code-indicative updates with the versatility of deep learning. Recognizing the limitations of training models from scratch, he introduced CCT5: A Code-Change-Oriented Pre-trained Model to automate tasks like intention description and defect identification. He further explored generative adversarial networks to mutually improve code generation and retrieval in Two Birds with One Stone: Boosting Code Generation and Code Search via a Generative Adversarial Network. As large language models (LLMs) became prominent, he utilized them to refine pre-training datasets by correcting inconsistent human reference comments in Enhancing Code Intelligence Tasks with ChatGPT.

In 2024, Mao’s trajectory expanded to encompass project-level software reasoning and multimodal machine learning. To overcome the context-window limitations of LLMs in debugging, he proposed a multi-agent system in AgentFL: Scaling LLM-based Fault Localization to Project-Level Context, simulating human debugging behavior across entire software repositories. He also advanced code retrieval through data fusion techniques in Fusing Code Searchers, presenting the Dancer framework to handle diversified queries and code snippets.

Concurrently, his research branched into multimodal entity linking and sentiment analysis. He introduced frameworks to resolve semantic inconsistencies and redundant image information, such as DWE+: Dual-Way Matching Enhanced Framework for Multimodal Entity Linking, which employs hierarchical contrastive learning, and DIM: Dynamic Integration of Multimodal Entity Linking with Large Language Model, which dynamically enhances entity representations using models like BLIP-2 and ChatGPT. Furthering this multimodal agenda, he developed PTA: Enhancing Multimodal Sentiment Analysis through Pipelined Prediction and Translation-based Alignment, decoupling aspect extraction from sentiment classification to achieve highly effective integration of text and image data.

Current Directions

Recent work investigates the intersection of large language models, complex software engineering tasks, and multimodal reasoning. The most recent papers in the evidence address the challenge of scaling LLM-based fault localization to project-level contexts, moving beyond method- or class-level debugging by employing multi-agent systems that simulate human reasoning over large codebases. Additionally, Mao is actively exploring multimodal entity linking and aspect-based sentiment analysis. This line of research focuses on developing frameworks that leverage hierarchical contrastive learning, dynamic LLM integration, and translation-based alignment to better synthesize textual and visual information, addressing core challenges of semantic inconsistency and data redundancy in multimodal datasets.

Profile updated

See something wrong? Report a mistake