B-cosification: Transforming Deep Neural Networks to be Inherently Interpretable
Abstract
B-cos Networks have been shown to be effective for obtaining highly human interpretable explanations of model decisions by architecturally enforcing stronger alignment between inputs and weight. B-cos variants of convolutional networks (CNNs) and vision transformers (ViTs), which primarily replace linear layers with B-cos transformations, perform competitively to their respective standard variants while also yielding explanations that are faithful by design. However, it has so far been necessary to train these models from scratch, which is increasingly infeasible in the era of large, pre-trained foundation models. In this work, inspired by the architectural similarities in standard DNNs and B-cos networks, we propose 'B-cosification', a novel approach to transform existing pre-trained models to become inherently interpretable. We perform a thorough study of design choices to perform this conversion, both for convolutional neural networks and vision transformers. We find that B-cosification can yield models that are on par with B-cos models trained from scratch in terms of interpretability, while often outperforming them in terms of classification performance at a fraction of the training cost. Subsequently, we apply B-cosification to a pretrained CLIP model, and show that, even with limited data and compute cost, we obtain a B-cosified version that is highly interpretable and competitive on zero shot performance across a variety of datasets. We release our code and pre-trained model weights at https://github.com/shrebox/B-cosification.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- FaCT: Faithful Concept Traces for Explaining Neural Network Decisions cites Concept Bottleneck Models
- FaCT: Faithful Concept Traces for Explaining Neural Network Decisions cites Learning Transferable Visual Models From Natural Language Supervision
- DAVE: Distribution-aware Attribution via ViT Gradient Decomposition cites Emerging Properties in Self-Supervised Vision Transformers
- From Pixels to Perception: Interpretable Predictions via Instance-wise Grouped Feature Selection cites Concept Bottleneck Models
- Align Once to Explain: Feature Alignment for Scalable B-cosification of Foundational Vision Transformers cites Emerging Properties in Self-Supervised Vision Transformers
- Align Once to Explain: Feature Alignment for Scalable B-cosification of Foundational Vision Transformers cites Concept Bottleneck Models
- Align Once to Explain: Feature Alignment for Scalable B-cosification of Foundational Vision Transformers cites Sigmoid Loss for Language Image Pre-Training
- Align Once to Explain: Feature Alignment for Scalable B-cosification of Foundational Vision Transformers cites Learning Transferable Visual Models From Natural Language Supervision
- Explaining Similarity in Vision-Language Encoders with Weighted Banzhaf Interactions cites Emerging Properties in Self-Supervised Vision Transformers
- Explaining Similarity in Vision-Language Encoders with Weighted Banzhaf Interactions cites Sigmoid Loss for Language Image Pre-Training
- Explaining Similarity in Vision-Language Encoders with Weighted Banzhaf Interactions cites Learning Transferable Visual Models From Natural Language Supervision
- Sigmoid Loss for Language Image Pre-Training cites Learning Transferable Visual Models From Natural Language Supervision
Cited by top-tier papers6
- Explaining Similarity in Vision-Language Encoders with Weighted Banzhaf InteractionsHubert Baniecki, Maximilian Muschalik, Fabian Fumagalli, Barbara Hammer et al.NeurIPS 2025 · 6 citations
- DAVE: Distribution-aware Attribution via ViT Gradient DecompositionAdam Wróbel, Siddhartha Gairola, Jacek Tabor, Bernt Schiele et al.ICML 2026 · 2 citations
- FaCT: Faithful Concept Traces for Explaining Neural Network DecisionsAmin Parchami-Araghi, Sukrut Rao, Jonas Fischer, Bernt SchieleNeurIPS 2025 · 1 citation
- From Pixels to Perception: Interpretable Predictions via Instance-wise Grouped Feature SelectionMoritz Vandenhirtz, Julia E. VogtICML 2025
- Align Once to Explain: Feature Alignment for Scalable B-cosification of Foundational Vision TransformersRaphael Maser, Siddhartha Gairola, Sukrut Rao, Bernt SchieleCVPR 2026
Builds on25
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Emerging Properties in Self-Supervised Vision TransformersMathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou et al.ICCV 2021 · 8,921 citations
- Sigmoid Loss for Language Image Pre-TrainingXiaohua Zhai, Basil Mustafa, Alexander Kolesnikov, Lucas BeyerICCV 2023 · 2,932 citations
- Concept Bottleneck ModelsPang Wei Koh, Thao Nguyen, Yew Siang Tang, Stephen Mussmann et al.ICML 2020 · 1,233 citations
- Early Convolutions Help Transformers See BetterTete Xiao, Mannat Singh, Eric Mintun, Trevor Darrell et al.NeurIPS 2021 · 974 citations
Related papers
- B-cos Networks: Alignment is All We Need for InterpretabilityMoritz Böhle, Mario Fritz, Bernt SchieleCVPR 2022 · 62 citations
- INViTE: INterpret and Control Vision-Language Models with Text ExplanationsHaozhe Chen, Junfeng Yang, Carl Vondrick, Chengzhi MaoICLR 2024 · 9 citations
- Interpreting and Analysing CLIP's Zero-Shot Image Classification via Mutual KnowledgeFawaz Sammani, Nikos DeligiannisNeurIPS 2024 · 15 citations
- Text-To-Concept (and Back) via Cross-Model AlignmentMazda Moayeri, Keivan Rezaei, Maziar Sanjabi, Soheil FeiziICML 2023 · 62 citations
- Synergy and Diversity in CLIP: Enhancing Performance Through Adaptive Backbone EnsemblingCristian Rodriguez Opazo, Ehsan Abbasnejad, Damien Teney, Hamed Damirchi et al.ICLR 2025
