mlsanityData to 14 Oct 2026

PANICL: Mitigating Over-Reliance on Single Prompt in Visual In-Context Learning

arXiv 2509.21926 ↗First posted 26 Sep 2025cs.CVcited by 1

Not on the map. Why?

Abstract (arXiv)

Visual In-Context Learning (VICL) uses input-output image pairs, referred to as in-context pairs (or examples), as prompts alongside query images to guide models in performing diverse vision tasks. However, VICL often suffers from over-reliance on a single in-context pair, which can lead to biased and unstable predictions. We introduce PAtch-based k-Nearest neighbor visual In-Context Learning (PANICL), a general training-free framework that mitigates this issue by leveraging multiple in-context pairs. PANICL smooths assignment scores across pairs, reducing bias without requiring additional training. Extensive experiments on a variety of tasks, including foreground segmentation, single object detection, colorization, multi-object segmentation, and keypoint detection, demonstrate consistent improvements over strong baselines. Moreover, PANICL exhibits strong robustness to domain shifts, including dataset-level shift (e.g., from COCO to Pascal) and label-space shift (e.g., FSS-1000), and generalizes well to other VICL models such as SegGPT, Painter, and LVM, highlighting its versatility and broad applicability.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 40 of its 48 references that are in the map. First posted on arXiv 26 Sep 2025.

Builds on

40 of 48 references.

References · 40

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  5. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  6. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  7. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
  8. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  9. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  10. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
  11. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,253
  12. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
28 more
  1. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
  2. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
  3. 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,075
  4. 2021Domain Generalization: A Surveycited by 764
  5. 2023Neural Codec Language Models are Zero-Shot Text to Speech Synthesizerscited by 752
  6. 2023Otter: A Multi-Modal Model with In-Context Instruction Tuningcited by 550
  7. 2023Language Is Not All You Need: Aligning Perception with Language Modelscited by 543
  8. 2021MetaICL: Learning to Learn In Contextcited by 454
  9. 2017One-Shot Learning for Semantic Segmentationcited by 337
  10. 2022Images Speak in Images: A Generalist Painter for In-Context Visual Learningcited by 318
  11. 2022Visual Prompting via Image Inpaintingcited by 250
  12. 2022Demystifying Prompts in Language Models via Perplexity Estimationcited by 216
  13. 2023Sequential Modeling Enables Scalable Learning for Large Vision Modelscited by 212
  14. 2022Self-Adaptive In-Context Learning: An Information Compression Perspective for In-Context Example Selection and Orderingcited by 161
  15. 2019FSS-1000: A 1000-Class Dataset for Few-Shot Segmentationcited by 160
  16. 2023What Makes Good Examples for Visual In-Context Learning?cited by 150
  17. 2023Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt Engineeringcited by 94
  18. 2022Self-Generated In-Context Learning: Leveraging Auto-regressive Language Models as a Demonstration Generatorcited by 68
  19. 2023How Do In-Context Examples Affect Compositional Generalization?cited by 51
  20. 2023kNN Prompting: Beyond-Context Learning with Calibration-Free Nearest Neighbor Inferencecited by 47
  21. 2023Exploring Effective Factors for Improving Visual In-Context Learningcited by 43
  22. 2023Instruct Me More! Random Prompting for Visual In-Context Learningcited by 30
  23. 2022On the Compositional Generalization Gap of In-Context Learningcited by 24
  24. 2024Finding Visual Task Vectorscited by 24
  25. 2024Towards Global Optimal Visual In-Context Learning Prompt Selectioncited by 15
  26. 2024VASCAR: Content-Aware Layout Generation via Visual-Aware Self-Correctioncited by 15
  27. 2024Visual Prompt Selection for In-Context Learning Segmentationcited by 13
  28. 2024Cropper: Vision-Language Model for Image Cropping through In-Context Learningcited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.