Similar Is Not Useful: Selecting In-Context Demonstrations by Closed-Loop Utility
Jiachen Li, Zhigen Zhao, Shihao Li, Dongmei Chen, Long Chen, Zhuo Xu
Abstract
Retrieval-augmented vision-language-action (VLA) policies fill their context with the demonstrations whose frames look most like the current observation under frozen DINOv2 embeddings. We ask whether visual similarity selects the demonstrations that make the policy succeed. For a frozen retrieval-augmented VLA (RICL on -FAST, LIBERO), we make the demonstration pool swappable at run time and score each demonstration's utility by regressing the closed-loop success of 60 fixed-size pools on their membership. On initial states disjoint from those used for scoring, pools of the five highest-utility demonstrations succeed on 66.4% of 760 paired episodes across 19 tasks, pools of the five most similar on 55.7%, and random pools on 55.5%. Utility beats similarity by 10.8 points (; positive on 15 of 18 untied tasks), including on 12 tasks the policy was never primed on, and similarity-selected pools do no better than random ( points). Within a task, a pool's visual similarity to the test scenes tracks its success at Spearman 0.10; across tasks, similarity separates tasks whose scenes differ and falls to chance when two tasks share a scene. The gain comes from on-task closed-loop evidence: best-of-ten direct search over pools recovers two-thirds of it with 100 rollouts. Against the shipped 20-demonstration pool, utility-curated pools of five lead by 7.0 points over 560 paired episodes from two evaluation runs (), and utility-ordered retrieval inside the full pool leads by 4.5 points ().
Create a lesson
Related papers
QDA: Closed-Loop LLM Quantization Design with Agents
Shared title terminologycs.LGXingyang Li, Tianlang Zhao, Song Han et al.
MolReJev: Decision Models Are In-Context Molecular Predictors
Shared title terminologycs.LGKaiyuan Lu, Jiatong Li, Yatao Bian
ICICLE: In-Context Inference for Curve-Learning Extrapolation
Shared title terminologycs.LGLaurits Fredsgaard, Michael Riis Andersen, Mikkel N. Schmidt
Loop-Count Schedules in Looped Transformers: An Empirical Study
Shared title terminologycs.LGKonstantin Kolokolov
Attacking Tabular Foundation Models: An Experimental Taxonomy of Context Poisoning and Test-Time Evasion
Shared title terminologycs.LGRamak Nassiri, Sujan Kumar Reddy Challa, Feroz Ahmed et al.
A Finite-Rate Selection Law for Annealed Gibbs Sampling
Shared title terminologycs.LGIzhar Ali, Muhammad Haris Khan, Saeed Ahmad