SearcharxivSearch

arXiv subjects

Zheming Jin

Publications and source records attributed to Zheming Jin.

3 recordsLinked to original sources

Kaizen: Metamorphic Fuzzing and Differential Testing for LLM-Translated HPC Applications

Large language models (LLMs) are increasingly used to port scientific codes across heterogeneous high-performance computing (HPC) programming models, such as translating CUDA to OpenMP, OpenACC, Kokkos or SYCL. However, current evaluations use compilation success, token-level similarity, or developer-written tests from static benchmarks, which cannot reliably ensure behavioral correctness. We present Kaizen, a metamorphic fuzzing and differential testing framework for evaluating the correctness of LLM-translated HPC code. Kaizen uses metamorphic fuzzing via source-code mutation to generate semantically equivalent programs, grammar-based input fuzzing to explore behavioral diversity, and differential testing to expose semantic divergences between original and translated applications that compile and pass developer-written tests yet produce incorrect scientific results. We evaluate Kaizen on CUDA-to-OpenMP translation of 16 scientific applications from seven domains using three fine-tuned LLMs at kernel-level and full-program granularity. Our evaluation reveals that (1) compilation success is a poor proxy for correctness; (2) LLM-translated programs exhibit systematic compile-time error patterns, with nine categories for kernel-level translation and 27 for full-program translation; (3) semantic errors that survive compilation are often input-dependent and require differential testing to expose; and (4) full-program translation is substantially harder than kernel-level translation. These findings highlight the need for correctness-oriented evaluation of LLM-assisted HPC code translations.

cs.SE

Leveraging AI for Productive and Trustworthy HPC Software: Challenges and Research Directions

We discuss the challenges and propose research directions for using AI to revolutionize the development of high-performance computing (HPC) software. AI technologies, in particular large language models, have transformed every aspect of software development. For its part, HPC software is recognized as a highly specialized scientific field of its own. We discuss the challenges associated with leveraging state-of-the-art AI technologies to develop such a unique and niche class of software and outline our research directions in the two US Department of Energy--funded projects for advancing HPC Software via AI: Ellora and Durban.

cs.SE

Exploring Damping Effect of Inner Control Loops for Grid-Forming VSCs

This paper presents an analytical approach to explore the damping effect of inner loops on grid-forming converters. First, an impedance model is proposed to characterize the behaviors of inner loops, thereby illustrating their influence on output impedance shaping. Then, based on the impedance representation, the complex torque coefficient method is employed to assess the contribution of inner loops to system damping. The interactions among inner loops, outer loops, and the ac grid are analyzed. It reveals that inner loops shape the electrical damping torque coefficient and consequently influence both synchronous and sub-synchronous oscillation modes. The virtual admittance and current control-based inner-loop scheme is employed to illustrate the proposed analytical approach. The case study comprises the analysis of impedance profiles, the analysis of damping torque contributed by inner loops under various grid strengths, and the comparison between dq-frame and α\b{eta}-frame realizations of inner loops. Finally, simulation and experimental tests collaborate with theoretical approaches and findings.

eess.SY