Leanpub Header

Skip to main content

Principles of Explainable Artificial Intelligence Theory Models & Proofs

Master the science behind Explainable AI. This complete two-volume series explores causal inference, Shapley values, attribution theory, fairness proofs, interpretability metrics, transformer explainability, and trustworthy AI. Learn the mathematical foundations that make modern AI systems transparent, accountable, and understandable.

Bought separately

$39.98

$29.00

You pay

Author earns

$
These books have a total suggested price of $39.98. Get them now for only $29.00!
About

About

About the Bundle

The Principles of Explainable Artificial Intelligence (XAI) Complete Series (Vol-I & Vol-II) is a comprehensive and mathematically rigorous exploration of one of the most important challenges in modern Artificial Intelligence: understanding, interpreting, and trusting AI systems.

Written by Anshuman Mishra, this two-volume series provides a deep theoretical and practical foundation for Explainable AI (XAI), covering the mathematical principles, causal reasoning frameworks, attribution methods, fairness metrics, interpretability techniques, and regulatory considerations that underpin transparent and trustworthy AI.

As AI systems become increasingly influential in healthcare, finance, law, autonomous systems, cybersecurity, education, and government decision-making, explainability has evolved from a desirable feature into a fundamental requirement. Organizations, researchers, and policymakers now demand AI systems that are not only accurate but also understandable, accountable, fair, and auditable.

This bundle bridges the gap between practical explainability tools and the mathematical theories that justify them, transforming XAI from a collection of techniques into a formal scientific discipline.

What You'll Learn

Volume I – Foundations of Explainable AI
  • Introduction to Explainable Artificial Intelligence
  • Interpretability vs Explainability
  • Mathematical Foundations for XAI
  • Set Theory and Logic for Explainability
  • Linear Algebra and Vector Spaces
  • Probability Theory and Statistical Foundations
  • Optimization and Gradient-Based Reasoning
  • Statistical Transparency and Model Understanding
  • Uncertainty Quantification
  • Fairness and Accountability Principles
  • Foundations of Explainable Machine Learning
Volume II – Advanced Explainability Models and Proofs
  • Causal Inference and Causal Reasoning
  • Directed Acyclic Graphs (DAGs)
  • Do-Calculus and Intervention Analysis
  • Counterfactual Explanations
  • Shapley Values and Cooperative Game Theory
  • SHAP Frameworks and Variants
  • LIME and Local Explanations
  • Integrated Gradients and Attribution Methods
  • Grad-CAM and Saliency Mapping
  • Layer-Wise Relevance Propagation (LRP)
  • Explainability for Deep Neural Networks
  • Explainability for Transformer Models
  • Large Language Model Interpretability
  • Mechanistic Interpretability
  • Explainability Evaluation Metrics
  • AI Fairness, Bias Detection, and Mitigation
  • Regulatory and Ethical AI Frameworks
  • Future Directions in Explainable and Trustworthy AI

Why This Bundle Is Unique

Unlike many books that focus only on software tools and implementation, this series explains the mathematical and theoretical foundations behind explainability methods.

Readers will discover:

  • Why SHAP satisfies fairness properties.
  • How Shapley values emerge from cooperative game theory.
  • Why causal reasoning is central to trustworthy AI.
  • How gradient-based attribution methods work mathematically.
  • How interpretability can be measured scientifically.
  • Why explainability is necessary for regulatory compliance.
  • How modern transformer models can be analyzed and interpreted.

The bundle emphasizes understanding rather than memorization, enabling readers to critically evaluate and improve explainability techniques.

Key Topics Covered

  • Explainable Artificial Intelligence (XAI)
  • Interpretable Machine Learning
  • Statistical Explainability
  • Causal Inference
  • Counterfactual Reasoning
  • Do-Calculus
  • Directed Acyclic Graphs (DAGs)
  • Attribution Theory
  • Shapley Values
  • SHAP
  • LIME
  • Integrated Gradients
  • Grad-CAM
  • Layer-Wise Relevance Propagation
  • Fairness Metrics
  • Bias Detection
  • Transparency Evaluation
  • Trustworthy AI
  • Responsible AI
  • Explainability for Large Language Models

