Yanhui Li
· 1 previous affiliation
- Nanjing UniversitySince 2023
- Assistant Professor · Since 2023
Research Overview
Yanhui Li focuses on intelligent software testing, empirical software engineering, and the reliability of artificial intelligence systems. His work spans the automated repair of test scripts, fault diagnosis for deep learning programs, and the evaluation of natural language processing software. Recently, his research investigates data selection and model self-perception techniques for the efficient fine-tuning of large language models.
Research Trajectory
Yanhui Li’s research trajectory bridges traditional empirical software engineering and the emerging challenges of testing and maintaining artificial intelligence systems. His early work in the provided evidence addresses the reliability of conventional software and development practices. In 2023, he developed techniques for the automated maintenance of web applications, introducing Semantic Test Repair for Web Applications to fix broken test scripts by leveraging semantic information rather than relying solely on visual or structural attributes, addressing the high cost of manual repair caused by fragile web element locators. Concurrently, he participated in several empirical studies examining software quality and maintainability. This included an analysis of dependency smells—such as missing or bloated dependencies—in Python ecosystems in Towards Better Dependency Management: A First Look at Dependency Smells in Python Projects, an investigation into the impact of syntactic ellipsis on code comment comprehension in Towards the Analysis and Completion of Syntactic Structure Ellipsis for Inline Comments, and an exploration of label quality in multi-version project defect prediction models in Inconsistent Defect Labels: Essence, Causes, and Influence.
As his focus expanded to the intersection of software engineering and machine learning, Li began addressing the unique testing requirements of AI models. He investigated the functional correctness of natural language processing systems, proposing a back-deduction method to test word sense disambiguation in machine translation in Back Deduction Based Testing for Word Sense Disambiguation Ability of Machine Translation Systems, noting that commercial systems often fail to identify the proper sense of polysemes. He also explored the complex trade-offs inherent in machine learning pipelines, using causality analysis to help developers navigate conflicting fairness and performance metrics in Causality-Aided Trade-Off Analysis for Machine Learning Fairness.
In 2024, Li continued to advance both empirical software engineering and AI testing. On the software engineering front, he contributed to research on the dynamics of software maintenance, analyzing how developers resolve blocking bugs that prevent other issues from being fixed in Why and how bug blocking relations are breakable: An empirical study on breakable blocking bugs. He also evaluated the effectiveness of type inference tools for dynamic languages in Generating Python Type Annotations from Type Inference: How Far Are We?. In the domain of AI reliability, he expanded his work on machine translation by introducing metamorphic testing techniques for terminology translation in Evaluating Terminology Translation in Machine Translation Systems via Metamorphic Testing, overcoming the limitations of metrics that rely strictly on reference translations. He also applied knowledge graphs to verify the logical consistency of question-answering software in Knowledge Graph Driven Inference Testing for Question Answering Software, demonstrating that violations of inference relations between answers indicate underlying bugs. To address faults within the models themselves, he proposed a learning-based framework utilizing 80 novel coverage metrics to diagnose errors in deep learning programs in Coverage-enhanced fault diagnosis for Deep Learning programs: A learning-based approach with hybrid metrics.
Most recently, Li's research has shifted toward the optimization and fine-tuning of large language models. In 2026, he co-authored CPQS-Tuning: A Model Self-Perception-Based Data Filtering Algorithm for Efficient Instruction Fine-Tuning, which introduces a method for identifying high-quality training samples by training a small classifier on a target model's internal hidden states. This approach allows models trained on less than 10% of a dataset to outperform those trained on the full collection. This work contributes to several broader research areas, including the direction of The Internal Geometry of Truth in Language Models and the area of Intrinsic Signal Data Selection for Model Evolution. By demonstrating the efficacy of targeted data filtering, this research also advances the fields of Strategic Data Pruning for High Performance Models, Data Selection Tailored to Model Architecture, and the broader area of High-Protein Data Pruning for Efficient Model Alignment.
Current Directions
Recent work investigates the efficiency and alignment of large language models, with a particular emphasis on data selection and pruning strategies. The most recent papers in the evidence address how models can self-perceive the utility of training data through their internal hidden states, allowing for highly efficient instruction fine-tuning. This focus on strategic data filtering aims to reduce the computational overhead of model training while maintaining or improving performance, reflecting a broader interest in the internal mechanisms of language models and the optimization of their evolutionary processes.
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