Abstract
This paper proposes a simple, yet very effective method to localize dominant foreground objects in an image, to pixel-level precision. The proposed method ‘MASON’ (Model-AgnoStic ObjectNess) uses a deep convolutional network to generate category-independent and model-agnostic heat maps for any image. The network is not explicitly trained for the task, and hence, can be used off-the-shelf in tandem with any other network or task. We show that this framework scales to a wide variety of images, and illustrate the effectiveness of MASON in three varied application contexts.
Introduction
In computer vision, "objectness" refers to the likelihood of a pixel or region belonging to an object rather than the background. While deep learning has mastered object detection and segmentation, these tasks usually require massive, pixel-perfect datasets that are expensive and time-consuming to create. Existing "visual explanation" tools like Grad-CAM can localize objects, but they are class-specific—requiring the model to be prompted for a specific category like "cat."
MASON addresses the need for a class-agnostic way to find any dominant foreground object, leveraging existing models without the need for new labels or specialized training. The authors demonstrate that localization is an emergent property of classification: even when a model is only trained to identify a category, its internal layers naturally learn the spatial location of the object to support that decision.
Methodology
The core of MASON is remarkably simple, relying on the observation that internal activations of deep convolutional neural networks (CNNs) contain rich spatial information. The process follows four primary steps:
- Feature Extraction: A standard model (such as VGG-16) pre-trained on ImageNet is used, with the final classification layers removed.
- The Summation: To generate an "objectness heatmap," the framework simply sums all the feature maps from a deep convolutional layer (specifically
conv5_3in VGG-16). - Upscaling: Because pooling layers reduce the spatial dimensions, the resulting heatmap is 16x smaller than the original. Bicubic interpolation is used to scale it back to the original resolution.
- Refinement: To achieve pixel-level precision, the heatmap automatically "seeds" a traditional graph-cut algorithm (GrabCut). The heatmap identifies "sure foreground" and "probable background" pixels, eliminating the need for manual human annotation.
Experimental Evaluation
The authors evaluated MASON across several diverse datasets to test its generalizability:
- Pascal VOC 2012: Used to test fine-grained object localization against ground-truth segmentation masks.
- Stanford Drone Dataset (SDD): A challenging aerial dataset where objects are small and annotations are often noisy.
- UAV123: Used to demonstrate instance segmentation in unmanned aerial vehicle tracking.
Key Results
MASON achieved a mean IoU (Intersection over Union) of 0.623 on the Pascal VOC test set without any task-specific training. Its most significant impact was seen in dataset "cleansing." By using MASON to remove false positives and tighten bounding boxes in the Stanford Drone Dataset, the authors re-trained a standard R-FCN detector. The detector's performance jumped from 0.316 mAP to 0.659 mAP—more than doubling accuracy simply by improving the quality of the training data.
Furthermore, MASON proved to be a superior proposal generator, outperforming established methods like Selective Search and Edge Boxes in terms of recall at high overlap thresholds.
Conclusion and Future Work
MASON demonstrates that high-quality object localization can be extracted from off-the-shelf models in a zero-shot manner. While effective, the framework currently faces limitations regarding spatial resolution loss due to CNN pooling layers. Future work may involve using the "atrous" (dilated) convolution algorithm to maintain higher resolution in deep layers or exploring more sophisticated, parameter-free ways to combine feature maps to further suppress background noise.
Summary updated