Reconfigurable models for scene recognition

Sobhan Naderi Parizi, John G. Oberlin, Pedro F. FelzenszwalbCVPR 2012

Abstract

Scene recognition is a fundamental challenge in computer vision due to the high intra-class variability of environments. Traditional "Bag of Words" (BoW) models often ignore spatial layout, while rigid spatial grids fail to account for the natural movement of objects within a scene. This paper introduces the Reconfigurable Bag of Words (RBoW) model, which treats scenes as a collection of flexible "parts" or region models. By employing a hybrid training strategy that combines generative Expectation-Maximization (EM) for initialization with discriminative Latent Structural SVM (LSSVM) for refinement, the authors achieve state-of-the-art performance on benchmarks like MIT 67 Indoor Scenes.

Introduction

Distinguishing between complex scenes, such as a "bookstore" versus a "dentist office," requires capturing both visual features and their relative spatial arrangements. Early methods relied on Bag of Words (BoW) representations, which aggregate feature counts but discard spatial information. Spatial BoW (SBoW) addressed this by using fixed grids, but its rigidity makes it sensitive to minor shifts in object placement (e.g., a cloud moving from one grid cell to another). The Reconfigurable Bag of Words (RBoW) model addresses this by allowing region models—representing semantic components like sky, trees, or furniture—to map flexibly to different image regions.

Methods

The RBoW model divides an image into a grid (e.g., 4x4) and uses latent variables to assign each cell to one of several "region models."

Conceptual overview of the Reconfigurable Bag of Words (RBoW) model, where region models ("parts") are flexibly assigned to image grid cells.

Training involves a two-stage hybrid strategy designed to overcome the optimization hurdles of complex latent variable models:

  1. Generative Initialization (EM): The model is first trained using the Expectation-Maximization algorithm. This "warm start" helps the model learn the general appearance and typical spatial distribution of parts (e.g., "sky" appearing at the top).
  2. Discriminative Refinement (LSSVM): The model is then refined using a Latent Structural Support Vector Machine. LSSVMs are powerful classifiers but are notoriously sensitive to initialization. Using the EM-trained model as a starting point (a method called Init-EM) allows the LSSVM to converge to a superior local optimum.

Results and Insights

The model was evaluated on the MIT 67 Indoor Scenes and the 15 Scene Dataset. On the challenging MIT 67 benchmark, RBoW (Init-EM) achieved 37.93% accuracy, significantly outperforming standard BoW (25.17%) and rigid SBoW (33.99%).

Qualitative results showing how specific learned "parts" (region models) consistently identify semantic objects like cribs in nurseries or tables in buffets across different images.

A key finding is that semantic "parts" emerge naturally during training. Even without explicit object labels, region models gravitate toward meaningful entities like desks or cribs. Furthermore, the hybrid Init-EM strategy proved crucial; random initialization for the LSSVM yielded only 31.63% accuracy on MIT 67, compared to the 37.93% achieved with EM initialization. Despite its complexity, the model remains efficient, capable of classifying over 180 images per second.

Conclusion and Future Work

The RBoW model demonstrates that flexibility in spatial modeling, combined with a robust hybrid optimization strategy, significantly improves scene recognition. However, the current model assumes independence between region assignments. Future work could involve modeling spatial dependencies (e.g., "sky" is likely to be near "mountains") and integrating modern deep learning features to further enhance performance beyond the SIFT features used in this study.

Summary updated

BibTeX
@inproceedings{parizi2012reconfigurable,
  author = {Sobhan Naderi Parizi and John G. Oberlin and Pedro F. Felzenszwalb},
  title = {{Reconfigurable models for scene recognition}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2012},
  doi = {10.1109/cvpr.2012.6248001},
}
Figure