ExplainabilitySafetyBiascs.LG
An XAI-based Analysis of Shortcut Learning in Neural Networks
Phuong Quynh Le, Jörg Schlötterer, Christin Seifert
April 22, 2025
xAI
2 citations
Key Takeaways
-
Neural networks take dangerous shortcuts: Machine learning models often rely on spurious features—patterns that correlate with correct answers but aren't actually causal—rather than learning the true underlying relationships. This means models may appear accurate in testing but fail unpredictably in real-world scenarios.
-
Current safeguards have blind spots: The paper finds that existing methods designed to prevent models from learning spurious correlations are based on incomplete assumptions and don't work consistently across different situations, suggesting that current approaches to making AI safer are insufficient.
-
Different AI architectures hide problems differently: The research reveals that how neural networks (specifically CNNs and vision transformers) encode spurious correlations varies by architecture type, meaning a one-size-fits-all approach to detecting and fixing these problems won't work.
-
We can now diagnose where problems hide: The authors introduce a diagnostic tool called the "neuron spurious score" that uses explainable AI (XAI) methods to identify which individual neurons in a network are relying on spurious features, providing a concrete way to locate and potentially fix these issues.
-
Better safeguards are possible but needed urgently: The paper establishes a foundation for developing improved methods to prevent AI models from learning spurious correlations, but emphasizes this work is necessary before deploying these models in high-stakes real-world applications.
Abstract
Machine learning models tend to learn spurious features - features that strongly correlate with target labels but are not causal. Existing approaches to mitigate models' dependence on spurious features work in some cases, but fail in others. In this paper, we systematically analyze how and where neural networks encode spurious correlations. We introduce the neuron spurious score, an XAI-based diagnostic measure to quantify a neuron's dependence on spurious features. We analyze both convolutional neural networks (CNNs) and vision transformers (ViTs) using architecture-specific methods. Our results show that spurious features are partially disentangled, but the degree of disentanglement varies across model architectures. Furthermore, we find that the assumptions behind existing mitigation methods are incomplete. Our results lay the groundwork for the development of novel methods to mitigate spurious correlations and make AI models safer to use in practice.
Accepted at The World Conference on eXplainable Artificial Intelligence 2025 (XAI-2025)
Paper Info
arXiv ID2504.15664
PublishedApril 22, 2025
Citations
2
Relevance82%
VenuexAI
TypeJournalArticle
Categorycs.LG
Responsible AI Topics
ExplainabilitySafetyBias
Links
Citation data from Semantic Scholar