An Efficient 3D CNN for Action/Object Segmentation in Video

Rui Hou, Chen Chen, Rahul Sukthankar, Mubarak Shah

Abstract

This paper introduces an end-to-end, encoder-decoder 3D Convolutional Neural Network (CNN) for unsupervised video object and action segmentation. By utilizing novel 3D separable convolutions, the authors drastically reduce the massive computational burden typically associated with 3D CNNs, achieving state-of-the-art performance while operating with only a fraction of the standard computational cost.

Introduction

While CNNs have revolutionized 2D image segmentation, extending these successes to video is notoriously difficult. Video data is massive, and processing it requires understanding both spatial (appearance) and temporal (motion) information. Historically, researchers have used "two-stream" networks—one for RGB frames and another for pre-computed optical flow. This approach is cumbersome and computationally expensive. While 3D CNNs offer a more elegant solution by processing spatio-temporal volumes directly, standard 3D convolutions suffer from an explosion of parameters, making dense, pixel-wise prediction tasks like segmentation incredibly slow and memory-intensive.

Methods

The proposed architecture is a fully convolutional 3D encoder-decoder network that eliminates the need for a separate optical flow stream. The network consists of an encoder, a pyramid pooling module, and a decoder. The encoder uses a pre-trained R2plus1D (R2P1D) feature extractor, which factorizes standard 3D convolutions into separate spatial and temporal convolutions.

3D Separable Convolutions

The core novelty lies in the introduction of 3D separable convolutions. This technique factorizes a standard 3D convolution into a channel-wise 3D convolution followed by a point-wise (1x1x1) convolution.

Comparison of standard 3D convolution, R2plus1D, and the proposed 3D separable convolution blocks.

This isolation of the spatial/temporal kernel from the output channel dimension significantly slashes compute requirements. For instance, a 3x3x3 separable convolution with 512 channels requires only about 1/25th of the computational resources of a standard 3D convolution, yet achieves comparable or superior accuracy.

3D Pyramid Pooling and Action Segmentation

To capture multi-scale information, a pyramid pooling module is inserted between the encoder and decoder. By applying different spatial dilation rates to the 3D separable convolutions, the network expands its receptive field without increasing parameters. Furthermore, the architecture is flexible; adding an extra classifier head to cropped feature maps allows the network to simultaneously predict the action being performed by segmented objects.

Results

The authors evaluated their approach on three standard benchmarks: DAVIS’16, SegTrack-v2, and J-HMDB.

Unsupervised Video Object Segmentation

On the DAVIS'16 dataset, the method achieved state-of-the-art results for unsupervised approaches, with a Region Similarity (J-Mean) of 78.3 and Contour Accuracy (F-Mean) of 77.2. Notably, it achieved a 15% gain in temporal stability over the previous best method (ARP).

Qualitative segmentation results on DAVIS'16 and SegTrack-v2 compared to other state-of-the-art methods.

It also set a new state-of-the-art on SegTrack-v2 with a mean IoU of 62.1.

Action Segmentation and Efficiency

On J-HMDB, the method outperformed existing approaches, achieving a mean IoU of 68.1. Crucially, the computational speedup is massive. Replacing standard 3D convolutions with 3D separable convolutions in the pooling and decoder stages reduced operations from 136 Billion to just 6 Billion, and dropped GPU memory allocation for those layers from 255 MB to 11 MB.

Conclusion

The proposed 3D CNN architecture demonstrates that 3D convolutions can be made efficient enough for dense prediction tasks in video. By naturally enforcing temporal stability through volumetric processing, the network produces smoother segmentation masks than frame-by-frame heuristics. While hardware memory constraints currently limit the temporal length of processed clips, the efficiency gains from 3D separable convolutions represent a significant step toward practical, real-time video segmentation.

Summary updated

BibTeX
@inproceedings{hou2019efficient,
  author = {Rui Hou and Chen Chen and Rahul Sukthankar and Mubarak Shah},
  title = {{An Efficient 3D CNN for Action/Object Segmentation in Video}},
  booktitle = {BMVC},
  year = {2019},
}
Figure