VideoICL: Confidence-based Iterative In-context Learning for Out-of-Distribution Video Understanding

Kangsan Kim, Geon Park, Youngwan Lee, Woongyeong Yeo, Sung Ju Hwang
2/9/2026

No official code found. Best implementation: KangsanKim07/VideoICL (23 stars, last commit 2025-03-24).

Abstract

Recent advancements in video large multimodal models (LMMs) have significantly improved their video understanding and reasoning capabilities. However, their performance drops on out-of-distribution (OOD) tasks that are underrepresented in training data. Traditional methods like fine-tuning on OOD datasets are impractical due to high computational costs. While In-context learning (ICL) with demonstration examples has shown promising generalization performance in language tasks and image-language tasks without fine-tuning, applying ICL to video-language tasks faces challenges due to the limited context length in Video LMMs, as videos require longer token lengths. To address these issues, we propose VideoICL, a novel video in-context learning framework for OOD tasks that introduces a similarity-based relevant example selection strategy and a confidence-based iterative inference approach. This allows to select the most relevant examples and rank them based on similarity, to be used for inference. If the generated response has low confidence, our framework selects new examples and performs inference again, iteratively refining the results until a high-confidence response is obtained. This approach improves OOD video understanding performance by extending effective context length without incurring high costs. The experimental results on multiple benchmarks demonstrate significant performance gains, especially in domain-specific scenarios, laying the groundwork for broader video comprehension applications. Code is released at https://github.com/KangsanKim07/VideoICL

View on arXivView PDF

Code Implementations(1)

[CVPR2025] VideoICL: Confidence-based Iterative In-context Learning for Out-of-Distribution Video Understanding

231C, C++Nov 29, 20241 years ago

Cite this paper

@article{kim2026videoicl,
  title  = {VideoICL: Confidence-based Iterative In-context Learning for Out-of-Distribution Video Understanding},
  author = {Kangsan Kim and Geon Park and Youngwan Lee and Woongyeong Yeo and Sung Ju Hwang},
  year   = {2026},
  eprint = {2412.02186},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2412.02186},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.02186.svg)](https://codeofpaper.com/paper/2412.02186)

Discussion