Scalable Frame Sampling for Video Classification: A Semi-Optimal Policy Approach with Reduced Search Space


Junho Lee (Seoul National University), Jeongwoo Shin (Seoul National University), Seung Woo Ko (LG AI Research), Seongsu Ha (Twelve Labs), Joonseok Lee (Seoul National University)
The 35th British Machine Vision Conference

Abstract

Given a video with $T$ frames, frame sampling is a task to select $N \ll T$ frames, so as to maximize the performance of a fixed video classifier. Not just brute-force search, but most existing methods suffer from its vast search space of $\binom{T}{N}$, especially when $N$ gets large. To address this challenge, we introduce a novel perspective of reducing the search space from $O(T^N)$ to $O(T)$. Instead of exploring the entire $O(T^N)$ space, our proposed semi-optimal policy selects the top $N$ frames based on the independently estimated value of each frame using per-frame confidence, significantly reducing the computational complexity. We verify that our semi-optimal policy can efficiently approximate the optimal policy, particularly under practical settings. Additionally, through extensive experiments on various datasets and model architectures, we demonstrate that learning our semi-optimal policy ensures stable and high performance regardless of the size of $N$ and $T$.

Citation

@inproceedings{Lee_2024_BMVC,
author    = {Junho Lee and Jeongwoo Shin and Seung Woo Ko and Seongsu Ha and Joonseok Lee},
title     = {Scalable Frame Sampling for Video Classification: A Semi-Optimal Policy Approach with Reduced Search Space},
booktitle = {35th British Machine Vision Conference 2024, {BMVC} 2024, Glasgow, UK, November 25-28, 2024},
publisher = {BMVA},
year      = {2024},
url       = {https://papers.bmvc2024.org/0140.pdf}
}


Copyright © 2024 The British Machine Vision Association and Society for Pattern Recognition
The British Machine Vision Conference is organised by The British Machine Vision Association and Society for Pattern Recognition. The Association is a Company limited by guarantee, No.2543446, and a non-profit-making body, registered in England and Wales as Charity No.1002307 (Registered Office: Dept. of Computer Science, Durham University, South Road, Durham, DH1 3LE, UK).

Imprint | Data Protection