CS Paper Radar

Improving X-Ray Baggage Instance Segmentation with Shared Point-Based Mask Refinement

Abdulaziz Alqahtani, Qasim Umer

cs.CV cs.AI ·submitted 2026-11-16 03:39 UTC · v1

Abstract

Overlapping projections and complex object contours make prohibited items difficult to delineate in X-ray baggage images. This study investigates shared point-based mask refinement to improve instance segmentation within Cascade Mask R-CNN. The framework combines a ResNet-101 backbone with an attention-based feature pyramid and progressively updates uncertain mask locations, increasing mask resolution from $28 \times 28$ to $112 \times 112$. A single refinement module is shared across cascade stages and refinement levels, with transformer and multilayer perceptron (MLP) variants used to examine the role of interactions among selected points. Ten configurations were evaluated on the official PIXray split across three training seeds using the original target-instance annotations for evaluation. The transformer and MLP refiners achieved mean mask average precision (AP) of 71.79 and 72.47, respectively, compared with 70.50 for the unrefined detector, yielding gains of 1.29 and 1.97 AP points. The MLP achieved the highest mean mask AP among the evaluated configurations. Both variants also improved boundary agreement on commonly detected objects, supporting improved mask delineation, while detection diagnostics did not establish a corresponding positive gain. These findings demonstrate that shared point-based refinement can improve segmentation quality in the tested cascade architecture using existing target-mask annotations, without additional occluder supervision. Evaluation on independent X-ray datasets is needed to determine how well these improvements generalize.

Comment
12 pages, 8 figures, 11 tables

Closest papers

Nearest neighbours by meaning across the whole index.

Pneumonia Detection on Chest X-Rays Derived from a U-Net Segmentation Model

eess.IV ·2026-10-15 ·Manasvini Singh
similarity 0.61
Abstract · 6 pages, 3 figures, 6 tables

Pneumonia killed more than 740,000 children under the age of five in 2019, and it can be difficult to recognize on chest radiographs (CXRs): opacities may be faint in early disease, may sit behind the equally bright heart shadow, and may resemble other lung conditions. Most deep learning systems treat pneumonia detection as a yes-or-no classification task. This paper asks whether a model trained on a harder task, segmenting pneumonia pixel by pixel, can be turned into an effective detector for the simpler task of deciding whether an image contains pneumonia at all. The hypothesis is that the detailed supervision of segmentation forces the network to learn where and what the disease looks like, producing a better detector than training for detection alone. A U-Net was trained to segment pneumonia on the RSNA Pneumonia Detection Challenge dataset of 26,684 radiographs, whose rectangular bounding boxes were converted into pixel masks. The data are heavily imbalanced: 22.5% of images are positive, and only 2.6% of pixels fall inside a box, so focal loss with α = 0.25 and γ = 2 and dropout were needed for the model to learn. On the harder segmentation task, the model reached a pixel-level F1 score of 0.45 on a held-out test set of 2,668 images. Applied to the simpler detection task, the same model reached a precision of 0.71, recall of 0.52, and F1 score of 0.60, with 91% specificity, and consistent scores on the development set. These results show that a segmentation-trained model transfers to detection while also showing where the suspected disease is. A direct comparison with a classifier trained only for detection on the same data is needed to confirm whether the segmentation-first approach is better, and is the main direction for future work.

0.18

On Detection Reliability for Small Object Segmentation

cs.CV ·2026-10-25 ·Olivier Rukundo
unusual similarity 0.60
Abstract · 6 figures, 2 tables, 10 pages

This study investigates whether predicted bounding boxes are reliable for determining where small-object segmentation should be performed without risking false negatives outside those boxes. The investigation leverages adenovirus particles as small objects, YOLO26x for detection, YO-LO26x-Sem for segmentation, and Mask R-CNN for both detection and segmentation. Segmenta-tion-model predictions were matched to ground-truth adenovirus masks or reference objects using their centroids, with ground-truth mask centroids preferred over ground-truth bounding-box centroids as references for matching. Matched predicted-mask centroids were considered as inside at least one detector-predicted bounding box or outside all such boxes, while ground-truth masks without matched predictions were recorded as having no matched segmentation. For the YOLO26 models, 34 reference objects (47.89%) had matched segmentation centroids inside at least one pre-dicted box, 8 (11.27%) had centroids outside all predicted boxes, and 29 (40.85%) had no matched predicted segmentation. For the Mask R-CNN model, the corresponding counts were 69 (97.18%), 0 (0.00%), and 2 (2.82%). These preliminary experiments demonstrated that restricting segmentation to detector-predicted bounding boxes risks excluding matched segmentation predictions outside those boxes, potentially introducing false negatives.

0.27

DERA: Detached Edge-Residual Adaptation for Prohibited item Detection

