mlsanityData to 7 Oct 2026

B-cos LM: Efficiently Transforming Pre-trained Language Models for Improved Explainability

arXiv 2502.12992 ↗First posted 18 Feb 2025cs.CL cs.AIcited by 4

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  4. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2023GPT-4 Technical Reportcited by 18,132
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  7. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  8. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  9. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  10. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  11. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  12. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
38 more
  1. 2017Axiomatic Attribution for Deep Networkscited by 3,350
  2. 2023A Survey of Large Language Modelscited by 2,537
  3. 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
  4. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  5. 2017Learning Important Features Through Propagating Activation Differencescited by 1,454
  6. 2017SmoothGrad: removing noise by adding noisecited by 1,097
  7. 2014Striving for Simplicity: The All Convolutional Netcited by 983
  8. 2019Attention is not Explanationcited by 916
  9. 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
  10. 2020Towards Faithfully Interpretable NLP Systems: How should we define and evaluate faithfulness?cited by 590
  11. 2019BLiMP: The Benchmark of Linguistic Minimal Pairs for Englishcited by 553
  12. 2020Captum: A unified and generic model interpretability library for PyTorchcited by 542
  13. 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 527
  14. 2019ERASER: A Benchmark to Evaluate Rationalized NLP Modelscited by 523
  15. 2024Large Language Models: A Surveycited by 506
  16. 2018Towards Robust Interpretability with Self-Explaining Neural Networkscited by 505
  17. 2019Fooling LIME and SHAP: Adversarial Attacks on Post hoc Explanation Methodscited by 440
  18. 2020HateXplain: A Benchmark Dataset for Explainable Hate Speech Detectioncited by 403
  19. 2019Unmasking Clever Hans Predictors and Assessing What Machines Really Learncited by 359
  20. 2017The (Un)reliability of saliency methodscited by 331
  21. 2016Rationalizing Neural Predictionscited by 281
  22. 2016Understanding Neural Networks through Representation Erasurecited by 223
  23. 2019Full-Gradient Representation for Neural Network Visualizationcited by 189
  24. 2020A Diagnostic Study of Explainability Techniques for Text Classificationcited by 158
  25. 2018Pathologies of Neural Models Make Interpretations Difficultcited by 140
  26. 2022Towards Faithful Model Explanation in NLP: A Surveycited by 129
  27. 2019Learning to Deceive with Attention-Based Explanationscited by 111
  28. 2024Are self-explanations from Large Language Models faithful?cited by 101
  29. 2024ContextCite: Attributing Model Generation to Contextcited by 93
  30. 2022Interpreting Language Models with Contrastive Explanationscited by 91
  31. 2022B-cos Networks: Alignment is All We Need for Interpretabilitycited by 88
  32. 2017Learning how to explain neural networks: PatternNet and PatternAttributioncited by 84
  33. 2020Aligning Faithful Interpretations with their Social Attributioncited by 79
  34. 2019An Evaluation of the Human-Interpretability of Explanationcited by 71
  35. 2021Improving Deep Learning Interpretability by Saliency Guided Trainingcited by 68
  36. 2016Investigating the influence of noise and distractors on the interpretation of neural networkscited by 54
  37. 2021Convolutional Dynamic Alignment Networks for Interpretable Classificationscited by 54
  38. 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

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 3; 2026: 1.

4 papers.