ZZZhengkang Zuo

Zhengkang Zuo

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Zhengkang Zuo has a total of 17 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Functional Modeling and Mechanized Verification of Bisimulations for NFTS

    by Zhen You, Jiawei Wu, Changjing Wang, Zhengkang Zuo

    Bisimulation is a behavioral equivalence approach for discrete event systems. In recent years, bisimulation has been increasingly applied to nondeterministic fuzzy transition system (NFTS). Current researchers mainly focus on mathematical definitions of fuzzy bisimulation and the development of algorithms, however, the properties of definitions and the correctness of the algorithms are manually proven. Therefore, we formally define NFTS using the basic datatype package in theorem prover Isabelle/HOL. Subsequently, we originally present functional definitions of two critical fuzzy bisimulations (based on relational closed sets and relational lifting), and then mechanically verified the equivalence of these two definitions by using Isabelle/HOL. Furthermore, a relational lifting algorithm is formalized and its correctness is mechanically verified in this article. Finally, we present two case studies to validate the practicality of our approach. Compared with the mathematical definition and manual verification, our study demonstrated that a mechanized method for formalizing and verifying fuzzy bisimulation is more trustworthy, and it could be applied to various fuzzy bisimulation algorithms.

  • Modeling and Verification of MRSCAN Based on MapReduce Framework

    by Zhengkang Zuo, Yuhan Ke, Ying Hu, Qing Huang, Zhicheng Zeng, Changjing Wang

    Network clustering (graph clustering) plays a crucial role in discovering the inherent structures within networks. MapReduce-based structural clustering algorithm for networks (MRSCANs) designed based on MapReduce's parallel computing model, efficiently handles large-scale data. However, MRSCAN can only be tested through experiments, and its correctness cannot be guaranteed. To address this issue, this article has achieved the first implementation of functional MRSCAN modeling and subjected it to rigorous mechanized verification in Isabelle. First, based on Google's MapReduce model type definition and higher-order generic functions, a general MapReduce-based algorithm functional modeling framework is constructed across the fundamental global phases of Map, Shuffle, and Reduce. Moreover, diverse strategies are devised during the Shuffle phases according to user requirements, enhancing the applicability and generality of the MapReduce functional modeling framework. Second, formalizing the definition of MRSCAN, is delineated into four key steps: similarity calculation, core calculation, dimension expansion, and structural clustering. Furthermore, the MapReduce functional modeling framework is applied to these four steps to achieve the functional modeling of MRSCAN, which improves efficiency compared to other structural clustering algorithm for networks (SCANs) algorithms. Lastly, a verification framework for MapReduce-based algorithms is proposed at both the global and shuffle stages. Based on this framework, the correctness and reliability of MRSCAN are ensured. The model framework and verification framework of MapReduce-based algorithms proposed in this article can not only address functional modeling and verification of MRSCAN but also provide a reference for a series of other MapReduce-based functional program designs and proofs.

  • Modeling and Verification Methods for Spatio-Temporal Consistency of CPS in Uncertain Environments

    by Shuqi Pan, Changjing Wang, Wuping Xie, Jiaxing Lu, Qing Huang, Zhengkang Zuo

    When cyber-physical systems (CPSs) are operational, its computing units frequently interact with complex and uncertain physical environments in time and space. To ensure the safety of the system, it is often necessary that the physical entities and information systems of CPS operate in a consistent manner at the temporal and spatial levels. However, most of the existing studies on spatio-temporal consistency modeling and verification of CPS are limited in the ability to deal with uncertainties. To address this issues, in this article, we propose a modeling and verification method for spatio-temporal consistency of CPS in uncertain environments. First, we propose a modeling language (stochastic spatio-temporal modeling language, SSTL) for the spatio-temporal domain of CPS. It can explicitly model the spatio-temporal constraints of CPS as well as deal with the spatio-temporal behavior of accompanying probabilities. Second, we propose a framework for spatio-temporal consistency verification. In the first step of this framework, we propose a worst-case time satisfiability algorithm to verifying the time safety of CPS. In the second step, we develop a prototype tool called “SSTL2NSHA” that is able to convert SSTL into the NHSA model supported by UPPAAL-statistical model checking (UPPAAL-SMC). Thereby the CPS model described by SSTL can be verified in UPPAAL-SMC for spatial safety constraints. Finally, we illustrate the effectiveness of the approach in this article with a traffic alert and collision avoidance system.


  • Answering Uncertain, Under-Specified API Queries Assisted by Knowledge-Aware Human-AI Dialogue

    by Qing Huang, Zishuai Li, Zhenchang Xing, Zhengkang Zuo, Xin Peng, Xiwei Xu, Qinghua Lu

    Developers’ API needs should be more pragmatic, such as seeking suggestive, explainable, and extensible APIs rather than the so-called best result. Existing API search research cannot meet these pragmatic needs because they are solely concerned with query-API relevance. This necessitates a focus on enhancing the entire query process, from query definition to query refinement through intent clarification to query results promoting divergent thinking about results. This paper designs a novel Knowledge-Aware Human-AI Dialog agent (KAHAID) which guides the developer to clarify the uncertain, under-specified query through multi-round question answering and recommends APIs for the clarified query with relevance explanation and extended suggestions (e.g., alternative, collaborating or opposite-function APIs). We systematically evaluate KAHAID. In terms of human-AI dialogue process, it achieves a high diversity of question options (the average diversity between any two options is 74.9%) and the ability to guide developers to find APIs using fewer dialogue rounds (no more than 3 rounds on average). For API recommendation, KAHAID achieves an MRR and MAP of 0.769 and 0.794, outperforming state-of-the-art API search approaches BIKER and CLEAR by at least 47% in MRR and 226.7% in MAP. For knowledge extension, KAHAID obtains an MRR and MAP of 0.815 and 0.864, surpassing state-of-the-art query clarification approaches by at least 42% in MRR and 45.2% in MAP. As the first of its kind, KAHAID opens the door to integrating the immediate response capability of API research and the interaction, clarification, explanation, and extensibility capability of social-technical information seeking.


  • Open Access

    Semantic-Enriched Code Knowledge Graph to Reveal Unknowns in Smart Contract Code Reuse

    by Qing Huang, Dianshu Liao, Zhenchang Xing, Zhengkang Zuo, Changjing Wang, Xin Xia

    Programmers who work with smart contract development often encounter challenges in reusing code from repositories. This is due to the presence of two unknowns that can lead to non-functional and functional failures. These unknowns are implicit collaborations between functions and subtle differences among similar functions. Current code mining methods can extract syntax and semantic knowledge (known knowledge), but they cannot uncover these unknowns due to a significant gap between the known and the unknown. To address this issue, we formulate knowledge acquisition as a knowledge deduction task and propose an analytic flow that uses the function clone as a bridge to gradually deduce the known knowledge into the problem-solving knowledge that can reveal the unknowns. This flow comprises five methods: clone detection, co-occurrence probability calculation, function usage frequency accumulation, description propagation, and control flow graph annotation. This provides a systematic and coherent approach to knowledge deduction. We then structure all of the knowledge into a semantic-enriched code Knowledge Graph (KG) and integrate this KG into two software engineering tasks: code recommendation and crowd-scaled coding practice checking. As a proof of concept, we apply our approach to 5,140 smart contract files available on Etherscan.io and confirm high accuracy of our KG construction steps. In our experiments, our code KG effectively improved code recommendation accuracy by 6% to 45%, increased diversity by 61% to 102%, and enhanced NDCG by 1% to 21%. Furthermore, compared to traditional analysis tools and the debugging-with-the-crowd method, our KG improved time efficiency by 30 to 380 seconds, vulnerability determination accuracy by 20% to 33%, and vulnerability fixing accuracy by 24% to 40% for novice developers who identified and fixed vulnerable smart contract functions.