WebSHAP: Towards Explaining Any Machine Learning Models Anywhere

  • 2023-03-16 18:56:02
  • Zijie J. Wang, Duen Horng Chau
  • 0


As machine learning (ML) is increasingly integrated into our everyday Webexperience, there is a call for transparent and explainable web-based ML.However, existing explainability techniques often require dedicated backendservers, which limit their usefulness as the Web community moves towardin-browser ML for lower latency and greater privacy. To address the pressingneed for a client-side explainability solution, we present WebSHAP, the firstin-browser tool that adapts the state-of-the-art model-agnostic explainabilitytechnique SHAP to the Web environment. Our open-source tool is developed withmodern Web technologies such as WebGL that leverage client-side hardwarecapabilities and make it easy to integrate into existing Web ML applications.We demonstrate WebSHAP in a usage scenario of explaining ML-based loan approvaldecisions to loan applicants. Reflecting on our work, we discuss theopportunities and challenges for future research on transparent Web ML. WebSHAPis available at https://github.com/poloclub/webshap.


Quick Read (beta)

loading the full paper ...