Differentiable Resolution Compression and Alignment for Efficient Video Classification and Retrieval

Rui Deng, Qian Wu, Yuke Li, Haoran Fu
9/15/2023
cs.CV

Official code: dun-research/DRCA (6 stars, Apache-2.0, last commit 2023-09-18).

Abstract

Optimizing video inference efficiency has become increasingly important with the growing demand for video analysis in various fields. Some existing methods achieve high efficiency by explicit discard of spatial or temporal information, which poses challenges in fast-changing and fine-grained scenarios. To address these issues, we propose an efficient video representation network with Differentiable Resolution Compression and Alignment mechanism, which compresses non-essential information in the early stage of the network to reduce computational costs while maintaining consistent temporal correlations. Specifically, we leverage a Differentiable Context-aware Compression Module to encode the saliency and non-saliency frame features, refining and updating the features into a high-low resolution video sequence. To process the new sequence, we introduce a new Resolution-Align Transformer Layer to capture global temporal correlations among frame features with different resolutions, while reducing spatial computation costs quadratically by utilizing fewer spatial tokens in low-resolution non-saliency frames. The entire network can be end-to-end optimized via the integration of the differentiable compression module. Experimental results show that our method achieves the best trade-off between efficiency and performance on near-duplicate video retrieval and competitive results on dynamic video classification compared to state-of-the-art methods. Code:https://github.com/dun-research/DRCA

View on arXivView PDF

Code Implementations(1)

dun-research/DRCAOfficial100%
Apache-2.0

The official pytorch implementation of paper "Differentiable Resolution Compression and alignment for Efficient Video Classification and Retrieval".

60Shell, PythonSep 14, 20233 years agoApache-2.0

Cite this paper

@article{deng2023differentiable,
  title  = {Differentiable Resolution Compression and Alignment for Efficient Video Classification and Retrieval},
  author = {Rui Deng and Qian Wu and Yuke Li and Haoran Fu},
  year   = {2023},
  eprint = {2309.08167},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.08167v1}
}

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/2309.08167.svg)](https://codeofpaper.com/paper/2309.08167)

Discussion