Towards Good Practices for Action Video Encoding

Jianxin Wu, Yu Zhang, Weiyao Lin

Abstract

Encoding local descriptors into a global video representation is a pivotal step in action recognition. This paper re-evaluates the Vector of Locally Aggregated Descriptors (VLAD) through a Maximum Entropy (MaxEnt) lens. We demonstrate that by optimizing the encoding process to satisfy the "normality assumption" and leveraging the inherent bimodality of normalized features, significant accuracy gains can be achieved on standard benchmarks like HMDB51 with minimal computational cost.

Introduction

In the early 2010s, action recognition relied on a pipeline of feature extraction, encoding, and classification. While descriptor design (e.g., dense trajectories) was heavily researched, the encoding step—often borrowed from image retrieval—remained under-scrutinized for video-specific nuances. This work identifies "best practices" for video encoding, providing both empirical evidence and a theoretical justification based on Maximum Entropy principles.

Theoretical Framework: The MaxEnt Perspective

We interpret VLAD as a linear feature learning process aimed at maximizing entropy. In this framework, Principal Component Analysis (PCA) serves as the optimal projection for data following a Gaussian distribution.

Figure 1: Statistical analysis of descriptors and VLAD dimensions across UCF101, HMDB51, and Youtube datasets. The left histograms and Q-Q plots evaluate the normality of descriptors, while the right histograms reveal the bimodal distribution of VLAD dimensions after power normalization.

The Normality Assumption

The success of preprocessing steps like Root Descriptors (RD) depends on their ability to make the raw feature distribution more Gaussian. As illustrated in Figure 1, the impact of RD varies by dataset; it significantly improves normality in UCF101 but has a lesser effect on HMDB51. This explains the inconsistent performance of RD across different video benchmarks.

Bimodal Encoding

A critical observation from our analysis is that Power Normalization (PN) transforms VLAD dimensions into a bimodal distribution (seen in the right-hand histograms of Figure 1). This distribution is more discriminative for linear SVMs as it spreads the data away from uninformative zero-values. We propose a "bimodal encoding" technique that explicitly handles this distribution and removes scale disparities between dimensions, ensuring that every feature contributes effectively to the final classification.

Key Insights and Results

Our investigation yielded several practical insights for optimizing video representations:

  • Information in Absence: We found that the absence of certain visual codewords (typically 15-20% in a video) provides a powerful signal for classification that standard VLAD often ignores.
  • Scale Normalization: Normalizing the range of each dimension is crucial, as the numerical scale of a dimension does not necessarily correlate with its importance.
  • Performance Gains: On the HMDB51 dataset, our optimized pipeline achieved 54.60% accuracy, outperforming the previous state-of-the-art (52.1%) and significantly exceeding the classic bag-of-features baseline (48.3%).

Efficiency and Compression

The MaxEnt perspective also facilitates efficient storage. VLAD vectors can be compressed to just 2 bits per dimension with negligible loss in accuracy. This 16x compression allows for massive memory savings while still outperforming uncompressed traditional models.

Conclusion

By grounding encoding practices in MaxEnt theory, we provide a robust framework for action video representation. The proposed bimodal encoding and normalization strategies are simple to implement and offer state-of-the-art performance, bridging the gap between image-centric encoding and the specific requirements of video data.

Summary updated

BibTeX
@inproceedings{wu2014towards,
  author = {Jianxin Wu and Yu Zhang and Weiyao Lin},
  title = {{Towards Good Practices for Action Video Encoding}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2014},
  doi = {10.1109/cvpr.2014.330},
}
Figure