Abstract
Fine-grained recognition requires distinguishing between highly similar categories, often with limited data. Traditional methods rely on holistic image features, which can miss subtle local differences. We present Composer, a framework that extracts dense attribute-level features and recombines them to synthesize representations for novel classes. By leveraging a shared visual language of attributes, our method achieves state-of-the-art performance in zero-shot and few-shot learning across multiple benchmarks.
The Challenge of Fine-Grained Recognition
Distinguishing between specific bird species or fashion items is a "fine-grained" task that typically demands vast expert-labeled datasets. However, real-world data often follows a "long-tail" distribution, where most categories have few or no training examples. Existing approaches struggle due to two primary factors:
- Holistic Overshadowing: Most models extract a single global feature vector. This "holistic" view often misses the tiny, localized attribute differences (e.g., a specific wing pattern) that define fine-grained classes.
- Generative Limitations: Current generative models (like GANs or VAEs) used to synthesize features for unseen classes often lack diversity or produce features that aren't "discriminative" enough to distinguish between similar classes.
The Composer Framework
The proposed Composer framework addresses these issues through a two-stage process that treats attributes like building blocks:
1. Dense Attribute-Based Attention
Instead of a global look, the model employs a "dense" attention mechanism. For every possible attribute (e.g., "yellow belly," "pointed wing"), the model learns to find the specific image regions most relevant to that attribute. This creates a dense feature matrix where each column represents a specific attribute's visual signature.
2. Feature Composition
To recognize a novel class, the model looks at its semantic description and "composes" a synthetic feature. It aggregates attribute signatures from various seen classes—for instance, taking a "black crown" feature from one bird and a "white breast" from another. This "Lego-like" recombination allows the model to imagine what a rare class looks like based on familiar parts.
3. Discriminative-as-Generative
Unlike standard approaches that train separate generative models, Composer uses its own internal classifier to select the most probable attribute combinations. This creates a feedback loop that improves recognition of novel classes without the training instability or "mode collapse" often associated with GANs.
Evaluation and Results
The model was evaluated on four popular benchmarks: CUB (birds), DeepFashion (clothing), AWA2 (animals), and SUN (scenes). Composer achieved state-of-the-art (SOTA) results across the board:
- Zero-Shot Learning: On the CUB dataset, the model improved accuracy by 8.4% over previous generative methods.
- Generalized Zero-Shot (GZSL): The model significantly reduced bias toward seen classes, improving the balance between seen and unseen accuracy by 5% on DeepFashion.
- Few-Shot Learning: When provided with just 1 or 2 real examples, Composer outperformed previous SOTA models by up to 9.4% on AWA2.
Insights and Future Work
The core insight of this work is that attributes are a universal bridge. While a class may be new, its building blocks are usually familiar. By learning a library of visual parts from common classes, the model can generalize to rare ones.
However, limitations remain. The method requires a sufficient "base" of data to learn initial attribute-to-region mappings, as seen in its lower performance on the data-scarce SUN dataset. Additionally, the current model assumes attributes are independent; capturing correlations between attributes (e.g., how a wing shape might relate to tail length) remains a promising area for future research.
Summary updated