Sai Zhang

Sai Zhang

Auto-generated profile, based on publicly available information

Sai Zhang

College of Intelligence and Computing, Tianjin University, Tianjin, China

Research Focus & Metrics

Academic Career Length

5Years (2022-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
3 July 2025 in ACM Transactions on Software Engineering and Methodology
Verified
Journal Article
Open access
SZSai Zhang
Sai Zhang
ZXZhenchang Xing
Zhenchang Xing
RGRonghui Guo
Ronghui Guo
FXFangzhou Xu
Fangzhou Xu
LCLei Chen
Lei Chen
ZZZhiqiang Zhuang
Zhiqiang Zhuang
In software development, the raw requirements proposed by users are frequently incomplete, which impedes the complete implementation of software functionalities. With the emergence of large language models, the exploration of generating software through user requirements has attracted attention. Recent methods with the top-down waterfall model employ a questioning approach for requirement completion, attempting to explore further user requirements. However, users, constrained by their domain knowledge, result in a lack of effective acceptance criteria during the requirement completion, failing to fully capture the implicit needs of the user. Moreover, the cumulative errors of the waterfall model can lead to discrepancies between the generated code and user requirements. The Agile methodologies reduce cumulative errors of the waterfall model through lightweight iteration and collaboration with users, but the challenge lies in ensuring semantic consistency between user requirements and the code generated by the agent. To address these challenges, we propose AgileGen, an agile-based generative software development through human-AI teamwork. Unlike existing questioning agents, AgileGen adopts a novel collaborative approach that breaks free from the constraints of domain knowledge by initiating the end-user perspective to complete the acceptance criteria. By introducing the Gherkin language, AgileGen attempts for the first time to use testable requirement descriptions as a bridge for semantic consistency between requirements and code, aiming to ensure that software products meet actual user requirements by defining user scenarios that include acceptance criteria. Additionally, we innovate in the human-AI teamwork model, allowing users to participate in decision-making processes they do well and significantly enhancing the completeness of software functionality. To ensure semantic consistency between requirements and generated code, we derive consistency factors from Gherkin to drive the subsequent software code generation. Finally, to improve the reliability of user scenarios, we also introduce a memory pool mechanism, collecting user decision-making scenarios and recommending them to new users with similar requirements. AgileGen, as a user-friendly interactive system, significantly outperformed existing best methods by 16.4% and garnered higher user satisfaction.

30 April 2023
Verified
Conference Paper
Open access
ZHZhenfeng Han
Zhenfeng Han
SZSai Zhang
Sai Zhang
XZXiaowang Zhang
Xiaowang Zhang
The inclusion of explicit personas in generation models has gained significant attention as a means of developing intelligent dialogue agents. However, large pretrained generation models often produce inconsistent responses with persona. We investigate the model generation behavior to identify signs of inconsistency and observe inconsistent behavior patterns. In this work, we introduce contrastive learning into persona consistent dialogue generation, building on the idea that humans learn not just from positive feedback, but also from identifying and correcting undesirable behaviors. According to the inconsistent patterns, we design two strategies to construct high-quality negative samples, which are critical for contrastive learning efficacy. Experimental results demonstrate that our method can effectively improve the consistency of the responses while improving its dialogue quality on both automatic and human evaluation.

21 October 2024
Verified
Conference Paper
Open access
RGRonghui Guo
Ronghui Guo
MZMinghui Zou
Minghui Zou
SZSai Zhang
Sai Zhang
XZXiaowang Zhang
Xiaowang Zhang
ZYZhizhi Yu
Zhizhi Yu
ZFZhiyong Feng
Zhiyong Feng
In graph anomaly detection (GAD), the fact that anomalous nodes usually exhibit high heterophily, while most Graph Neural Networks (GNNs) have homophily assumptions, leads to poor performance. Many studies have attempted to solve this problem by employing a set of graph filters covering various frequencies. Their ultimate goal is to design the most appropriate spectral filter to capture the complex signals generated by normals and anomalies. The critical aspect lies in the fusion of information from filters with different frequency response functions. However, existing methods lack a clear indicator to guide the fusion of information at different frequencies. In this paper, we find that local homophily is a valuable metric for assessing the weights of high- and low-frequency information at the node level, and explicitly point out that the accuracy of local homophily is positively correlated with the accuracy of anomaly detection. Moreover, we unveil the phenomenon of camouflage in anomalous, wherein these nodes disguise themselves by making their features resemble those of surrounding normals. Based on this investigation, we propose the Graph Local Homophily Network for Anomaly Detection (GLHAD). Specifically, we first identify the local homophily of the nodes in the graph under the supervision of the labeled nodes, where two contrasting paradigms are employed to resist the camouflage of anomalies. Then, the local homophily-based combination module combines low- and high-frequency signals based on the predicted local homophily. Eventually, the node representations of different layers are aggregated to make finally predictions.Comprehensive experiments on four anomaly detection datasets show that GLHAD outperforms other state-of-the-art baselines.

23 April 2024 in IEEE Transactions on Neural Networks and Learning Systems
Verified
Journal Article
Closed access
SZSai Zhang
Sai Zhang
YWYunjie Wu
Yunjie Wu
XZXiaowang Zhang
Xiaowang Zhang
ZFZhiyong Feng
Zhiyong Feng
LWLiang Wan
Liang Wan
ZZZhiqiang Zhuang
Zhiqiang Zhuang
Textbook question answering (TQA) task aims to infer answers for given questions from a multimodal context, including text and diagrams. The existing studies have aggregated intramodal semantics extracted from a single modality but have yet to capture the intermodal semantics between different modalities. A major challenge in learning intermodal semantics is maintaining lossless intramodal semantics while bridging the gap of semantics caused by heterogeneity. In this article, we propose an intermodal relation-aware heterogeneous graph network (IMR-HGN) to extract the intermodal semantics for TQA, which aggregates different modalities while learning features rather than representing them independently. First, we design a multidomain consistent representation (MDCR) to eliminate semantic gaps by capturing intermodal features while maintaining lossless intramodal semantics in multidomains. Furthermore, we present neighbor-based relation inpainting (NRI) to reduce semantic ambiguity via repairing fuzzy relations with correlations of relations. Finally, we propose hierarchical multisemantics aggregation (HMSA) to guarantee the completeness of semantics by aggregating features of nodes and relations with a reconstruction network (RN). Experimental results show that IMR-HGN could extract the intermodal semantics of answers, achieving a 2.16% improvement on the validation set of the TQA dataset and a 3.04% increase on the test set of the AI2D dataset.


27 October 2022
Verified
Conference Paper
Open access
RPRui Pan
Rui Pan
MZMinghui Zou
Minghui Zou
SZSai Zhang
Sai Zhang
YYYongxin Yu
Yongxin Yu
ZFZhiyong Feng
Zhiyong Feng