[Paper Review] Weakly-supervised Compositional FeatureAggregation for Few-shot Recognition
This paper proposes the Compositional Feature Aggregation (CFA) module, a weakly-supervised, plug-and-play component that enhances few-shot recognition by enforcing both semantic and spatial compositionality in deep features. By disentangling feature maps into independent semantic subspaces and applying bilinear aggregation within each, CFA improves generalization without requiring attribute or part annotations, achieving state-of-the-art performance on image and action recognition benchmarks.
Learning from a few examples is a challenging task for machine learning. While recent progress has been made for this problem, most of the existing methods ignore the compositionality in visual concept representation (e.g. objects are built from parts or composed of semantic attributes), which is key to the human ability to easily learn from a small number of examples. To enhance the few-shot learning models with compositionality, in this paper we present the simple yet powerful Compositional Feature Aggregation (CFA) module as a weakly-supervised regularization for deep networks. Given the deep feature maps extracted from the input, our CFA module first disentangles the feature space into disjoint semantic subspaces that model different attributes, and then bilinearly aggregates the local features within each of these subspaces. CFA explicitly regularizes the representation with both semantic and spatial compositionality to produce discriminative representations for few-shot recognition tasks. Moreover, our method does not need any supervision for attributes and object parts during training, thus can be conveniently plugged into existing models for end-to-end optimization while keeping the model size and computation cost nearly the same. Extensive experiments on few-shot image classification and action recognition tasks demonstrate that our method provides substantial improvements over recent state-of-the-art methods.
Motivation & Objective
- To improve few-shot recognition by modeling visual concepts through compositionality, as humans do, using parts and attributes.
- To address the limitation of existing methods that lose spatial or semantic structure due to pooling or require costly attribute annotations.
- To develop a plug-and-play module that enhances deep networks with weakly-supervised compositionality regularization.
- To enable end-to-end training without increasing model size or computational cost.
- To validate effectiveness across both generic and fine-grained few-shot classification tasks, including action recognition.
Proposed method
- The CFA module disentangles the feature space into N disjoint semantic subspaces to model different attributes or parts.
- Within each subspace, bilinear aggregation is applied to extract second-order statistics and capture spatial structure, replacing simple mean/max pooling.
- The method uses an orthogonality constraint in the loss function to encourage distinctness between semantic prototypes.
- The final descriptor is formed by concatenating aggregated features from all subspaces, producing a discriminative, compositional representation.
- The module is trained end-to-end with no need for attribute or part annotations, making it weakly supervised.
- CFA is designed as a plug-in layer compatible with existing models, preserving model size and inference cost.
Experimental results
Research questions
- RQ1Can enforcing both semantic and spatial compositionality in deep features improve few-shot recognition performance?
- RQ2Can compositionality be effectively learned without requiring attribute or part annotations?
- RQ3How does the number of semantic subspaces (N) affect performance on different datasets?
- RQ4Does the proposed CFA module generalize well across domains, such as from generic to fine-grained classification?
- RQ5How does the orthogonality regularization weight (γ) influence representation quality on datasets with varying intra- and inter-class variance?
Key findings
- On miniImageNet, CFA (N=64) achieves 44.2% accuracy in the 1-shot setting, outperforming previous state-of-the-art methods.
- On the CUB dataset, CFA (N=64) reaches 66.0% accuracy in the 5-shot setting, demonstrating strong performance on fine-grained classification.
- For action recognition, CFA (N=64) achieves 23.9% accuracy on Jester in the 1-shot setting, showing effectiveness in video tasks.
- The ablation study shows that bilinear aggregation within semantic subspaces (CFA, N=64) significantly outperforms simple pooling (CFA, N=1), especially in 1-shot learning.
- Cross-domain transfer results show that CFA generalizes better than baselines: on IMN→CUB, CFA (N=64) achieves 44.2% vs. 37.4% for MatchingNet.
- The optimal number of subspaces (N) varies by dataset: N=64 on CUB and N=4 on Jester yield peak performance, indicating dataset-specific optimal attribute grouping.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.