Real-World Applications

Throughout the series, explainability concepts are connected to practical domains including:

  • Healthcare Diagnostics
  • Financial Risk Assessment
  • Credit Scoring Systems
  • Autonomous Vehicles
  • Industrial Automation
  • Cybersecurity Systems
  • Legal and Judicial Decision Support
  • Human-AI Collaboration
  • Educational Analytics
  • Large Language Models and Generative AI

Case studies demonstrate how explainability improves transparency, reliability, and stakeholder trust in high-stakes environments.

Who Should Read This Bundle?

This bundle is ideal for:

  • BCA, MCA, B.Tech, and M.Tech students
  • Artificial Intelligence and Data Science learners
  • Machine Learning Engineers
  • AI Researchers and PhD Scholars
  • University Faculty Members
  • UGC NET and Research Entrance Aspirants
  • Data Scientists and Analysts
  • AI Governance and Ethics Professionals
  • Industry Practitioners working with black-box AI systems

Whether your focus is academic research, practical deployment, regulatory compliance, or AI governance, this series provides the theoretical depth and practical perspective required to understand modern explainability.

Educational and Research Value

The bundle serves as:

  • A university-level textbook on Explainable AI
  • A research reference for XAI studies
  • A foundation for Responsible AI programs
  • A guide for AI auditing and governance
  • A bridge between mathematics, causality, and machine learning

Each chapter incorporates mathematical derivations, logical proofs, diagrams, conceptual frameworks, and practical interpretations that support both classroom teaching and independent research.

Learning Outcomes

After completing this two-volume series, readers will be able to:

  • Understand the mathematical foundations of explainability.
  • Apply causal reasoning to AI systems.
  • Derive and interpret Shapley values.
  • Evaluate explainability methods using formal metrics.
  • Analyze fairness, bias, and accountability in AI models.
  • Interpret neural networks and transformer architectures.
  • Design transparent and trustworthy AI solutions.
  • Understand emerging regulations and governance frameworks.
  • Conduct advanced research in Explainable AI and Responsible AI.

This complete series transforms explainability from a collection of visualization tools into a rigorous scientific framework for building transparent, accountable, and trustworthy artificial intelligence systems.

Books

About the Books

Principles of Explainable Artificial Intelligence Theory Models & Proofs VOL-1

Explainable Artificial Intelligence (XAI) has rapidly evolved into one of the most critical dimensions of modern AI research. As deep learning models have grown in size, complexity, and power, the opacity of their decision-making processes has raised significant concerns regarding fairness, accountability, regulatory compliance, trustworthiness, and ethical use. This book, Principles of Explainable Artificial Intelligence: Theory, Models & Proofs, written by Anshuman Mishra, addresses this global need by presenting a mathematically grounded, logically rigorous, and research-centric exploration of XAI principles.

The book is designed not only for students and beginners but also for researchers, practitioners, faculty members, competitive exam aspirants, and professionals seeking deep mathematical understanding behind the explainability mechanisms of AI systems. It emphasizes the foundational structures of interpretability—causal reasoning, attribution theory, game-theoretic fairness, statistical transparency, and formal mathematical proofs.

Rather than treating explainability tools like SHAP, LIME, or Grad-CAM as black-box techniques, this book dissects why these methods work, how they are derived mathematically, and what theoretical foundations justify their use. By combining classical mathematics, probability theory, statistical modeling, causal inference, and computational reasoning, this book enables the reader to understand explainability as a formal scientific discipline.

THE PURPOSE OF THIS BOOK

The primary objective of this book is to bridge the gap between “practical explainability tools” and the deep mathematical frameworks upon which they are built. Many books in the market offer high-level descriptions or code-based tutorials on XAI techniques. However, few provide a rigorous mathematical treatment of the field.

This book offers:

·        A clear understanding of the mathematical foundations behind explainability.

