The precise detection of small lesions on grape leaves is beneficial for early detection of diseases. In response to the high missed detection rate of small target diseases on grape leaves, this paper adds a new prediction branch and combines an improved channel attention mechanism and an improved E-ELAN (Extended-Efficient Long-range Attention Network) to propose an improved algorithm for the YOLOv7 (You Only Look Once version 7) model. Firstly, to address the issue of low resolution for small targets, a new detection head is added to detect smaller targets. Secondly, in order to increase the feature extraction ability of E-ELAN components in YOLOv7 for small targets, the asymmetric convolution is introduced into E-ELAN to replace the original 3 × 3 convolution in E-ELAN network to achieve multi-scale feature extraction. Then, to address the issue of insufficient extraction of information from small targets in YOLOv7, a channel attention mechanism was introduced and improved to enhance the network’s sensitivity to small-scale targets. Finally, the CIoU (Complete Intersection over Union) in the original YOLOv7 network model was replaced with SIoU (Structured Intersection over Union) to optimize the loss function and enhance the network’s localization ability. In order to verify the effectiveness of the improved YOLOv7 algorithm, three common grape leaf diseases were selected as detection objects to create a dataset for experiments. The results show that the average accuracy of the algorithm proposed in this paper is 2.7% higher than the original YOLOv7 algorithm, reaching 93.5%.
Currently, embedded unmanned aerial vehicle (UAV) systems face significant challenges in balancing detection accuracy and computational efficiency when processing remote sensing images with complex backgrounds, small objects, and occlusions. This paper proposes the Hybrid-DETR model based on a real-time end-to-end Detection Transformer (RT-DETR), featuring a novel HybridNet backbone network that implements a differentiated hybrid structure through lightweight RepConv Cross-stage Partial Efficient Layer Aggregation Network (RCSPELAN) modules and the Heat-Transfer Cross-stage Fusion (HTCF) modules, effectively balancing feature extraction efficiency and global perception capabilities. Additionally, we introduce a Small-Object Detection Module (SODM) and an EIFI module to enhance the detection capability of small objects in complex scenarios, while employing the Focaler-Shape-IoU loss function to optimize bounding box regression. Experimental results on the VisDrone2019 dataset demonstrate that Hybrid-DETR achieves mAP50 and mAP50:95 scores of 52.2% and 33.3%, respectively, representing improvements of 5.2% and 4.3% compared to RT-DETR-R18, while reducing model parameters by 29.33%. The effectiveness and robustness of our improved method are further validated on multiple challenging datasets, including AI-TOD and HIT-UAV.
Cross-project software defect prediction (CPDP) refers to the construction of defect prediction models by collecting multi-source project data, but the heterogeneity of data among projects and the modern problem of “data islands” hinder its development. In response to these challenges, we propose a CPDP algorithm based on differential perception combined with inheritance federated learning (FedDPI). Firstly, we design an efficient data preprocessing scheme, which lays a reliable data foundation for federated learning by integrating oversampling and optimal feature selection methods. Secondly, a two-stage collaborative optimization mechanism is proposed in the federated learning framework: the inheritance private model (IPM) is introduced in the local training stage, and the differential perception algorithm is used in the global aggregation stage to dynamically allocate aggregation weights, forming positive feedback for training to overcome the negative impact of data heterogeneity. In addition, we utilize the Ranger optimization algorithm to improve the convergence speed and privacy security of the model through its irreversible mixed optimization operation. The experimental results show that FedDPI significantly improves predictive performance in various defect item data combination experiments. Compared with different deep learning and federated learning algorithms, the average improvement in AUC and G-mean indicators is 0.2783 and 0.2673, respectively, verifying the practicality and effectiveness of federated learning and two-stage collaborative optimization mechanisms in the field of CPDP.
1 September 2025 in Journal of Physics: Conference Series
For the problem of low detection accuracy of every type of defect on the surface of steel, proposes an algorithm based on the improvement of RT-DETR on the surface of steel. To solve the defect feature extraction difficulties, the P6 feature fusion layer is added and introduced into the feature fusion stage, which effectively expands the sensory field area in the defect image, and fuse defective features more effectively in the feature fusion stage. To address the problem of lack of effective interaction between features at various scales, the CAT module is creatively introduced in the neck, and the multihead cross-attention mechanism in the CAT module is used to perform cross-scale feature interactions on the feature maps extracted at different layers to optimize the feature representation capability. The PPN replace the CCFM structure to selectively aggregate boundary features and semantic information. To verify the effect of the improved RT-DETR, the NEU-DET dataset and the GC10-DET dataset are selected. The experimental results show that the mean average accuracy of the algorithm proposed in this paper on the two datasets is improved by 2.5% and 4.5% over the original RT-DETR algorithm to 85.7% and 76.0%, respectively, which verifies the improved algorithm is feasible.