Anatomical-Contextual YOLOv8–YOLOv12 Framework for Pulmonary Nodule Detection in CT: Multi-Organ Learning and Cross-Dataset Validation
Background/Objectives: Lung cancer outcomes depend strongly on early detection, highlighting the need for accurate, robust, and interpretable methods for identifying pulmonary nodules on computed tomography (CT). This study proposes a multi-organ anatomical-contextual framework based on YOLOv8–YOLOv12, in which supporting thoracic structures are incorporated as spatial references during training while the pulmonary nodule is retained as a single invariant pathological class. Methods: The models were trained and internally validated on 5000 2D axial CT slices from 320 patients in the LUNG-PET-CT-DX dataset and externally evaluated on an independent LIDC-IDRI subset comprising 700 axial slices from 70 patients, without retraining or fine-tuning. A controlled ablation study comparing Nodule-only with Nodule + Anatomical Context was performed. Results: The anatomical-contextual scheme showed consistent improvements across all five architectures, with mean absolute gains of +0.078 in Precision, +0.122 in Recall, +0.101 in F1-score, +0.079 in mAP@50, and +0.190 in mAP@50–95. During internal validation, YOLOv10m achieved the highest Precision (0.979) and mAP@50 (0.987), as well as the shortest inference time (9.25 ms), whereas YOLOv11m achieved the highest Recall (0.971) and F1-score (0.962). During external evaluation, YOLOv10m retained the highest Precision (0.924) and mAP@50 (0.956), while YOLOv8m achieved the highest Recall (0.930) and mAP@50–95 (0.845); both models achieved an F1-score of 0.922. Conclusions: These findings provide experimental evidence that anatomical-contextual learning improves pulmonary nodule detection while maintaining competitive performance across datasets, supporting its potential as an anatomically informed and interpretable strategy for AI-assisted thoracic CT analysis.
Authors
- Irlanda Pacheco‐Bravo
- Antonio Gustavo Juárez-Gracia (ORCID: https://orcid.org/0000-0002-5846-0048)
- Moisés Márquez-Olivera
- Viridiana Hernández-Herrera (ORCID: https://orcid.org/0000-0003-0844-1823)
- Laura Marrujo-García
- Daniel Resendiz-Ventura (ORCID: https://orcid.org/0009-0001-4637-1486)
Institutions
- Centro Medico Nacional Siglo XXI (MX)
- Instituto Politécnico Nacional (MX)
- Centro de Investigación y de Estudios Avanzados del Instituto Politécnico Nacional (MX)
Publication Details
- Journal
- Diagnostics
- Published
- 2026-09-14
- DOI
- https://doi.org/10.3390/diagnostics16182976
- Primary Topic
- Lung Cancer Diagnosis and Treatment
- Type
- article
- Field-Weighted Citation Impact
- 0.00