·        Detailed proofs explaining why certain XAI methods satisfy fairness or attribution properties.

·        Derivations of Shapley values from cooperative game theory.

·        Detailed causal reasoning with do-calculus, DAGs, interventions, and counterfactuals.

·        Gradient-level interpretability used in deep learning and large language models.

·        Evaluation metrics with formal definitions and proofs.

·        Demonstrations of how statistical inference and causality form the backbone of transparency in AI.

The content ensures that readers master both theory and practical implementation, making it ideal for academic coursework, university syllabi, independent research, and data science industry roles.

WHY EXPLAINABLE AI IS NECESSARY

As AI systems increasingly influence critical decision-making areas—healthcare diagnoses, financial risk assessments, loan approvals, autonomous driving, medical imaging, legal judgments, industrial automation, and more—transparency becomes essential.

This book argues that explainability is not an optional feature; it is a fundamental requirement grounded in:

1.      Ethics: Preventing discrimination and biases in model outcomes.

2.      Trust: Helping users understand and trust AI-driven decisions.

3.      Accountability: Allowing organizations to justify automated decisions.

4.      Regulatory Compliance: Laws such as the EU AI Act, GDPR, and emerging Indian AI policies demand transparent AI.

5.      Debugging & Improvement: Interpretability helps identify model weaknesses and data inconsistencies.

6.      Safety: Especially crucial in autonomous and medical systems.

By combining mathematics with ethics and practical industry requirements, the book provides a holistic understanding of the need for explainability.

WHAT THIS BOOK OFFERS

This book is divided into well-structured parts that build knowledge progressively:

1. Mathematical Foundations

Readers begin with essential concepts—set theory, linear algebra, vector spaces, calculus, probability distributions, loss functions, gradients, optimization mechanics, and statistical inference techniques. These chapters ensure strong grounding for deeper XAI topics.

2. Statistical Explainability & Transparency

This part explores how statistical relationships help interpret AI models. Concepts such as covariance, multicollinearity, variance decomposition, likelihood estimation, confidence intervals, hypothesis tests, and uncertainty quantification become tools for transparency.

3. Causality and Reasoning

Judea Pearl’s causal hierarchy—association, intervention, and counterfactuals—is explained through examples, DAGs, do-calculus, backdoor/frontdoor criteria, instrumental variables, and causal discovery algorithms. This section links causal explainability with real-world decision systems.

4. Shapley Values and Attribution Theory

A full, mathematically rich exploration of cooperative game theory leads into Shapley values. From axiomatic definitions to uniqueness theorems and fairness proofs, readers understand feature attribution at a foundational level. Kernel SHAP, Tree SHAP, Deep SHAP, and Gradient SHAP are explained systematically.

5. Interpretability in Classical & Deep Learning Models

Readers learn rule extraction, decision trees, gradients, saliency maps, Grad-CAM, LRP, visualization techniques, attention-based interpretability, and transformer-level explanations.

6. Fairness, Ethics & Evaluation Metrics

Explainability must be measured and validated. The book explores sensitivity, completeness, consistency, fidelity, and human-centered metrics with mathematical rigor. Fairness and bias mitigation techniques are addressed clearly.

7. Explainability for Large Language Models

Special emphasis is placed on modern transformer-based architectures (e.g., GPT-type and BERT-type models). Mechanistic interpretability, attribution at token level, head-level analysis, and probing are covered.

8. Future Directions

Neuro-symbolic reasoning, causal-explainable AI integration, formal verification, explainability under regulations, interpreting AI safety, and open problems in research.

WHO SHOULD READ THIS BOOK?

This book is ideal for:

·        BCA, MCA, B.Tech, M.Tech students

·        UGC NET aspirants

·        AI/ML researchers

·        Data scientists

·        AI developers

·        University professors

·        PhD scholars

·        Industry professionals working with black-box models

·        Anyone who wants mathematical clarity on XAI

Its writing style balances mathematical rigor with readability, making it useful for self-study and classroom use.

TEACHING & LEARNING BENEFITS

