The difference between SHAP and LIME in explaining deep models lies in their methodology, accuracy and stability:
• LIME (Local Interpretable Model-agnostic Explanations): explains the model’s decisions locally by approximating the complex model with a simple one (such as linear regression) around a specific sample. It creates perturbed data near that sample and studies how the predictions change to understand the effect of each feature. It is simple and fast, but its explanations may be inconsistent when repeated.
• SHAP (SHapley Additive exPlanations): relies on game theory (Shapley values) to determine each feature’s contribution to a prediction, providing a fair and consistent attribution for each feature across all samples. It is more accurate and consistent than LIME, but computationally more expensive.