cs.CV ·2026-09-11 ·Yonathan Michael, Mohamad Alansari, Mohammed Bennamoun, Dwarikanath Mahapatra, Andreas Henschel +1 more
similarity 0.60
Abstract

Prohibited-item detection in X-ray imagery remains challenging due to object superposition, weak texture, and material clutter which obscure both semantic appearance and object boundaries. We propose \textbf{DERA}, a \textbf{D}etached \textbf{E}dge-\textbf{R}esidual \textbf{A}daptation framework for prohibited item detection under X-ray imagery. DERA combines hierarchical visual features with a parallel pixel-difference edge pyramid and learns an object-specific boundary prior from training-time contours of the instance masks. The detached prior gates edge-sensitive features, which are injected into the early visual stages through residual heads. This staged design preserves the foundation detector at the start of adaptation, isolates boundary supervision from semantic feature learning, and restricts the final adaptation stage to only \(14.7\)K trainable parameters. Evaluated on PIDray, CLCXray, and STCray, DERA improves the baseline by \textbf{3.1}, \textbf{1.6}, and \textbf{2.4} AP points, respectively.

0.18

XFlow: A Workflow Model for Instruction-Guided Lesion Segmentation in Chest X-rays

cs.CV ·2026-09-28 ·Geon Choi, Hangyul Yoon, Hyunki Park, Sang Hoon Seo, Edward Choi
code/data similarity 0.60
Abstract

Existing text-guided segmentation models in the medical domain cover only a narrow set of anatomical structures and lesions in chest X-rays (CXRs), and most of them assume that the queried target is always present in the image. Instruction-guided lesion segmentation (ILS) was introduced to overcome these limitations by segmenting diverse lesion types from simple user instructions while also recognizing when the queried lesion is absent, and ROSALIA was proposed as the first model for this task. However, the masks produced by ROSALIA remain of limited quality, often carrying scattered noise. Moreover, ROSALIA predicts the mask in a single shot, which differs fundamentally from how radiologists perceive and delineate lesions in practice. A radiologist first surveys the entire thorax, then localizes the approximate region of abnormality, and only then refines the lesion contour. Motivated by this coarse-to-fine, multi-level perception process, we present XFlow, a workflow model for ILS that combines box-based localization with multi-turn point refinement. XFlow detects the lungs, decides whether the queried finding is present in each of them, and prompts a fine-tuned SAM with the lesion box for an initial mask. It then corrects that mask through point prompts until its boundary follows the lesion, leaving every intermediate decision visible. Our experiments show that XFlow achieves the best segmentation quality on both internal and external evaluation. Notably, it surpasses ROSALIA in segmentation quality even when the two are trained on the same lesion annotations. Code and model weights will be made publicly available.

0.33

Beyond Accuracy: Quantifying Pulmonary Attribution in Anatomy-Guided Chest X-Ray Classification Under Domain Shift

cs.CV ·2026-08-31 ·Abdullah Al Mamun, Md. Nasif Osman Khansur, Md Ashraful Hossen Akash, Md. Kishor Morol, Tze Hui Liew
code/data similarity 0.58
Abstract · 34 pages, 8 figures, 7 tables. Code available at https://github.com/Abdullah-229/BeyondAccuracy

Deep-learning models can achieve strong chest X-ray (CXR) classification performance without establishing whether their predictions predominantly rely on pulmonary image content. This study evaluates pulmonary attribution containment as an anatomy-related reliability property distinct from diagnostic performance. We propose DBCA-SegNet-MGAP, a multi-task anatomy-guided CNN-Transformer framework that combines complementary feature representations through bidirectional cross-backbone attention, predicts a soft lung mask, and incorporates this anatomical prior directly into classification through Mask-Guided Adaptive Global Average Pooling (MGAP). Pulmonary attribution containment is quantified using the Anatomical Local Energy Ratio (ALR) and high-intensity cumulative ALR (cALR@0.9). Experiments were repeated across three training seeds using the COVID-19 Radiography Database for four-class internal testing and a locked Shenzhen-to-Montgomery protocol for zero-shot external tuberculosis testing. On COVID-19, the proposed model achieved a weighted F1 of $0.9615 \pm 0.0015$ and macro ROC-AUC of $0.9906 \pm 0.0007$. In an architecture-matched dual-bridge comparison, replacing conventional GAP with MGAP increased ALR from $0.3878 \pm 0.0098$ to $0.7086 \pm 0.0104$ and cALR@0.9 from $0.5265 \pm 0.0101$ to $0.9905 \pm 0.0018$, while weighted F1 remained essentially unchanged ($0.9618 \pm 0.0015$ vs. $0.9615 \pm 0.0015$). Under locked external transfer to Montgomery, ROC-AUC remained $0.9080 \pm 0.0043$ and pulmonary ALR remained $0.6466 \pm 0.0081$, whereas weighted F1 decreased to $0.7528 \pm 0.0080$ and ECE increased to $0.1683 \pm 0.0055$. These findings show that diagnostic discrimination, calibration, and pulmonary attribution containment are distinct model properties and support their joint evaluation under internal testing and external domain shift.

