arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Author

Haize Hu

9 papers · 2023–2026

2023: 22024: 32025: 22026: 2
2023peak 3 in 20242026

Frequent co-authors

Papers

showing 1–9 of 9 RSS

CMCS: contrastive-metric learning via vector-level sampling and augmentation for code search

Qihong Song, Haize Hu, Tebo Dai

Artificial Intelligence · Scientific Reports · · cited 4× · DOI ↗ · more like this ·

Code search aims to search for code snippets from large codebase that are semantically related to natural query statements. Deep learning is a valuable method for solving code search tasks in which the quality of training data directly impacts the performance of deep-learning models. However, most existing deep-learning models for code search research have overlooked the critical role of training data within batches, particularly hard negative samples, in optimizing model parameters. In this paper, we propose contrastive-metric learning CMCS for code search based on vector-level sampling and augmentation. Specifically, we propose a sampling method to obtain hard negative samples based on the K-means algorithm and a hardness-controllable sample augmentation method to obtain positive and hard negative samples based on vector-level augmentation techniques. We then design an optimization…

Deep code search efficiency based on clustering

Kun Liu, Jianxun Liu, Haize Hu

Information Systems · Concurrency and Computation Practice and Experience · · cited 4× · DOI ↗ · more like this ·

Abstract The deep‐learning based code search model mainly takes accuracy as the only target for judging the performance of the model, ignoring the efficiency of code search. This article proposes a clustering‐based code search model (C‐DCS). C‐DCS uses the K‐Means to divide the code vector base into K clusters and obtains the center vectors of K clusters. While searching, C‐DCS first matches the query vector with the K center vectors to get the best matching center vector. After matching the center vector, C‐DCS matches the query vector with code vectors in the cluster corresponding to the best matching center vector one by one and then gets the best matching code snippet vector. To verify the efficiency of C‐DCS in the code search task, experimental analysis was built on a large dataset. The experimental results showed that C‐DCS saves 92.2% of the search time compared to the baseline…

A Multiple-Path Learning Neural Network Model for Code Completion

Yi Liu, Jianxun Liu, Xiangping Zhang +1 more

Artificial Intelligence · · cited 3× · DOI ↗ · more like this ·

Code completion, which can accelerate the software development process and improve the quality of software products, is an essential part of today’s integrated development environments. It has become an important research topic in the field of software engineering. Recent studies have shown that the method of code completion based on the Abstract Syntax Tree (AST) learns syntactic information about the code, which helps to improve the accuracy of code completion. However, when modeling neural networks for ASTs, the sequencing operation of nodes leads to the loss of their hierarchical structure information. Meanwhile, traditional neural networks cannot predict many Out-of-Vocabulary (OoV) words in the terminal node values of AST. To alleviate the above problem, in this paper, we propose a Multiple-Path Learning neural network model for code completion (MPL) based on an AST by learning…

Automatic Evaluation of English Translation Based on Multi-granularity Interaction Fusion

Xibo Chen, Yonghe Yang, Haize Hu

Artificial Intelligence · Neural Processing Letters · · cited 2× · DOI ↗ · more like this ·

The latest neural machine translation automatic evaluation method uses pre-trained context word vectors to extract semantic features and directly concatenates them into the neural network to predict translation quality. However, the direct operation can easily lead to a lack of interaction between features, and the layer-by-layer prediction is prone to losing fine-grained matching information. To address these issues, we propose a multi-granularity interactive fusion English translation automatic evaluation, which introduces middle and late information fusion methods. First, we use a bilinear attention distribution to capture high-order cross language feature interactions. By stacking multiple high-order interaction blocks and equipping them with an index linear unit without parameters for middle fusion in a parameter-free manner. Second, we use fine-grained accurate matching sentence…

<scp>AI</scp> ‐Smart Classroom for English Translation: An Adaptive <scp>HMM</scp> ‐Based Framework

Xibo Chen, Haize Hu

Artificial Intelligence · Computational Intelligence · · cited 1× · DOI ↗ · more like this ·

