Causal AI
About this book
Build AI models that can reliably deliver causal inference. How do you know what might have happened, had you done things differently? Causal AI gives you the insight you need to make predictions and control outcomes based on causal relationships instead of pure correlation, so you can make precise and timely interventions. Causal AI is a practical introduction to building AI models that can reason about causality. In Causal AI you will learn how to: • Build causal reinforcement learning algorithms
• Implement causal inference with modern probabilistic machine tools such as PyTorch and Pyro
• Compare and contrast statistical and econometric methods for causal inference
• Set up algorithms for attribution, credit assignment, and explanation
• Convert domain expertise into explainable causal models Author Robert Osazuwa Ness, a leading researcher in causal AI at Microsoft Research, brings his unique expertise to this cutting-edge guide. His clear, code-first approach explains essential details of causal machine learning that are hidden in academic papers. Everything you learn can be easily and effectively applied to industry challenges, from building explainable causal models to predicting counterfactual outcomes. Foreword by Lindsay Edwards. About the technology Traditional ML models can't answer causal questions like, "Why did that happen?" or, "What factors should I change to get a particular outcome?" This book blends advanced statistical methods, computational techniques, and new algorithms to create machine learning systems that automate the process of causal inference. About the book Causal AI introduces the tools, techniques, and algorithms of causal reasoning for machine learning. This unique book masterfully blends Bayesian and probabilistic approaches to causal inference with practical hands-on examples in Python. Along the way, you'll learn to integrate causal assumptions into deep learning architectures, including reinforcement learning and large language models. You'll also use PyTorch, Pyro, and other ML libraries to scale up causal inference. What's inside • End-to-end causal inference with DoWhy
• Deep Bayesian causal generative AI models
• A code-first tour of the do-calculus and Pearl's causal hierarchy
• Code for fine-tuning causal large language models About the reader For data scientists and machine learning engineers. Examples in Python. About the author Robert Osazuwa Ness is an AI researcher at Microsoft Research and professor at Northeastern University. He is a contributor to open-source causal inference packages such as Python's DoWhy and R's bnlearn. Table of Contents Part 1
1 Why causal AI
2 A primer on probabilistic generative modeling
Part 2
3 Building a causal graphical model
4 Testing the DAG with causal constraints
5 Connecting causality and deep learning
Part 3
6 Structural causal models
7 Interventions and causal effects
8 Counterfactuals and parallel worlds
9 The general counterfactual inference algorithm
10 Identification and the causal hierarchy
Part 4
11 Building a causal inference workflow
12 Causal decisions and reinforcement learning
13 Causality and large language models
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Table of contents
- Causal AI
- copyright
- dedication
- contents
- foreword
- preface
- acknowledgments
- about this book
- about the author
- about the cover illustration
- Part 1 Conceptual foundations
- 1 Why causal AI
- 2 A primer on probabilistic generative modeling
- Part 2 Building and validating a causal graph
- 3 Building a causal graphical model
- 4 Testing the DAG with causal constraints
- 5 Connecting causality and deep learning
- Part 3 The causal hierarchy
- 6 Structural causal models
- 7 Interventions and causal effects
- 8 Counterfactuals and parallel worlds
- 9 The general counterfactual inference algorithm
- 10 Identification and the causal hierarchy
- Part 4 Applications of causal inference
- 11 Building a causal inference workflow
- 12 Causal decisions and reinforcement learning
- 13 Causality and large language models
- index
