mlsanityData to 14 Oct 2026

Few-Shot Pattern Detection via Template Matching and Regression

arXiv 2508.17636 ↗First posted 25 Aug 2025cs.CV cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

We address the problem of few-shot pattern detection, which aims to detect all instances of a given pattern, typically represented by a few exemplars, from an input image. Although similar problems have been studied in few-shot object counting and detection (FSCD), previous methods and their benchmarks have narrowed patterns of interest to object categories and often fail to localize non-object patterns. In this work, we propose a simple yet effective detector based on template matching and regression, dubbed TMR. While previous FSCD methods typically represent target exemplars as spatially collapsed prototypes and lose structural information, we revisit classic template matching and regression. It effectively preserves and leverages the spatial layout of exemplars through a minimalistic structure with a small number of learnable convolutional or projection layers on top of a frozen backbone We also introduce a new dataset, dubbed RPINE, which covers a wider range of patterns than existing object-centric datasets. Our method outperforms the state-of-the-art methods on the three benchmarks, RPINE, FSCD-147, and FSCD-LVIS, and demonstrates strong generalization in cross-dataset evaluation.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 35 of its 73 references that are in the map. First posted on arXiv 25 Aug 2025.

Builds on

35 of 73 references.

References · 35

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  2. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  3. 2023Segment Anythingcited by 8,234
  4. 2017Mask R-CNNcited by 7,277
  5. 2016Feature Pyramid Networks for Object Detectioncited by 5,036
  6. 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,852
  7. 2017Prototypical Networks for Few-shot Learningcited by 3,015
  8. 2015Fast R-CNNcited by 2,933
  9. 2019FCOS: Fully Convolutional One-Stage Object Detectioncited by 1,577
  10. 2019Generalized Intersection over Union: A Metric and A Loss for Bounding Box Regressioncited by 1,368
  11. 2019LVIS: A Dataset for Large Vocabulary Instance Segmentationcited by 1,217
  12. 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 724
23 more
  1. 2016Steerable CNNscited by 305
  2. 2020Frustratingly Simple Few-Shot Object Detectioncited by 282
  3. 2018Few-shot Object Detection via Feature Reweightingcited by 265
  4. 2019Few-Shot Object Detection with Attention-RPN and Multi-Relation Detectorcited by 206
  5. 2023Teaching CLIP to Count to Tencited by 198
  6. 2015Large-scale Classification of Fine-Art Paintings: Learning The Right Metric on The Right Featurecited by 182
  7. 2019Meta R-CNN : Towards General Solver for Instance-level Few-shot Learningcited by 182
  8. 2021FSCE: Few-Shot Object Detection via Contrastive Proposal Encodingcited by 168
  9. 2021Learning To Count Everythingcited by 150
  10. 2020Few-Shot Object Detection and Viewpoint Estimation for Objects in the Wildcited by 142
  11. 2021Generalized Few-Shot Object Detection without Forgettingcited by 88
  12. 2018Class-Agnostic Countingcited by 85
  13. 2022Few-Shot Object Detection with Fully Cross-Transformercited by 64
  14. 2021Meta Faster R-CNN: Towards Accurate Few-Shot Object Detection with Attentive Feature Alignmentcited by 57
  15. 2021Query Adaptive Few-Shot Object Detection with Heterogeneous Graph Convolutional Networkscited by 55
  16. 2022Few-shot Object Counting and Detectioncited by 55
  17. 2024DAVE -- A Detect-and-Verify Paradigm for Low-Shot Countingcited by 49
  18. 2023Point, Segment and Count: A Generalized Framework for Object Countingcited by 39
  19. 2018Adding New Tasks to a Single Network with Weight Transformations using Binary Maskscited by 21
  20. 2024A Novel Unified Architecture for Low-Shot Counting by Detection and Segmentationcited by 21
  21. 2023Can SAM Count Anything? An Empirical Study on SAM Countingcited by 18
  22. 2021Object Counting: You Only Need to Look at Onecited by 13
  23. 2023NIFF: Alleviating Forgetting in Generalized Few-Shot Object Detection via Neural Instance Feature Forgingcited by 10

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.