Skip to main content
Article
100%
HD

Imagine having to inspect thousands of containers a day: opening them all is impossible. The solution? X-rays guided by artificial intelligence. A new study compared YOLO models, from version 5 to the brand-new 11, alongside DETR and Faster R-CNN, to see which "sees" best inside cargo radiographs.

The main problem is that objects in containers overlap, have low contrast, or are very small. Standard loss functions struggle to distinguish a threat from harmless luggage. Researchers then integrated IoU-based loss functions (CIoU, DIoU, GIoU, WIoU) into YOLO networks and added Soft-NMS, a technique that prevents discarding valid detections too close to each other.

The result? YOLOv11 enhanced with WIoU and Soft-NMS hit 98.44% mAP@50, beating all rivals. This means the AI locates objects with near-perfect precision, even in the chaos of a packed container. For global logistics, it's a breakthrough: faster checks, shorter queues at ports, and safer goods traveling. Next time you order something from across the world, remember: an "X-ray algorithm" might have already screened its journey.

Bonus
100%
HD

The study, published in Future Transportation, addresses the bottleneck of non-intrusive inspection (NII) in high-traffic ports. Cargo radiographic datasets present unique challenges: heterogeneous material density, severe occlusions, and low signal-to-noise ratio. One-stage architectures like YOLO offer the best speed-accuracy trade-off (contained GFLOPs), but standard losses (e.g., CIoU in YOLOv5) over-penalize overlapping boxes, causing false negatives on small objects.

The key innovation is adopting WIoU (Wise IoU) as the bounding box regression loss. Unlike CIoU/DIoU/GIoU, WIoU introduces a dynamic weight term based on the normalized distance between the anchor centroid and ground-truth box, reducing gradients for "difficult" (noisy/occluded) examples and focusing optimization on quality samples. Soft-NMS replaces classic non-maximum suppression: instead of zeroing scores of boxes with high IoU to the best box, it penalizes them with a Gaussian function, preserving multiple nearby detections typical of palletized loads.

Ablation on YOLOv11 (updated CSPDarknet backbone, optimized PAN-FPN neck) shows: mAP@50 98.44% (+1.2% vs baseline), mAP@50-95 72.1%, inference latency 12ms/frame on T4 GPU (real-time compatible). DETR and Faster R-CNN, while accurate, exceed 100ms/frame, unsuitable for high-cadence streams. The work validates a "loss engineering" over "model scaling" approach for edge deployment in critical environments.

Ask AI

Explore key aspects of this story with 3 quick insights

Source

Authors:
Jun Hao Tee
Date Published:
Original Article www.mdpi.com
Fact-check verified on 04/11/2026
Read our Editorial Guidelines & AI Ethics Policy
Creative Commons License CC BY-NC-SA 4.0

Keep exploring

Discover the full archive of science bites or head back to home

Riconnessione al server... Aggiornamento della sessione in corso
Connessione interrotta Impossibile stabilire il collegamento
Sessione aggiornata Ricarica per visualizzare i contenuti