B-cos LM: Efficiently Transforming Pre-trained Language Models for Improved Explainability
Not on the map. Why?
Abstract (arXiv)
Post-hoc explanation methods for black-box models often struggle with faithfulness and human interpretability due to the lack of explainability in current neural architectures. Meanwhile, B-cos networks have been introduced to improve model explainability by proposing an architecture that removes bias terms and promotes input-weight alignment. Although B-cos networks have shown success in building explainable systems, their application has so far been limited to computer vision models and their associated training pipelines. In this work, we introduce B-cos LMs, i.e., B-cos Language Models (LMs) empowered for natural language processing (NLP) tasks. Our approach directly transforms pre-trained language models into B-cos LMs by combining B-cos conversion and task fine-tuning, improving efficiency compared to previous methods. Automatic and human evaluation results demonstrate that B-cos LMs produce more faithful and human interpretable explanations than post-hoc methods, while maintaining task performance comparable to conventional fine-tuning. Our in-depth analysis explores how B-cos LMs differ from conventionally fine-tuned models in their learning processes and explanation patterns. Finally, we present a first exploration of transforming decoder-only models to B-cos LMs for generation tasks. Our code is available at https://github.com/Ewanwong/bcos_lm.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 75 of its 102 references that are in the map. First posted on arXiv 18 Feb 2025.
Builds on
75 of 102 references.
References · 75
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
38 more
- 2017Axiomatic Attribution for Deep Networkscited by 3,350
- 2023A Survey of Large Language Modelscited by 2,537
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2017Learning Important Features Through Propagating Activation Differencescited by 1,454
- 2017SmoothGrad: removing noise by adding noisecited by 1,097
- 2014Striving for Simplicity: The All Convolutional Netcited by 983
- 2019Attention is not Explanationcited by 916
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
- 2020Towards Faithfully Interpretable NLP Systems: How should we define and evaluate faithfulness?cited by 590
- 2019BLiMP: The Benchmark of Linguistic Minimal Pairs for Englishcited by 553
- 2020Captum: A unified and generic model interpretability library for PyTorchcited by 542
- 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 527
- 2019ERASER: A Benchmark to Evaluate Rationalized NLP Modelscited by 523
- 2024Large Language Models: A Surveycited by 506
- 2018Towards Robust Interpretability with Self-Explaining Neural Networkscited by 505
- 2019Fooling LIME and SHAP: Adversarial Attacks on Post hoc Explanation Methodscited by 440
- 2020HateXplain: A Benchmark Dataset for Explainable Hate Speech Detectioncited by 403
- 2019Unmasking Clever Hans Predictors and Assessing What Machines Really Learncited by 359
- 2017The (Un)reliability of saliency methodscited by 331
- 2016Rationalizing Neural Predictionscited by 281
- 2016Understanding Neural Networks through Representation Erasurecited by 223
- 2019Full-Gradient Representation for Neural Network Visualizationcited by 189
- 2020A Diagnostic Study of Explainability Techniques for Text Classificationcited by 158
- 2018Pathologies of Neural Models Make Interpretations Difficultcited by 140
- 2022Towards Faithful Model Explanation in NLP: A Surveycited by 129
- 2019Learning to Deceive with Attention-Based Explanationscited by 111
- 2024Are self-explanations from Large Language Models faithful?cited by 101
- 2024ContextCite: Attributing Model Generation to Contextcited by 93
- 2022Interpreting Language Models with Contrastive Explanationscited by 91
- 2022B-cos Networks: Alignment is All We Need for Interpretabilitycited by 88
- 2017Learning how to explain neural networks: PatternNet and PatternAttributioncited by 84
- 2020Aligning Faithful Interpretations with their Social Attributioncited by 79
- 2019An Evaluation of the Human-Interpretability of Explanationcited by 71
- 2021Improving Deep Learning Interpretability by Saliency Guided Trainingcited by 68
- 2016Investigating the influence of noise and distractors on the interpretation of neural networkscited by 54
- 2021Convolutional Dynamic Alignment Networks for Interpretable Classificationscited by 54
- 2023Sequential Integrated Gradients: a simple but effective method for explaining language modelscited by 52
50 most cited of 75 All 75 (JSON)
Built on by
Citing papers per year: 2025: 3; 2026: 1.
4 papers.
- 2025FaCT: Faithful Concept Traces for Explaining Neural Network Decisionscited by 1
- 2025Pulling Back the Curtain on Deep Networkscited by 0
- 2025Bridging Fairness and Explainability: Can Input-Based Explanations Promote Fairness in Hate Speech Detection?cited by 0
- 2026B-cos GNNs: Faithful Explanations through Dynamic Linearitycited by 0
- 2026B-cos GNNs: Faithful Explanations through Dynamic Linearity19 May 2026
- 2025FaCT: Faithful Concept Traces for Explaining Neural Network Decisions29 Oct 2025
- 2025Bridging Fairness and Explainability: Can Input-Based Explanations Promote Fairness in Hate Speech Detection?26 Sep 2025
- 2025Pulling Back the Curtain on Deep Networks30 Jul 2025