Manuscript Offprint

arXiv:2609.04276

FailSAE: Towards Interpretable Failure Prediction for Vision-Language Models via Sparse Autoencoders

Jie Ma, Zongxi Liu, Yi Zhu

Abstract

Vision-language models (VLMs), such as CLIP, have achieved strong performance across multimodal tasks by aligning visual and textual representations in a shared embedding space. As VLMs are increasingly used for high-stakes domains, failure prediction becomes critical for risk-aware deployment and human intervention. Existing failure prediction methods typically rely on confidence scores or auxiliary classifiers. Although these methods are effective on predicting VLM failures, they provide limited interpretability. In this work, we investigate the use of Sparse Autoencoders (SAEs) for interpretable failure prediction in VLMs. We formulate failure prediction as a classification task over sparse SAE latent activations and introduce a three-stage failure-aware training pipeline that encourages the learned latent directions to remain interpretable while becoming more informative for failure prediction. Our experiments show that the resulting framework outperforms the evaluated baselines in failure prediction. Further analysis suggests that failure-aware training encourages SAE latent directions to capture more class-specific concepts. We also use the SAE to provide a concept-level analysis of how model representations change during failures, revealing a shift from class-specific concepts toward more ambiguous or style-related concepts. Finally, we explore how the learned SAE latent directions can support runtime failure recovery.

Introduction

Vision-language models (VLMs), such as CLIP (Radford et al. 2021a), align visual and textual modalities within a shared embedding space, enabling a wide range of multimodal tasks including zero-shot classification and retrieval (Jia et al. 2021). As VLMs are increasingly used in high-stakes domains, it becomes critical to determine whether VLM prediction is likely to be reliable. Failure prediction, i.e., predicting whether a model's output for a given input is correct or erroneous, provides an important mechanism for risk-aware deployment and human intervention (Geifman and El-Yaniv 2017).

Existing failure prediction methods typically rely on confidence scores (Hendrycks and Gimpel 2016; Ming et al. 2022; Granese et al. 2021; Sensoy, Kaplan, and Kandemir 2018) or auxiliary classifiers (Lafon et al. 2025; Han and Zhang 2024; Luo et al. 2021). Although these methods can estimate whether a prediction is likely to be incorrect, they provide limited interpretability, particularly regarding how the model's internal representations change during failures.

To address this gap, we investigate interpretable failure prediction for VLMs through the lens of Sparse Autoencoders (SAEs) (Bricken et al. 2023; Ng et al. 2011). SAEs decompose high-dimensional hidden representations into sparse and disentangled latent directions, which often correspond to human-interpretable concepts. Recent work has shown that SAEs can reveal meaningful semantic structures in VLM representations (Zaigrajew, Baniecki, and Biecek 2025; Lim et al. 2024). However, existing SAE methods often stop at visualization and qualitative analysis (Elhage et al. 2022; Cunningham et al. 2023). How to make such interpretations useful for failure prediction remains underexplored.

In this paper, we explore how SAEs can be transformed from passive interpretation tools into active mechanisms for failure prediction. Specifically, we formulate failure prediction as a classification task over decomposed sparse concepts, where SAE latent activations serve as input features. Based on this formulation, we then develop a three-stage failure-aware training pipeline, aiming to encourage the SAE to learn latent directions that are discriminative for predicting model failures. The resulting failure-aware SAE supports accurate failure prediction while providing a concept-level understanding of the model's internal representations.

The experimental results demonstrate that our failure prediction method outperforms existing baselines. Through extensive analysis, we further show that training the SAE with a failure-aware objective encourages the learned SAE latent directions to represent concepts that are more class-specific.

We then use the failure-aware SAE to interpret model failures by comparing the concepts activated during correct and incorrect predictions. Our analysis reveals that failures are associated with the suppression of class-specific concepts and the increased activation of ambiguous or style-related concepts. Finally, we explore runtime failure recovery strategies that leverage image masking and SAE latent interventions to correct misclassifications.

Our main contributions can be summarized as follows:

• To the best of our knowledge, we present the first study of SAEs for failure prediction in VLMs.

∗^{*}These authors contributed equally.

• We propose a three-stage failure-aware training frame-

†^{\dagger}Corresponding author.

work that improves the utility of SAE latent directions for failure prediction. Our analysis suggests that this training also encourages the SAE to learn more class-specific concepts.

  • We demonstrate that failure-aware SAEs enable concept-level analysis of how model representations change during failures, revealing a shift from class-specific concepts toward ambiguous or style-related concepts.

References (49)