Introduction
Scene classification presents a unique challenge compared to standard object recognition. While identifying a single object like a "chair" is relatively straightforward, classifying a scene requires understanding the complex spatial arrangements and correlations between multiple objects—for instance, distinguishing a "restaurant" from a "classroom" based on the layout of chairs and tables.
Historically, Fisher Vectors (FV) have been used to aggregate local features into global descriptors. However, traditional FV methods often functioned as separate post-processing steps. Previous attempts to integrate them into end-to-end deep learning architectures typically relied on Gaussian Mixture Models (GMMs) with diagonal covariances. Such models struggle to capture the intricate, high-dimensional correlations of deep features without an excessive number of components.
The MFAFVNet Architecture
To address these limitations, the authors propose the MFAFVNet, which integrates a Mixture of Factor Analyzers Fisher Vector (MFA-FV) layer directly into a Convolutional Neural Network (CNN).
The architecture processes images at multiple scales to capture both fine-grained object details and broader structural "gist." Features extracted from a base CNN (such as VGG-16) are passed through an ROI pooling layer and a PCA layer before entering the specialized MFA-FV layer.
The MFA-FV Layer
The core innovation is the MFA-FV layer, which models the statistics of CNN features using a Mixture of Factor Analyzers (MFA). Unlike standard GMMs, MFA assumes data lies on lower-dimensional subspaces, modeling component covariance with a factor loading matrix ($\Lambda$). This captures feature correlations much more efficiently than diagonal models.
As shown in the diagram above, the layer implements the MFA-Fisher Vector through a series of differentiable operations, including matrix multiplications, outer products, and softmax activations. This differentiability allows the entire network to be trained end-to-end, optimizing both the feature extraction and the statistical pooling simultaneously.
Experimental Results
The MFAFVNet was evaluated on the MIT Indoor (67 categories) and SUN (397 categories) datasets. Using a VGG-16 base, the model achieved state-of-the-art performance:
- MIT Indoor: 80.72% accuracy (rising to 87.97% when combined with a Places-trained network).
- SUN Dataset: 64.08% accuracy (rising to 72.01% with Places integration).
These results demonstrate that the MFAFVNet significantly outperforms previous embedded pooling methods like NetVLAD and Deep FisherNet, largely due to its more sophisticated statistical modeling.
Key Insights
- Covariance Modeling: The shift from diagonal GMMs to MFA is critical. By explicitly modeling the covariance structure of deep features, the network achieves superior representation with fewer parameters.
- Initialization: Proper initialization is vital for convergence. Using the Expectation-Maximization (EM) algorithm on pre-extracted features to initialize the MFA-FV layer weights yielded a 2-4% performance boost over random initialization.
- Complementary Views: The "object-centric" view provided by MFAFVNet (trained on ImageNet features) is highly complementary to the "holistic" view of networks trained on the Places dataset. Combining them leads to substantial performance gains of up to 8%.
Conclusion
The MFAFVNet successfully bridges the gap between traditional statistical pooling and modern deep learning. By embedding the sophisticated MFA-FV mechanism into an end-to-end trainable framework, it sets a new benchmark for scene classification. Future work may explore its application in video analysis and other complex visual recognition tasks.
Summary updated