CSPCL: Category Semantic Prior Contrastive Learning for Deformable DETR-Based Prohibited Item Detectors
Not on the map. Why?
Abstract (arXiv)
Prohibited item detection based on X-ray images is one of the most effective security inspection methods. However, the foreground-background feature coupling caused by the overlapping phenomenon specific to X-ray images makes general detectors designed for natural images perform poorly. To address this issue, we propose a Category Semantic Prior Contrastive Learning (CSPCL) mechanism, which aligns the class prototypes perceived by the classifier with the content queries to correct and supplement the missing semantic information responsible for classification, thereby enhancing the model sensitivity to foreground features. To achieve this alignment, we design a specific contrastive loss, CSP loss, which comprises the Intra-Class Truncated Attraction (ITA) loss and the Inter-Class Adaptive Repulsion (IAR) loss, and outperforms classic contrastive losses. Specifically, the ITA loss leverages class prototypes to attract intra-class content queries and preserves essential intra-class diversity via a gradient truncation function. The IAR loss employs class prototypes to adaptively repel inter-class content queries, with the repulsion strength scaled by prototype-prototype similarity, thereby improving inter-class discriminability, especially among similar categories. CSPCL is general and can be easily integrated into Deformable DETR-based models. Extensive experiments on the PIXray, OPIXray, PIDray, and CLCXray datasets demonstrate that CSPCL significantly enhances the performance of various state-of-the-art models without increasing inference complexity. The code is publicly available at https://github.com/Limingyuan001/CSPCL.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 43 of its 64 references that are in the map. First posted on arXiv 28 Jan 2025.
Builds on
43 of 64 references.
References · 43
- 2017Attention Is All You Needcited by 59,932
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2017Mask R-CNNcited by 7,259
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
- 2020Supervised Contrastive Learningcited by 2,803
- 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,838
- 2019FCOS: Fully Convolutional One-Stage Object Detectioncited by 1,573
- 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,379
31 more
- 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,306
- 2017Cascade R-CNN: Delving into High Quality Object Detectioncited by 1,275
- 2019Learning Imbalanced Datasets with Label-Distribution-Aware Margin Losscited by 987
- 2022DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETRcited by 569
- 2019Bridging the Gap Between Anchor-based and Anchor-free Detection via Adaptive Training Sample Selectioncited by 539
- 2023DETRs Beat YOLOs on Real-time Object Detectioncited by 526
- 2022DN-DETR: Accelerate DETR Training by Introducing Query DeNoisingcited by 486
- 2021Conditional DETR for Fast Training Convergencecited by 422
- 2020Circle Loss: A Unified Perspective of Pair Similarity Optimizationcited by 402
- 2018Additive Margin Softmax for Face Verificationcited by 275
- 2022DETRs with Collaborative Hybrid Assignments Trainingcited by 273
- 2020Contrastive Clusteringcited by 264
- 2020VarifocalNet: An IoU-aware Dense Object Detectorcited by 230
- 2021TOOD: Task-aligned One-stage Object Detectioncited by 218
- 2022UniFormer: Unifying Convolution and Self-attention for Visual Recognitioncited by 206
- 2022DETRs with Hybrid Matchingcited by 149
- 2019Feature Selective Anchor-Free Module for Single-Shot Object Detectioncited by 139
- 2020Dynamic R-CNN: Towards High Quality Object Detection via Dynamic Trainingcited by 103
- 2022Group DETR: Fast DETR Training with Group-Wise One-to-Many Assignmentcited by 96
- 2021ICE: Inter-instance Contrastive Encoding for Unsupervised Person Re-identificationcited by 69
- 2022Twin Contrastive Learning for Online Clusteringcited by 60
- 2019SIXray : A Large-scale Security Inspection X-ray Benchmark for Prohibited Item Discovery in Overlapping Imagescited by 52
- 2023Detection Transformer with Stable Matchingcited by 43
- 2020Occluded Prohibited Items Detection: an X-ray Security Inspection Benchmark and De-occlusion Attention Modulecited by 39
- 2021Towards Real-World Prohibited Item Detection: A Large-Scale X-ray Benchmarkcited by 31
- 2021Towards Real-world X-ray Security Inspection: A High-Quality Benchmark and Lateral Inhibition Module for Prohibited Items Detectioncited by 30
- 2022Modeling Inter-Class and Intra-Class Constraints in Novel Class Discoverycited by 26
- 2022PIDray: A Large-scale X-ray Benchmark for Real-World Prohibited Item Detectioncited by 17
- 2024AO-DETR: Anti-Overlapping DETR for X-Ray Prohibited Items Detectioncited by 9
- 2024Dual-view X-ray Detection: Can AI Detect Prohibited Items from Dual-view X-ray Images like Humans?cited by 4
- 2024MMCL: Correcting Content Query Distributions for Improved Anti-Overlapping X-Ray Object Detectioncited by 2
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026QCell: Recombining and Aligning Cell Queries for Overlapping Instance Segmentationcited by 0
- 2026DERA: Detached Edge-Residual Adaptation for Prohibited item Detectioncited by 0
- 2026Causal-EVC: Breaking Emotional Spurious Causality via Spatiotemporal Grounding and Counterfactual Interventioncited by 0
- 2026Causal-EVC: Breaking Emotional Spurious Causality via Spatiotemporal Grounding and Counterfactual Intervention29 Sep 2026
- 2026DERA: Detached Edge-Residual Adaptation for Prohibited item Detection11 Sep 2026
- 2026QCell: Recombining and Aligning Cell Queries for Overlapping Instance Segmentation29 Aug 2026