In the world of retrieval-augmented robot policies, the golden rule has long been: "Find demonstrations that look like the current scene." We assume that if a demonstration is visually similar to what the robot sees now, it must be the most helpful guide.
A new paper, "Similar Is Not Useful: Selecting In-Context Demonstrations by Closed-Loop Utility," argues that this assumption is fundamentally flawed. In fact, visual similarity is often no better than picking examples at random.
TL;DR
Visual similarity is a poor predictor of how much an in-context demonstration actually helps a robot succeed. By switching from similarity-based retrieval to "closed-loop utility"—ranking demonstrations by their actual contribution to success in simulation—researchers improved Vision-Language-Action (VLA) policy success rates by nearly 11 percentage points.
What Problem Does This Paper Address?
Retrieval-augmented Vision-Language-Action (VLA) policies adapt to new tasks by looking at a "context" of past demonstrations. To fill this context at runtime, these models typically use a retriever to find frames that are visually similar (using embeddings like DINOv2) to the robot's current camera feed.
The authors identify a critical gap: visual similarity identifies the task, but not the quality of the demonstration for that task. While similarity can tell the difference between "picking up a bottle" and "opening a drawer," it struggles to distinguish between a "good" bottle-picking demo that helps the policy and a "bad" one that leads to a collision or a timeout.
Methods
The researchers used a frozen VLA policy (RICL on $\pi_0$-FAST) and tested it on the LIBERO robot manipulation benchmark. Their core innovation was treating demonstration selection as a closed-loop utility problem rather than a static retrieval problem.
- The Instrument: They modified the policy server to allow "live pool swaps," meaning they could change the set of demonstrations the robot was "looking at" mid-run without retraining the model.
- Utility Scoring: To find out which demos were actually useful, they sampled 60 random "pools" of 5 demonstrations each. They ran 10 rollouts for each pool and used ridge regression to assign a utility score ($\hat{\phi}$) to every individual demonstration based on how much its presence in a pool boosted the success rate.
- Evaluation: They compared four selection rules:
- Top: The 5 demos with the highest utility scores.
- Dino: The 5 demos most visually similar to the test scene (the standard approach).
- Random: A baseline of 5 random demos.
- Bottom: The 5 demos with the lowest utility scores.
Datasets
The study utilized the LIBERO benchmark, specifically:
- 7 "Primed" tasks: Tasks the model had seen during its initial post-training.
- 12 "Unseen" tasks: Tasks from the LIBERO-90 suite that the policy was never specifically primed to handle.
- Each task included a pool of 20 processed demonstrations.
Key Insights and Ideas
- Similarity is a Task Filter, Not a Quality Filter: Visual similarity is excellent at separating tasks that look different. However, if two tasks share the same scene (e.g., "pick up the ketchup" vs. "move the ketchup"), similarity-based retrieval falls to chance.
- The "Retriever's Favorite" is often Useless: As shown in Figure 1, the demonstration that DINOv2 ranks as #1 (most similar) is frequently ranked near the bottom in terms of actual utility.
- Utility Generalizes: Utility scores calculated on one set of initial robot positions successfully predicted success on a completely different, held-out set of positions.
- The Benefit of Selection is Context-Dependent: The advantage of picking "high utility" demos is massive when the context window is small (3-5 demos). If the robot can look at 10+ demos at once, the retriever eventually finds the "good" frames by sheer volume, and the selection strategy matters less.
Key Results
- Utility Beats Similarity: Across 19 tasks, the
toputility-selected pools achieved a 66.4% success rate, outperformingdinosimilarity-selected pools (55.7%) by 10.8 percentage points. - Similarity $\approx$ Random: Similarity-based selection (55.7%) performed almost identically to picking demonstrations at random (55.5%).
- Success on Unseen Tasks: The utility-based gain was robust, showing a +10.2 pp improvement even on tasks the policy had never encountered before.
- Efficiency: While full utility scoring is expensive, the authors found that a "best-of-ten" direct search (trying 10 random pools and picking the winner) recovered two-thirds of the performance gain with only 100 rollouts.
Limitations and Future Work
- Computational Cost: Measuring closed-loop utility requires running many simulations (rollouts), which is significantly more expensive than a simple embedding lookup.
- Simulation-Only: The study was conducted entirely within the LIBERO simulation environment. The authors note that physical-robot transfer remains untested.
- Model Specificity: The results are based on one specific VLA checkpoint. While the findings are striking, they may vary across different model architectures.
- Future Direction: The authors suggest the need for "rollout-free" utility predictors—models that can look at a demonstration's features and predict its utility without needing to run a full simulation.
Summary updated