Deep learning approaches have been established as the main methodology for video classification and recognition. Recently, 3-dimensional convolutions have been used to achieve state-of-the-art performance in many challenging video datasets. Because of the high level of complexity of these methods, as the convolution operations are also extended to additional dimension in order to extract features from them as well, providing a visualization for the signals that the network interpret as informative, is a challenging task. An effective notion of understanding the network's inner-workings would be to isolate the spatio-temporal regions on the video that the network finds most informative. We propose a method called Saliency Tubes which demonstrate the foremost points and regions in both frame level and over time that are found to be the main focus points of the network. We demonstrate our findings on widely used datasets for third-person and egocentric action classification and enhance the set of methods and visualizations that improve 3D Convolutional Neural Networks (CNNs) intelligibility.
To appear in IEEE International Conference on Image Processing (ICIP) 2019
[arXiv preprint]
[IEEE Xplore]
[video presentation]
For videos, these frames can be turned to video/GIFs with tools such as ImageMagic
or imageio
.
Please make sure, Git is installed in your machine:
$ sudo apt-get update
$ sudo apt-get install git
$ git clone https://github.com/alexandrosstergiou/Saliency-Tubes-Visual-Explanations-for-Spatio-Temporal-Convolutions.git
Currently the repository supports either Keras or Pytorch models. OpenCV
was used for processes in the frame level. For resizing the to the original video dimensions we used scipy.ndimage
.
$ pip install opencv-python
$ pip install scipy
MIT
If you use our code in your research, please use the following BibTeX entry:
@inproceedings{stergiou2019saliency,
title={Saliency tubes: Visual explanations for spatio-temporal convolutions},
author={Stergiou, Alexandros and Kapidis, Georgios and Kalliatakis, Grigorios and Chrysoulas, Christos and Veltkamp, Remco and Poppe, Ronald},
booktitle={2019 IEEE International Conference on Image Processing (ICIP)},
pages={1830--1834},
year={2019},
organization={IEEE}
}
Alexandros Stergiou
a.g.stergiou at uu.nl
Any queries or suggestions are much appreciated!