Is 3D Convolution with 5D Tensors Really Necessary for Video Analysis?

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Hajimolahoseini, Habib, Ahmed, Walid, Wen, Austin, Liu, Yang
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913442519056384
author Hajimolahoseini, Habib
Ahmed, Walid
Wen, Austin
Liu, Yang
author_facet Hajimolahoseini, Habib
Ahmed, Walid
Wen, Austin
Liu, Yang
contents In this paper, we present a comprehensive study and propose several novel techniques for implementing 3D convolutional blocks using 2D and/or 1D convolutions with only 4D and/or 3D tensors. Our motivation is that 3D convolutions with 5D tensors are computationally very expensive and they may not be supported by some of the edge devices used in real-time applications such as robots. The existing approaches mitigate this by splitting the 3D kernels into spatial and temporal domains, but they still use 3D convolutions with 5D tensors in their implementations. We resolve this issue by introducing some appropriate 4D/3D tensor reshaping as well as new combination techniques for spatial and temporal splits. The proposed implementation methods show significant improvement both in terms of efficiency and accuracy. The experimental results confirm that the proposed spatio-temporal processing structure outperforms the original model in terms of speed and accuracy using only 4D tensors with fewer parameters.
format Preprint
id arxiv_https___arxiv_org_abs_2407_16514
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Is 3D Convolution with 5D Tensors Really Necessary for Video Analysis?
Hajimolahoseini, Habib
Ahmed, Walid
Wen, Austin
Liu, Yang
Computer Vision and Pattern Recognition
Artificial Intelligence
In this paper, we present a comprehensive study and propose several novel techniques for implementing 3D convolutional blocks using 2D and/or 1D convolutions with only 4D and/or 3D tensors. Our motivation is that 3D convolutions with 5D tensors are computationally very expensive and they may not be supported by some of the edge devices used in real-time applications such as robots. The existing approaches mitigate this by splitting the 3D kernels into spatial and temporal domains, but they still use 3D convolutions with 5D tensors in their implementations. We resolve this issue by introducing some appropriate 4D/3D tensor reshaping as well as new combination techniques for spatial and temporal splits. The proposed implementation methods show significant improvement both in terms of efficiency and accuracy. The experimental results confirm that the proposed spatio-temporal processing structure outperforms the original model in terms of speed and accuracy using only 4D tensors with fewer parameters.
title Is 3D Convolution with 5D Tensors Really Necessary for Video Analysis?
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2407.16514