0.52

Object-Only Is Not Context-Free: A Counterfactual Diagnostic for Context Removal in Object Retrieval

cs.CV ·2026-11-01 ·Boaz Meivar, Shai Avidan
publishedcode/data similarity 0.57
Abstract · Accepted at WACV 2027. 8 pages plus references and supplementary material (15 pages total). Code and adapter checkpoints: https://github.com…

Object-centric retrieval pipelines often mask the background before pooling backbone features, aiming for a descriptor that reflects the object rather than its scene. Whether this truly yields an object-only descriptor, however, is rarely tested. We introduce the Keyhole Aperture Probe (KAP), a counterfactual diagnostic that repurposes the ground-truth masks of existing panoptic segmentation datasets (COCO, ADE20K) for retrieval: it holds the pooled object region fixed and varies only the pixels outside it, summarizing a backbone's context dependence in a single number. We find that the pooled object region has already integrated its surround. Replacing the context, with a neutral fill or even a different real scene, changes the descriptor, and when retrieval fails under a blank fill, the descriptor matches plain-background images rather than its own object. Object-only is not context-free. Across ten modern backbones, object-only descriptors retain only about a quarter to two-thirds of their full-image accuracy, and the effect is not unique to Transformer self-attention: a convolutional backbone shows it too. The dependence is also reducible: a lightweight adapter that encourages the descriptor to stay stable as context is removed lowers it and improves full-image instance retrieval on INSTRE, transferring to ILIAS with accuracy improved or preserved. A matched contrastive-fine-tuning control does not reproduce those gains. We release KAP as a simple, backbone-agnostic evaluation protocol to measure and reduce this dependence before deployment.

0.52

AGPF: Dynamic Source Selection for Feature Pyramid Fusion

cs.CV ·2026-11-15 ·Xu Yang, Gady Agam
similarity 0.57
Abstract

Feature pyramids provide dense predictors with features at several spatial resolutions. However, it remains largely unexplored which pyramid levels each output location should aggregate information from. We investigate this question by allowing each output location to attend to features from every pyramid level and measuring how attention is distributed across scales. Surprisingly, locations on the finest output grid allocate approximately 75\% of their attention to features two levels coarser, rather than to the current or adjacent levels. Even on the same output grid, the balance shifts toward coarser features as object size increases. These observations motivate Asymmetric Global Pyramid Fusion (AGPF), a neck that preserves the original output grids while allowing each location to dynamically select its contextual sources across scales. Each location interacts with a multiscale memory whose features are aligned in image coordinates, enabling flexible cross-scale aggregation without altering prediction resolutions. Compared with FPN, AGPF improves all 19 object detection and all seven instance segmentation configurations evaluated on COCO. A single fusion block improves Cascade Mask R-CNN by 1.7 box AP and 2.3 mask AP, and the gains consistently transfer to semantic and panoptic segmentation.

0.24

Localize Any Object in X-Ray Security Scans without Human Annotation

cs.CV ·2026-10-05 ·Yaqi Cai, Mingxuan Liu, Lorenzo Vaquero, Ning Wang, Nan Pu +3 more
top venuecode/data similarity 0.56
Abstract · Accepted by NeurIPS 2026; Project page: https://yaqicai.github.io/lao-x/

Universal object localization in X-ray security inspection is critical for automated threat detection in safety-critical venues. However, unlike everyday RGB images that dominate web-scale visual data, X-ray scans exhibit distinct color patterns, ambiguous boundaries, and compositional structures caused by volumetric superposition. These gaps hinder the direct zero-shot transfer of dense perception foundation models trained on web-scale RGB data. Moreover, annotated X-ray data is scarce and requires expert labeling, limiting both the training of generalizable X-ray native models and the adaptation of RGB foundation models for X-ray data via fine-tuning. Given these challenges, the bright promise of highly generalizable perception models, enabled by data scaling laws in the RGB domain, remains largely out of reach for X-ray inspection. To this end, we introduce LAO-X, a self-supervised adaptation framework that Locates Any Object in X-ray scans using diverse synthesized image--annotation pairs with granularity-aware supervision. LAO-X first designs a saliency-guided X-ray object mining module to separate diverse object instances, which are then used for physics-guided synthesis in the absorbance domain. LAO-X further incorporates an occlusion-controlled curriculum strategy to fine-tune a Segment Anything Model 2 (SAM2) localizer, progressively adapting it to X-ray scans with increasing object counts and overlap levels. Experiments on six X-ray benchmarks show that LAO-X substantially improves category-agnostic localization, achieving 2\% to 23\% mAP gains over SAM2 and X-ray specific baselines in heavily cluttered scenarios, entirely without human-annotated labels.

0.45