cs.CVAug 25, 2026

CoSWA-YOLOv12: Scale-Invariant Tiny Object Detection and Segmentation of Malaria Parasites

Authors: Ahmed Tahiru Issah, Carine Mukamakuza

Organizations: Carnegie Mellon University, Kigali, Rwanda

Abstract

Automated microscopy could widen access to malaria diagnosis in low-resource settings, but the deadliest species, P. falciparum, presents in its early ring stage as an object only a few tens of pixels wide. Such tiny targets are systematically under-detected: overlap-based label assignment starves them of positive samples, and overlap-based box regression gives weak gradients at their scale. The Normalized Gaussian Wasserstein Distance (NWD) repairs both effects, but applied uniformly across a slide that also holds objects three to four times larger it loosens their supervision and erodes their localisation, so overall accuracy can fall even as the tiny class improves. We present CoSWA-YOLOv12, a compact YOLOv12 instance-segmentation detector whose core Cooperative Scale-adaptive Wasserstein Assignment routes the Wasserstein treatment to an object in inverse proportion to its size, tapering back to standard assignment for larger species. Two further components support it: a wavelet detail residual, and a min-max Gaussian regression loss (M2-NWD). All three additions are transfer-safe: each reproduces the standard pretrained model exactly at initialisation, so public pretrained weights load without any loss of accuracy. On a five-class Rwandan thick-smear dataset, CoSWA-YOLOv12 raises P. falciparum recall from 0.63 to 0.74 and mAP@50 from 0.73 to 0.81 (mask), cuts missed P. falciparum from 38% to 15%, and improves strict-localisation mAP@50-95 on all five classes for both detection and segmentation, while a 2x2 ablation shows the scale gate and the regression loss are synergistic.

Figures & tables

Explore similar work

CardsList
  1. Investigating White Blood Cells as a Source of False-Positive Malaria Parasite Detection in African Blood-Smear Images

    Aug 30, 2026Samuel A. Adeniji, Goodness C. Obasi, Chris-Victor Ntwali +4Microscopy Image AnalysisObject Detection

  2. MalariAI: A Label-Resilient Decoupled Framework for Universal Cell Segmentation and Explainable Stage Classification in Dense Malaria Blood Smears

    Jul 1, 2026Kaysarul Anas Apurba, Md Hasibul Hasan, Mohammed Ali +1Explainable Medical Image AnalysisMicroscopy Image Analysis

  3. On-Device Multi-Species Malaria Detection with Uncertainty-Calibrated Slide-Level Aggregation

    Aug 9, 2026Idaya Seidu, Ahmed Tahiru Issah, Charles B. Delahunt +1Medical DiagnosisObject Detection