Papers › Adaptive Focus for Efficient Video Recognition

Adaptive Focus for Efficient Video Recognition

7 May 2021ICCV 2021 10arXiv:2105.03245archive 2025-07-28

Yulin Wang, Zhaoxi Chen, Haojun Jiang, Shiji Song, Yizeng Han, Gao Huang

In this paper, we explore the spatial redundancy in video recognition with the aim to improve the computational efficiency. It is observed that the most informative region in each frame of a video is usually a small image patch, which shifts smoothly across frames. Therefore, we model the patch localization problem as a sequential decision task, and propose a reinforcement learning based approach for efficient spatially adaptive video recognition (AdaFocus). In specific, a light-weighted ConvNet is first adopted to quickly process the full video sequence, whose features are used by a recurrent policy network to localize the most task-relevant regions. Then the selected patches are inferred by a high-capacity network for the final prediction. During offline inference, once the informative patch sequence has been generated, the bulk of computation can be done in parallel, and is efficient on modern GPU devices. In addition, we demonstrate that the proposed method can be easily extended by further considering the temporal redundancy, e.g., dynamically skipping less valuable frames. Extensive experiments on five benchmark datasets, i.e., ActivityNet, FCVID, Mini-Kinetics, Something-Something V1&V2, demonstrate that our method is significantly more efficient than the competitive baselines. Code is available at https://github.com/blackfeather-wang/AdaFocus.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2105.03245")

Code

Syntology Ran 13 of 23 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 3 ran · our draft was wrong; 2 ran · fixture could not drive it; 8 ran with no contract checked.

By repository: official repository: 23 samples from 1 repository, 13 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

blackfeather-wang/AdaFocus officialmentioned in papermentioned on GitHubpytorch report
leaplabthu/uni-adafocus mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

23 samples harvested; 13 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · our draft was wrong
2ran · fixture could not drive it
8ran
10unverified

Licence: 23 of the 23 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from blackfeather-wang/AdaFocus. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Bottleneck blackfeather-wang/AdaFocus/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py official repository ran no licence file found · pointer only · dba4e40d3ec4e1a6 · report
ConvBNReLU blackfeather-wang/AdaFocus/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py official repository ran · metamorphic tier: invariant fingerprinted no licence file found · pointer only · 694778287c1e57cb · report
InvertedResidual blackfeather-wang/AdaFocus/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py official repository ran · metamorphic tier: invariant fingerprinted no licence file found · pointer only · b0b0395a2d15fd11 · report
LinearCLassifier blackfeather-wang/AdaFocus/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 0d27f8bcdbc1a81a · report
Memory blackfeather-wang/AdaFocus/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py official repository ran no licence file found · pointer only · 6dab8592a6da4561 · report
MobileNetV2 blackfeather-wang/AdaFocus/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py official repository ran no licence file found · pointer only · a0a4faf6f3826228 · report
RecurrentClassifier blackfeather-wang/AdaFocus/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py official repository ran no licence file found · pointer only · 49b0ecfe3309749c · report
conv1x1 blackfeather-wang/AdaFocus/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py official repository ran · our draft was wrong no licence file found · pointer only · 8b4abacfcdbd5f34 · report
conv3x3 blackfeather-wang/AdaFocus/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py official repository ran · our draft was wrong no licence file found · pointer only · 29b46555d311b33f · report
get_patch blackfeather-wang/AdaFocus/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py official repository ran no licence file found · pointer only · e8eed825e5369a09 · report
mobilenet_v2 blackfeather-wang/AdaFocus/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py official repository ran · our draft was wrong no licence file found · pointer only · 2f3f5423309d07f4 · report
random_crop blackfeather-wang/AdaFocus/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py official repository ran · fixture could not drive it no licence file found · pointer only · 1270d498daf32c06 · report
zero_pad blackfeather-wang/AdaFocus/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 8e712c383c677282 · report
ActorCritic blackfeather-wang/AdaFocus/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py official repository unverified no licence file found · pointer only · aaf4fc54301dc25b · report
BasicBlock blackfeather-wang/AdaFocus/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py official repository unverified no licence file found · pointer only · 3e72f5c3aa3cfb73 · report
Focuser blackfeather-wang/AdaFocus/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py official repository unverified no licence file found · pointer only · ecfff27ee4d3b4ea · report
GFV blackfeather-wang/AdaFocus/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py official repository unverified no licence file found · pointer only · f2ede844bb4fec8b · report
Glancer blackfeather-wang/AdaFocus/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py official repository unverified no licence file found · pointer only · 778bd73246149e78 · report
PPO blackfeather-wang/AdaFocus/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py official repository unverified no licence file found · pointer only · d95a709e40c1819c · report
PatchSampler blackfeather-wang/AdaFocus/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py official repository unverified no licence file found · pointer only · 8306c10e2d90a490 · report
ResNet blackfeather-wang/AdaFocus/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py official repository unverified no licence file found · pointer only · 076a8d0ad95b226b · report
_resnet blackfeather-wang/AdaFocus/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py official repository unverified no licence file found · pointer only · 5e103ea4fee0452b · report
resnet50 blackfeather-wang/AdaFocus/Experiments on ActivityNet, FCVID and Mini-Kinetics/models/gfv_net.py official repository unverified no licence file found · pointer only · d4b9ffcd5506ea85 · report

Tasks

Computational EfficiencyVideo Recognition

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections