Yuanyi Lin
Research Subjects
Research Interests
Yuanyi Lin has a total of 17 co-authors. Here are the top co-authors by number of shared publications:
- Jiali Zhao
Huawei, Hangzhou, China
2 shared publications - Minxue Pan
Nanjing University, Nanjing, China
2 shared publications - Shaohua Wang
Central University of Finance and Economics, Beijing, China
2 shared publications - Tian Zhang
Nanjing University, Nanjing, China
2 shared publications - Tongtong Xu
Nanjing University, Nanjing, China
2 shared publications - Xuandong Li
Nanjing University, Nanjing, China
2 shared publications
Latest Publications
- Open Access
- 17 June 2026
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Software Engineering and Methodology
- Vol. 35 (7) , 1-24
A Study of Floating-Point Precision Tuning in Deep Learning Operators Implementations
Deep Learning (DL) has already played a significant role in numerous fields, making it crucial to ensure the stability of both training and inference in DL systems. The computation of DL models can be viewed as the execution of a series of DL operators, which are essential components that perform the core numerical computations. Therefore, the numerical stability of these operators is critical for the overall quality of these systems. Operators with numerical instabilities can cause degraded model performance or even numerical exceptions that disrupt the training process. A common practice to improve numerical stability is increasing the precision of specific floating-point computations. However, determining the appropriate data type for internal computations, referred to as precision tuning, remains a significant challenge. This article presents the first systematic study on precision tuning in the implementation of DL operators. We introduce OpScanner , capable of extracting precision casting operations critical to numerical stability of operators within existing DL frameworks. Using the captured operations, we conduct a comprehensive categorization and comparative analysis between two popular DL frameworks. Our findings can help developers understand precision tuning in operators and implement new operators. Based on the results of our comparative analysis, we conduct precision testing experiments on a set of operators from both frameworks to examine the impact of precision tuning. The test results show that tested TensorFlow operators produce significantly more floating-point errors compared to their PyTorch counterparts due to a lack of precision tuning. One of the most inaccurate operators has been confirmed to have numerical issues by the TensorFlow community. Additionally, our study examines the effect of precision tuning on weight updates during training. We found that larger errors, resulting from a lack of tuning, lead to greater weight deviations during training.
- 17 June 2026
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Software Engineering and Methodology
- Vol. 35 (7) , 1-24
Open AccessA Study of Floating-Point Precision Tuning in Deep Learning Operators Implementations
Deep Learning (DL) has already played a significant role in numerous fields, making it crucial to ensure the stability of both training and inference in DL systems. The computation of DL models can be viewed as the execution of a series of DL operators, which are essential components that perform the core numerical computations. Therefore, the numerical stability of these operators is critical for the overall quality of these systems. Operators with numerical instabilities can cause degraded model performance or even numerical exceptions that disrupt the training process. A common practice to improve numerical stability is increasing the precision of specific floating-point computations. However, determining the appropriate data type for internal computations, referred to as precision tuning, remains a significant challenge. This article presents the first systematic study on precision tuning in the implementation of DL operators. We introduce OpScanner , capable of extracting precision casting operations critical to numerical stability of operators within existing DL frameworks. Using the captured operations, we conduct a comprehensive categorization and comparative analysis between two popular DL frameworks. Our findings can help developers understand precision tuning in operators and implement new operators. Based on the results of our comparative analysis, we conduct precision testing experiments on a set of operators from both frameworks to examine the impact of precision tuning. The test results show that tested TensorFlow operators produce significantly more floating-point errors compared to their PyTorch counterparts due to a lack of precision tuning. One of the most inaccurate operators has been confirmed to have numerical issues by the TensorFlow community. Additionally, our study examines the effect of precision tuning on weight updates during training. We found that larger errors, resulting from a lack of tuning, lead to greater weight deviations during training.
- Open Access
- 12 April 2026
- Published by Association for Computing Machinery (ACM)
- p. 567-579
Filtering before Tuning: Robust Fine-Tuning of Large Code Models under Noisy Labels
Fine-tuning plays a crucial role in adapting large code models (LCMs) to specific software engineering tasks. However, fine-tuning LCMs requires perfectly labeled datasets, which are rarely available in practice. Noisy labels in the training data can significantly impair the generalization ability and overall performance of fine-tuned LCMs. Previous work has primarily focused on the problem of noisy labels in training models from scratch, while this problem remains largely unexplored in the context of fine-tuning LCMs. To fill this gap, this paper proposes RobustFT, the first approach for fine-tuning LCMs in the presence of noisy labels. The core of RobustFT is to distinguish noisy labels from clean ones based on training dynamics observed during the fine-tuning process. Our insight is that, during fine-tuning, the trajectories of mislabeled samples in the latent feature space are significantly longer than those of clean samples. After filtering out noisy labels, RobustFT restarts the fine-tuning process using only the selected clean samples, thus producing a more effective LCM. We evaluate RobustFT on 36 diverse subjects, covering multiple LCMs, code datasets, and varying types and ratios of noisy labels. The results show that RobustFT outperforms five baselines in both identifying noisy labels and enhancing the fine-tuning effectiveness of LCMs.
- 12 April 2026
- Published by Association for Computing Machinery (ACM)
- p. 567-579
Open AccessFiltering before Tuning: Robust Fine-Tuning of Large Code Models under Noisy Labels
Fine-tuning plays a crucial role in adapting large code models (LCMs) to specific software engineering tasks. However, fine-tuning LCMs requires perfectly labeled datasets, which are rarely available in practice. Noisy labels in the training data can significantly impair the generalization ability and overall performance of fine-tuned LCMs. Previous work has primarily focused on the problem of noisy labels in training models from scratch, while this problem remains largely unexplored in the context of fine-tuning LCMs. To fill this gap, this paper proposes RobustFT, the first approach for fine-tuning LCMs in the presence of noisy labels. The core of RobustFT is to distinguish noisy labels from clean ones based on training dynamics observed during the fine-tuning process. Our insight is that, during fine-tuning, the trajectories of mislabeled samples in the latent feature space are significantly longer than those of clean samples. After filtering out noisy labels, RobustFT restarts the fine-tuning process using only the selected clean samples, thus producing a more effective LCM. We evaluate RobustFT on 36 diverse subjects, covering multiple LCMs, code datasets, and varying types and ratios of noisy labels. The results show that RobustFT outperforms five baselines in both identifying noisy labels and enhancing the fine-tuning effectiveness of LCMs.
- Open Access
- 10 April 2026
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Programming Languages
- Vol. 10 (OOPSLA1) , 1599-1626
LLM-Powered Silent Bug Fuzzing in Deep Learning Libraries via Versatile and Controlled Bug Transfer
Deep learning (DL) libraries are widely used in critical applications, where even subtle silent bugs can lead to serious consequences. While existing DL fuzzing techniques have made progress in detecting crashes, they inherently struggle to detect silent bugs due to the lack of effective test programs and corresponding oracles. Building on the observation that historical bug reports contain rich, underutilized information about silent bugs, we leverage large language models (LLMs) to perform versatile yet controlled bug transfer for silent bug fuzzing. Specifically, our approach uses LLMs to extract context-aware bug patterns from historical issues, match semantically related Application Programming Interfaces (APIs) using functionality-based embeddings, and synthesize test cases with customized oracles. This enables proactive detection of silent bugs by transferring high-risk contexts and oracle designs from known buggy APIs to functionally similar target APIs. To ensure the reliability of our context-aware bug transfer, we introduce an LLM-powered self-validation module that systematically evaluates the validity of each transferred bug instance. We implement this methodology in a tool named TransFuzz and evaluate it on three mainstream DL libraries: PyTorch, TensorFlow, and MindSpore. TransFuzz successfully discovers 79 previously unknown bugs (12 confirmed as Common Vulnerabilities and Exposures (CVEs)) in 10 bug types, demonstrating its effectiveness and generalizability in migrating DL library bug discovery capabilities.
- 10 April 2026
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Programming Languages
- Vol. 10 (OOPSLA1) , 1599-1626
Open AccessLLM-Powered Silent Bug Fuzzing in Deep Learning Libraries via Versatile and Controlled Bug Transfer
Deep learning (DL) libraries are widely used in critical applications, where even subtle silent bugs can lead to serious consequences. While existing DL fuzzing techniques have made progress in detecting crashes, they inherently struggle to detect silent bugs due to the lack of effective test programs and corresponding oracles. Building on the observation that historical bug reports contain rich, underutilized information about silent bugs, we leverage large language models (LLMs) to perform versatile yet controlled bug transfer for silent bug fuzzing. Specifically, our approach uses LLMs to extract context-aware bug patterns from historical issues, match semantically related Application Programming Interfaces (APIs) using functionality-based embeddings, and synthesize test cases with customized oracles. This enables proactive detection of silent bugs by transferring high-risk contexts and oracle designs from known buggy APIs to functionally similar target APIs. To ensure the reliability of our context-aware bug transfer, we introduce an LLM-powered self-validation module that systematically evaluates the validity of each transferred bug instance. We implement this methodology in a tool named TransFuzz and evaluate it on three mainstream DL libraries: PyTorch, TensorFlow, and MindSpore. TransFuzz successfully discovers 79 previously unknown bugs (12 confirmed as Common Vulnerabilities and Exposures (CVEs)) in 10 bug types, demonstrating its effectiveness and generalizability in migrating DL library bug discovery capabilities.