Semantic Fisher Scores for Task Transfer: Using Objects to Classify Scenes

Mandar Dixit, Yunsheng Li, Nuno Vasconcelos · DOI

Introduction

Deep learning has revolutionized image classification, particularly through "dataset transfer" where models pre-trained on large datasets like ImageNet are fine-tuned for new object categories. However, "task transfer"—repurposing a model trained for one semantic task (e.g., object recognition) for a fundamentally different one (e.g., scene classification)—remains a significant challenge. This paper introduces a novel framework that bridges this gap by representing scenes as a "Bag-of-Semantics" (BoS) and encoding them using a specialized Fisher Vector variant, MFA-FS (Mixture of Factor Analyzers Fisher Score).

The Challenge of Task Transfer

Scene classification is inherently different from object recognition. A scene, such as a "bedroom," is defined by a specific arrangement of constituent objects like beds, lamps, and pillows. While it seems intuitive to use object detectors to classify scenes, several technical hurdles exist:

  1. Simplex Geometry: Object classification scores are typically probability vectors that reside on a "probability simplex." This is a non-Euclidean space where standard statistical tools, which often assume Gaussian distributions, perform poorly.
  2. Semantic Noise: Local object detections within a scene can be noisy, ambiguous, or irrelevant to the overall scene label.
  3. High Dimensionality and Correlation: Modern CNN features are high-dimensional and highly correlated (e.g., "bed" and "pillow" often co-occur), making standard encoding methods like Fisher Vectors with diagonal covariance assumptions ineffective.
The Bag-of-Semantics approach processes image crops to generate semantic multinomials, which reside on a constrained semantic simplex.

The MFAFSNet Pipeline

To address these issues, the authors propose a multi-step pipeline designed to map semantic information into a more tractable space for classification.

The proposed pipeline transforms an input image through a series of maps into a feature vector in Euclidean space.

1. Bag-of-Semantics (BoS)

The process begins by passing multiple image patches through a pre-trained object-recognition CNN. This generates a "bag" of posterior probability vectors, or semantic posteriors, representing the local object content of the scene.

2. Mapping to Natural Parameter Space

A key innovation is mapping these probability vectors into the natural parameter space of the multinomial distribution. This transformation (essentially the inverse of a softmax) "flattens" the probability simplex into a Euclidean space. In this log-space, standard mathematical operations and statistical modeling become much more effective.

3. MFA-FS Encoding

Instead of the standard Gaussian Mixture Model (GMM) used in traditional Fisher Vectors—which assumes feature independence—the authors employ a Mixture of Factor Analyzers (MFA). MFA models the data as a set of low-dimensional linear subspaces, allowing it to capture the complex, high-dimensional correlations between different object classes.

4. End-to-End Integration

The entire encoding process is implemented as a neural network layer (MFAFSNet). This allows the system to be fine-tuned end-to-end via backpropagation, optimizing the transfer from object semantics to scene categories.

Key Results and Insights

The proposed method was evaluated on major benchmarks including MIT Indoor and SUN (Scene UNderstanding).

  • Outperforming Holistic Models: MFAFSNet, which relies on object-to-scene transfer, outperformed "holistic" CNNs trained directly on the massive Places scene dataset (2.4M images). This suggests that identifying specific objects provides finer-grained cues than looking at the image as a whole.
  • State-of-the-Art Performance: By combining MFAFSNet with holistic scene models, the authors achieved state-of-the-art results: 88.05% accuracy on MIT Indoor and 72.43% on SUN.
  • The Importance of Geometry: Simply moving from the probability simplex to the natural parameter space (logSMN-FV) yielded a 9% accuracy improvement, highlighting that the "simplex is the enemy" in semantic transfer.
  • Complementarity: Object-based transfer and holistic recognition are strongly complementary. Holistic models capture the "gist" of a scene, while MFAFSNet identifies the specific "building blocks" (objects), leading to superior performance when combined.

Conclusion

The MFA-FS framework demonstrates that task transfer can be highly effective when the underlying geometry of the semantic space is properly handled. By modeling object correlations and mapping probabilities to Euclidean space, the authors provide a robust way to repurpose specialized networks for broader understanding. Future work may extend this "loose combination" architecture to tasks like image captioning or visual question answering.

Summary updated

BibTeX
@article{dixit2019semantic,
  author = {Mandar Dixit and Yunsheng Li and Nuno Vasconcelos},
  title = {{Semantic Fisher Scores for Task Transfer: Using Objects to Classify Scenes}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2019},
  doi = {10.1109/tpami.2019.2921960},
}
Figure