What is the Right Embedding Space for Contrastive Learning in Referring Expression Counting?
Not on the map. Why?
Abstract (arXiv)
Referring Expression Counting (REC) requires distinguishing visually similar objects described by fine-grained text cues. Existing methods tackle this via image-text contrastive learning of visual features which aims to distinguish visual features corresponding to positive and negative referring expressions. However, this strategy relies heavily on accurate image-text alignment and is constrained by the limited number of available negative expressions. We argue that these limitations can be avoided by performing contrastive learning entirely in the visual embedding space. To this end, we introduce C-REX, a simple but effective supervised contrastive learning framework that learns fine-grained visual representations by contrasting visual tokens within the same image. By shifting the negative samples from incorrect Referring Expressions to visual tokens from the image, C-REX vastly increases the number of potential negatives, providing richer and more stable supervision. This design leads to stronger fine-grained visual discrimination and better generalization across complex open-world counting settings. C-REX serves as a plug-in module that can be seamlessly applied to any existing REC model without architectural changes. We apply it in three different REC architectures and achieve state-of-the-art results improving by up to 28% in MAE and 24.5% in RMSE. Moreover, we show that our framework is versatile and general, and can be applied to other counting tasks like class-agnostic counting, improving the performance of existing models.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 55 of its 79 references that are in the map. First posted on arXiv 28 May 2025.
Builds on
55 of 79 references.
References · 55
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2017Mask R-CNNcited by 7,277
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
- 2023Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detectioncited by 3,332
- 2020Supervised Contrastive Learningcited by 2,829
- 2021Align before Fuse: Vision and Language Representation Learning with Momentum Distillationcited by 1,619
38 more
- 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,319
- 2019Contrastive Multiview Codingcited by 1,301
- 2022Reproducible scaling laws for contrastive language-image learningcited by 1,173
- 2017In Defense of the Triplet Loss for Person Re-Identificationcited by 786
- 2019Data-Efficient Image Recognition with Contrastive Predictive Codingcited by 673
- 2021Exploring Cross-Image Pixel Contrast for Semantic Segmentationcited by 242
- 2018TallyQA: Answering Complex Counting Questionscited by 153
- 2018Context-Aware Crowd Countingcited by 150
- 2021Learning To Count Everythingcited by 150
- 2020Distribution Matching for Crowd Countingcited by 143
- 2021Cluster Contrast for Unsupervised Person Re-Identificationcited by 89
- 2018Class-Agnostic Countingcited by 85
- 2020Referring Expression Comprehension: A Survey of Methods and Datasetscited by 79
- 2022CounTR: Transformer-based Generalised Visual Countingcited by 79
- 2020Localization in the Crowd with Topological Constraintscited by 68
- 2024CountGD: Multi-Modal Open-World Countingcited by 59
- 2022Few-shot Object Counting and Detectioncited by 55
- 2024DAVE -- A Detect-and-Verify Paradigm for Low-Shot Countingcited by 49
- 2018Iterative Crowd Countingcited by 48
- 2023VLCounter: Text-aware Visual Representation for Zero-Shot Object Countingcited by 45
- 2023Open-world Text-specified Object Countingcited by 41
- 2018Learning to Count Objects in Natural Images for Visual Question Answeringcited by 40
- 2023Point, Segment and Count: A Generalized Framework for Object Countingcited by 39
- 2025CAPTURe: Evaluating Spatial Reasoning in Vision Language Models via Occluded Object Countingcited by 38
- 2019Object Counting and Instance Segmentation with Image-level Supervisioncited by 36
- 2016Counting Everyday Objects in Everyday Scenescited by 34
- 2019In Defense of the Triplet Loss Again: Learning Robust Person Re-Identification with Fast Approximated Triplet Loss and Label Distillationcited by 34
- 2023Training-free Object Counting with Promptscited by 34
- 2023Unveiling Parts Beyond Objects:Towards Finer-Granularity Referring Expression Segmentationcited by 22
- 2024A Novel Unified Architecture for Low-Shot Counting by Detection and Segmentationcited by 21
- 2024ScanFormer: Referring Expression Comprehension by Iteratively Scanningcited by 18
- 2017Interpretable Counting for Visual Question Answeringcited by 17
- 2023ABC Easy as 123: A Blind Counter for Exemplar-Free Multi-Class Class-agnostic Countingcited by 13
- 2024RG-SAN: Rule-Guided Spatial Awareness Network for End-to-End 3D Referring Expression Segmentationcited by 11
- 2024CoHD: A Counting-Aware Hierarchical Decoding Framework for Generalized Referring Expression Segmentationcited by 10
- 2025Exploring Contextual Attribute Density in Referring Expression Countingcited by 10
- 2023Zero-Shot Object Counting with Language-Vision Modelscited by 9
- 2024Counting Stacked Objectscited by 8
50 most cited of 55 All 55 (JSON)
Built on by
Citing papers per year: 2025: 2.
2 papers.