Introduction
Deep learning models for image classification often suffer from "laziness," latching onto spurious correlations—such as background features—rather than the actual objects of interest. For instance, a model might identify a waterbird primarily by the presence of water rather than the bird's physical characteristics. While language-guided attention frameworks like GALS attempt to mitigate this by using Vision-Language Models (VLMs) to steer focus, they typically rely on deterministic embeddings. This approach fails to account for the inherent "multivaluedness" of language, where a single text prompt can correspond to diverse visual layouts. This paper introduces PARIC (Probabilistic Attention Regularization for Image Classification), a framework that leverages probabilistic VLMs to create more robust, fair, and interpretable models.
Methodology
PARIC addresses the limitations of deterministic VLMs by modeling the relationship between text and images as a distribution rather than a fixed point.
The framework introduces several key technical innovations:
- Probabilistic Adapters: Lightweight neural networks transform deterministic CLIP vectors into Generalized Gaussian Distributions (GGDs). This allows the model to represent not just a single interpretation, but a range of potential visual-textual alignments.
- Monte Carlo Sampling: For every image-text pair, the model draws $K$ samples (typically 50) from these distributions. Each sample represents a slightly different "interpretation" of how the text relates to the image.
- Saliency Aggregation: Using Grad-CAM, the model generates $K$ distinct saliency maps. These are aggregated using either the Mean (for smoothness) or the Median (for outlier resistance) to produce a stable reference attention map ($A_{ref}$).
- Attention Regularization: A task-specific classifier is trained with a specialized attention loss ($L_{att}$). This loss punishes the classifier if its focus deviates from the regions deemed relevant by the probabilistic VLM.
Experimental Setup and Datasets
The researchers evaluated PARIC on three benchmark problems designed to test bias and noise:
- Waterbirds (100% and 95%): A classic test for explicit background bias (e.g., birds on water vs. land).
- MS-COCO (ApparentGender subset): Used to study implicit societal bias and fairness in gender classification based on image captions.
- Food-101 (Red Meat and Meat subsets): A noisy, uncurated dataset used to test fine-grained classification under distribution shifts.
Results and Discussion
The experimental results demonstrate that PARIC significantly improves both the performance and the reliability of image classifiers.
Robustness and Accuracy
On the Waterbirds 100% dataset, PARIC-Median achieved a state-of-the-art accuracy of 96.80%, outperforming the deterministic GALS baseline. A key finding was the reduction in variance; PARIC models were much more consistent across different training runs than deterministic alternatives, suggesting that probabilistic modeling provides a more stable training signal.
Fairness and Interpretability
In the MS-COCO gender classification task, PARIC improved overall accuracy to 70.21% (compared to 68.93% for GALS) and boosted accuracy for the "Woman" class from 64.15% to 65.42%. Furthermore, PARIC achieved a lower "Outcome Divergence" (0.0597 vs. 0.0729), indicating more balanced performance across demographic categories. As shown in the visualizations, PARIC produces broader, more context-aware attention maps. By forcing the model to focus on the person rather than stereotypical contextual cues (like a kitchen), PARIC mitigates the impact of societal biases.
Conclusion
PARIC demonstrates that acknowledging the uncertainty in language-image mappings leads to superior classification performance and fairness. By regularizing attention through a distribution of interpretations, the model becomes less susceptible to spurious correlations. While the framework currently depends on the underlying VLM's capabilities, future work will explore dynamic weighting to automatically adjust the influence of language guidance based on estimated uncertainty.
Summary updated