VLDB 2026 Research / reviewers in the wild / expert
Chuanyi Li
dblp:142/1532
· DBLP profile ↗
81ranked-venue papers
9as first author
56since 2021 · last 2026
—ORCID · conflict
Domains — the database's venue-derived domains; a paper can count in several
Software engineering, systems software and programming languages · 37 · 3 first-author · 34 since 2021Artificial intelligence and machine learning · 22 · 3 first-author · 15 since 2021Databases, data management, data science and information retrieval · 12 · 2 first-author · 5 since 2021Graphics, computer vision, multimedia, augmented reality and games · 8 · 1 first-author · 7 since 2021Security and privacy · 4 · 1 first-author · 1 since 2021Systems, architecture and hardware · 3Computer networks · 2 · 1 since 2021
| Year | Publication | Venue | Position |
|---|---|---|---|
| 2026 | CHASE: Contextual History for Adaptive and Simple Exploitation in Large Language Model JailbreakingabstractWe propose Contextual History for Adaptive and Simple Exploitation (CHASE), a novel multi-turn method for Large Language Model (LLM) jailbreaking. Rather than directly attack an LLM that may be difficult to jailbreak, CHASE first collects jailbroken histories from an easy-to-jailbreak LLM and then transfers them to the target LLM. Through this history transfer process, CHASE misleads the target LLM into thinking that it is responsible for producing the jailbroken histories and increases the chances of successful jailbreaking by prompting it to continue the conversation. Extensive evaluations on mainstream LLMs show that CHASE consistently achieves higher attack success rates and demands fewer computational resources compared to existing methods. Zhiqiang Hao, Chuanyi Li, Xiao Fu 0005, Shangqi Wang, Jiao Yin 0007, Jidong Ge, Bin Luo 0003, Vincent Ng 0001 |
AAAI | 2 |
| 2026 | System L: Toward System 2-Style Legal ReasoningabstractDual-system theory distinguishes between fast, intuitive System 1 and slow, deliberative System 2. While this dichotomy describes many forms of reasoning, it oversimplifies the reality of expert legal reasoning. Legal reasoning is not merely a process of slow, logical deliberation. It is intrinsically normative, embedding precedent analysis, statutory interpretation, policy balancing, and social values. This paper envisions a reasoning architecture for legal reasoning, System L (Legal System 2), which extends traditional System 2 by integrating domain-specific normative frameworks in a structured manner. Using the IRAC (Issue–Rule–Application–Conclusion) structure as a backbone model, System L represents a blueprint for the next generation of cognitive and AI systems capable of human-like legal reasoning. Chuanyi Li, Yi Feng 0005, Vincent Ng 0001 |
AAAI | 1 |
| 2026 | Legal Judgment Prediction: A Reflection on the State of the ArtabstractAutomatic legal judgment prediction (LJP) has recently received increasing attention in the natural language processing community because of its practical values in the real world.Significant progress has been achieved on LJP in the past decade.However, most existing LJP research primarily focuses on developing methods that achieve better performance on standard evaluation datasets, with limited emphasis on the long-term advancement of the field beyond improving evaluation metrics.In this position paper, we reflect on the state of the art in LJP research, and explore issues that should motivate researchers to think beyond merely enhancing performance metrics, with the ultimate goal of sparking discussions among LJP researchers about the future trajectory of the field. Yi Feng 0005, Chuanyi Li, Vincent Ng 0001 |
ACL (1) | 2 |
| 2026 | Privacy protection in RAG: A novel method and evaluation framework
Jionghan Wu, Chuanyi Li, Shangqi Wang, Jiao Yin 0007, Jidong Ge, Bin Luo 0003 |
Inf. Process. Manag. | 6 |
| 2026 | Improving Legal Judgment Prediction via Quantitative ReasoningabstractLegal Judgment Prediction (LJP) focuses on predicting judgment results based on the facts of cases. While State-of-the-Art (SOTA) methods have shown impressive performance in law article prediction and charge prediction, they still exhibit weaknesses in prison term prediction. One major reason is that existing models fail to mimic human legal quantitative reasoning to understand monetary features in case facts. Consequently, they do not rigorously quantify the severity of the crime, which is essential for prison term prediction. In this article, we explore and explain how to leverage monetary features to improve LJP via quantitative reasoning. Specifically, we propose QR-LJP, a quantitative reasoning-based LJP model, to integrate legal reasoning knowledge into the prediction process. QR-LJP first employs a curated LLM to extract monetary values from case facts and uses legal quantitative reasoning logic to determine the total crime amount, serving as the quantitative measure of the crime’s severity. This measure is subsequently used to make judgment predictions. We evaluate our model on the real-world dataset CAIL-2018. Experimental results demonstrate that our model outperforms current SOTAs, highlighting the effectiveness of legal quantitative reasoning. Moreover, applying our quantitative reasoning strategy to existing SOTA methods yields significant improvements, especially in macro-F1 scores. Zhu Han 0001, Yi Feng 0005, Chuanyi Li, Zhiwei Fei, Xuxing Ding, Jidong Ge, Vincent Ng 0001 |
ACM Trans. Knowl. Discov. Data | 4 |
| 2026 | YourCoLo: Leveraging One-to-Many Relationships and Inter-Code Connections for User Review-Based Code LocalizationabstractIn an era where mobile devices are ubiquitous, digital distribution platforms such as the Google Play Store have become integral to our daily lives, hosting millions of applications and serving billions of users. Users can leave reviews to provide developers with valuable feedback, including requests for new features and reports of issues. These user reviews play a crucial role in software development, testing, and maintenance by informing developers about user needs and potential problems, which motivates us to revisit a key problem: given user reviews, how can we automatically identify the relevant code snippets from software codebases to assist developers in addressing the reviews? Existing practices to address this problem typically involve calculating the similarity between user reviews and code snippets. However, we identify three key limitations. First, although existing methods show promising results on individual projects, their high performance cannot be generalized across projects. Second, the state-of-the-art approach models the problem as a one-to-one relationship between a user review and code snippets, ignoring the one-to-many relationship that often exists. Third, the state-of-the-art approach focuses solely on the direct relationship between reviews and code snippets, overlooking the interconnections among code snippets themselves, which contain valuable information that can aid in accurately identifying relevant code. To address these limitations and advance the state of the art, we propose YourCoLo , a novel approach that fully leverages contextual information, one-to-many relationships, and inter-code connections. Specifically, YourCoLo is powered by three novel designs: (1) a prompt-enhanced mechanism to incorporate rich project-level context into code localization, (2) a new loss function designed to handle the one-to-many relationships between user reviews and multiple relevant code snippets, and (3) a ranking strategy that considers interconnections among related code snippets. Our experimental evaluation shows that YourCoLo substantially outperforms state-of-the-art models, surpassing CodeBERT, CodeLlama, and GraphCodeBERT by 18.3, 9.3, and 7.7 percentage points at the method level and by 18.4, 7.7, and 7.0 percentage points at the file level (in terms of mean reciprocal rank). In addition, YourCoLo also achieves improvements of 8.8 percentage points and 6.8 percentage points in mean average precision (MAP) at the method and file levels, respectively, compared to the state-of-the-art method. These results underscore YourCoLo ’s effectiveness and its potential to guide developers more accurately toward the code snippets most pertinent to user feedback. Changan Niu, Zhou Yang 0003, Chuanyi Li, Yi Feng 0005, Jidong Ge, Bin Luo 0003, David Lo 0001, Vincent Ng 0001 |
ACM Trans. Softw. Eng. Methodol. | 4 |
| 2026 | IMPACT: Identifying and Classifying Multiple Sourced and Categorized Self-Admitted Technical DebtsabstractSelf-Admitted Technical Debt (SATD) refers to sub-optimal solutions deliberately introduced to accelerate the software development process, often at the expense of software maintainability and sustainability. Therefore, timely identification and repayment of the SATD is critical for the software system. As exploration deepens, it is found that effectively prioritizing the repayment of SATD with more significant impacts on software quality requires not only identifying SATD but also further classifying it. However, existing SATD identification and classification approaches face the following challenges: (1) SATDs originate from diverse sources. Code comments are a widespread source, but recent research has revealed that SATDs can originate from other sources, such as pull requests, issues, and commit messages. Nonetheless, existing approaches primarily target code comments, lacking the capability to analyze SATDs from other sources effectively. (2) SATDs fall into diverse categories. Nonetheless, existing SATD classification approaches fail to address all SATD categories comprehensively and show inadequate performance. (3) Imbalance of existing SATD datasets. Real-world SATD data are scarce, making dataset collection challenging. Moreover, SATD distribution across different sources is uneven, further complicating the construction of high-quality datasets. To alleviate these challenges, this article presents an SATD identification and classification framework named IMPACT . First, IMPACT employs ChatGPT to construct an augmented dataset. Subsequently, it utilizes a pipeline with two fine-tuned language models of different parameter sizes to identify and classify SATD separately. To evaluate the effectiveness of IMPACT, we compare it with three state-of-the-art SATD classification methods and its two foundation models. Experimental results demonstrate that IMPACT outperforms state-of-the-art methods by a large margin, and even surpasses its foundation model GLM-4-9B-Chat. It achieves the optimal average F1 score of 0.697 on the source of pull requests, the most challenging data source. Moreover, experiments on the cross-project test set show that IMPACT demonstrates strong generalizability on unseen project data. Zhixin Yin, Yaopeng Yang, Chuanyi Li, Zongwen Shen, Jidong Ge, Wenkang Zhong, Bin Luo 0003, Vincent Ng 0001 |
ACM Trans. Softw. Eng. Methodol. | 4 |
| 2026 | P-NPR: Practical Neural Program Repair via Learning to Ensemble
Zhongqiang Pan, Chuanyi Li, Wenkang Zhong, Bin Luo 0003, Vincent Ng 0001 |
IEEE Trans. Software Eng. | 2 |
| 2025 | Understanding AdvertisementsabstractWhile AI systems are capable of reading texts and seeing images, they typically perceive surface information explicitly conveyed with limited abilities to comprehend hidden messages (e.g., a double-edged remark). We propose the novel task of advertisement understanding: given an advertisement, which can be a text, an image, or a video, the goal is to identify the persuasion strategies used and determine the (possibly hidden) messages conveyed. Efforts on this task could enhance machine comprehension capabilities, and provide users with increased situation awareness w.r.t. the advertised message and thus possibly enable mindful decision making. We believe that this task presents long-term challenges to AI researchers and that successful understanding of ads could bring machine understanding one important step closer to human understanding. Yi Feng 0005, Chuanyi Li, Vincent Ng 0001 |
AAAI | 2 |
| 2025 | Retrieval-Augmented Code Generation of Low-Resource Programming LanguagesabstractThe performance of Large Language Models degrades substantially when generating code for low-resource programming languages. While Retrieval-Augmented Generation (RAG) offers a solution, applying it to this domain presents unique challenges in knowledge retrieval and integration. To address this, we introduce PEARL, a novel framework for lowresource languages. PEARL constructs high-quality knowledge databases and employs a distillation method to train a retriever using the LLM’s own preferences, bypassing the need for manual annotation. By effectively integrating this external knowledge, PEARL improves performance of LLMs on lowresource programming languages. In evaluations across five low-resource languages, PEARL outperformed RAG baselines, increasing average Pass@1 by 22% on LLaMA-3.1-8B-Instruct and 10% on DeepSeek-Coder-6.7B-Instruct. Jianbo Lin, Chuanyi Li, Wentao Zou, Jidong Ge, Bin Luo 0003 |
APSEC | 3 |
| 2025 | Multimodal Neural Machine Translation: A Survey of the State of the ArtabstractMultimodal neural machine translation (MNMT) has received increasing attention due to its widespread applications in various fields such as cross-border e-commerce and cross-border social media platforms.The task aims to integrate other modalities, such as the visual modality, with textual data to enhance translation performance.We survey the major milestones in MNMT research, providing a comprehensive overview of relevant datasets and recent methodologies, and discussing key challenges and promising research directions. Yi Feng 0005, Chuanyi Li, Jiatong He, Vincent Ng 0001 |
EMNLP | 2 |
| 2025 | API-Repo: API-centric Repository-level Code Completion
Chuanyi Li, Changan Niu, Jidong Ge, Bin Luo 0003 |
Internetware | 2 |
| 2025 | Enhancement Report Approval Prediction: A Comparative Study of Large Language ModelsabstractEnhancement reports (ERs) serve as a critical communication channel between users and developers, capturing valuable suggestions for software improvement.However, manually processing these reports is resource-intensive, leading to delays and potential loss of valuable insights.To address this challenge, enhancement report approval prediction (ERAP) has emerged as a research focus, leveraging machine learning techniques to automate decision-making.While traditional approaches have employed feature-based classifiers and deep learning models, recent advancements in large language models (LLM) present new opportunities for enhancing prediction accuracy.This study systematically evaluates 18 LLM variants (including BERT, RoBERTa, DeBERTa-v3, ELECTRA, and XLNet for encoder models; GPT-3.5-turbo,GPT-4o-mini, Llama 3.1 8B, Llama 3.1 8B Instruct and DeepSeek-V3 for decoder models) against traditional methods (CNN/LSTM-BERT/GloVe).Our experiments reveal two key insights: (1) Incorporating creator profiles increases unfinetuned decoder-only models' overall accuracy by 10.8% though it may introduce bias; (2) LoRA fine-tuned Llama 3.1 8B Instruct further improve performance, reaching 79% accuracy and significantly enhancing recall for approved reports (76.1% vs. LSTM-GLOVE's 64.1%), outperforming traditional methods by 5% under strict chronological evaluation and effectively addressing class imbalance issues.These findings establish LLM as a superior solution for ERAP, demonstrating their potential to streamline software maintenance workflows and improve decision-making in real-world development environments.We also investigated and summarized the ER cases where the large models underperformed, providing valuable directions for future research. Haosheng Zuo, Feifei Niu, Chuanyi Li |
Internetware | 3 |
| 2025 | Refactoring ≠ Bug-Inducing: Improving Defect Prediction with Code Change Tactics AnalysisabstractJust-in-time defect prediction (JIT-DP) aims to predict the likelihood of code changes resulting in software defects at an early stage. Although code change metrics and semantic features have enhanced prediction accuracy, prior research has largely ignored code refactoring during both the evaluation and methodology phases, despite its prevalence. Refactoring and its propagation often tangle with bug-fixing and bug-inducing changes within the same commit and statement. Neglecting refactoring can introduce bias into the learning and evaluation of JIT-DP models. To address this gap, we investigate the impact of refactoring and its propagation on six state-of-the-art JIT-DP approaches. We propose Code chAnge Tactics (CAT) analysis to categorize code refactoring and its propagation, which improves labeling accuracy in the JIT-Defects4J dataset by $\mathbf{1 3. 7}$. Our experiments reveal that failing to consider refactoring information in the dataset can diminish the performance of models, particularly semantic-based models, by $\mathbf{1 8. 6}$ % and $\mathbf{3 7. 3} \%$ in F1-score. Additionally, we propose integrating refactoring information to enhance six baseline approaches, resulting in overall improvements in recall and $\mathbf{F 1}$-score, with increases of up to $43.2 \%$ and $32.5 \%$, respectively. Our research underscores the importance of incorporating refactoring information in the methodology and evaluation of JIT-DP. Furthermore, our CAT has broad applicability in analyzing refactoring and its propagation for software maintenance. Feifei Niu, Junqian Shao, Christoph Mayr-Dorn, LiGuo Huang, Wesley K. G. Assunção, Chuanyi Li, Jidong Ge, Alexander Egyed |
ISSRE | 6 |
| 2025 | LawShift: Benchmarking Legal Judgment Prediction Under Statute ShiftsabstractLegal Judgment Prediction (LJP) seeks to predict case outcomes given available case information, offering practical value for both legal professionals and laypersons. However, a key limitation of existing LJP models is their limited adaptability to statutory revisions. Current SOTA models are neither designed nor evaluated for statutory revisions. To bridge this gap, we introduce LawShift, a benchmark dataset for evaluating LJP under statutory revisions. Covering 31 fine-grained change types, LawShift enables systematic assessment of SOTA models' ability to handle legal changes. We evaluate five representative SOTA models on LawShift, uncovering significant limitations in their response to legal updates. Our findings show that model architecture plays a critical role in adaptability, offering actionable insights and guiding future research on LJP in dynamic legal contexts. Zhuo Han, Yi Feng 0005, Wanhong Huang 0003, Xuxing Ding, Chuanyi Li, Jidong Ge, Vincent Ng 0001 |
NeurIPS | 6 |
| 2025 | An empirical study on the code naturalness modeling capability for LLMs in automated patch correctness assessment
Yuning Li, Wenkang Zhong, Zongwen Shen, Chuanyi Li, Xiang Chen 0005, Jidong Ge, Bin Luo 0003 |
Autom. Softw. Eng. | 4 |
| 2025 | Utilizing Creator Profiles for Predicting Valuable User Enhancement ReportsabstractABSTRACT Users of software applications use issue tracking systems (ITSs) to file enhancement reports, which leads to a large quantity of user requests. These reports play a pivotal role in shaping software requirements and continuous product improvement. However, the manual evaluation of these reports by developers and maintainers can be a time‐consuming and labor‐intensive process due to the constant influx of enhancement requests. Timely handling and implementation of these enhancement reports are crucial for enhancing user satisfaction and product competitiveness. In response to this challenge, research has concentrated on automated methods to predict which enhancement reports are likely to gain approval, aiming to maximize the value extracted from user feedback. Nevertheless, existing approaches still fall short in delivering practical results. In this paper, we introduce a novel creator profile‐based approach designed to uncover the dependency between creators' identity and the value of enhancement reports, ultimately enhancing prediction accuracy. Firstly, we present the concept of a “creator profile” and outline a comprehensive methodology for generating creator profiles from the dataset. We then demonstrate how creator profiles can be effectively applied to the task of predicting the approval of enhancement reports. Subsequently, we assess the performance of our approach using a dataset of 40,551 enhancement reports collected from ITSs. The experimental results indicate a substantial improvement over the existing state of the art, particularly in predicting approved reports. For cross‐application prediction, the accuracy reaches 80.7%, while for non–cross‐application prediction, the overall accuracy is 83.6%. In essence, with the proposed approach, over 80% of user requests can be automatically identified for exacting valuable user requirements, which significantly reduces labor costs. The replication package is available at https://github.com/feifeiniu‐se/approval_prediction . Feifei Niu, Chuanyi Li, Jidong Ge, Bin Luo 0003, Alexander Egyed |
J. Softw. Evol. Process. | 2 |
| 2025 | Effective Hard Negative Mining for Contrastive Learning-Based Code SearchabstractBackground . Code search aims to find the most relevant code snippet in a large codebase based on a given natural language query. An accurate code search engine can increase code reuse and improve programming efficiency. The focus of code search is how to represent the semantic similarity of code and query. With the development of code pre-trained models, the pattern of using numeric feature vectors (embeddings) to represent code semantics and using vector distance to represent semantic similarity has replaced traditional string matching methods. The quality of semantic representations is critical to the effectiveness of downstream tasks such as code search. Currently, the state-of-the-art (SOTA) learning method uses the contrastive learning paradigm. The objective of contrastive learning is to maximize the similarity between matching code and query (positive samples) and minimize the similarity between mismatched pairs (negative samples). To increase the reusing of negative samples, prior contrastive learning approaches use a large queue (memory bank) to store embeddings. Problem . However, there is still a lot of room for improvement in using negative examples for code search: ① Due to the random selection of negative samples, semantic representations learned by existing models cannot distinguish similar codes well. ② Since semantic vectors in the memory bank are reused from previous inference results and then directly used for loss function calculation without gradient descent, the model cannot effectively learn the negative sample semantic information. Method . To solve the above problems, we propose a contrastive learning code search model with hard negative mining called CoCoHaNeRe: ❶ To enable the model to distinguish similar codes, we introduce hard negative examples into contrastive training, which are negative examples in the codebase that are most similar to positive examples. As a result, hard negative examples are most likely to make the model make mistakes. ❷ To improve the learning efficiency of negative samples during training, we add all hard negative examples to the model's gradient descent process. Result . To verify the effectiveness of CoCoHaNeRe, we conducted experiments on large code search datasets with six programming languages, as well as similar retrieval tasks code clone detection and code question answering. Experimental results show that our model achieves SOTA performance. In the code search task, the average MRR score of CoCoHaNeRe exceeds CodeBERT, GraphCodeBERT, and UniXcoder by 11.25%, 8.13%, and 7.38%, respectively. It has also made great progress in code clone detection and code question answering. In addition, our method performs well in different programming languages and code pre-training models. Furthermore, qualitative analysis shows that our model effectively distinguishes high-order semantic differences between similar codes. Chuanyi Li, Jidong Ge, LiGuo Huang, Bin Luo 0003 |
ACM Trans. Softw. Eng. Methodol. | 2 |
| 2025 | Patch Correctness Assessment: A SurveyabstractMost automated program repair methods rely on test cases to determine the correctness of the generated patches. However, due to the incompleteness of available test suites, some patches that pass all the test cases may still be incorrect. This issue is known as the patch overfitting problem. Overfitting problem is a longstanding problem in automated program repair. Due to overfitting patches, the patches obtained by automated program repair tools require further validation to determine their correctness. Researchers have proposed many methods to automatically assess the correctness of patches, but no systematic review provides a detailed introduction to this problem, the existing solutions, and the challenges. To address this deficiency, we systematically review the existing approaches to patch correctness assessment. We first offer a few examples of overfitting patches to acquire a more detailed understanding of this problem. We then propose a comprehensive categorization of publicly available techniques and datasets, examine the commonly used evaluation metrics, and perform an in-depth analysis of the effectiveness of the existing models in addressing the challenge of overfitting. Based on our analysis, we provided the difficulties encountered by current methodologies, alongside the possible avenues for future research exploration. Zhiwei Fei, Jidong Ge, Chuanyi Li, Yuning Li, LiGuo Huang, Bin Luo 0003 |
ACM Trans. Softw. Eng. Methodol. | 3 |
| 2025 | An Empirical Study of Code Simplification Methods in Code Intelligence TasksabstractIn recent years, pre-trained language models have seen significant success in natural language processing and have been increasingly applied to code-related tasks. Code intelligence tasks have shown promising performance with the support of code pre-trained language models. Pre-processing code simplification methods have been introduced to prune code tokens from the model’s input while maintaining task effectiveness. These methods improve the efficiency of code intelligence tasks while reducing computational costs. Post-prediction code simplification methods provide explanations for code intelligence task outcomes, enhancing the reliability and interpretability of model predictions. However, comprehensive evaluations of these methods across diverse code pre-trained model architectures and code intelligence tasks are lacking. To assess the effectiveness of code simplification methods, we conduct an empirical study integrating these code simplification methods with various pre-trained code models across multiple code intelligence tasks. Our empirical findings suggest that developing task-specific code simplification methods would be beneficial. Then, we recommend leveraging post-prediction methods to summarize prior knowledge, which can pre-process code simplification strategies. Moreover, establishing more evaluation mechanisms for code simplification is crucial. Finally, we propose incorporating code simplification methods into the pre-training phase of code pre-trained models to enhance their program comprehension and code representation capabilities. Zongwen Shen, Yuning Li, Jidong Ge, Xiang Chen 0005, Chuanyi Li, LiGuo Huang, Bin Luo 0003 |
ACM Trans. Softw. Eng. Methodol. | 5 |
| 2025 | Benchmarking and Categorizing the Performance of Neural Program Repair Systems for JavaabstractRecent years have seen a rise in Neural Program Repair (NPR) systems in the software engineering community, which adopt advanced deep learning techniques to automatically fix bugs. Having a comprehensive understanding of existing systems can facilitate new improvements in this area and provide practical instructions for users. However, we observe two potential weaknesses in the current evaluation of NPR systems: ① published systems are trained with varying data, and ② NPR systems are roughly evaluated through the number of totally fixed bugs. Questions such as what types of bugs are repairable for current systems cannot be answered yet. Consequently, researchers cannot make target improvements in this area and users have no idea of the real affair of existing systems. In this article, we perform a systematic evaluation of the existing nine state-of-the-art NPR systems. To perform a fair and detailed comparison, we (1) build a new benchmark and framework that supports training and validating the nine systems with unified data and (2) evaluate re-trained systems with detailed performance analysis, especially on the effectiveness and the efficiency. We believe our benchmark tool and evaluation results could offer practitioners the real affairs of current NPR systems and the implications of further facilitating the improvements of NPR. Wenkang Zhong, Chuanyi Li, Kui Liu 0001, Jidong Ge, Bin Luo 0003, Tegawendé F. Bissyandé, Vincent Ng 0001 |
ACM Trans. Softw. Eng. Methodol. | 2 |
| 2025 | Improving Source Code Pre-Training via Type-Specific MaskingabstractThe Masked Language Modeling (MLM) task is widely recognized as one of the most effective pre-training tasks and currently derives many variants in the Software Engineering (SE) field. However, most of these variants mainly focus on code representation without distinguishing between different code token types, while some focus on a specific type, such as code identifiers. Indeed, various code token types exist, and there is no evidence that only identifiers can improve PTMs. Thus, to improve PTMs through different types, we conducted an extensive study to evaluate how different type-specific masking tasks can affect PTMs. First, we extract five code token types, convert them into type-specific masking tasks, and generate their combinations. Second, we pre-train CodeBERT and PLBART using combinations and fine-tuned them on four SE downstream tasks. Experimental results show that type-specific masking tasks can enhance CodeBERT and PLBART on all downstream tasks. Furthermore, we discuss topics related to low-resource datasets, conflicting PTMs that original pre-training tasks conflict with our methods, the cost and performance of our methods, factors that impact the performance of our methods, and applying our methods on state-of-the-art PTMs. These discussions comprehensively analyze the strengths and weaknesses of different type-specific masking tasks. Wentao Zou, Chuanyi Li, Jidong Ge, Xiang Chen 0005, LiGuo Huang, Bin Luo 0003 |
ACM Trans. Softw. Eng. Methodol. | 3 |
| 2025 | Experimental Evaluation of Parameter-Efficient Fine-Tuning for Software Engineering TasksabstractPre-trained models (PTMs) have succeeded in various software engineering (SE) tasks following the “pre-train then fine-tune” paradigm. As fully fine-tuning all parameters of PTMs can be computationally expensive, a potential solution is parameter-efficient fine-tuning (PEFT), which freezes PTMs while introducing extra parameters. Although PEFT methods have been applied to SE tasks, researchers often focus on specific scenarios and lack a comprehensive comparison of PTMs from different aspects such as field, size, and architecture. To fill this gap, we have conducted an empirical study on six PEFT methods, eight PTMs, and four SE tasks. The experimental results reveal several noteworthy findings. For example, model architecture has little impact on PTM performance when using PEFT methods. Additionally, we provide a comprehensive discussion of PEFT methods from three perspectives. First, we analyze the effectiveness and efficiency of PEFT methods. Second, we explore the impact of the scaling factor hyperparameter. Finally, we investigate the application of PEFT methods on the latest open source large language model, Llama 3.2. These findings provide valuable insights to guide future researchers in effectively applying PEFT methods to SE tasks. Wentao Zou, Zongwen Shen, Jidong Ge, Chuanyi Li, Xiang Chen 0005, Xiaoyu Shen 0001, LiGuo Huang, Bin Luo 0003 |
ACM Trans. Softw. Eng. Methodol. | 5 |
| 2024 | Legal Case Retrieval: A Survey of the State of the ArtabstractRecent years have seen increasing attention on Legal Case Retrieval (LCR), a key task in the area of Legal AI that concerns the retrieval of cases from a large legal database of historical cases that are similar to a given query.This paper presents a survey of the major milestones made in LCR research, targeting researchers who are finding their way into the field and seek a brief account of the relevant datasets and the recent neural models and their performances. Yi Feng 0005, Chuanyi Li, Vincent Ng 0001 |
ACL (1) | 2 |
| 2024 | Leveraging Hierarchies: HMCAT for Efficiently Mapping CTI to Attack Techniques
Zhiqiang Hao, Chuanyi Li, Xiao Fu 0005, Bin Luo 0003, Xiaojiang Du |
ESORICS (4) | 2 |
| 2024 | FAIR: Flow Type-Aware Pre-Training of Compiler Intermediate RepresentationsabstractWhile the majority of existing pre-trained models from code learn source code features such as code tokens and abstract syntax trees, there are some other works that focus on learning from compiler intermediate representations (IRs). Existing IR-based models typically utilize IR features such as instructions, control and data flow graphs (CDFGs), call graphs, etc. However, these methods confuse variable nodes and instruction nodes in a CDFG and fail to distinguish different types of flows, and the neural networks they use fail to capture long-distance dependencies and have over-smoothing and over-squashing problems. To address these weaknesses, we propose FAIR, a Flow type-Aware pre-trained model for IR that involves employing (1) a novel input representation of IR programs; (2) Graph Transformer to address over-smoothing, over-squashing and long-dependencies problems; and (3) five pre-training tasks that we specifically propose to enable FAIR to learn the semantics of IR tokens, flow type information, and the overall representation of IR. Experimental results show that FAIR can achieve state-of-the-art results on four code-related downstream tasks. Changan Niu, Chuanyi Li, Vincent Ng 0001, David Lo 0001, Bin Luo 0003 |
ICSE | 2 |
| 2024 | Practical Program Repair via Preference-based Ensemble StrategyabstractTo date, over 40 Automated Program Repair (APR) tools have been designed with varying bug-fixing strategies, which have been demonstrated to have complementary performance in terms of being effective for different bug classes. Intuitively, it should be feasible to improve the overall bug-fixing performance of APR via assembling existing tools. Unfortunately, simply invoking all available APR tools for a given bug can result in unacceptable costs on APR execution as well as on patch validation (via expensive testing). Therefore, while assembling existing tools is appealing, it requires an efficient strategy to reconcile the need to fix more bugs and the requirements for practicality. In light of this problem, we propose a Preference-based Ensemble Program Repair framework (P-EPR), which seeks to effectively rank APR tools for repairing different bugs. P-EPR is the first non-learning-based APR ensemble method that is novel in its exploitation of repair patterns as a major source of knowledge for ranking APR tools and its reliance on a dynamic update strategy that enables it to immediately exploit and benefit from newly derived repair results. Experimental results show that P-EPR outperforms existing strategies significantly both in flexibility and effectiveness. Wenkang Zhong, Chuanyi Li, Kui Liu 0001, Tongtong Xu, Jidong Ge, Tegawendé F. Bissyandé, Bin Luo 0003, Vincent Ng 0001 |
ICSE | 2 |
| 2024 | An Empirical Study on Code Search Pre-trained Models: Academic Progresses vs. Industry RequirementsabstractWith the rapid development of pre-trained source code models, code search has made fundamental advances. However, a thorough evaluation of the effectiveness of academic code search models in addressing the need of the industry is overlooked. We propose to conduct a ground-breaking evaluation of existing code search models w.r.t. their adaptability, scalability, robustness, and semantic sensitivity. First, we evaluate the influence of the queries’ semantic attributes on searching performance extensively, and design strategies to reduce the impact of the incomplete semantics. Then, we use variants of queries to test the model’s adaptability and robustness. Next, we classify queries to different search purposes to determine the cross-type searching applicability of the models. Finally, we measure the effects of multilingual efficient fine-tuning on the model performance, and provide a reliable way to reduce the costs of developing and deploying code search systems for the industry. These contribute well to narrowing the gap between academic progress and industry requirements of code search. Chuanyi Li, Jidong Ge, Bin Luo 0003 |
Internetware | 2 |
| 2024 | CCAF: Learning Code Change via AdapterFusionabstractCode changes are crucial because all code repositories can be viewed as composed of a series of code changes. Recent works on code changes prefer to use pre-trained models (PTMs) to capture the code change representations and have achieved remarkable success. However, these works usually compromise the original code representations of PTMs and ignore the relation of different code-change-related tasks. To boost the existing solutions to code-change-related tasks, we propose a new two-stage Code Change representation learning method using AdapterFusion, which is called CCAF. The first stage is knowledge extraction, where we freeze the parameters of the PTM and fine-tune additional parameters known as adapters. Each adapter acquires knowledge from a specific code-change-related task. The second stage, knowledge composition, employs AdapterFusion to compose the knowledge from all adapters, enhancing the PTM’s performance on a specific code-change-related task. To assess the effectiveness of CCAF, we employ CodeT5 as the base PTM, with its parameters frozen, and apply CCAF to three code-change-related tasks: commit message generation, automated patch correctness assessment, and just-in-time defect prediction. The experimental results indicate that CCAF not only outperforms a fully fine-tuned CodeT5 but also performs comparably to the state-of-the-art method, CCRep. Wentao Zou, Zongwen Shen, Jidong Ge, Chuanyi Li, Bin Luo 0003 |
Internetware | 4 |
| 2024 | Judicial intelligent assistant system: Extracting events from Chinese divorce cases to detect disputes for the judgeabstractAbstract In the formal procedure of Chinese civil cases, the textual materials provided by different parties describe the development process of the cases. It is a difficult but necessary task to extract the key information for the cases from these textual materials and to clarify the dispute focus of related parties. Currently, officers read the materials manually and use methods, such as keyword searching and regular matching, to get the target information. These approaches are time‐consuming and heavily depend on prior knowledge and the carefulness of the officers. To assist the officers in enhancing working efficiency and accuracy, we conduct a case study of detecting disputes from Chinese divorce cases based on proposing a Two‐Round‐Labeling (TRL) event extracting technique in this article. We implement the Judicial Intelligent Assistant (JIA) system according to the proposed approach to (1) automatically extract focus events from divorce case materials, (2) align events by identifying co‐reference among them, and (3) detect conflicts among events brought by the plaintiff and the defendant. With the JIA system, it is convenient for judges to determine the disputed issues in Chinese divorce cases. Experimental results demonstrate that the proposed approach and system can obtain the focus of Chinese divorce cases and detect conflicts more effectively and efficiently compared with the existing method. Chuanyi Li, Yu Sheng, Jidong Ge, Bin Luo 0003 |
Expert Syst. J. Knowl. Eng. | 2 |
| 2024 | RobustNPR: Evaluating the robustness of neural program repair modelsabstractAbstract Due to the high cost of repairing defective programs, many researches focus on automatic program repair (APR). In recent years, the new trend of APR is to apply neural networks to mine the relations between defective programs and corresponding patches automatically, which is known as neural program repair (NPR). The community, however, ignores some important properties that could impact the applicability of NPR systems, such as robustness. For semantic‐identical buggy programs, NPR systems may produce totally different patches. In this paper, we propose an evaluation tool named RobustNPR, the first NPR robustness evaluation tool. RobustNPR employs several mutators to generate semantic‐identical mutants of defective programs. For an original defective program and its mutant, it checks two aspects of NPR: (a) Can NPR fix mutants when it can fix the original defective program? and (b) can NPR generate semantic‐identical patches for the original program and the mutant? Then, we evaluate four SOTA NPR models and analyze the results. From the results, we find that even for the best‐performing model, 20.16% of the repair success is unreliable, which indicates that the robustness of NPR is not perfect. In addition, we find that the robustness of NPR is correlated with model settings and other factors. Hongliang Ge, Wenkang Zhong, Chuanyi Li, Jidong Ge, Hao Hu 0001, Bin Luo 0003 |
J. Softw. Evol. Process. | 3 |
| 2024 | PassSum: Leveraging paths of abstract syntax trees and self-supervision for code summarizationabstractAbstract Code summarization is to provide a high‐level comment for a code snippet that typically describes the function and intent of the given code. Recent years have seen the successful application of data‐driven code summarization. To improve the performance of the model, numerous approaches use abstract syntax trees (ASTs) to represent the structural information of the code, which is considered by most researchers to be the main factor that distinguishes code from natural language. Then, such data‐driven methods are trained on large‐scale labeled datasets to obtain a model with strong generalization capabilities that can be applied to new examples. Nevertheless, we argue that state‐of‐the‐art approaches suffer from two key weaknesses: (1) inefficient encoding of ASTs; (2) reliance on a large labeled corpus for model training. As a result, such drawbacks lead to (1) oversized model, slow training, information loss and instability; (2) inability to be applied to programming languages with only a small amount of labeled data. In light of these weaknesses, we propose PassSum, a code summarization approach that addresses the aforementioned weaknesses via (1) a novel input representation which contains an efficient AST encoding method; (2) introducing three pretraining objectives and pretraining our model with a large amount of (easy‐to‐obtain) unlabeled data under the guidance of self‐supervised learning. Experimental results on code summarization for Java, Python, and Ruby methods demonstrate the superiority of PassSum to state‐of‐the‐art methods. Further experiments demonstrate that the input representation we use has both temporal and spatial advantages in addition to performance leadership. In addition, pretraining is also shown to make the model more generalizable with less labeled data, and also to speed up the convergence of the model during training. Changan Niu, Chuanyi Li, Vincent Ng 0001, Jidong Ge, LiGuo Huang, Bin Luo 0003 |
J. Softw. Evol. Process. | 2 |
| 2024 | Comparing the Pretrained Models of Source Code by Re-pretraining Under a Unified SetupabstractRecent years have seen the successful application of large pretrained models of source code (CodePTMs) to code representation learning, which have taken the field of software engineering (SE) from task-specific solutions to task-agnostic generic models. By the remarkable results, CodePTMs are seen as a promising direction in both academia and industry. While a number of CodePTMs have been proposed, they are often not directly comparable because they differ in experimental setups such as pretraining dataset, model size, evaluation tasks, and datasets. In this article, we first review the experimental setup used in previous work and propose a standardized setup to facilitate fair comparisons among CodePTMs to explore the impacts of their pretraining tasks. Then, under the standardized setup, we re-pretrain CodePTMs using the same model architecture, input modalities, and pretraining tasks, as they declared and fine-tune each model on each evaluation SE task for evaluating. Finally, we present the experimental results and make a comprehensive discussion on the relative strength and weakness of different pretraining tasks with respect to each SE task. We hope our view can inspire and advance the future study of more powerful CodePTMs. Changan Niu, Chuanyi Li, Vincent Ng 0001, Bin Luo 0003 |
IEEE Trans. Neural Networks Learn. Syst. | 2 |
| 2024 | PTM-APIRec: Leveraging Pre-trained Models of Source Code in API RecommendationabstractRecommending APIs is a practical and essential feature of IDEs. Improving the accuracy of API recommendations is an effective way to improve coding efficiency. With the success of deep learning in software engineering, the state-of-the-art (SOTA) performance of API recommendation is also achieved by deep-learning-based approaches. However, existing SOTAs either only consider the API sequences in the code snippets or rely on complex operations for extracting hand-crafted features, all of which have potential risks in under-encoding the input code snippets and further resulting in sub-optimal recommendation performance. To this end, this article proposes to utilize the code understanding ability of existing general code P re- T raining M odels to fully encode the input code snippet to improve the accuracy of API Rec ommendation, namely, PTM-APIRec . To ensure that the code semantics of the input are fully understood and the API recommended actually exists, we use separate vocabularies for the input code snippet and the APIs to be predicted. The experimental results on the JDK and Android datasets show that PTM-APIRec surpasses existing approaches. Besides, an effective way to improve the performance of PTM-APIRec is to enhance the pre-trained model with more pre-training data (which is easier to obtain than API recommendation datasets). Chuanyi Li, Ze Tang 0002, Wanhong Huang 0003, Jidong Ge, Bin Luo 0003, Vincent Ng 0001 |
ACM Trans. Softw. Eng. Methodol. | 2 |
| 2023 | An Empirical Comparison of Pre-Trained Models of Source CodeabstractWhile a large number of pre-trained models of source code have been successfully developed and applied to a variety of software engineering (SE) tasks in recent years, our understanding of these pre-trained models is arguably fairly limited. With the goal of advancing our understanding of these models, we perform the first systematic empirical comparison of 19 recently-developed pre-trained models of source code on 13 SE tasks. To gain additional insights into these models, we adopt a recently -developed 4-dimensional categorization of pre-trained models, and subsequently investigate whether there are correlations between different categories of pre-trained models and their performances on different SE tasks. Changan Niu, Chuanyi Li, Vincent Ng 0001, Dongxiao Chen, Jidong Ge, Bin Luo 0003 |
ICSE | 2 |
| 2023 | CrossCodeBench: Benchmarking Cross-Task Generalization of Source Code ModelsabstractDespite the recent advances showing that a model pre-trained on large-scale source code data is able to gain appreciable generalization capability, it still requires a sizeable amount of data on the target task for fine-tuning. And the effectiveness of the model generalization is largely affected by the size and quality of the fine-tuning data, which is detrimental for target tasks with limited or unavailable resources. Therefore, cross-task generalization, with the goal of improving the generalization of the model to unseen tasks that have not been seen before, is of strong research and application value. In this paper, we propose a large-scale benchmark that includes 216 existing code-related tasks. Then, we annotate each task with the corresponding meta information such as task description and instruction, which contains detailed information about the task and a solution guide. This also helps us to easily create a wide variety of “training/evaluation” task splits to evaluate the various cross-task generalization capabilities of the model. Then we perform some preliminary experiments to demonstrate that the cross-task generalization of models can be largely improved by in-context learning methods such as few-shot learning and learning from task instructions, which shows the promising prospects of conducting cross-task learning research on our benchmark. We hope that the collection of the datasets and our benchmark will facilitate future work that is not limited to cross-task generalization. Changan Niu, Chuanyi Li, Vincent Ng 0001, Bin Luo 0003 |
ICSE | 2 |
| 2023 | An Automated and Flexible Multilingual Bug-Fix Dataset Construction SystemabstractDeveloping effective data-driven automated bug-fixing approaches is heavily relying on large bug-fix datasets. However, the granularity of current repository-mined bug-fixing datasets is usually at the function level, without meta-information such as the fault type. In order to alleviate the open challenge of precisely mining code snippets with bugs, their fix, location, and types from open source repositories, in this paper, we propose a flexible, extensible, and automated multilingual bug-fix dataset construction system, that is, the Multilingual Bug-Fix Constructor (MBFC). Furthermore, we release a large-scale and fine-grained Multi-lingual Bug-Fix (M-BF) dataset automatically built using the proposed system, which includes a total of 921,825 Bug-Fix pairs that are from 442,164 different open-source software projects starting from January 2020 to September 2020 in the initial version. It is expected that our system and dataset can benefit the development of innovative and practical program repair methods, thereby improving the efficiency of program debugging and code review processes. Wenkang Zhong, Chuanyi Li, Ziwen Ge, Jidong Ge, Bin Luo 0003 |
ASE | 2 |
| 2022 | Legal Judgment Prediction via Event Extraction with ConstraintsabstractWhile significant progress has been made on the task of Legal Judgment Prediction (LJP) in recent years, the incorrect predictions made by SOTA LJP models can be attributed in part to their failure to (1) locate the key event information that determines the judgment, and (2) exploit the cross-task consistency constraints that exist among the subtasks of LJP.To address these weaknesses, we propose EPM, an Event-based Prediction Model with constraints, which surpasses existing SOTA models in performance on a standard LJP dataset. Yi Feng 0005, Chuanyi Li, Vincent Ng 0001 |
ACL (1) | 2 |
| 2022 | SPT-Code: Sequence-to-Sequence Pre-Training for Learning Source Code RepresentationsabstractRecent years have seen the successful application of large pre-trained models to code representation learning, resulting in substantial improvements on many code-related downstream tasks. But there are issues surrounding their application to SE tasks. First, the majority of the pre-trained models focus on pre-training only the encoder of the Transformer. For generation tasks that are addressed using models with the encoder-decoder architecture, however, there is no reason why the decoder should be left out during pre-training. Second, many existing pre-trained models, including state-of-the-art models such as T5-learning, simply reuse the pretraining tasks designed for natural languages. Moreover, to learn the natural language description of source code needed eventually for code-related tasks such as code summarization, existing pretraining tasks require a bilingual corpus composed of source code and the associated natural language description, which severely limits the amount of data for pre-training. To this end, we propose SPT-Code, a sequence-to-sequence pre-trained model for source code. In order to pre-train SPT-Code in a sequence-to-sequence manner and address the aforementioned weaknesses associated with existing pre-training tasks, we introduce three pre-training tasks that are specifically designed to enable SPT-Code to learn knowledge of source code, the corresponding code structure, as well as a natural language description of the code without relying on any bilingual corpus, and eventually exploit these three sources of information when it is applied to downstream tasks. Experimental results demonstrate that SPT-Code achieves state-of-the-art performance on five code-related downstream tasks after fine-tuning. Changan Niu, Chuanyi Li, Vincent Ng 0001, Jidong Ge, LiGuo Huang, Bin Luo 0003 |
ICSE | 2 |
| 2022 | AST-Trans: Code Summarization with Efficient Tree-Structured AttentionabstractCode summarization aims to generate brief natural language descriptions for source codes. The state-of-the-art approaches follow a transformer-based encoder-decoder architecture. As the source code is highly structured and follows strict grammars, its Abstract Syntax Tree (AST) is widely used for encoding structural information. However, ASTs are much longer than the corresponding source code. Existing approaches ignore the size constraint and simply feed the whole linearized AST into the encoders. We argue that such a simple process makes it difficult to extract the truly useful dependency relations from the overlong input sequence. It also incurs significant computational overhead since each node needs to apply self-attention to all other nodes in the AST. To encode the AST more effectively and efficiently, we propose AST-Trans in this paper which exploits two types of node relationships in the AST: ancestor-descendant and sibling relationships. It applies the tree-structured attention to dynamically allocate weights for relevant nodes and exclude irrelevant nodes based on these two relationships. We further propose an efficient implementation to support fast parallel computation for tree-structure attention. On the two code summarization datasets, experimental results show that AST-Trans significantly outperforms the state-of-the-arts while being times more efficient than standard transformers1. Ze Tang 0002, Xiaoyu Shen 0001, Chuanyi Li, Jidong Ge, LiGuo Huang, Zheling Zhu, Bin Luo 0003 |
ICSE | 3 |
| 2022 | Legal Judgment Prediction: A Survey of the State of the ArtabstractAutomatic legal judgment prediction (LJP) has recently received increasing attention in the natural language processing community in part because of its practical values as well as the associated research challenges. We present an overview of the major milestones made in LJP research covering multiple jurisdictions and multiple languages, and conclude with promising future research directions. Yi Feng 0005, Chuanyi Li, Vincent Ng 0001 |
IJCAI | 2 |
| 2022 | DeexaggerationabstractWe introduce a new task in hyperbole processing, deexaggeration, which concerns the recovery of the meaning of what is being exaggerated in a hyperbolic sentence in the form of a structured representation. In this paper, we lay the groundwork for the computational study of understanding hyperbole by (1) defining a structured representation to encode what is being exaggerated in a hyperbole in a non-hyperbolic manner, (2) annotating the hyperbolic sentences in two existing datasets, HYPO and HYPO-cn, using this structured representation, (3) conducting an empirical analysis of our annotated corpora, and (4) presenting preliminary results on the deexaggeration task. Chuanyi Li, Vincent Ng 0001 |
IJCAI | 2 |
| 2022 | Deep Learning Meets Software Engineering: A Survey on Pre-Trained Models of Source CodeabstractRecent years have seen the successful application of deep learning to software engineering (SE). In particular, the development and use of pre-trained models of source code has enabled state-of-the-art results to be achieved on a wide variety of SE tasks. This paper provides an overview of this rapidly advancing field of research and reflects on future research directions. Changan Niu, Chuanyi Li, Bin Luo 0003, Vincent Ng 0001 |
IJCAI | 2 |
| 2022 | Towards Just-In-Time Feature Request Approval PredictionabstractOpen user forums for software products have gradually become an important source of software new features. However, analyzing the rapidly growing user feature requests also brings a huge workload to software managers. Generally, only acceptable requests are of concern to the managers. Therefore, a tool that automatically determines whether the request is acceptable (i.e., to be approved) from the perspective of software managers is needed to enhance the request processing efficiency. In this paper, we lay the groundwork for the computational study of a feature request approval prediction by (1) formally defining the Just-In-Time Feature Request Approval Prediction (i.e., JITFRAP) task by collecting and manually annotating the real-world user feature requests, (2) constructing a standard data set for the JITFRAP task, and exploring characteristics of the task with experiments, and (3) presenting and discussing preliminary results from three basic aspects for the JITFRAP task, which can serve as useful baseline performance for future work. Experimental results prove that FRAP is timing-affected, just-in-time and affected by project status. We propose an approach with reference to these three characteristics and evaluation results indicate the proposed approach is promising. Our dataset is available at https://zenodo.org/record/6544368. Feifei Niu, Chuanyi Li, Jidong Ge, Bin Luo 0003 |
Internetware | 2 |
| 2022 | Neural Program Repair : Systems, Challenges and SolutionsabstractAutomated Program Repair (APR) aims to automatically fix bugs in the source code. Recently, with advances in Deep Learning (DL) field, there has been an increase of Neural Program Repair (NPR) studies that use neural networks to model the patch-generation process. NPR approaches have a significant benefit in applicability over prior APR techniques because they do not require any specifications (e.g., a test suite) when generating patches. For this reason, NPR has recently become a popular research topic. In this paper, We undertake a literature review of latest NPR systems to help interested readers understand advancements in this emerging field. We begin by introducing background information of NPR. Next, to make the various NPR systems more understandable, we split them into a four-phase pipeline and discuss various design choices for each phase. To investigate the motivations of different design choices, We further highlight a number of challenges and summarize corresponding solutions adopted by existing NPR systems. Finally, we suggest some intriguing directions for the future research. Wenkang Zhong, Chuanyi Li, Jidong Ge, Bin Luo 0003 |
Internetware | 2 |
| 2022 | StandUp4NPR: Standardizing SetUp for Empirically Comparing Neural Program Repair SystemsabstractRecently, the emerging trend in automatic program repair is to apply deep neural networks to generate fixed code from buggy ones, called NPR (Neural Program Repair). However, the existing NPR systems are trained and evaluated under very different settings (e.g., different training data, inconsistent evaluation data, wide-ranged candidate numbers), which makes it hard to draw fair-enough conclusions when comparing them. Motivated by this, we first build a standard benchmark dataset and an extensive framework tool to mitigate threats for the comparison. The dataset consists of a training set, a validation set and an evaluation set with 144,641, 13,739 and 13,706 bug-fix pairs of Java respectively. The tool supports selecting specific training, validation, and evaluation datasets and automatically conducting the pipeline of training and evaluating NPR models, as well as easily integrating new NPR models by implementing well-defined interfaces. Then, based on the benchmark and tool, we conduct a comprehensive empirical comparison of six SOTA NPR systems w.r.t the repairability, inclination and generalizability. The experimental results reveal deeper characteristics of compared NPR systems and subvert some existing comparative conclusions, which further verify the necessity of unifying the experimental setups in exploring the progresses of NPR systems. Meanwhile, we reveal some common features of NPR systems (e.g., they are good at dealing with code-delete bugs). Finally, we identify some promising research directions derived from our findings. Wenkang Zhong, Hongliang Ge, Hongfei Ai, Chuanyi Li, Kui Liu 0001, Jidong Ge, Bin Luo 0003 |
ASE | 4 |
| 2022 | Lighting up supervised learning in user review-based code localization: dataset and benchmarkabstractAs User Reviews (URs) of mobile Apps are proven to provide valuable feedback for maintaining and evolving applications, how to make full use of URs more efficiently in the release cycle of mobile Apps has become a widely concerned and researched topic in the Software Engineering (SE) community. In order to speed up the completion of coding work related to URs to shorten the release cycle as much as possible, the task of User Review-based code localization is proposed and studied in depth. However, due to the lack of large-scale ground truth dataset (i.e., truly related pairs), existing methods are all unsupervised learning-based. In order to light up supervised learning approaches, which are driven by large labeled datasets, for Review2Code, and to compare their performances with unsupervised learning-based methods, we first introduce a large-scale human-labeled ground truth dataset, including the annotation process and statistical analysis. Then, a benchmark consisting of two SOTA unsupervised learning-based and four supervised learning-based Review2Code methods is constructed based on this dataset. We believe that this paper can provide a basis for in-depth exploration of the supervised learning-based Review2Code solutions. Xinwen Hu, Jianjie Lu, Zheling Zhu, Chuanyi Li, Jidong Ge, LiGuo Huang, Bin Luo 0003 |
ESEC/SIGSOFT FSE | 5 |
| 2022 | Statute recommendation: Re-ranking statutes by modeling case-statute relation with interpretable hand-crafted featuresabstractIn the continental law system, it is appropriate for judges to find relevant laws and consider rules defined in them when dealing with legal cases. Therefore, recommending relevant laws quickly and accurately based on case content is crucial in improving the efficiency of case processing. There have been researched works of recommender systems in various fields, but few of them lucubrates systems that recommend statutes for cases. To the best of our knowledge, there is no research on recommending statutes by modeling the relationship between case content and law content with interpretable hand-crafted features. In this paper, we define five novel types of features for calculating relevance between a case and a statute for resorting all statutes retrieved through collaborative filtering for the input case. Both pair-wise and list-wise ranking models are trained based on all these features for re-ranking the statutes list. Besides, we also test the combinations of different learning algorithms and popular pre-trained language models. Experimental results show that adopting the proposed novel features in pair-wise ranking achieves the best performance. It improves the recommendation recall of the Top 1 statute by almost 5% compared with the collaborative filtering approach. Chuanyi Li, Jidong Ge, Bin Luo 0003, Victor Chang 0001 |
Inf. Sci. | 1 |
| 2022 | Predicting Product Review Helpfulness - A Hybrid MethodabstractRecent years have seen a rapidly growing number of online reviews of products. As a result, it is often not possible for customers to go through each review before making purchase decisions. One way to address this problem is to build a system for automatically addressing the helpfulness of reviews and present only those reviews that are determined to be helpful by the system to an end user. The vast majority of existing approaches to the task of review helpfulness prediction are based on hand-crafted features, thus making system performance heavily dependent on the quality of these features. In light of this weakness, we propose a new model of review helpfulness prediction using a combination of Convolutional Neural Network (CNN) and TransE wherein hand-crafted features can also be incorporated to improve the output. Specifically, CNN enables us to learn the semantic information from a review and TransE is used to capture the relationship between different entities mentioned in the review. Experiments on the Amazon product review datasets demonstrate that our approach significantly outperforms the state of the art. Chuanyi Li, Jidong Ge, Vincent Ng 0001, Bin Luo 0003 |
IEEE Trans. Serv. Comput. | 2 |
| 2022 | Measuring Business Process Behavioral Similarity Based on Token Log ProfileabstractMeasuring business process similarity plays an important role in the analysis, management and optimization of business in big companies. In the early days, experts paid major attention to calculating business similarity according to corresponding process models. However, models only express ideal behavior of business processes without any undesired or unexpected business routines. In order to fully model business behavior, some researchers use system logs in similarity measuring. But previous system-logs-based similarity measurements have limitations on: (1) satisfaction of algorithm properties, (2) distribution of similarity values, and (3) complexity of algorithm. In this article, we take the advantages of token logs in process behavioral similarity measuring. Firstly, the Token Log Profile, modeled with a relation matrix, is defined as an abstraction of the initial token logs. Then, similarity between business processes is calculated based on their Token Log Profiles according to the proposed algorithm. Besides, we extend the properties that similarity algorithms should satisfy for evaluating the proposed algorithm. The experimental and analytical results show that our algorithm achieves very promising accuracy and efficiency while satisfying all the proposed properties compared with state-of-the-art algorithms. Feifei Niu, Chuanyi Li, Jidong Ge, Lijie Wen 0001, Zhongjin Li, Bin Luo 0003 |
IEEE Trans. Serv. Comput. | 2 |
| 2021 | Delving into Variance Transmission and Normalization: Shift of Average Gradient Makes the Network Collapse
Jidong Ge, Chuanyi Li, Jie Gui |
AAAI | 3 |
| 2021 | Optimizing Federated Edge Learning on Non-IID Data via Neural Architecture SearchabstractTo exploit the vast amount of distributed data across edge devices, Federated Learning (FL) has been proposed to learn a shared model by performing distributed training locally on participating devices and aggregating the local models into a global one. The existing FL algorithms suffer from accuracy loss due to that data samples across all devices are usually not independent and identically distributed (non-i.i.d.). Besides, devices might lose connection during the training process in wireless edge computing. Thus, we advocate one-shot Neural Architecture Search technique as a basis to propose a solution which can deal with non-i.i.d. problem and is robust to the intermittent connection issue. We adopt a large network as the global model which includes all the candidate network architectures. The non-i.i.d. problem is alleviated by two steps: (1) identify and train the candidate networks which are potentially high performance and trained with less bias using a heuristic sampling scheme; (2) search for the final model with the highest accuracy rate from the candidate networks. Experimental results show that the model trained by our proposed method is robust to non-i.i.d. problem and can achieve 84% reduced communication overhead compared with the baselines. Jidong Ge, Chifong Wong, Sheng Zhang 0001, Chuanyi Li, Bin Luo 0003 |
GLOBECOM | 5 |
| 2021 | AST-Transformer: Encoding Abstract Syntax Trees Efficiently for Code SummarizationabstractCode summarization aims to generate brief natural language descriptions for source code. As source code is highly structured and follows strict programming language grammars, its Abstract Syntax Tree (AST) is often leveraged to inform the encoder about the structural information. However, ASTs are usually much longer than the source code. Current approaches ignore the size limit and simply feed the whole linearized AST into the encoder. To address this problem, we propose AST-Transformer to efficiently encode tree-structured ASTs. Experiments show that AST-Transformer outperforms the state-of-arts by a substantial margin while being able to reduce 90 ~ 95% of the computational complexity in the encoding process. Ze Tang 0002, Chuanyi Li, Jidong Ge, Xiaoyu Shen 0001, Zheling Zhu, Bin Luo 0003 |
ASE | 2 |
| 2021 | Real-time and dynamic fault-tolerant scheduling for scientific workflows in clouds
Zhongjin Li, Victor Chang 0001, Hua Hu 0001, Chuanyi Li, Jidong Ge |
Inf. Sci. | 5 |
| 2021 | Learning Fine-Grained Fact-Article Correspondence in Legal CasesabstractAutomatically recommending relevant law articles to a given legal case has attracted much attention as it can greatly release human labor from searching over the large database of laws. However, current researches only support coarse-grained recommendation where all relevant articles are predicted as a whole without explaining which specific fact each article is relevant with. Since one case can be formed of many supporting facts, traversing over them to verify the correctness of recommendation results can be time-consuming. We believe that learning fine-grained correspondence between each single fact and law articles is crucial for an accurate and trustworthy AI system. With this motivation, we perform a pioneering study and create a corpus with manually annotated fact-article correspondences. We treat the learning as a text matching task and propose a multi-level matching network to address it. To help the model better digest the content of law articles, we parse articles in form of premise-conclusion pairs with random forest. Experiments show that the parsed form yielded better performance and the resulting model surpassed other popular text matching baselines. Furthermore, we compare with previous researches and find that establishing the fine-grained fact-article correspondences can improve the recommendation accuracy by a large margin. Our best system reaches an F1 score of 96.3%, making it of great potential for practical use. It can also significantly boost the downstream task of legal decision prediction, increasing the F1 score by up to 12.7%. The dataset and code will be released upon acceptance. Code and dataset are available at https://github.com/gjdnju/MLMN. Jidong Ge, Yunyun Huang, Xiaoyu Shen 0001, Chuanyi Li, Wei Hu 0007 |
IEEE ACM Trans. Audio Speech Lang. Process. | 4 |
| 2021 | Recommending Statutes: A Portable Method Based on Neural NetworksabstractLegal judgment prediction, which aims at predicting judgment results such as penalty, charges, and statutes for cases, has attracted much attention recently. In this article, we focus on building a recommender system to predict the associated statutes for a case given the facts of the case as input. For this purpose, we propose a two-step neural network-based machine learning framework to assist judges as well as ordinary people to reduce their effort in finding applicable statutes. The proposed model takes advantage of recurrent neural networks with a max-pooling layer to obtain contextual representations of documents, i.e., the facts associated with the cases. Moreover, an attention mechanism is used to automatically focus on the important words contributing to the prediction of statutes. In addition, we apply an encoder--decoder ranking approach to extract correlations between statutes to achieve more accurate recommendation results. We evaluate our model on a real-world dataset. Experimental results show that, compared with existing baseline methods, our method can predict statutes that are more likely to appear in real judgments. Yi Feng 0005, Chuanyi Li, Jidong Ge, Bin Luo 0003, Vincent Ng 0001 |
ACM Trans. Knowl. Discov. Data | 2 |
| 2020 | Identifying Exaggerated LanguageabstractWhile exaggeration is one of the most prevalent rhetorical devices, it is arguably one of the least studied in the figurative language processing community.We contribute to the computational study of exaggeration by (1) creating the first Chinese corpus focusing on sentence-level hyperbole detection, with the goal of facilitating a cross-lingual study on this phenomenon, (2) performing a statistical and manual analysis of our corpus, with the goal of gaining insights into the strategies humans employ when creating hyperboles, and (3) addressing the automatic hyperbole detection task with deep learning techniques. Chuanyi Li, Jidong Ge, Bin Luo 0003, Vincent Ng 0001 |
EMNLP (1) | 2 |
| 2020 | Retrieving Similar Software from Large-scale Open-source Repository by Constructing Representation of Project Description
Chuanyi Li, Jidong Ge, Victor Chang 0001, Bin Luo 0003 |
IoTBDS | 1 |
| 2020 | A novel completeness definition of event logs and corresponding generation algorithmabstractAbstract As the promotion of technologies and applications of Big Data, the research of business process management (BPM) has gradually deepened to consider the impacts and challenges of big business data on existing BPM technologies. Recently, parallel business process mining (e.g. discovering business models from business visual data, integrating runtime business data with interactive business process monitoring visualisation systems and summarising and visualising historical business data for further analysis, etc.) and multi‐perspective business data analytics (e.g. pattern detecting, decision‐making and process behaviour predicting, etc.) have been intensively studied considering the steep increase in business data size and type. However, comprehensive and in‐depth testing is needed to ensure their quality. Testing based solely on existing business processes and their system logs is far from sufficient. Large‐scale randomly generated models and corresponding complete logs should be used in testing. To test parallel algorithms for discovering process models, different log completeness and generation algorithms were proposed. However, they suffer from either state space explosion or non‐full‐covering task dependencies problem. Besides, most existing generation algorithms rely on random executing strategy, which leads to low and unstable efficiency. In this paper, we propose a novel log completeness type, that is, #TAR completeness, as well as its generation algorithm. The experimental results based on a series of randomly generated process models show that the #TAR complete logs outperform the state‐of‐the‐art ones with lower capacity, fuller dependencies covering and higher generating efficiency. Chuanyi Li, Jidong Ge, Lijie Wen 0001, Victor Chang 0001, LiGuo Huang, Bin Luo 0003 |
Expert Syst. J. Knowl. Eng. | 1 |
| 2020 | Leveraging multiple features for document sentiment classification
Chuanyi Li, Jidong Ge, Yi Feng 0005, Zhongjin Li, Bin Luo 0003 |
Inf. Sci. | 2 |
| 2020 | Security and performance-aware resource allocation for enterprise multimedia in mobile edge computing
Zhongjin Li, Binbin Huang 0006, Jie Chen 0060, Chuanyi Li, Hua Hu 0001, LiGuo Huang |
Multim. Tools Appl. | 5 |
| 2019 | Improving Statute Prediction via Mining Correlations between StatutesabstractThe task of statute prediction focuses on determining applicable statutes for legal cases with the inputs of fact descriptions, which is crucial for both legal experts and ordinary people without professional knowledge. Existing works just consider the correspondence from facts to individual statutes and ignore the correlations between statutes. Moreover, charges of cases have associations with statutes. To address these issues, we formulate statute prediction task as a sequence generation problem and propose a novel joint generative model to mine correlations between statutes. By integrating statute prediction task and charge prediction task, we also make model learn associations between statutes and charges. Experiments show our model outperforms several baselines significantly and correlative statutes are predicted accurately. Yi Feng 0005, Chuanyi Li, Jidong Ge, Bin Luo 0003 |
ACML | 2 |
| 2019 | An Efficient Heuristic Method for Repairing Event Logs Independent of Process ModelsabstractDue to the big volume of data and complex execution, event logs of business processes inevitably contain various errors. In the field of process mining, if we derive process models from the event data without repairing, it is very likely that the resulting process is extremely different from what we expect. Current methods of repairing logs generally compare the log with an existing reference model to seek an optimal alignment, which requires that there should be a reliable reference model. Therefore, this paper presents an approach which only refers to the log itself to repair mistaken traces. We identify loop structures and frequent event sequences (sound conditions) between certain events. For each trace, basic trace and loop events are separated in advance. The basic trace is split into several parts to get repaired one by one according to sound conditions. Then loop events are added back and checked according to corresponding loop structure we discover. The repaired log should be as clean as possible and as similar to the original log as possible so that correctness and integrity of the original log are guaranteed. Experimental results based on different logs prove that our approach is effective and efficient. Chuanyi Li, Jidong Ge, Zhongjin Li, Bin Luo 0003 |
IoTBDS | 2 |
| 2019 | Online learning offloading framework for heterogeneous mobile edge computing system
Jidong Ge, Chifong Wong, Chuanyi Li, Xingguo Chen, Sheng Zhang 0001, Bin Luo 0003, He Zhang 0001, Victor Chang 0001 |
J. Parallel Distributed Comput. | 4 |
| 2019 | Monitoring Interactions Across Multi Business Processes with Token Carried DataabstractThe rapid development of web service provides many opportunities for companies to migrate their business processes to the Internet for wider accessibility and higher collaboration efficiency. However, the open, dynamic and ever-changing Internet also brings challenges in protecting these business processes. There are certain process monitoring methods and the recently proposed ones are based on state changes of process artifacts or places, however, they do not mention defending process interactions from outer tampering, where events could not be detected by process systems, or saving fault-handling time. In this paper, we propose a novel Token-based Interaction Monitoring framework based on token carried data to safeguard process collaboration and reduce problem solving time. Token is a more common data entity in processes than process artifacts and they cover all tasks' executions. Comparing to detecting places' state change, we set security checking points at both when tokens are just produced and to be consumed. This will ensure that even if data is tampered after being created it would be detected before being used. For applying monitoring framework, we develop a collaboration constructing method with token-based process mining techniques to derive global interaction processes as well as organize historical process data in forms of token. Chuanyi Li, Jidong Ge, Zhongjin Li, LiGuo Huang, Bin Luo 0003 |
IEEE Trans. Serv. Comput. | 1 |
| 2018 | Statutes Recommendation Using Classification and Co-occurrence Between Statutes
Yi Feng 0005, Jidong Ge, Chuanyi Li, Bin Luo 0003 |
PRICAI | 3 |
| 2018 | Construction of Microblog-Specific Chinese Sentiment Lexicon Based on Representation Learning
Chuanyi Li, Jidong Ge, Bin Luo 0003 |
PRICAI (1) | 2 |
| 2018 | A Novel Convolutional Neural Network for Statutes Recommendation
Chuanyi Li, Jingjing Ye, Jidong Ge, Bin Luo 0003 |
PRICAI (1) | 1 |
| 2018 | Automatically Classifying Chinese Judgment Documents Using Character-Level Convolutional Neural Networks
Xiaosong Zhou, Chuanyi Li, Jidong Ge, Zhongjin Li, Bin Luo 0003 |
PRICAI | 2 |
| 2018 | A load-aware resource allocation and task scheduling for the emerging cloudlet system
Jidong Ge, Zhongjin Li, Chuanyi Li, Chifong Wong, Bin Luo 0003, Victor Chang 0001 |
Future Gener. Comput. Syst. | 4 |
| 2018 | Multi-objective scheduling for scientific workflow in multicloud environment
Zhongjin Li, Hua Hu 0001, Jie Chen 0060, Jidong Ge, Chuanyi Li, Victor Chang 0001 |
J. Netw. Comput. Appl. | 6 |
| 2018 | Automatically classifying user requests in crowdsourcing requirements engineering
Chuanyi Li, LiGuo Huang, Jidong Ge, Bin Luo 0003, Vincent Ng 0001 |
J. Syst. Softw. | 1 |
| 2017 | Design and Implementation of Visual Modeling Tool for Evidence ChainabstractIn the case of a traditional court judge, the facts are based on the law as the cornerstone, the fact that can be proved by the legal evidences. As we all know, assisting judges to manage evidence chain information can significantly improve the efficiency and quality of judges. Therefore, based on this idea, this paper will introduce the design and implementation of Visual Modeling Tool for evidence chain. The tool can help the judge to build various types of evidence chain, and can help to improve the work efficiency of judges. This visual modeling tool is divided into two main forms of visualization, includes the Graphical Mode and Table Mode. It means the same data with different display forms. So that the judge can deal with a large number of complex and varied evidence of chain information quickly and easily. Also, the efficiency of the judge to handle the case can be significantly improved. Yuanliang Chen, Jidong Ge, Yi Feng 0005, Yemao Zhou, Chuanyi Li, Zhongjin Li, Bin Luo 0003 |
WISA | 5 |
| 2017 | A Method of the Association Statistics between the Cause of Action and the StatutesabstractThis paper presents a method of the association statistics between the cause of action and the statute. According to the close relationship between the cause of action and the statute in the written judgment, this paper puts forward the statistical analysis of the cause of action and the statute. The method mainly includes the pretreatment of semi-structured written judgments, reading information of the cause of action and the statute from structured documents, standardizing statutes, depositing in the database, generating EXCEL form of the association statistics from the cause of action to the statue and generating TXT form of the association statistics from the statue to the cause of action. In the process of reasoning and assessment, we can achieve the prediction of statutes and narrow the size of the cause of action. Yi Feng 0005, Jidong Ge, Yemao Zhou, Chuanyi Li, Zhongjin Li, Bin Luo 0003 |
WISA | 4 |
| 2017 | Checking the Statutes in Chinese Judgment Document Based on Editing Distance AlgorithmabstractWith the continuous advancement of the informatization of the Chinese People's Court, the court's view on the extraction and application of information has not only been on the structured data, but also for the semi-structured and unstructured data. In the process of in-depth study of the judgment document, many cases require the collection of the document result as an important data dimension, and the key is that the statute is the core of the whole result, so the integrity and correctness of the statute obtained has played a key role for the process of the judgment document processing. However, in the process of writing a specific judgment document, the same statute has different string forms due to the diversity of writing, which leads directly to the error data source. Comparing the editing distance between the strings can judge the similarity of them to a certain extent. Therefore, an automatic method based on the editing distance algorithm is devised, which constructs the disparity model between different statutes strings, to obtain the standardized writing of the same type data. Using this method can remove the non-standard writing of statutes, and ultimately access to the standard statutes collection. This method has a higher efficiency than the method of enumerating all the writing circumstances, which needs the manual participation, additional data storage and update. Yi Feng 0005, Jidong Ge, Yemao Zhou, Chuanyi Li, Bin Luo 0003 |
WISA | 6 |
| 2017 | Statutes Recommendation Based on Text SimilarityabstractThe traditional approach to measure text similarity is based on the TF-IDF algorithm to get the document vector, and then use the cosine similarity algorithm to calculate the text similarity. However, this method of statistical way ignores the potential semantics of the articles or words. By some means, this method only aims at the word itself. But with the Latent Semantic Analysis, the semantic space is added on the basis of calculate TF-IDF. Each word and document can have a position in semantic space by Singular Value Decomposition. That allows the semantic analysis, document clustering, and the relationship between semantic class and document class can be finished at the same time. Here, we summarize the text similarity measures, and gradually extend to the Latent Semantic Analysis. The experiment shows that the statutes predicted by LSA are more accurate than that only by TF-IDF. Jidong Ge, Yemao Zhou, Yi Feng 0005, Chuanyi Li, Zhongjin Li, Bin Luo 0003 |
WISA | 5 |
| 2017 | Information Extraction from Chinese Judgment DocumentsabstractJudgment documents contain a wealth of valuable information. The original judgment documents are written in pure text format, so we cannot obtain information directly, which hinders the study of the judgment documents. We propose an approach to parse Chinese judgment documents into structured documents to solve this problem. Divide a judgment document into logical segments, and then extract and label information items from these logical segments. Use information items to build analytic document information model and the model is output into a structured XML document. Chuhan Zhuang, Yemao Zhou, Jidong Ge, Zhongjin Li, Chuanyi Li, Bin Luo 0003 |
WISA | 5 |
| 2017 | Task Offloading for Scientific Workflow Application in Mobile Cloud
Jidong Ge, Zhongjin Li, Chuanyi Li, Zifeng Huang, Bin Luo 0003 |
IoTBDS | 4 |
| 2017 | Energy cost minimization with job security guarantee in Internet data center
Zhongjin Li, Jidong Ge, Chuanyi Li, Bin Luo 0003, Victor Chang 0001 |
Future Gener. Comput. Syst. | 3 |
| 2017 | Software cybernetics in BPM: Modeling software behavior as feedback for evolution by a novel discovery method based on augmented event logs
Chuanyi Li, Jidong Ge, LiGuo Huang, Budan Wu, Hao Hu 0001, Bin Luo 0003 |
J. Syst. Softw. | 1 |
| 2016 | Process mining with token carried data
Chuanyi Li, Jidong Ge, LiGuo Huang, Budan Wu, Hao Hu 0001, Bin Luo 0003 |
Inf. Sci. | 1 |