arXiv cs.AI· Shu Zhao, Tan Yu·· 3 天前AI 评分23
SMILE:从模型自身错误中自挖掘视觉上下文学习样本
The Value of Being Wrong: Self-Mined Visual In-Context Learning from Errors
AI 导读
SMILE 通过离线记录目标 VLM 自身的预测错误构建模型专属的 hard negatives 池,测试时以预测结果作为方向信号,在语义嵌入空间中找出当前查询最可能重犯的过往错误,无需属性提取、caption 工程等多阶段流程。
正文 · 原文
Abstract:Visual in-context learning (ICL) enables vision-language models (VLMs) to adapt at test time via demonstration examples, but its effectiveness depends critically on the examples selected. Recent counterfactual selection methods improve ICL by constructing demonstrations that expose how individual attribute changes affect the answer. However, they require multi-stage pipelines involving attribute extraction, caption engineering, and composed image matching. We propose a simpler alternative grounded in a key observation: a model's own prediction errors are natural counterfactual demonstrations that directly encode its failure modes. Our method, SMILE (Self-Mined Visual In-Context Learning from Errors), builds a model-specific pool of hard negatives offline by recording the target VLM's own mistakes. At test time, the prediction serves as a direction signal that surfaces, in the semantic embedding space, the past mistakes most likely to recur for the current query. This prediction-conditioned identification provides a unified mechanism for both closed-set classification and open-ended visual question answering without task-specific design. Across four benchmarks and four VLMs, SMILE delivers an average task-score gain of +3.09 points over the SOTA baseline at 5x lower latency. Project page: this https URL
| Comments: | NeurIPS 2026 Spotlight. 19 pages, 7 figures, 9 tables. Project page: this https URL |
| Subjects: | Computer Vision and Pattern Recognition (cs.CV); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.16977 [cs.CV] |
| (or arXiv:2610.16977v1 [cs.CV] for this version) | |
| https://doi.org/10.48550/arXiv.2610.16977 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Shu Zhao [view email]
[v1]
Mon, 12 Oct 2026 15:38:27 UTC (7,137 KB)
来源:arXiv cs.AI · arxiv.org