Yun Lin
· 2 previous affiliations
- Shanghai Jiao Tong UniversitySince 2022
- Associate Professor · Since 2022
- Current
- National University of Singapore2021–2022
- Assistant Professor · 2021–2022
2 other authors named Yun Lin: Yun Lin (Harbin Engineering University · 454 papers), Yun Lin (Peking University · 1 paper)
Research Overview
Yun Lin focuses on automatic programming, explainable AI, and web misinformation. His research integrates program analysis, software testing, and deep learning to develop automated solutions for code editing, software debugging, and model interpretability. Currently an Associate Professor at Shanghai Jiao Tong University, Lin leads the CoPhi (Code Philia) research group, where he investigates the intersection of software engineering and artificial intelligence, specifically addressing the reliability of deep learning programs and the detection of large-scale web threats such as phishing.
Research Trajectory
Lin’s early research was rooted in traditional software maintenance and program analysis, with a particular focus on code clones and fault localization. In 2014, he addressed the limitations of existing program differencing techniques, which were typically restricted to pairwise comparisons. In Detecting differences across multiple instances of code clones, he introduced an approach to automatically detect differences across multiple clone instances simultaneously, facilitating more efficient management of industrial-scale codebases. This work established a foundation in structural program analysis that would later inform his work on automated code editing.
By 2018, Lin’s focus shifted toward the challenges of dynamic program analysis and debugging. He identified a critical failure in dynamic slicing—a standard technique for root cause identification—when applied to "omission bugs," where faults arise from missing code rather than incorrect execution. In Break the dead end of dynamic slicing: localizing data and control omission bug, he conducted an empirical study demonstrating the prevalence of these bugs and proposed a method to navigate the "dead ends" they create in the debugging process. This period marked an increasing interest in the causal relationships within program execution, leading to more sophisticated regression analysis. In 2021, he contributed to Explaining Regressions via Alignment Slicing and Mending, which utilized trace-based alignment to provide not only the location of regression bugs but also a causal explanation of how defects propagate through software versions.
Between 2019 and 2020, Lin participated in research applying these program analysis techniques to emerging domains such as blockchain and smart contracts. He contributed to the development of Doublade: Unknown Vulnerability Detection in Smart Contracts Via Abstract Signature Matching and Refined Detection Rules, which sought to reduce false positives in vulnerability detection by mining expressive signatures from existing contracts. Similarly, he was involved in CoinWatch: A Clone-Based Approach For Detecting Vulnerabilities in Cryptocurrencies, which leveraged clone detection to identify the propagation of security threats across cryptocurrency codebases.
Starting in 2022, Lin’s work evolved to address the specific challenges of deep learning (DL) systems, treating model training and execution as a new paradigm of programming that requires specialized debugging tools. He introduced DeepVisualInsight: Time-Travelling Visualization for Spatio-Temporal Causality of Deep Classification Training, a tool designed to visualize how internal representations and decision boundaries evolve during training. This work aimed to provide "spatio-temporal causality" for DL models, allowing researchers to observe how specific data samples reshape a model's logic over time. Concurrently, he addressed the lack of standardized benchmarks for DL software by co-developing gDefects4DL: A Dataset of General Real-World Deep Learning Program Defects, which focuses on bugs whose root causes and fixes are generalizable across different DL projects.
Current Directions
Lin’s current research agenda is characterized by the integration of Large Language Models (LLMs) into software engineering workflows and the refinement of data quality for machine learning. His work in Automated Program Synthesis with Formal Correctness Guarantees explores how generative models can be used to automate complex implementation tasks while maintaining reliability. This is exemplified by recent efforts in GUI test migration and the use of LLMs as "execution estimators" to recover missing dependencies in program traces, a technique intended to enhance Overcoming Undecidability in Automated Program Reasoning by inferring logic in uninstrumented code.
Another significant current focus is the curation of training data to ensure model robustness. In TrainRef: Curating Data with Label Distribution and Minimal Reference for Accurate Prediction and Reliable Confidence, Lin and his collaborators address the problem of training on noisy datasets by using minimal clean reference samples and label distributions. This approach aligns with broader research into Bi-Level Optimization for Meta-Learned Sample Weighting, seeking to mitigate the impact of spurious correlations and incorrect labels on model performance.
Furthermore, Lin continues to expand his work on web misinformation and cybersecurity. His group has developed "Phishpedia," a system for detecting and explaining phishing webpages by recognizing UI components and brand logos. This line of work, published extensively in the USENIX Security series, focuses on monitoring global phishing campaigns and defending against adversarial attacks that attempt to bypass visual recognition systems. These efforts represent a practical application of his expertise in Verified Code Generation via Iterative Symbolic Feedback and automated testing to the domain of web security.
Representative Work
Detecting differences across multiple instances of code clones This early work introduced an Eclipse plugin capable of automatically detecting differences across multiple code fragments. By moving beyond pairwise comparison, the approach allowed developers to manage large sets of clones more effectively, providing a more comprehensive view of code evolution and divergence in industrial Java systems.
Break the dead end of dynamic slicing: localizing data and control omission bug Addressing a significant gap in automated debugging, this paper analyzed omission bugs—faults caused by code that should have executed but did not. Lin proposed a method to overcome the limitations of dynamic slicing, which typically skips the root causes of such bugs, thereby improving the localization of nearly half of the bugs found in common repositories like Defects4J.
Explaining Regressions via Alignment Slicing and Mending This research developed a trace-based approach to regression fault localization. By using the execution trace of a correct version as a reference and aligning it with the faulty version, the technique generates a causality graph that explains how a defect propagates to its eventual manifestation, addressing the lack of interpretability in traditional localization tools.
DeepVisualInsight: Time-Travelling Visualization for Spatio-Temporal Causality of Deep Classification Training Lin introduced a visualization framework to manifest the spatio-temporal causality of deep learning training. The tool enables researchers to observe the evolution of decision boundaries and the influence of gradient descent on the layout of learned representations, providing a "time-travelling" perspective on how models form predictions.
gDefects4DL: A Dataset of General Real-World Deep Learning Program Defects This work contributed a benchmark dataset for deep learning program defects. Unlike previous collections, gDefects4DL focuses on bugs where root causes—such as API usage violations—are generalizable across different projects, providing a standardized foundation for the development of DL-specific detection and repair tools.
TrainRef: Curating Data with Label Distribution and Minimal Reference for Accurate Prediction and Reliable Confidence In this recent work, Lin addresses the challenge of training reliable models on noisy data. The TrainRef framework utilizes a small set of clean reference samples and converts hard labels into distributions to handle class ambiguity and "normality pollution," resulting in improved predictive accuracy and more reliable confidence scores in deep 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