Abstract
Object co-segmentation aims to identify and segment common semantic objects across a collection of images. Traditional methods often suffer from quadratic computational complexity, making them unsuitable for large-scale datasets. This paper proposes a novel deep learning architecture featuring a "semantic attention learner" that reduces complexity to linear ($O(n)$) while achieving state-of-the-art accuracy. By leveraging channel-wise attention to select semantic features common to a group, the model enables "instant" group co-segmentation.
Introduction
While standard image segmentation operates on individual images, co-segmentation requires identifying shared semantic entities (e.g., a specific animal species) across multiple diverse scenes. Previous deep learning approaches typically utilized pair-wise correlation layers. However, as the number of images $n$ grows, the required $n(n-1)/2$ comparisons lead to a computational explosion. This research introduces a method that scales efficiently, allowing for the processing of large image groups, such as web search results, in a single forward pass.
Methods: The Semantic Attention Learner
The proposed architecture is a Siamese network built upon a VGG16 encoder. The core innovation lies in the bottleneck: the Semantic Attention Learner. Instead of direct pixel-level comparison, the model learns to attend to specific feature channels. In deep neural networks, different channels often correspond to distinct semantic concepts (e.g., textures, parts, or specific object categories).
The model calculates an attention weight vector for each image, identifying which channels are most relevant. To perform group co-segmentation, it computes a Group Average Attention—the mean of all individual vectors. This global filter is then applied to every image in the set, effectively suppressing irrelevant background noise and highlighting the common object.
Key Insights
- Attention as a Semantic Selector: Co-segmentation is reframed as a feature selection problem. By identifying common channels (features) across a group, the model can isolate the shared object without needing explicit pixel-to-pixel matching.
- Linear Scaling ($O(n)$): By moving the comparison step into the low-dimensional attention space (averaging vectors) rather than high-dimensional pixel space, the model processes 1,300+ images in approximately 10 minutes—a task previously considered computationally intractable.
- Robust Generalization: The model demonstrates strong performance on "unseen" objects (classes not present in training). This is attributed to the pre-trained VGG16 backbone's broad feature knowledge, which the attention learner effectively taps into based on group context.
Experimental Results
The model was evaluated on the MSRC, Internet, and ICoseg datasets.
- Accuracy: The CSA (Channel-Spatial-wise) variant achieved a Jaccard score of 79.9 on the Internet "Car" class, setting a new state-of-the-art.
- Unseen Objects: On the ICoseg sub-dataset, the FCA (Fused Channel-wise) model reached an average Jaccard score of 86.0, outperforming previous deep learning methods by 1.8%.
- Efficiency: The "Instant Group" method processed the entire Internet dataset in just 590 seconds, whereas prior pair-wise methods were limited to small subsets due to resource constraints.
Limitations and Future Work
A primary limitation is the model's assumption that a common object always exists. If the input group is semantically disjoint, the model will still attempt to find and segment a "common" feature, leading to false positives. Future research aims to incorporate zero-shot learning and improve robustness against "noisy" groups where some images may lack the target object.
Summary updated