Attention-Guided YOLOv11 and Transformer Fusion for Enhanced Detection of Prohibited Items in X-Ray Security Images

This repository contains the implementation code, model architecture configuration, training scripts, and evaluation utilities for YOLOv11-TFNet, a Transformer-enhanced YOLOv11-based detector for prohibited-item detection in X-ray security images. The proposed model integrates C3TR Transformer blocks into the YOLOv11 multi-scale feature aggregation neck, enabling global contextual reasoning over pseudo-color X-ray composites. Experiments are conducted on the Balanced X-Ray Contraband Detection Dataset (Zhang et al., 2024), comprising 13,728 images across 12 contraband categories. Key results (seed=42, 50 epochs, early stopping):- mAP@50: 0.886- mAP@50-95: 0.712- Precision: 0.885- Recall: 0.823- F1-Score: 0.853 Multi-seed validation (seeds 0, 42, 2026): YOLOv11-TFNet 0.887 ± 0.004 mAP@50; ΔmAP = +0.046 over YOLOv11s baseline (95% CI: [+0.037, +0.049]). Files included:- yolov11_tfnet_train.py: Training, evaluation, multi-seed validation, and plot generation- yolov11_tfnet.yaml: C3TR Transformer neck architecture definition- data.yaml: Dataset configuration (12 classes, 70/15/15 split)- requirements.txt: Python dependencies- README_zenodo.md: Setup and usage instructions Associated paper: Scientific Reports (under review, 2026).Dataset: Balanced X-Ray Contraband Detection Dataset (Zhang et al., 2024, Scientific Data).License: CC BY 4.0

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-09-05
DOI
https://doi.org/10.5281/zenodo.22537167
Primary Topic
Advanced Neural Network Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

Attention-Guided YOLOv11 and Transformer Fusion for Enhanced Detection of Prohibited Items in X-Ray Security Images

Moinul Hossain
Zenodo (CERN European Organization for Nuclear Research)
Advanced Neural Network Applications
article

Attention-Guided YOLOv11 and Transformer Fusion for Enhanced Detection of Prohibited Items in X-Ray Security Images

Moinul Hossain
article en

Abstract

This repository contains the implementation code, model architecture configuration, training scripts, and evaluation utilities for YOLOv11-TFNet, a Transformer-enhanced YOLOv11-based detector for prohibited-item detection in X-ray security images. The proposed model integrates C3TR Transformer blocks into the YOLOv11 multi-scale feature aggregation neck, enabling global contextual reasoning over pseudo-color X-ray composites. Experiments are conducted on the Balanced X-Ray Contraband Detection Dataset (Zhang et al., 2024), comprising 13,728 images across 12 contraband categories. Key results (seed=42, 50 epochs, early stopping):- mAP@50: 0.886- mAP@50-95: 0.712- Precision: 0.885- Recall: 0.823- F1-Score: 0.853 Multi-seed validation (seeds 0, 42, 2026): YOLOv11-TFNet 0.887 ± 0.004 mAP@50; ΔmAP = +0.046 over YOLOv11s baseline (95% CI: [+0.037, +0.049]). Files included:- yolov11_tfnet_train.py: Training, evaluation, multi-seed validation, and plot generation- yolov11_tfnet.yaml: C3TR Transformer neck architecture definition- data.yaml: Dataset configuration (12 classes, 70/15/15 split)- requirements.txt: Python dependencies- README_zenodo.md: Setup and usage instructions Associated paper: Scientific Reports (under review, 2026).Dataset: Balanced X-Ray Contraband Detection Dataset (Zhang et al., 2024, Scientific Data).License: CC BY 4.0

Zenodo (CERN European Organization for Nuclear Research)
American International University-Bangladesh (BD)
Peace, Justice and strong institutions
Openalex Percentile: Top 12%
Advanced Neural Network Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Attention-Guided YOLOv11 and Transformer Fusion for Enhanced Detection of Prohibited Items in X-Ray Security Images — Moinul Hossain · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS