Yuanliang Zhang
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Previous Organizations / Institutes
The organizations / institutes from the scholar's other articles in the past ten years
Research Subjects
Yuanliang Zhang has a total of 36 co-authors. Here are the top co-authors by number of shared publications:
- Shanshan Li
National university of defense technology, Changsha, China
6 shared publications - Zhouyang Jia
National university of defense technology, Changsha, China
5 shared publications - Zhijie Jiang
National University of Defense Technology
4 shared publications - Haifang Zhou
National university of defense technology, Changsha, China
3 shared publications - Haoran Liu
National university of defense technology, Changsha, China
3 shared publications - Si Zheng
National university of defense technology, Changsha, China
3 shared publications
Latest Publications
- Open Access
- 7 October 2026
- Published by Association for Computing Machinery (ACM)
- p. 2383-2395
CTForge: Automatically Generating Test Suites for Software Configuration
Software configuration plays a critical role in modern software systems, yet it also frequently leads to severe failures. Existing approaches, whether static analysis or LLM-based validation, struggle to capture implicit semantic constraints and validate configuration-code interactions. Leveraging existing unit tests is also insufficient due to their lack of configuration-specific focus. Thus, we present CTForge, an LLM-powered framework that automatically generates configuration-specific test suites. Its core innovation is a three-stage configuration-aware optimization pipeline that moves beyond vanilla test generation, specifically using parameter semantics to improve LLM outputs. This optimization pipeline iteratively aligns tests through: (1)enhance configuration-related code coverage to ensure relevance, (2) assertion validation across valid parameter values to eliminate false assertions, and (3) configuration-sensitivity verification to select tests that semantically exercise the intended configuration behavior. Evaluated on five large-scale systems, CTForge detects 63 out of 79 real-world configuration issues and achieves an F1-score of 0.88 in misconfiguration detection. CTForge also uncovers six previously unknown defects. Our work demonstrates that structured configuration-aware refinement is essential for LLM to produce effective test suites.
- 7 October 2026
- Published by Association for Computing Machinery (ACM)
- p. 2383-2395
Open AccessCTForge: Automatically Generating Test Suites for Software Configuration
Software configuration plays a critical role in modern software systems, yet it also frequently leads to severe failures. Existing approaches, whether static analysis or LLM-based validation, struggle to capture implicit semantic constraints and validate configuration-code interactions. Leveraging existing unit tests is also insufficient due to their lack of configuration-specific focus. Thus, we present CTForge, an LLM-powered framework that automatically generates configuration-specific test suites. Its core innovation is a three-stage configuration-aware optimization pipeline that moves beyond vanilla test generation, specifically using parameter semantics to improve LLM outputs. This optimization pipeline iteratively aligns tests through: (1)enhance configuration-related code coverage to ensure relevance, (2) assertion validation across valid parameter values to eliminate false assertions, and (3) configuration-sensitivity verification to select tests that semantically exercise the intended configuration behavior. Evaluated on five large-scale systems, CTForge detects 63 out of 79 real-world configuration issues and achieves an F1-score of 0.88 in misconfiguration detection. CTForge also uncovers six previously unknown defects. Our work demonstrates that structured configuration-aware refinement is essential for LLM to produce effective test suites.
- Open Access
- 13 June 2026
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Design Automation of Electronic Systems
- Vol. 31 (6) , 1-23
LatVision: Attention-Driven Dual-Layer Prediction Model for Persisting Tail Latency in SSDs and HDDs
Persisting tail latency in storage systems poses critical challenges to cloud computing and real-time applications. While existing software solutions predominantly target transient latency spikes through single-operation prediction, their effectiveness diminishes significantly when confronting persisting performance degradation in modern SSDs. We present LatVision , an operating system (OS) kernel-level monitoring framework that integrates dual-layer prediction and attention mechanisms for cross-storage latency analysis. Leveraging eBPF to capture I/O performance metrics at the OS kernel level, LatVision implements a dual-layer detection pipeline: a lightweight classifier initially filters normal operations, while suspicious data failing the Layer-1 screening are routed to Layer-2 prediction model for double check. This hierarchical architecture reduces average computational overhead by 75.3% compared with monolithic prediction models. An attention-enhanced neural network further improves persisting tail latency prediction precision by prioritizing critical temporal patterns. Experimental evaluations across six SSD and HDD configurations demonstrate LatVision’s generalization capability, achieving prediction accuracy exceeding 90% across all test cases. Heuristic algorithm integration with the prediction results enhances operational stability under diverse workload conditions. The framework achieves real-time, lightweight, and high-precision persisting tail latency prediction for low-latency SSDs while maintaining minor latency overhead.
- 13 June 2026
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Design Automation of Electronic Systems
- Vol. 31 (6) , 1-23
Open AccessLatVision: Attention-Driven Dual-Layer Prediction Model for Persisting Tail Latency in SSDs and HDDs
Persisting tail latency in storage systems poses critical challenges to cloud computing and real-time applications. While existing software solutions predominantly target transient latency spikes through single-operation prediction, their effectiveness diminishes significantly when confronting persisting performance degradation in modern SSDs. We present LatVision , an operating system (OS) kernel-level monitoring framework that integrates dual-layer prediction and attention mechanisms for cross-storage latency analysis. Leveraging eBPF to capture I/O performance metrics at the OS kernel level, LatVision implements a dual-layer detection pipeline: a lightweight classifier initially filters normal operations, while suspicious data failing the Layer-1 screening are routed to Layer-2 prediction model for double check. This hierarchical architecture reduces average computational overhead by 75.3% compared with monolithic prediction models. An attention-enhanced neural network further improves persisting tail latency prediction precision by prioritizing critical temporal patterns. Experimental evaluations across six SSD and HDD configurations demonstrate LatVision’s generalization capability, achieving prediction accuracy exceeding 90% across all test cases. Heuristic algorithm integration with the prediction results enhances operational stability under diverse workload conditions. The framework achieves real-time, lightweight, and high-precision persisting tail latency prediction for low-latency SSDs while maintaining minor latency overhead.
- Open Access
- 23 June 2025
- Published by Association for Computing Machinery (ACM)
- p. 1238-1239
Enhancing Deep Learning Transpilation with LLMs: Automation and Semantic Consistency
- 23 June 2025
- Published by Association for Computing Machinery (ACM)
- p. 1238-1239
Open AccessEnhancing Deep Learning Transpilation with LLMs: Automation and Semantic Consistency
- Open Access
- 20 June 2025
- Published by Association for Computing Machinery (ACM)
- p. 437-448
MetaCoder: Generating Code from Multiple Perspectives
- 20 June 2025
- Published by Association for Computing Machinery (ACM)
- p. 437-448
Open AccessMetaCoder: Generating Code from Multiple Perspectives
- Open Access
- 19 June 2025
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Software Engineering
- Vol. 2 (FSE) , 2571-2593
Error Delayed Is Not Error Handled: Understanding and Fixing Propagated Error-Handling Bugs
Error handling is critical for software reliability. In software systems, error handling may be delayed to other functions. Such propagated error handling (PEH) could easily be missed and lead to bugs. Our research reveals that PEH bugs are prevalent in software systems and, on average, take 44.1 days to fully address. Existing approaches have primarily focused on the error-handling bug within individual functions, which makes it difficult to fully address PEH bugs. In this paper, we conducted the first in-depth study on PEH bugs in 11 mature software systems, examining how errors propagate and how they should be handled. We introduce EH-Fixer, an LLM-based tool for automated program repair specifically designed to address PEH bugs. For each PEH bug, EH-Fixer constructs its propagation path, and repairs them through retrieval-augmented generation. To assess the performance of our approach, we collected 89 historical PEH bugs from the Linux Kernel as well as 9 widely used applications. The experimental results show that EH-Fixer can fix 83.1% (74/89) of PEH bugs.
- 19 June 2025
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Software Engineering
- Vol. 2 (FSE) , 2571-2593
Open AccessError Delayed Is Not Error Handled: Understanding and Fixing Propagated Error-Handling Bugs
Error handling is critical for software reliability. In software systems, error handling may be delayed to other functions. Such propagated error handling (PEH) could easily be missed and lead to bugs. Our research reveals that PEH bugs are prevalent in software systems and, on average, take 44.1 days to fully address. Existing approaches have primarily focused on the error-handling bug within individual functions, which makes it difficult to fully address PEH bugs. In this paper, we conducted the first in-depth study on PEH bugs in 11 mature software systems, examining how errors propagate and how they should be handled. We introduce EH-Fixer, an LLM-based tool for automated program repair specifically designed to address PEH bugs. For each PEH bug, EH-Fixer constructs its propagation path, and repairs them through retrieval-augmented generation. To assess the performance of our approach, we collected 89 historical PEH bugs from the Linux Kernel as well as 9 widely used applications. The experimental results show that EH-Fixer can fix 83.1% (74/89) of PEH bugs.
- Open Access
- 19 June 2025
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Software Engineering
- Vol. 2 (FSE) , 2030-2052
Bridging Operator Semantic Inconsistencies: A Source-Level Cross-Framework Model Conversion Approach
As deep learning (DL) frameworks become widely used, converting models between frameworks is crucial for ecosystem flexibility. However, interestingly, existing model converters commonly focus on syntactic operator API mapping—transpiling operator names and parameters—which results in API compatibility issues (i.e., incompatible parameters, missing operators). These issues arise from semantic inconsistencies due to differences in operator implementation, causing conversion failure or performance degradation. In this paper, we present the first comprehensive study on operator semantic inconsistencies through API mapping analysis and framework source code inspection, revealing that 47% of sampled operators exhibit inconsistencies across DL frameworks, with source code limited to individual layers and no inter-layer interactions. This suggests that layer-wise source code alignment is feasible. Based on this, we propose ModelX, a source-level cross-framework conversion approach that extends operator API mapping by addressing semantic inconsistencies beyond the API level. Experiments on PyTorch-to-Paddle conversion show that ModelX successfully converts 624 out of 686 sampled operators and outperforms two state-of-the-art converters and three popular large language models. Moreover, ModelX achieves minimal metric gaps (avg. all under 3.4%) across 52 models from vision, text, and audio tasks, indicating strong robustness.
- 19 June 2025
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Software Engineering
- Vol. 2 (FSE) , 2030-2052
Open AccessBridging Operator Semantic Inconsistencies: A Source-Level Cross-Framework Model Conversion Approach
As deep learning (DL) frameworks become widely used, converting models between frameworks is crucial for ecosystem flexibility. However, interestingly, existing model converters commonly focus on syntactic operator API mapping—transpiling operator names and parameters—which results in API compatibility issues (i.e., incompatible parameters, missing operators). These issues arise from semantic inconsistencies due to differences in operator implementation, causing conversion failure or performance degradation. In this paper, we present the first comprehensive study on operator semantic inconsistencies through API mapping analysis and framework source code inspection, revealing that 47% of sampled operators exhibit inconsistencies across DL frameworks, with source code limited to individual layers and no inter-layer interactions. This suggests that layer-wise source code alignment is feasible. Based on this, we propose ModelX, a source-level cross-framework conversion approach that extends operator API mapping by addressing semantic inconsistencies beyond the API level. Experiments on PyTorch-to-Paddle conversion show that ModelX successfully converts 624 out of 686 sampled operators and outperforms two state-of-the-art converters and three popular large language models. Moreover, ModelX achieves minimal metric gaps (avg. all under 3.4%) across 52 models from vision, text, and audio tasks, indicating strong robustness.
- Open Access
- 24 July 2024
- Published by Association for Computing Machinery (ACM)
- p. 135-144
Accelerating Static Null Pointer Dereference Detection with Parallel Computing
High-precision static analysis can effectively detect Null Pointer Dereference (NPD) vulnerabilities in C language, but the performance overhead is significant. In recent years, researchers have attempted to enhance the efficiency of static analysis by leveraging multicore resources. However, due to complex dependencies in the analysis process, the parallelization of static value-flow NPD analysis for large-scale software still faces significant challenges. It is difficult to achieve a good balance between detection efficiency and accuracy, which impacts its application.This paper presents PANDA, the first parallel detector for high-precision static value-flow NPD analyzer in the C language. The core idea of PANDA is to utilize dependency analysis to ensure high precision while decoupling the strong dependencies between static value-flow analysis steps. This transforms the traditionally challenging-to-parallelize NPD analysis into two parallelizable algorithms: function summarization and combined query-based vulnerability analysis. PANDA introduces a task-level parallel framework and enhances it with a dynamic scheduling method to parallel schedule the above two key steps, significantly improving the performance and scalability of memory vulnerability detection.Fully implemented within the LLVM framework (version 15.0.7), PANDA demonstrates a significant advantage in balancing accuracy and efficiency compared to current popular open-source detection tools. In precision-targeted benchmark tests, PANDA maintains a false positive rate within 3.17% and a false negative rate within 5.16%; in historical CVE detection rate tests, its recall rate far exceeds that of comparative open-source tools. In performance evaluations, compared to its serial version, PANDA achieves up to an 11.23-fold speedup on a 16-node server, exhibiting outstanding scalability.
- 24 July 2024
- Published by Association for Computing Machinery (ACM)
- p. 135-144
Open AccessAccelerating Static Null Pointer Dereference Detection with Parallel Computing
High-precision static analysis can effectively detect Null Pointer Dereference (NPD) vulnerabilities in C language, but the performance overhead is significant. In recent years, researchers have attempted to enhance the efficiency of static analysis by leveraging multicore resources. However, due to complex dependencies in the analysis process, the parallelization of static value-flow NPD analysis for large-scale software still faces significant challenges. It is difficult to achieve a good balance between detection efficiency and accuracy, which impacts its application.This paper presents PANDA, the first parallel detector for high-precision static value-flow NPD analyzer in the C language. The core idea of PANDA is to utilize dependency analysis to ensure high precision while decoupling the strong dependencies between static value-flow analysis steps. This transforms the traditionally challenging-to-parallelize NPD analysis into two parallelizable algorithms: function summarization and combined query-based vulnerability analysis. PANDA introduces a task-level parallel framework and enhances it with a dynamic scheduling method to parallel schedule the above two key steps, significantly improving the performance and scalability of memory vulnerability detection.Fully implemented within the LLVM framework (version 15.0.7), PANDA demonstrates a significant advantage in balancing accuracy and efficiency compared to current popular open-source detection tools. In precision-targeted benchmark tests, PANDA maintains a false positive rate within 3.17% and a false negative rate within 5.16%; in historical CVE detection rate tests, its recall rate far exceeds that of comparative open-source tools. In performance evaluations, compared to its serial version, PANDA achieves up to an 11.23-fold speedup on a 16-node server, exhibiting outstanding scalability.
- Open Access
- 4 August 2023
- Published by Association for Computing Machinery (ACM)
- p. 22-32
Towards Better Multilingual Code Search through Cross-Lingual Contrastive Learning
- 4 August 2023
- Published by Association for Computing Machinery (ACM)
- p. 22-32
Open AccessTowards Better Multilingual Code Search through Cross-Lingual Contrastive Learning
- Open Access
- 16 May 2022
- Published by Association for Computing Machinery (ACM)
- Vol. 19, 543-547
Clone-based code method usage pattern mining
When programmers retrieve a code method and want to reuse it, they need to understand the usage patterns of the retrieved method. However, it is difficult to obtain usage information of the retrieved method since this method may only have a brief comment and few available usage examples. In this paper, we propose an approach, called LUPIN (cLone-based Usage Pattern mIniNg), to mine the usage patterns of these methods, which do not widely appeared in the code repository. The key idea of LUPIN is that the cloned code of the target method may have a similar usage pattern, and we can collect more usage information of the target method from cloned code usage examples. From the amplified usage examples, we mine the usage pattern of the target method by frequent subsequence mining after program slicing and code normalization. Our evaluation shows that LUPIN can mine four categories of usage patterns with an average precision of 0.65.
- 16 May 2022
- Published by Association for Computing Machinery (ACM)
- Vol. 19, 543-547
Open AccessClone-based code method usage pattern mining
When programmers retrieve a code method and want to reuse it, they need to understand the usage patterns of the retrieved method. However, it is difficult to obtain usage information of the retrieved method since this method may only have a brief comment and few available usage examples. In this paper, we propose an approach, called LUPIN (cLone-based Usage Pattern mIniNg), to mine the usage patterns of these methods, which do not widely appeared in the code repository. The key idea of LUPIN is that the cloned code of the target method may have a similar usage pattern, and we can collect more usage information of the target method from cloned code usage examples. From the amplified usage examples, we mine the usage pattern of the target method by frequent subsequence mining after program slicing and code normalization. Our evaluation shows that LUPIN can mine four categories of usage patterns with an average precision of 0.65.
- Open Access
- 28 June 2019
- Published by Springer Nature in Data Science and Engineering
- Vol. 4 (2) , 93-108
Distributed Similarity Queries in Metric Spaces
- 28 June 2019
- Published by Springer Nature in Data Science and Engineering
- Vol. 4 (2) , 93-108
Open AccessDistributed Similarity Queries in Metric Spaces