Hailong Sun

Hailong Sun

Beihang University
1 previous affiliation
239Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Hailong Sun focuses on intelligent software engineering, artificial intelligence, and distributed systems. His research trajectory spans from early grid computing architectures to robust machine learning with noisy data, and increasingly centers on applying large language models to software analysis. Currently, his work addresses automated vulnerability detection, test generation, and the rigorous evaluation of AI-generated code.

Research Trajectory

His early research addressed foundational challenges in distributed systems and grid computing. In 2004, he introduced A New Architecture for OGSA-based Grid Information Service, proposing the FOSIS architecture—a forest-structured information service designed to manage resource discovery and monitoring in grid environments.

In subsequent years, his focus expanded into artificial intelligence, with a particular emphasis on the robustness of machine learning models trained on imperfect data. He contributed significantly to the research direction of Learning from Noisy Crowdsourced Annotations. With collaborators, he developed Structured Probabilistic End-to-End Learning from Crowds, a method that integrates probabilistic graphical models with deep learning to explicitly account for instance difficulty and annotator reliability during training. This work naturally extended into the broader area of Learning with Instance Dependent Label Noise. He further addressed these challenges in Correct Twice at Once: Learning to Correct Noisy Labels for Robust Deep Learning, which improved label correction mechanisms to prevent models from overfitting to inaccurate annotations. Building on this, he demonstrated how classifiers can better handle noisy crowdsourced data by analyzing instance-specific features in Beyond confusion matrix: learning from multiple annotators with awareness of instance features.

By 2024, his research heavily integrated AI with software engineering, focusing on static analysis, defect detection, and code representation. To address the scalability bottlenecks of graph-based code representations, his group developed Scalable Defect Detection via Traversal on Code Graph. Recognizing the high false positive rates typical of static analysis tools, he explored machine learning techniques to prioritize real warnings in Reducing False Positives of Static Bug Detectors Through Code Representation Learning. This line of inquiry culminated in Code Property Graph Meets Typestate: A Scalable Framework to Behavioral Bug Detection, which introduced the QVoG framework. By consolidating control and data flows into meaningful code blocks, QVoG simplifies code property graphs at the statement level, enabling more efficient behavioral bug detection across large software systems.

Concurrently, he began applying large language models (LLMs) to software security and testing, contributing to the broader area of Language Agnostic Representations for Cross Language Portability. He proposed methods to overcome the context limitations of LLMs in Context-Enhanced Vulnerability Detection Based on Large Language Model. To improve domain adaptation for security tasks, he developed the ENVUL framework in Enhanced Vulnerability Localization: Harmonizing Task-Specific Tuning and General LLM Prompting. His work on automated testing includes LLM-based Unit Test Generation for Dynamically-Typed Programs, which introduced TypeTest, a retrieval-augmented generation system designed to infer parameter types and construct valid test inputs. Beyond code analysis, he applied LLMs to mobile task automation in UICOMPASS: UI Map Guided Mobile Task Automation via Adaptive Action Generation, leveraging static analysis to build structured UI maps that guide model actions.

Most recently, his research addresses the rigorous evaluation of AI systems and emerging software ecosystems. He participated in outlining future challenges and opportunities for mobile platforms in Software Engineering for OpenHarmony: A Research Roadmap. In the domain of distributed machine learning, he explored privacy-preserving evaluation metrics and statistical guarantees in Fed- : A tri-level federated fairness evaluation framework with statistical guarantees and privacy preservation. Finally, to combat the issue of stale benchmarks in AI code generation, he introduced Code2Bench: Scaling Source and Rigor for Dynamic Benchmark Construction, a framework that dynamically sources real-world code and applies property-based testing to rigorously evaluate the true reasoning capabilities of language models.

Continuing into 2026, Sun's work has targeted prompt engineering and model reliability. As senior author, Sun guided the development of HIPO: A Hierarchical Prompt Optimization Framework with Task Awareness and Fine-Grained Debugging, which optimizes prompts through hierarchical task awareness and targeted debugging. Sun also co-authored Attribution Analysis-based Concept Alignment: A Human-in-the-loop Data Debugging Framework, presenting a human-in-the-loop debugging methodology based on attribution analysis. In software testing, Sun contributed to Generalizing Test Cases for Comprehensive Test Scenario Coverage, addressing Autonomous Code Refinement via Execution Feedback Loops by generalizing test cases to broaden scenario coverage.

Current Directions

The most recent papers in the evidence indicate a strong focus on the intersection of large language models and software engineering. Current work investigates how to rigorously evaluate LLM reasoning and code generation capabilities, moving beyond static benchmarks to dynamic, property-based testing frameworks that expose subtle edge cases. Additionally, ongoing research addresses the practical deployment of LLMs for software security and reliability, focusing on hierarchical prompt optimization, data and model debugging, comprehensive test case generalization, and automated unit testing.

Profile updated

See something wrong? Report a mistake