Yan Cai
· 2 previous affiliations
- Institute of SoftwareSince 2014
- Full Professor · Since 2018
- Associate Professor · 2014–2018
- City University of Hong Kong2010–2014
- PhD student · 2010–2014
2 other authors named Yan Cai: Yan Cai (Peking University · 1 paper), Yan Cai (1 paper)
Research Overview
Yan Cai focuses on software verification, concurrency bug prediction, and the intersection of machine learning with program analysis. His work spans from foundational techniques for detecting data races in multithreaded systems to the development of robust testing frameworks for autonomous driving and combinatorial problems. Recently, his research investigates how large language models comprehend and reason about complex concurrent code.
Research Trajectory
Yan Cai's early research established a strong foundation in software testing and the analysis of concurrent systems. In 2023, he contributed to several distinct areas of software reliability, with a particular emphasis on the challenges of multithreaded execution. He addressed the limitations of dynamic analysis in Tolerate Control-Flow Changes for Sound Data Race Prediction, focusing on improving the soundness of data race detection by accounting for alternative execution paths. Concurrently, he explored domain-specific software validation by extracting actionable insights from real-world data in Building Critical Testing Scenarios for Autonomous Driving from Real Accidents. His work also extended to language-level performance optimizations, as seen in Discovering Parallelisms in Python Programs, which sought to identify and leverage concurrent execution opportunities within Python codebases.
Building on his expertise in concurrency, his research continued to refine bug prediction methodologies in 2024. In Reorder Pointer Flow in Sound Concurrency Bug Prediction, he investigated pointer flow dynamics and thread interleavings to further enhance the accuracy of concurrency bug detection. During this period, his focus broadened to include the reliability of machine learning models applied to complex algorithmic tasks. He directed research on the MAGG (Metamorphic Aggregation) framework, detailed in Extending Test-Time Augmentation with Metamorphic Relations for Combinatorial Problems. This work adapted test-time augmentation for combinatorial problems—such as SAT solving and the Traveling Salesman Problem—by utilizing metamorphic relations to aggregate predictions via Graph Neural Networks. By defining mathematical rules for how a problem's output should change when its input is transformed, this framework boosted the accuracy of pretrained models without requiring retraining. This contribution advanced the research direction Oracle-Free Error Detection via Relational Invariants and intersected with the broader area of Logical Constraints for Neurosymbolic Reasoning.
In 2025, he maintained his dual focus on software verification and machine learning robustness. He advanced his long-standing work on multithreaded software analysis with Reduce Dependence for Sound Concurrency Bug Prediction, which aimed to minimize false dependencies that often complicate sound bug detection. Simultaneously, he led efforts to improve the calibration of deep neural networks. In Training Deep Neural Networks with Virtual Smoothing Classes, his team introduced Virtual Smoothing (VS) labels to combat model overconfidence. Unlike traditional label smoothing, this approach preserves essential information about class similarities within the model's internal representations, thereby enhancing predictive accuracy, adversarial robustness, and out-of-distribution detection.
Most recently, his trajectory has synthesized his expertise in concurrency with the rapid advancements in large language models. Recognizing that reasoning about shared memory and multiple threads remains a profound challenge for both humans and AI, he guided the development of a novel evaluation framework in DRPBench: Evaluating LLMs in Concurrent Code Comprehension via Fine-Grained Data Race Prediction. Published in 2026, this benchmark rigorously measures the capacity of LLMs to comprehend concurrent code, shifting the focus from sequential code generation to the complexities of multithreaded environments. This research contributes to several complex domains, including the area of Controlling Thread Interleavings to Reproduce Concurrency Bugs and the research direction Modeling Long Range Dependencies in Source Code. Furthermore, it provides critical insights for work in the area of Neurosymbolic Verification for Large Language Model Reasoning and the domain of Verifying Concurrent Software Under Relaxed Memory Models.
Current Directions
The most recent papers in the evidence indicate a strong focus on the intersection of artificial intelligence and complex software verification. A primary current direction involves evaluating and enhancing the capacity of large language models to reason about concurrent programming. Because multithreaded execution and shared memory access present unique challenges that sequential code does not, this work seeks to establish rigorous benchmarks for AI-driven code comprehension and data race prediction.
Additionally, ongoing research addresses the fundamental reliability of machine learning systems themselves. This includes exploring novel regularization techniques to improve model calibration, mitigate overconfidence, and ensure robust performance in adversarial or out-of-distribution scenarios. By bridging traditional program analysis with modern neural architectures, this research agenda aims to build more reliable software systems and more trustworthy machine learning models.
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