MCP
ZM

Zhen Ming

24 papers in the library

Papers

24
Beyond Code Translation: Agentic Android-to-HarmonyOS Migration
Yinghang MaWuyang DaiSong WangFilipe CogoZhen MingJiang
A2HTrans is an agentic framework for end-to-end Android-to-HarmonyOS application migration that replaces isolated method- or file-level code translation with structured execution. It decomposes an application into functionality-aware migration tasks, orders them through dependency analysis, and coordinates translation, validation, and iterative repair in a unified workflow, using compiler-based syntax checking together with LLM-based semantic validation and automated repair to handle the low-resource ArkTS target and scarce tests. On 14 Android applications with Claude-Sonnet-4.6 as the underlying model, it preserves 8.3% more functional completeness, improves behavioral correctness by 8.0%, and cuts migration time by 28.8% relative to Claude Code.
arXivarXiv · · November 8, 2026
0
Test Case Generation from Bug Reports via Large Language Models: A Cognitive Layered Evaluation Framework
Irtaza Sajid QureshiZhen MingJiang
This paper introduces a cognitive layered evaluation framework based on Bloom's taxonomy to assess LLM reasoning in test generation from bug reports. Testing StarCoder and GPT-4o on Defects4J, GHRB, and mutated variants, they find that models largely reproduce prior results but suffer over 60% performance drops under identifier mutations. Providing near-identical few-shot examples improves success rates up to three times; structured technical elements like test code and method names are far more impactful than narrative descriptions.
arXivarXiv · · October 6, 2025
0
BloomAPR: A Bloom's Taxonomy-based Framework for Assessing the Capabilities of LLM-Powered APR Solutions
Yinghang MaJiho ShinLeuson Da SilvaZhen MingJiangSong WangFoutse KhomhShin Hwei Tan
BloomAPR is a dynamic evaluation framework grounded in Bloom's Taxonomy that assesses the cognitive capabilities of LLM-powered automated program repair (APR) solutions across progressively complex reasoning levels. Using Defects4J as a case study, it evaluates ChatRepair and CigaR with GPT-3.5-Turbo, Llama-3.1, and StarCoder-2. Results show strong basic reasoning (fixing up to 81.57% of bugs at the Remember layer) but steep declines with minor syntactic changes (up to 43.32% at the Apply layer) and real-world injected bugs (13.46%–41.34% at the Analyze layer), highlighting the need for more robust benchmarks.
arXivarXiv · · September 29, 2025
0
5
A Pilot Study on LLM-Based Agentic Translation from Android to iOS: Pitfalls and Insights
Zhili ZengKimya Khakzad ShahandashtiAlvine Boaye BelleSong WangZhen MingJiang
This pilot study evaluates LLM-based agentic translation of Android apps to iOS by constructing a chain of agents that considers dependencies, specifications, structure, and control flow. The authors manually examine translated code for syntactic correctness, semantic accuracy, and functional completeness, and perform root-cause analysis on failures. Key pitfalls and insights are identified, and guidelines for improving cross-platform translation performance are proposed. The work addresses the underexplored area of LLM-based application-level migration across platforms.
arXivarXiv · · July 21, 2025
0
4
Checker Bug Detection and Repair in Deep Learning Libraries
Nima Shiri HarzeviliMohammad Mahdi MohajerJiho ShinMoshi WeiGias UddinJinqiu YangJunjie WangSong WangZhen MingJiangNachiappan Nagappan
This paper presents the first comprehensive study of checker bugs—bugs in input validation and error-checking code—in the DL libraries TensorFlow and PyTorch. Analyzing 527 manually identified bugs from 2,418 commits (2016–2023), the authors characterize them by root cause, symptom, and fixing pattern. They then propose TensorGuard, a RAG-based LLM tool that uses prompt-engineered ChatGPT to detect and fix such bugs. Evaluated on 92 buggy and 135 clean changes (Jan–Jul 2024), TensorGuard achieves 94.51% recall with Chain-of-Thought prompting and 11.1% patch accuracy, outperforming the state-of-the-art repair baseline by 2%.
arXivarXiv · · October 9, 2024
0
4
Towards AI-Native Software Engineering (SE 3.0): A Vision and a Challenge Roadmap
Ahmed E. HassanGustavo A. OlivaDayi LinBoyuan ChenZhen MingJiang
This position paper proposes a shift from AI-assisted Software Engineering 2.0 (SE 2.0) to an AI-native SE 3.0, which envisions human developers and AI teammates collaborating through intent-centric, conversation-oriented development. It outlines a four-component technology stack—Teammate.next, IDE.next, Compiler.next, and Runtime.next—spanning adaptive partnership, intent-centric development, multi-objective code synthesis, and SLA-aware edge-computing execution. The vision aims to reduce cognitive overload and inefficiencies by exploiting complementary human-AI strengths, and the paper presents a challenge roadmap toward realizing this vision.
arXivarXiv · · October 8, 2024
0
78
SimClone: Detecting Tabular Data Clones using Value Similarity
Xu YangGopi Krishnan RajbahadurDayi LinShaowei WangZhen MingJiang
SimClone detects clones in tabular datasets by comparing value similarity rather than relying on structural metadata, which is often absent in datasets used for AI. It outperforms the prior state-of-the-art method by at least 20% in F1-score and AUC. A built-in visualization component locates the exact position of cloned data between a dataset pair, achieving a Precision@10 of 0.80 among the top-20 true positive predictions.
arXivarXiv · · June 24, 2024
0
6
Rethinking Software Engineering in the Foundation Model Era: From Task-Driven AI Copilots to Goal-Driven AI Pair Programmers
Ahmed E. HassanGustavo A. OlivaDayi LinBoyuan ChenZhen MingJiang
This paper argues that current AI copilots, which are designed to complete individual coding tasks, are insufficient for the broader goals of software engineering. The authors propose a paradigm shift toward goal-driven AI pair programmers that act as collaborative, context-aware, self-learning partners. These AI partners would engage in iterative, conversation-driven development, aligning with human goals and making informed decisions. The paper outlines the desired attributes of such systems and identifies key challenges, representing a move from AI-augmented to AI-transformed software engineering through human-AI collaboration.
arXivarXiv · · April 16, 2024
0
38
Keeping Deep Learning Models in Check: A History-Based Approach to Mitigate Overfitting
Hao LiGopi Krishnan RajbahadurDayi LinCor-Paul BezemerZhen MingJiang
A history-based approach that uses a time series classifier trained on validation losses during training detects and prevents overfitting in deep learning models without modifying the model structure. Trained on histories of overfit models, the classifier detects overfitting in a trained model and identifies the optimal early stopping point. On real-world samples, it achieves an F1 score of 0.91, at least 5% higher than existing non-intrusive detection, and stops training earlier than early stopping at least 32% of the time with equal or better model quality.
arXivarXiv · · January 18, 2024
0
208
An empirical study of testing machine learning in the wild
Moses OpenjaFoutse KhomhArmstrong FoundjemZhen MingJiangMouna AbidiAhmed E. Hassan
This paper presents the first fine-grained empirical study of machine learning (ML) testing practices in real-world open-source projects. By analyzing test files from 11 GitHub repositories via open coding, they identify that the most common testing strategies (Grey-box and White-box, e.g., Negative Testing) account for under 40% of tests. Of 17 ML properties tested, only 20-30% (e.g., Consistency, Correctness, Efficiency) are frequently examined, while domain-specific properties like Bias and Fairness appear mainly in Recommendation systems, and Security & Privacy in CV, NLP, and application platforms.
arXivarXiv · · December 19, 2023
0
24
On the Model Update Strategies for Supervised Learning in AIOps Solutions
Yingzhe LyuHeng LiZhen MingJiangAhmed E. Hassan
This paper investigates model update strategies for supervised learning in AIOps. Through a case study on three large-scale public operation datasets, it empirically compares five strategies—periodic retraining, concept-drift-guided retraining, time-based model ensembles, online learning, and a stationary baseline—evaluating performance, cost, and stability. Active strategies, especially sophisticated ones, outperform stationary models, but some strategies that save training time significantly increase testing time, which is problematic for high-velocity, high-volume AIOps environments requiring immediate inferences.
arXivarXiv · · November 6, 2023
0
20
Bug Characterization in Machine Learning-based Systems
Mohammad Mehdi MorovatiAmin NikanjamFlorian TambonFoutse KhomhZhen MingJiang
This paper characterizes bugs in ML-based systems by analyzing 447,948 GitHub repositories using TensorFlow, Keras, or PyTorch, then manually inspecting 386 issues from the top 300. Nearly half of the real issues are ML bugs, indicating ML components are more error-prone. The 109 identified ML bugs reveal root causes, symptoms, and fixing time. Compared to non-ML bugs, ML bugs require more commits, changed files, and lines of code, making them costlier to fix and highlighting the need for reliable ML components.
arXivarXiv · · July 26, 2023
0
68
A First Look at Fairness of Machine Learning Based Code Reviewer Recommendation
Mohammad Mahdi MohajerAlvine Boaye BelleNima Shiri harzeviliJunjie WangHadi HemmatiSong WangZhen MingJiang
This paper presents the first empirical study of fairness in machine learning-based code reviewer recommendation, a common software engineering task. It finds that current state-of-the-art techniques exhibit discriminating behavior, specifically recommending male reviewers 7.25% more often than female reviewers relative to their distribution. The study discusses causes of this unfairness and evaluates existing mitigation methods, finding they can enhance fairness by 100% on balanced datasets but have limited effectiveness on imbalanced or skewed data, for which a solution is suggested.
arXivarXiv · · July 21, 2023
0
A Survey on Automated Software Vulnerability Detection Using Machine Learning and Deep Learning
Nima Shiri HarzeviliAlvine Boaye BelleJunjie WangSong WangZhen MingJiangNachiappan Nagappan
This systematic survey on automated software vulnerability detection using machine learning (ML) and deep learning (DL) addresses the lack of a comprehensive overview by characterizing existing approaches via five research questions (RQs). RQ1 examines publication trends, RQ2 analyzes vulnerability datasets and embedding techniques, RQ3 explores model architectures, RQ4 summarizes covered vulnerability types, and RQ5 identifies current challenges and a future research roadmap. The work provides a structured classification of ML/DL-based source-code-level vulnerability detection methods, enabling researchers to identify gaps and opportunities for improvement.
arXivarXiv · · June 20, 2023
0
209
GitHub Copilot AI pair programmer: Asset or Liability?
Arghavan Moradi DakhelVahid MajdinasabAmin NikanjamFoutse KhomhMichel C. DesmaraisZhen MingJiang
This paper empirically evaluates GitHub Copilot as an AI pair programmer. Copilot generates correct solutions for most fundamental algorithmic problems but some solutions are buggy or non-reproducible, and it struggles to combine multiple methods. Compared to humans, humans achieve a higher correctness ratio, while Copilot's buggy solutions require less effort to repair.
arXivarXiv · · June 30, 2022
0
869
An Empirical Study of Challenges in Converting Deep Learning Models
Moses OpenjaAmin NikanjamAhmed Haj YahmedFoutse KhomhZhen MingJiang
This paper presents the first empirical study evaluating the ONNX and CoreML exchange formats for converting trained deep learning models. Using Keras and PyTorch, five models trained on three datasets were converted to each format and transferred to corresponding runtime environments. The results show that prediction accuracy after conversion remains at the same level as the originals, while model size is reduced. Converted models are generally as robust as originals, but CoreML models are more vulnerable to adversarial attacks than ONNX.
arXivarXiv · · June 28, 2022
0
62
Bugs in Machine Learning-based Systems: A Faultload Benchmark
Mohammad Mehdi MorovatiAmin NikanjamFoutse KhomhZhen MingJiang
This paper presents defect4ML, a faultload benchmark of 100 real bugs from GitHub and Stack Overflow, targeting TensorFlow and Keras. The benchmark addresses reproducibility, verifiability, and portability across framework versions, while providing complete dependency and data information. It is designed to evaluate and compare testing tools for ML-based systems, fulfilling standard benchmark criteria including relevance, fairness, and usability.
arXivarXiv · · June 24, 2022
0
52
Towards a Change Taxonomy for Machine Learning Systems
Aaditya BhatiaEllis E. EghanManel GrichiWilliam G. CavanaghZhen MingJiangBram Adams
This paper empirically studies collaboration in 1,346 ML research repositories and 67,369 forks. It finds that only 9% of forks modify the repository; 42% of those send changes to the parent, with 52% accepted. The authors extend Hindle et al.'s change taxonomy with one new top-level category (Data) and 15 sub-categories, nine ML-specific. Fork-only changes largely involve local experimentation, but parent repositories miss 15.4% of Documentation, 13.6% of Feature, and 11.4% of Bug fix changes.
arXivarXiv · · March 21, 2022
0
7
Towards Build Verifiability for Java-based Systems
Jiawen XiongYong ShiBoyuan ChenFilipe R. CogoZhen MingJiang
This paper presents a systematic approach to build verifiability for Java-based systems, comprising a unified build process, a tool to dynamically control non-determinism, and a post-processing tool to eliminate non-equivalences. Applied to 46 unverified Reproducible Central projects and 13 widely used Huawei projects, the approach verified 91% and 100% respectively. Additionally, 14 patterns introducing non-equivalences in build artifacts are identified, with 11 unique to Java-based systems.
arXivarXiv · · February 11, 2022
0
27
Towards a consistent interpretation of AIOps models
Yingzhe LyuGopi Krishnan RajbahadurDayi LinBoyuan ChenZhen MingJiang
AIOps model interpretations should be consistent to avoid misleading practitioners, but many studies violate established practices. This paper investigates interpretation consistency along three dimensions—internal, external, and time consistency—through a case study on two AIOps tasks (predicting Google cluster job failures and Backblaze hard drive failures). It finds that randomness from learners, hyperparameter tuning, and data sampling must be controlled; models with AUC > 0.75 yield more consistent interpretations; and Sliding Window or Full History approaches produce the most consistent interpretations. These results provide guidelines for deriving consistent AIOps model interpretations.
arXivarXiv · · February 4, 2022
0
49
Towards Training Reproducible Deep Learning Models
Boyuan ChenMingzhi WenYong ShiDayi LinGopi Krishnan RajbahadurZhen MingJiang
This paper proposes a systematic approach to training reproducible deep learning models. It introduces a unified framework that combines a record-and-replay technique to mitigate software randomness and a profile-and-patch technique to control hardware non-determinism, along with a set of general evaluation criteria and a reproducibility guideline. Case studies demonstrate successful reproduction of six open-source and one commercial model.
arXivarXiv · · February 4, 2022
0
95
Can I use this publicly available dataset to build commercial AI software? -- A Case Study on Publicly Available Image Datasets
Gopi Krishnan RajbahadurErika TuckLi ZiDayi LinBoyuan ChenZhen MingJiangDaniel M. German
The paper proposes an approach to assess license compliance violations when using publicly available datasets for commercial AI software. Unlike standardized open-source licenses, dataset licenses are ad-hoc, and datasets may have multiple sources and licenses. A case study on six image datasets reveals potential license violation risks for all datasets if used commercially.
arXivarXiv · · November 3, 2021
0
23
Empirical Study on the Software Engineering Practices in Open Source ML Package Repositories
Minke XiuEllis E. EghanZhen MingJiangBram Adams
Through an exploratory study of TFHub and PyTorch Hub, this paper characterizes the unique software engineering practices and challenges of open-source ML package repositories by comparing their information elements, package organization, package manager functionalities, and usage contexts with those of traditional software package repositories (npm, PyPI, CRAN).
arXivarXiv · · December 2, 2020
0
0
An Exploratory Study on Machine Learning Model Stores
Minke XiuZhen MingJiangBram Adams
This paper reports an exploratory study comparing information elements (features and policies) of three machine learning model stores (AWS Marketplace, Wolfram Neural Net Repository, ModelDepot) with those of two mobile app stores (Google Play, Apple's App Store). The study finds that 65% of model information elements are shared across the three model stores. Model stores share five elements with mobile app stores, while eight elements are unique to model stores and four to app stores. Only a few models appear in multiple stores. These findings help characterize ML model reuse as a distinct software engineering practice.
arXivarXiv · · May 25, 2019
0
8
Frequent collaborators
Jiang (24)
Dayi Lin (7)
Song Wang (6)
Foutse Khomh (6)
Boyuan Chen (6)
Gopi Krishnan Rajbahadur (5)
Ahmed E. Hassan (4)
Amin Nikanjam (4)
Alvine Boaye Belle (3)
Junjie Wang (3)
Bram Adams (3)
Yinghang Ma (2)