paper-with-me

홈 › Papers

Love Me, Love My Label: Rethinking the Role of Labels in Prompt Retrieval for Visual In-Context Learning

2026-04-04 · Tianci Luo, Haohao Pan, Jinpeng Wang, Niu Lian, Xinrui Chen, Bin Chen, Shu-Tao Xia, Chun Yuan arxiv

Visual in-context learning (VICL) enables visual foundation models to handle multiple tasks by steering them with demonstrative prompts. The choice of such prompts largely influences VICL performance, standing out as a key challenge. Prior work has made substantial progress on prompt retrieval and reranking strategies, but mainly focuses on prompt images while overlooking labels. We reveal these approaches sometimes get visually similar but label-inconsistent prompts, which potentially degrade VICL performance. On the other hand, higher label consistency between query and prompts preferably indicates stronger VICL results. Motivated by these findings, we develop a framework named LaPR (Label-aware Prompt Retrieval), which highlights the role of labels in prompt selection. Our framework first designs an image-label joint representation for prompts to incorporate label cues explicitly. Besides, to handle unavailable query labels at test time, we introduce a mixture-of-expert mechanism to the dual encoders with query-adaptive routing. Each expert is expected to capture a specific label mode, while the router infers query-adaptive mixture weights and helps to learn label-aware representation. We carefully design alternative optimization for experts and router, with a VICL performance-guided contrastive loss and a label-guided contrastive loss, respectively. Extensive experiments show promising and consistent improvement of LaPR on in-context segmentation, detection, and colorization tasks. Moreover, LaPR generalizes well across feature extractors and cross-fold scenarios, suggesting the importance of label utilization in prompt retrieval for VICL. Code is available at https://github.com/luotc-why/CVPR26-LaPR.

📄 PDF Abstract BibTeX arXiv:2604.03657

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Multi-label Text Classification using GloVe and Neural Network Models

2023-10-25 · Hongren Wang

This study addresses the challenges of multi-label text classification. The difficulties arise from imbalanced data sets, varied text lengths, and numerous subjective feature labels. Existing solutions include traditiona…

Multi Label Text ClassificationMulti-Label Text Classificationtext-classificationText Classification

The Universal Dependencies Treebank of Spoken Slovenian

2016-05-01 · LREC 2016 5 · Kaja Dobrovoljc, Joakim Nivre

This paper presents the construction of an open-source dependency treebank of spoken Slovenian, the first syntactically annotated collection of spontaneous speech in Slovenian. The treebank has been manually annotated us…

TeamDL at SemEval-2018 Task 8: Cybersecurity Text Analysis using Convolutional Neural Network and Conditional Random Fields

2018-06-01 · SEMEVAL 2018 6 · Manik R, an, Krishna Madgula, Snehanshu Saha

In this work we present our participation to SemEval-2018 Task 8 subtasks 1 {\&} 2 respectively. We developed Convolution Neural Network system for malware sentence classification (subtask 1) and Conditional Random Field…

General ClassificationLEMMAPOSSentence+4

The spillover effect of neighboring port on regional industrial diversification and regional economic resilience

2022-04-01 · Jung-In Yeon, Sojung Hwang, Bogang Jun

We examine the spillover effect of neighboring ports on regional industrial diversification and their economic resilience using the export data of South Korea from 2006 to 2020. First, we build two distinct product space…

Estimating Dynamic Spillover Effects along Multiple Networks in a Linear Panel Model

2022-11-16 · Clemens Possnig, Andreea Rotărescu, Kyungchul Song

Spillover of economic outcomes often arises over multiple networks, and distinguishing their separate roles is important in empirical research. For example, the direction of spillover between two groups (such as banks an…