How to Engineer for Explainability: Lessons from High-Stakes ML Systems
summary
Claims that SHAP provides legally defensible, globally consistent feature attributions and LIME gives millisecond local explanations for debugging; demonstrates on a Random Forest with 48 encoded features using German credit data (auditable rejection at 0.89, borderline ~50%, and a false-negative failure case). Engineering mandates: push feature definitions into a feature store, expose explanations in the API, bake SHAP artifact generation and explanation-drift tests into CI/CD, and monitor real-time feature confidences for safety; use SHAP → regulator audit and LIME → local debugging.
AI-written summary · about
chapters (14)
- 0:00Introduction to explainability
- 1:18Why explainability matters
- 2:04Tools to break open black boxes
- 4:56SHAP for auditing and compliance
- 7:50LIME for debugging and UX
- 11:50When to use SHAP vs LIME
- 12:11Lessons from production systems
- 14:43Engineering with governance
- 15:06Demo overview and setup
- 15:49SHAP auditable rejection case
- 18:16SHAP auditable approval case
- 20:04LIME borderline rejection case
- 21:30LIME failure analysis case
- 22:36Key takeaways and conclusion
