Abstract
Fine-Grained Visual Classification (FGVC) typically requires large-scale datasets with precise instance-level labels, which poses significant privacy risks in sensitive domains like medical imaging. This paper presents LHFGLP, a novel framework for privacy-preserving FGVC using Learning from Label Proportions (LLP). By training on "bags" of images with only aggregate class distributions, LHFGLP protects individual data privacy. The framework incorporates unrolled hierarchical sparse dictionary learning and category-aware masking to effectively capture subtle discriminative features. Experimental results on standard benchmarks demonstrate that LHFGLP achieves state-of-the-art performance in the LLP setting, significantly outperforming existing methods.
Introduction
Fine-Grained Visual Classification (FGVC) aims to distinguish between highly similar subcategories, such as specific bird species, car models, or medical lesions. Traditionally, this task relies on massive datasets with individual labels. However, in privacy-sensitive fields, regulations often prohibit sharing individually labeled data. For instance, a hospital might share a batch of scans and state that 30% are benign, without specifying which scan is which.
Learning from Label Proportions (LLP) addresses this by training models on "bags" of images where only the distribution of classes is known. While effective for coarse classification, standard LLP methods struggle with the subtle visual differences in FGVC, often failing to associate specific features with their corresponding subcategories.
Methodology
The proposed LHFGLP framework introduces two key innovations to adapt LLP for fine-grained tasks:
- Unrolled Hierarchical Fine-Grained Sparse Dictionary Learning: The authors "unroll" iterative sparse dictionary learning into an end-to-end trainable neural network layer. This architecture forces the model to represent features as sparse combinations of "atoms," effectively filtering out background noise and focusing on discriminative visual regions.
- Hierarchical Category-Aware Masking: Mimicking human perception, the model processes information from coarse to fine. A Hierarchical Proportion Loss supervises the model at multiple granularity levels. Additionally, a Sparsemax activation function generates masks that zero out irrelevant categories during dictionary learning, refining features progressively.
Experimental Setup and Results
The framework was evaluated on three FGVC benchmarks: CUB-200-2011 (Birds), FGVC Aircraft, and Stanford Cars. To simulate the privacy-preserving setting, images were randomly grouped into bags of 10. Only the category proportions for each bag were provided during training, hiding individual instance labels.
LHFGLP consistently achieved state-of-the-art results in the LLP paradigm, reaching 76.05% accuracy on CUB, 76.68% on Aircraft, and 77.22% on Cars. Compared to the strongest baseline (LLP_VAT), LHFGLP showed improvements of 2.53% to 4.83% across datasets. Ablation studies confirmed that the unrolled dictionary learning module is critical, as its removal led to a performance drop of up to 5.3%.
Key Insights
- Hierarchy as a Prior: In the absence of instance labels, visual similarity often leads to confusion. Hierarchical supervision acts as a strong prior, guiding the model to learn broader categories before attempting to distinguish between subtle sub-species.
- Sparsemax vs. Softmax: Standard Softmax assigns small non-zero probabilities to all classes, introducing noise in a sparse bag environment. Sparsemax's ability to output exact zeros is vital for creating clean masks that isolate relevant features.
- Mathematical Unrolling: By turning an iterative optimization algorithm into a neural network layer, the model gains the interpretability of sparse dictionaries combined with the training power of deep learning.
Conclusion
LHFGLP provides a robust solution for privacy-preserving fine-grained classification. By leveraging hierarchical structures and sparse dictionary learning, it bridges the gap between weak supervision and high-accuracy classification. While a performance gap remains compared to fully supervised models, this work paves the way for secure, large-scale visual analysis in sensitive domains. Future research will explore extending this framework to privacy-preserving image retrieval and cross-modal learning.
Summary updated