Abstract
RE-Tagger is a lightweight, production-ready image classifier designed to automate the categorization of real-estate photos. By employing a two-stage transfer learning strategy on a custom InceptionV3 architecture, the system achieves an F1-score of over 88% across six key room categories, slashing manual moderation delays from 40 hours to near-instantaneous processing.
Introduction
In the fast-paced online real estate market, platforms like Housing.com receive upwards of 70,000 new images daily. Providing a seamless user experience requires these images to be accurately tagged (e.g., "kitchen," "bedroom," "balcony") to enable effective search filtering. Historically, this categorization was a manual task, leading to a significant 40-hour lag between seller upload and listing activation. RE-Tagger addresses this bottleneck with an automated, lightweight pipeline optimized for high-volume processing on modest hardware.
Methodology
The researchers developed a custom architecture based on InceptionV3, which outperformed other models like ResNet and VGG in experimental trials. The approach utilizes a two-stage transfer learning process:
- Architecture Modification: The original InceptionV3 classification head was replaced with a Global 2D Average Pooling layer, a 16-unit Dense layer with ReLU activation, a Dropout layer (rate = 0.5), and a final classification layer.
- Stage One Training: The base InceptionV3 weights (pre-trained on ImageNet) were frozen, while the newly added top layers were trained on the real-estate dataset.
- Stage Two Training: The entire network was unfrozen and fine-tuned to specialize the lower-level feature extractors for architectural and interior design elements.
The model was trained using the RMSProp optimizer with a categorical cross-entropy loss function over 50 epochs per stage.
Dataset and Preprocessing
The study utilized a proprietary dataset of 3.1 million manually annotated images. Key aspects of the data strategy include:
- Class Selection: Categories include Bedroom, Bathroom, Balcony, Kitchen, Hall, and "Others." Notably, "living room" and "dining room" were merged into 'hall' to reflect common Indian real estate layouts and improve model clarity.
- Data Balancing: Under-sampling was used to create a balanced training set of 1.2 million images (200,000 per class).
- Validation/Test: 100,000 images were reserved for testing, with the remainder split 9:1 for training and validation.
Results and Deployment
RE-Tagger demonstrated high reliability, achieving a weighted F1-score exceeding 0.88. The model is served via a REST API that requires only 2 CPU cores and 2 GB of RAM, making it highly cost-effective for production environments.
| Class | Precision | Recall | F1-score |
|---|---|---|---|
| Bathroom | 0.98 | 0.98 | 0.98 |
| Balcony | 0.98 | 0.82 | 0.90 |
| Kitchen | 0.85 | 0.95 | 0.90 |
| Hall | 0.84 | 0.94 | 0.89 |
| Bedroom | 0.87 | 0.89 | 0.88 |
| Others | 0.82 | 0.98 | 0.90 |
The Bathroom class was the top performer (0.98 F1), likely due to distinct visual signatures like tiling. The Balcony class achieved high precision (0.98) but lower recall (0.82), suggesting the model is conservative in its outdoor classifications.
Conclusion
RE-Tagger successfully automates real-estate image tagging, eliminating significant operational bottlenecks. By prioritizing efficiency over extreme model complexity, the authors created a system that is both accurate and easy to deploy. Future work will focus on sub-category detection and integrating image quality assessment to further refine the user experience.
Summary updated