atlas

Research map / Detection and segmentation / Open-set and few-shot detection

Towards Global Optimal Visual In-Context Learning Prompt Selection

NeurIPS 2024 · Detection and segmentation › Open-set and few-shot detection · approach: Object-level representation learning · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Partial2Global, a transformer-based list-wise ranker plus a Hodge-style consistency-aware ranking aggregator to select in-context examples for visual in-context learning built on MAE-VQGAN, reaching SOTA on segmentation, detection and colorization.

Problem

Selecting the best in-context example (prompt) for each query in visual in-context learning is a ranking problem; prior pairwise contrastive selection (VPR) underuses ranking observations and yields no globally consistent ranking.

Approach

A transformer list-wise ranker scores k alternatives jointly with the query (class and patch tokens from DINOv2), trained with margin, NeuralNDCG and MSE losses; partial rankings from shuffled subsets are aggregated by least squares over pairwise preference matrices to yield a globally consistent ranking.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace SupPR's pairwise contrastive ranker with a list-wise ranking model (ablation)Visual in-context example selection with MAE-VQGAN · Pascal-5ᶦ segmentation, averagemIoU: 35.56 -> 37.10Helped
add the consistency-aware ranking aggregator to rank-10 predictions (ablation)Partial2Global · Pascal-5ᶦ segmentation, averagemIoU: 37.10 -> 38.09Helped
combine rank-5 and rank-10 predictions with the aggregator (ablation)Partial2Global · Pascal-5ᶦ segmentation, averagemIoU: 38.09 -> 38.40Helped
add test-time votingPartial2Global · Pascal-5ᶦ segmentation, averagemIoU: 38.40 -> 42.69Helped
replace DINOv2 with DINOv1 (ablation)Partial2Global with consistency-aware aggregation · Pascal-5ᶦ segmentation, averagemIoU: 38.40 -> 39.19Helped
select the second- or third-ranked example instead of the top-ranked example (ablation)Partial2Global · Pascal-5ᶦ segmentation, averagemIoU: 38.40 -> 38.19; 38.40 -> 38.25Hurt
fuse predictions from multiple top-ranked examples (ablation)Partial2Global · Pascal-5ᶦ segmentation, averagemIoU: 38.40 -> 39.13; 38.40 -> 39.73; 38.40 -> 39.77Helped
remove L_sort from the ranking loss (ablation)Partial2Global on colorization · ILSVRC2012 colorizationMSE: 0.583 -> 0.601Hurt
remove L_margin from the ranking loss (ablation)Partial2Global on colorization · ILSVRC2012 colorizationMSE: 0.583 -> 0.595Hurt
remove L_mse from the ranking loss (ablation)Partial2Global on colorization · ILSVRC2012 colorizationMSE: 0.583 -> 0.585Helped
set margin δ to 0 instead of the selected setting (ablation)Partial2Global on colorization · ILSVRC2012 colorizationMSE: 0.594Hurt
vary alternative set size from 50 to 25 or 100 (ablation)Partial2Global · Pascal-5ᶦ segmentationmIoU: 25: 38.48 / 41.82 / 37.14 / 35.60; 50 (main): 38.81 / 41.54 / 37.25 / 36.01; 100: 38.81 / 41.80 / 37.90 / 36.00Mixed

Surprising findings

Limitations

Experimental setup

Datasets: Pascal-5i Pascal VOC 2012 ILSVRC2012

Benchmarks: Pascal-5i Pascal VOC 2012 ILSVRC2012

Metrics: mIoU MSE

Baselines: MAE-VQGAN UnsupPR SupPR prompt-SelF

Builds on: MAE-VQGAN Visual Prompt Retrieval (VPR) NeuralNDCG HodgeRank

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy