Abstract
Scaling object detection to thousands of categories is hindered by the prohibitive cost of bounding box annotations. This paper addresses the partial supervision problem by introducing a novel Autoencoder Weight Transfer Network (AE-WTN). The method maps pre-trained image classification weights into detection weights, allowing models to localize novel objects without explicit bounding box training. By incorporating normalization and a reconstruction loss, the AE-WTN preserves semantic information and prevents the model from dismissing novel classes, achieving significant performance gains over previous weight transfer methods.
Introduction
The primary bottleneck in modern computer vision is the disparity between classification and detection datasets. While image-level labels are abundant, precise bounding box annotations are expensive and labor-intensive. Consequently, while classification models can recognize tens of thousands of categories, standard object detectors are typically limited to a few hundred. This paper explores how to bridge this gap by transferring knowledge from a large-scale classifier to a detector, enabling the recognition of "novel" classes—those for which no bounding boxes are available during training.
Methodology
The authors build upon the Weight Transfer Network (WTN) framework, which treats the final layer weights of a pre-trained classifier as semantic embeddings. These embeddings are transformed into weights for a detector's classification head using a learned mapping function.
WTN+ and Normalization
Initial experiments revealed that classification weights vary significantly in magnitude, leading to training instabilities and under-fitting. To address this, the authors introduced WTN+, which incorporates Standard Normalization on the inputs and Group Normalization within the internal layers. These additions stabilize the training process and ensure the network can effectively learn from the diverse range of classification weights.
The Autoencoder Weight Transfer Network (AE-WTN)
The core innovation of this work is the AE-WTN. Unlike simple feed-forward mappings, the AE-WTN utilizes an autoencoder structure. During training, the model is tasked with two objectives: predicting detection weights for "seen" classes (those with bounding boxes) and reconstructing the original classification weights for all classes, including novel ones.
This reconstruction loss acts as a powerful regularizer. It prevents the "dismissal problem," where a network ignores novel class information because it does not contribute to the primary detection loss. By forcing the model to maintain the ability to reconstruct the original classification embeddings, the AE-WTN ensures that the rich semantic relationships between categories are preserved.
Key Insights
- Weights as Semantic Embeddings: The weights of a classifier capture the high-dimensional "essence" of a category, making them suitable inputs for weight transfer.
- Genericity vs. Specificity: By exposing the detector to a wider latent space of classes through the autoencoder, the learned visual features become more robust and generic, rather than over-specializing on the limited set of seen objects.
- Operational Efficiency: The WTN approach allows for offline weight transformation. Once the weights are transformed, the resulting detector operates at the same speed as a standard Faster R-CNN, avoiding the computational overhead of joint training methods.
Results and Evaluation
The researchers evaluated the AE-WTN using the Open Images V4 and Visual Genome datasets. In Open Images, 500 classes were treated as "seen" and 57 as "novel." In Visual Genome, 200 high-frequency classes served as the novel set.
Performance Gains
- Novel Class Accuracy: AE-WTN achieved an absolute performance gain of 6% on Open Images novel classes and a 25% gain on Visual Genome compared to the baseline WTN.
- Seen Class Preservation: Unlike many transfer methods that degrade performance on the original training set, AE-WTN matched the performance of a fully supervised Faster R-CNN on seen classes (approx. 59.6% AP).
Qualitative analysis confirms that the model successfully localizes complex novel categories. Despite never seeing a training box for "Carbonara" or "Cocktail," the AE-WTN leverages the transferred classification knowledge to identify these objects accurately in real-world scenes.
Conclusion and Future Work
The AE-WTN provides a scalable path for object detection by effectively repurposing classification data. By treating weights as embeddings and utilizing an autoencoder for regularization, the model overcomes the data bottleneck of bounding box annotations. Future research may explore scaling this method to over 10,000 classes and applying similar weight transfer techniques to instance segmentation and other localized vision tasks.
Summary updated