·        50+ diagrams, proofs, and mathematical derivations.

·        Step-by-step logical flow for each model.

·        Case studies from healthcare, finance, law, and engineering.

·        Practical coding references (without over-reliance on tools).

·        Integration of statistics, calculus, causality, and deep learning.

·        Real-world examples for intuitive understanding.

·        Problems at the end of each chapter (optional addition).

Instructors can adopt this book for academic courses in:

·        Explainable AI

·        Machine Learning

·        Statistical Inference

·        Causality

·        Artificial Intelligence Foundations

·        Deep Learning Interpretability

UNIQUE CONTRIBUTIONS OF THIS BOOK

Unlike other XAI or ML books, this work by Anshuman Mishra offers:

·        Mathematical derivations for SHAP, IG, LIME, and other explainability tools.

·        Original proofs for fairness properties in attribution methods.

·        Detailed causal diagrams and do-calculus explanations.

·        A structured approach to XAI evaluation metrics.

·        Coverage of transformer explainability—rare in academic books.

·        Clarity in blending classical mathematical theory with modern AI systems.

This makes the book a reference-level resource for the next decade of AI learning.

Principles of Explainable Artificial Intelligence Theory Models & Proofs VOL-2

Explainable Artificial Intelligence (XAI) has rapidly evolved into one of the most critical dimensions of modern AI research. As deep learning models have grown in size, complexity, and power, the opacity of their decision-making processes has raised significant concerns regarding fairness, accountability, regulatory compliance, trustworthiness, and ethical use. This book, Principles of Explainable Artificial Intelligence: Theory, Models & Proofs, written by Anshuman Mishra, addresses this global need by presenting a mathematically grounded, logically rigorous, and research-centric exploration of XAI principles.

The book is designed not only for students and beginners but also for researchers, practitioners, faculty members, competitive exam aspirants, and professionals seeking deep mathematical understanding behind the explainability mechanisms of AI systems. It emphasizes the foundational structures of interpretability—causal reasoning, attribution theory, game-theoretic fairness, statistical transparency, and formal mathematical proofs.

Rather than treating explainability tools like SHAP, LIME, or Grad-CAM as black-box techniques, this book dissects why these methods work, how they are derived mathematically, and what theoretical foundations justify their use. By combining classical mathematics, probability theory, statistical modeling, causal inference, and computational reasoning, this book enables the reader to understand explainability as a formal scientific discipline.

 

 

THE PURPOSE OF THIS BOOK

The primary objective of this book is to bridge the gap between “practical explainability tools” and the deep mathematical frameworks upon which they are built. Many books in the market offer high-level descriptions or code-based tutorials on XAI techniques. However, few provide a rigorous mathematical treatment of the field.

This book offers:

·        A clear understanding of the mathematical foundations behind explainability.

·        Detailed proofs explaining why certain XAI methods satisfy fairness or attribution properties.

·        Derivations of Shapley values from cooperative game theory.

·        Detailed causal reasoning with do-calculus, DAGs, interventions, and counterfactuals.

·        Gradient-level interpretability used in deep learning and large language models.

·        Evaluation metrics with formal definitions and proofs.

·        Demonstrations of how statistical inference and causality form the backbone of transparency in AI.

The content ensures that readers master both theory and practical implementation, making it ideal for academic coursework, university syllabi, independent research, and data science industry roles.

WHY EXPLAINABLE AI IS NECESSARY

As AI systems increasingly influence critical decision-making areas—healthcare diagnoses, financial risk assessments, loan approvals, autonomous driving, medical imaging, legal judgments, industrial automation, and more—transparency becomes essential.

This book argues that explainability is not an optional feature; it is a fundamental requirement grounded in:

1.      Ethics: Preventing discrimination and biases in model outcomes.

2.      Trust: Helping users understand and trust AI-driven decisions.

3.      Accountability: Allowing organizations to justify automated decisions.

4.      Regulatory Compliance: Laws such as the EU AI Act, GDPR, and emerging Indian AI policies demand transparent AI.

