Model Explainability, Revisited: SHAP and Beyond

TDS Editors
Towards Data Science
3 min readSep 7, 2023

--

The rapid rise of large language models has dominated much of the conversation around AI in recent months—which is understandable, given LLMs’ novelty and the speed of their integration into the daily workflows of data science and ML professionals.

Longstanding concerns around the performance of models and the risks they pose remain crucial, however, and explainability is at the core of these questions: how and why do models produce the predictions they offer us? What’s inside the black box?

This week, we’re returning to the topic of model explainability with several recent articles that tackle its intricacies with nuance and offer hands-on approaches for practitioners to experiment with. Happy learning!

Photo by Alina Kovalchuk on Unsplash
  • As Vegard Flovik aptly puts it, “for applications within safety-critical heavy-asset industries, where errors can lead to disastrous outcomes, lack of transparency can be a major roadblock for adoption.” To address this gap, Vegard provides a thorough guide to the open-source Iguanas framework, and shows how you can leverage its automated rule-generation powers for increased explainability.
  • While SHAP values have proven beneficial in many real-world scenarios, they, too, come with limitations. Samuele Mazzanti cautions against placing too much weight (pun intended!) on feature importance, and recommends paying equal attention to error contribution, since “the fact that a feature is important doesn’t imply that it is beneficial for the model.”

We know that the beginning of September is a hectic time of year for many of you, but if you have a bit more time to spare, you can’t go wrong with any of our other recommended reads this week:

Thank you for supporting the work of our authors! If you enjoy the articles you read on TDS, consider becoming a Medium member — it unlocks our entire archive (and every other post on Medium, too).

--

--

Building a vibrant data science and machine learning community. Share your insights and projects with our global audience: bit.ly/write-for-tds