ABSTRACT This study develops an AI‐enhanced smart classroom framework to overcome the limitations of traditional English translation instruction, particularly in addressing the theory‐practice gap. We designed a three‐phase intelligent teaching system incorporating Hidden Markov Models (HMM) for: (1) adaptive pre‐class preparation, (2) immersive virtual translation scenarios, and (3) automated post‐class assessment. A 6‐week controlled experiment ( N = 100) compared this approach with traditional instruction using quantitative metrics including engagement levels, translation accuracy, proficiency rates, and satisfaction surveys. The experimental group showed statistically significant improvements ( p &lt; 0.05): 12.7% higher engagement ( d = 1.21), 8.3% better culture‐specific translation accuracy, 6.9% faster proficiency attainment, and 89.2% satisfaction rate (vs. 82.1% control). HMM…

A Survey of the Full Process of Code Search Based on Deep Learning

Mengge Fang, Haize Hu, Feiyu Hu +1 more

Information Systems · Concurrency and Computation Practice and Experience · · cited 1× · DOI ↗ · more like this ·

ABSTRACT As a pivotal technology for enhancing software development efficiency, research on code search based on deep learning has emerged as a current hotspot. This review systematically deconstructs the entire code search process into four core stages: dataset construction, code preprocessing, heterogeneous representation model construction, and query expansion, while conducting an in‐depth analysis of the application status and challenges of deep learning technologies. In dataset construction, the Q and A pairs and C and D pairs relied on by deep learning models suffer from a lack of standardization. For example, CodeSearchNet exhibits insufficient cross‐lingual versatility, and CoDesc has incomplete noise filtering. During the code preprocessing stage, bottlenecks such as AST granularity selection and sequence information redundancy restrict the efficiency of feature extraction.…

Multilayer self‐attention residual network for code search

Haize Hu, Jianxun Liu, Xiangping Zhang

Information Systems · Concurrency and Computation Practice and Experience · · cited 1× · DOI ↗ · more like this ·

Summary Software developers usually search existing code snippets in open source code repositories to modify and reuse them. Therefore, how to get the right code snippet from the open‐source code repository quickly and accurately is the focus of current software development research. Nowadays, code search is one of the solutions. To improve the accuracy of source code feature information representation and the accuracy of code search. A multilayer self‐ attention residual network‐based code search model (MSARN‐CS) is proposed in this paper. In the MSARN‐CS model, not only the weight of each word in the code sequence unit is considered but also the effect of embedding between code sequence units is calculated. In addition, an optimization model of residuals is introduced to compensate for the loss of information in the code sequences during the model training. To verify the search…

Robust English Knowledge Tracing via Profile-Driven Forgetting and Masked Consistency

Xibo Chen, Ziqi Zhang, Haize Hu +3 more

Artificial Intelligence · Applied Sciences · · cited 0× · DOI ↗ · more like this ·

Knowledge Tracing (KT) plays a pivotal role in Intelligent Tutoring Systems (ITS) by dynamically assessing learners’ evolving knowledge states. However, tracking the acquisition of English presents unique challenges. Existing KT models typically employ homogeneous, predefined forgetting mechanisms that fail to capture the highly individualized nature of linguistic memory retention. Furthermore, language assessment data is notoriously noisy, which leads models to overfit superficial performance rather than capturing true underlying linguistic competence. To address these issues, we propose a novel framework to robustly trace English language competence. First, we introduce a Learning-Profile-Driven Adaptive Forgetting mechanism. Unlike methods with shared forgetting rates, our approach constructs a dynamic and strictly causal profile from historical interactions to generate personalized…

HACS: An Enhancement Framework for Deep Code Search Benefiting from Hard Negative Samples (S)

Qihong Song, Jianxun Liu, Haize Hu

Artificial Intelligence · Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering · · cited 0× · DOI ↗ · more like this ·

Code search aims to retrieve relevant code snippets from large code repositories based on query, promoting code reuse and enhancing software development efficiency.Deep Learning is a powerful approach for code search, in which the hard negative samples within training batches critically impact model performance.However, most existing deep code search models only randomly sample negative samples, resulting in a paucity or complete lack of hard negative samples.To address this limitation, we introduce a novel enhancement framework named HACS to optimize the composition of negative samples within batches, thus enhancing the training effectiveness of deep code search models.The core idea is to increase the count of hard negative samples within the negative samples corresponding to each query in the training batch.Specifically, HACS utilizes deep reinforcement learning techniques for…