Abstract
Scene recognition is a fundamental task in computer vision, yet it remains challenging due to significant intra-class diversity. Traditional approaches often rely on rigid spatial grids or a limited set of prototypes, which fail to capture the vast variability in real-world scene layouts. This paper introduces the Prototype-agnostic Scene Layout (PaSL) framework, which moves away from fixed templates. Instead, it constructs a unique, image-specific graph of discriminative regions. These graphs are processed by a Layout Graph Network (LGN) that models both spatial and semantic relationships between regions. Experimental results on major benchmarks, including MIT67, SUN397, and Places365, demonstrate that this approach achieves state-of-the-art performance using only a single-scale model, highlighting the effectiveness of flexible, graph-based layout modeling.
Introduction: The Challenge of Intra-class Diversity
The primary difficulty in scene recognition (e.g., distinguishing a "bedroom" from a "classroom") stems from intra-class diversity. Within a single category, the arrangement and types of objects can vary dramatically. For instance, one bedroom might feature a large bed as a central focal point, while another might have a small bed tucked away, dominated by a desk or a window.
Existing methods typically address this using two rigid strategies:
- Fixed Grids: Dividing images into $N \times N$ grids. While simple, this ignores the actual semantic boundaries and locations of objects.
- Prototypes: Learning a small number of "templates" for each category. However, a few templates cannot represent the near-infinite variety of possible room layouts.
To overcome these limitations, the authors propose a system that adapts to the specific layout of every individual image without forcing it into a predefined structure.
Methodology
The proposed framework consists of two main stages: region discovery and graph-based relationship modeling.
Prototype-agnostic Scene Layout (PaSL) Construction
The first stage identifies "what" is in the scene and "where" it is located. Rather than using a fixed grid, the system leverages a pretrained CNN (such as VGG16 or ResNet) as an unsupervised object detector.
- Activation Maps: The model analyzes the final convolutional layers. High activation values typically correspond to semantically meaningful regions, such as furniture or architectural features.
- Adaptive Clustering: By applying adaptive thresholding and clustering, the system selects the $N$ most representative "discriminative regions" for a specific image. This ensures the layout representation is unique to the input photo, making it "prototype-agnostic."
Layout Graph Network (LGN)
Once discriminative regions are identified, they are treated as nodes in a graph. The LGN models relationships through two distinct subgraphs:
- Spatial Subgraph: This encodes the relative positions, sizes, and distances between the discovered regions, capturing the physical structure of the scene.
- Similarity Subgraph: This uses cosine similarity to link regions that are visually similar, even if they are spatially distant. This helps the model recognize recurring patterns or related objects.
A Graph Convolutional Network (GCN) processes these subgraphs to fuse spatial and semantic features. Additionally, a "Global Node" is incorporated to maintain a holistic view of the scene while the model focuses on local details.
Experimental Results
The model was evaluated on three major scene recognition benchmarks: MIT67 (15,620 images), SUN397 (over 100,000 images), and Places365 (approximately 1.8 million images).
Performance and Efficiency
The LGN achieved state-of-the-art results, reaching 88.06% accuracy on MIT67 and 74.06% on SUN397. Notably, the model achieves these results using a single-scale input, whereas many competing top-tier models require computationally expensive multi-scale fusion.
Ablation studies confirmed the value of the graph-based approach, showing up to a 5.23% improvement over baseline models that do not incorporate structural information. Furthermore, the "node weak-supervision" mechanism—where individual regions are tasked with predicting the overall scene category—was found to significantly enhance the discriminative power of local features.
Conclusion and Future Work
The Prototype-agnostic Scene Layout approach demonstrates that flexibility is key to handling real-world scene variability. By generating unique graphs for every image, the model captures complex relationships that fixed grids and prototypes miss. Future research directions include moving toward end-to-end optimization of the pipeline and incorporating multi-layer feature extraction to capture both fine-grained object parts and large-scale structures simultaneously.
Summary updated