Post-hoc Stochastic Concept Bottleneck Models

Hoffmann, Wiktor Jan, Laguna, Sonia, Vandenhirtz, Moritz, Palumbo, Emanuele, Vogt, Julia E.

–arXiv.org Artificial Intelligence 

ABSTRACT Concept Bottleneck Models (CBMs) are interpretable models that predict the target variable through high-level human-understandable concepts, allowing users to intervene on mispredicted concepts to adjust the final output. While recent work has shown that modeling dependencies between concepts can improve CBM performance, especially under interventions, such approaches typically require retraining the entire model, which may be infeasible when access to the original data or compute is limited. In this paper, we introduce Post-hoc Stochastic Concept Bottleneck Models (PSCBMs), a lightweight method that augments any pre-trained CBM with a multivariate normal distribution over concepts by adding only a small covariance-prediction module, without modifying the backbone model. We propose two training strategies and show on real-world data that PSCBMs consistently match or improve both concept and target accuracy over standard CBMs at test time. Furthermore, we show that due to the modeling of concept dependencies, PSCBMs perform much better than CBMs under interventions, while remaining far more efficient than retraining a similar stochastic model from scratch. 1 INTRODUCTION The adoption of machine learning models in high-stakes domains is often limited by their lack of interpretability due to their black-box nature (Lipton, 2016; Doshi-Velez & Kim, 2017). Concept Bottleneck Models (CBMs), first introduced by Koh et al. (2020), address this by inserting a layer of neurons aligned with human-understandable concepts before the target prediction. ACBM is composed of a concept encoder that predicts the concepts, and a prediction head that takes these concepts as inputs; the final prediction is thus explained through the intermediate concept values. While the original formulation assumes independence among concepts, accounting for correlations has been shown to improve the model's performance (Havasi et al., 2022; Singhi et al., 2024; Vandenhirtz et al., 2024).