SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2412.02186 · 2024

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

arXiv · PDF · Open in the Atlas

Code that ran

6 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 1 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2412.02186.json · badge: /api/ran/2412.02186.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
kangsankim07/videoicl canonical (classifier label)
classifier basis: census
6 ran · 1 no recorded run
FunctionStatusWhere it lives
get_loss_scale_for_deepspeed Ran
ran, honoured the contract we drafted
kangsankim07/videoicl/InternVideo/InternVideo1/Downstream/Spatial-Temporal-Action-Localization/engine_for_finetuning.py
pointer only (licence: NONE) · get_code("29416043c7035e7c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kangsankim07/videoicl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_sinusoid_encoding_table Ran
ran, honoured the contract we drafted
kangsankim07/videoicl/InternVideo/InternVideo1/Downstream/Spatial-Temporal-Action-Localization/modeling_finetune.py
pointer only (licence: NONE); the stored copy get_code serves, from khu-vll/cast, is pointer only (licence: NOASSERTION) · get_code("9b2250a3d13ed688")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kangsankim07/videoicl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

prepare_messages Ran
ran; our contract draft was wrong, not the code
kangsankim07/videoicl/qwen2vl.py
pointer only (licence: NONE) · get_code("7449fa3bceab6a8c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kangsankim07/videoicl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

put_examples Ran
ran; our contract draft was wrong, not the code
kangsankim07/videoicl/qwen2vl.py
pointer only (licence: NONE) · get_code("9ebea5d4d2975338")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kangsankim07/videoicl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

tensor_normalize Ran
ran, honoured the contract we drafted
kangsankim07/videoicl/InternVideo/InternVideo1/Downstream/Spatial-Temporal-Action-Localization/kinetics.py
pointer only (licence: NONE) · get_code("14b3b13b2e7ee844")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kangsankim07/videoicl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

train_class_batch Ran
ran; our contract draft was wrong, not the code
kangsankim07/videoicl/InternVideo/InternVideo1/Pretrain/VideoMAE/engine_for_finetuning.py
pointer only (licence: NONE) · get_code("c7976ea27edc377a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kangsankim07/videoicl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_data Not yet run
unverified (harvested, no recorded run)
kangsankim07/videoicl/qwen2vl.py
pointer only (licence: NONE) · get_code("60db15a333d85bcb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kangsankim07/videoicl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 4 later) and 3 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_sinusoid_encoding_table 21 other papers
19 dated earlier, 2 later · 1 only as an assembly brick
2111.06377 (2021-11)
Masked Autoencoders Are Scalable Vision Learners
2208.07049 (2022-08)
Self-Supervised Vision Transformers for Malware Detection
2302.14042 (2023-02)
Knowledge-enhanced Visual-Language Pre-training on Chest Radiology Images
and 18 more not named here
get_loss_scale_for_deepspeed 15 other papers
13 dated earlier, 1 later, 1 same year, order not determinable
2203.14415 (2022-03)
Mugs: A Multi-Granular Self-Supervised Learning Framework
2211.09120 (2022-11)
AdaMAE: Adaptive Masking for Efficient Spatiotemporal Learning with Masked Autoencoders
2212.10368 (2022-12)
Masked Event Modeling: Self-Supervised Pretraining for Event Cameras
and 12 more not named here
tensor_normalize 15 other papers
14 dated earlier, 1 later
2210.00788 (2022-10)
Towards a Unified View on Visual Parameter-Efficient Transfer Learning
2211.09120 (2022-11)
AdaMAE: Adaptive Masking for Efficient Spatiotemporal Learning with Masked Autoencoders
2307.02227 (2023-07)
MAE-DFER: Efficient Masked Autoencoder for Self-supervised Dynamic Facial Expression Recognition
and 12 more not named here
train_class_batch 11 other papers
10 dated earlier, 1 later
2203.14415 (2022-03)
Mugs: A Multi-Granular Self-Supervised Learning Framework
2211.09120 (2022-11)
AdaMAE: Adaptive Masking for Efficient Spatiotemporal Learning with Masked Autoencoders
2212.10368 (2022-12)
Masked Event Modeling: Self-Supervised Pretraining for Event Cameras
and 8 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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 will be released at https://github.com/KangsanKim07/VideoICL

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2412.02186")
get_code_for_paper("2412.02186")
have("2412.02186")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2412.02186.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2412.02186.svg)](https://syntology.ai/paper/2412.02186)

Connect an agent — have() is free.