5.      Debugging & Improvement: Interpretability helps identify model weaknesses and data inconsistencies.

6.      Safety: Especially crucial in autonomous and medical systems.

By combining mathematics with ethics and practical industry requirements, the book provides a holistic understanding of the need for explainability.

WHAT THIS BOOK OFFERS

This book is divided into well-structured parts that build knowledge progressively:

1. Mathematical Foundations

Readers begin with essential concepts—set theory, linear algebra, vector spaces, calculus, probability distributions, loss functions, gradients, optimization mechanics, and statistical inference techniques. These chapters ensure strong grounding for deeper XAI topics.

2. Statistical Explainability & Transparency

This part explores how statistical relationships help interpret AI models. Concepts such as covariance, multicollinearity, variance decomposition, likelihood estimation, confidence intervals, hypothesis tests, and uncertainty quantification become tools for transparency.

3. Causality and Reasoning

Judea Pearl’s causal hierarchy—association, intervention, and counterfactuals—is explained through examples, DAGs, do-calculus, backdoor/frontdoor criteria, instrumental variables, and causal discovery algorithms. This section links causal explainability with real-world decision systems.

4. Shapley Values and Attribution Theory

A full, mathematically rich exploration of cooperative game theory leads into Shapley values. From axiomatic definitions to uniqueness theorems and fairness proofs, readers understand feature attribution at a foundational level. Kernel SHAP, Tree SHAP, Deep SHAP, and Gradient SHAP are explained systematically.

5. Interpretability in Classical & Deep Learning Models

Readers learn rule extraction, decision trees, gradients, saliency maps, Grad-CAM, LRP, visualization techniques, attention-based interpretability, and transformer-level explanations.

6. Fairness, Ethics & Evaluation Metrics

Explainability must be measured and validated. The book explores sensitivity, completeness, consistency, fidelity, and human-centered metrics with mathematical rigor. Fairness and bias mitigation techniques are addressed clearly.

7. Explainability for Large Language Models

Special emphasis is placed on modern transformer-based architectures (e.g., GPT-type and BERT-type models). Mechanistic interpretability, attribution at token level, head-level analysis, and probing are covered.

8. Future Directions

Neuro-symbolic reasoning, causal-explainable AI integration, formal verification, explainability under regulations, interpreting AI safety, and open problems in research.

WHO SHOULD READ THIS BOOK?

This book is ideal for:

·        BCA, MCA, B.Tech, M.Tech students

·        UGC NET aspirants

·        AI/ML researchers

·        Data scientists

·        AI developers

·        University professors

·        PhD scholars

·        Industry professionals working with black-box models

·        Anyone who wants mathematical clarity on XAI

Its writing style balances mathematical rigor with readability, making it useful for self-study and classroom use.

TEACHING & LEARNING BENEFITS

·        50+ diagrams, proofs, and mathematical derivations.

·        Step-by-step logical flow for each model.

·        Case studies from healthcare, finance, law, and engineering.

·        Practical coding references (without over-reliance on tools).

·        Integration of statistics, calculus, causality, and deep learning.

·        Real-world examples for intuitive understanding.

·        Problems at the end of each chapter (optional addition).

Instructors can adopt this book for academic courses in:

·        Explainable AI

·        Machine Learning

·        Statistical Inference

·        Causality

·        Artificial Intelligence Foundations

·        Deep Learning Interpretability

UNIQUE CONTRIBUTIONS OF THIS BOOK

Unlike other XAI or ML books, this work by Anshuman Mishra offers:

·        Mathematical derivations for SHAP, IG, LIME, and other explainability tools.

·        Original proofs for fairness properties in attribution methods.

·        Detailed causal diagrams and do-calculus explanations.

·        A structured approach to XAI evaluation metrics.

·        Coverage of transformer explainability—rare in academic books.

·        Clarity in blending classical mathematical theory with modern AI systems.

This makes the book a reference-level resource for the next decade of AI learning.

Chapter 11: Attribution Methods Beyond

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub