Related Experiment Video
Updated: May 13, 2025

06:37
Author Spotlight: Addressing Technical and Subjective Challenges in Measuring Classroom Attention
Published on: December 15, 2023
2.5K
Features extraction and fusion by attention mechanism for software defect prediction
Shaoming Qiu1, Bicong E1, Jingjie He1
1School of Information Engineering, Dalian University, Dalian, China.
Plos One
|April 14, 2025
Summary
This study introduces a new Multi-Features Attention (MFA) model for software defect prediction. MFA improves accuracy by effectively representing Abstract Syntax Trees and fusing semantic and network features, outperforming existing models.
Area of Science:
- Computer Science
- Software Engineering
- Artificial Intelligence
Background:
- Software defect prediction models typically use metrics, semantic, and network features.
- Complex software structures and limited samples hinder accurate defect prediction due to ineffective feature representation and extraction.
- Single features often fail to capture the complete software structure.
Purpose of the Study:
- To propose an efficient and accurate method for representing Abstract Syntax Trees (AST).
- To introduce the Multi-Features Attention (MFA) model for enhanced software defect prediction.
- To leverage deformable and self-attention mechanisms for feature extraction and fusion.
Main Methods:
- Developed a novel method for efficient and accurate Abstract Syntax Tree (AST) representation.
- Proposed the Multi-Features Attention (MFA) model incorporating deformable attention for feature extraction.
- Utilized self-attention mechanisms to fuse semantic and network features for comprehensive analysis.
- Conducted cross-version and cross-project experiments on 21 Java projects.
Main Results:
- The MFA model achieved average ACC, F1, and AUC scores of 0.7, 0.614, and 0.711 in cross-version experiments.
- In cross-project experiments, MFA attained average ACC, F1, and AUC of 0.687, 0.575, and 0.696.
- MFA demonstrated performance improvements of up to 41% compared to other models.
- Fusion of multiple features proved superior to using single features for prediction.
Conclusions:
- The MFA model effectively represents ASTs and fuses diverse software features, significantly enhancing defect prediction accuracy.
- The proposed attention-based mechanisms provide a robust approach for extracting and integrating complex software characteristics.
- MFA offers a promising advancement in software defect prediction, outperforming existing methods in both cross-version and cross-project scenarios.
Related Concept Videos
Association Areas of the Cortex
4.6K
Association areas are regions of the cerebral cortex that do not have a specific sensory or motor function. Instead, they integrate and interpret information from various sources to enable higher cognitive processes such as memory, learning, and decision-making. Some key association areas include the following:
Prefrontal Association Area: This area is located in the frontal lobe and is involved in planning, decision-making, and moderating social behavior. It connects with primary motor areas,...
Prefrontal Association Area: This area is located in the frontal lobe and is involved in planning, decision-making, and moderating social behavior. It connects with primary motor areas,...
4.6K
Tagging and Fusion Proteins
6.5K
Proteins are involved in several cellular processes and biochemical reactions. Analyzing a specific protein of interest requires it to be isolated from the other proteins in the cell. This is achieved by overexpressing the specific gene in a suitable host to produce large quantities of the target protein. A tag or label is recombined with the gene to produce a fusion protein containing the target protein and the tag. The tags on these fusion proteins can then be used for easy detection and...
6.5K

