Designing Autonomous AI

Book description

Early rules-based artificial intelligence demonstrated intriguing decision-making capabilities but lacked perception and didn't learn. AI today, primed with machine learning perception and deep reinforcement learning capabilities, can perform superhuman decision-making for specific tasks. This book shows you how to combine the practicality of early AI with deep learning capabilities and industrial control technologies to make robust decisions in the real world.

Using concrete examples, minimal theory, and a proven architectural framework, author Kence Anderson demonstrates how to teach autonomous AI explicit skills and strategies. You'll learn when and how to use and combine various AI architecture design patterns, as well as how to design advanced AI without needing to manipulate neural networks or machine learning algorithms. Students, process operators, data scientists, machine learning algorithm experts, and engineers who own and manage industrial processes can use the methodology in this book to design autonomous AI.

This book examines:

  • Differences between and limitations of automated, autonomous, and human decision-making
  • Unique advantages of autonomous AI for real-time decision-making, with use cases
  • How to design an autonomous AI from modular components and document your designs

Publisher resources

View/Submit Errata

Table of contents

  1. Foreword
  2. Preface
    1. What Is Autonomous AI?
    2. Who Should Read This Book?
      1. Process Experts
      2. Data Scientists and Software Engineers
      3. Innovation Leaders
      4. Teachers
      5. Problem Solvers
    3. What Can You Expect to Learn from This Book?
    4. Conventions Used in This Book
    5. O’Reilly Online Learning
    6. How to Contact Us
    7. Acknowledgments
  3. Introduction: The Right Brain in the Right Place (Why We Need Autonomous AI)
    1. The Changing World Requires Adapting Skills
      1. Problems Need Solutions, Not AI
      2. What Can AI Do for Me in Real Life?
      3. AI Decision-Making Is Becoming More Autonomous
      4. Beware of Data Science Colonialism
    2. The Changing Workforce Demands Transferred Skills
      1. Expertise Is Hard to Acquire
      2. Expertise Is Hard to Maintain
      3. Expertise Is Simple to Teach, but Requires Practice
    3. Pressing Problems Demand Completely New Skills
      1. AI Is a Tool; Use It for Good
  4. I. When Automation Doesn’t Work
  5. 1. Sometimes Machines Make Bad Decisions
    1. Math, Menus, and Manuals: How Machines Make Automated Decisions
      1. Control Theory Uses Math to Calculate Decisions
      2. Optimization Algorithms Use Menus of Options to Evaluate Decisions
      3. Expert Systems Recall Stored Expertise
  6. 2. The Quest for More Human-Like Decision-Making
    1. Augmenting Human Intelligence
    2. How Humans Make Decisions and Acquire Skills
      1. Humans Act on What They Perceive
      2. Humans Build Complex Correlations into Their Intuition with Practice
      3. Humans Abstract to Strategy for Complex Tasks
      4. There’s a New Kind of AI in Town
    3. The Superpowers of Autonomous AI
      1. Autonomous AI Makes More Human-Like Decisions
      2. Autonomous AI Perceives, Then Acts
      3. The Difference Between Perception and Action in AI
      4. Autonomous AI Learns and Adapts When Things Change
      5. Autonomous AI Can Spot Patterns
      6. Autonomous AI Infers from Experience
      7. Autonomous AI Improvises and Strategizes
      8. Autonomous AI Can Plan for the Long-Term Future
      9. Autonomous AI Brings Together the Best of All Decision-Making Technologies
    4. When Should You Use Autonomous AI?
    5. Autonomous AI Is like a Brilliant, Curious Toddler That Needs to Be Taught
  7. II. What Is Machine Teaching?
  8. 3. How Brains Learn Best: Teaching Humans and AI
    1. Learning Multiple Skills Simultaneously Is Hard for Humans and AI
    2. Teaching Skills and Strategies Explicitly
    3. Teaching Allows Us to Trust AI
    4. The Mindset of a Machine Teacher
      1. Teacher More Than Programmer
      2. Learner More Than Expert
    5. What Is a Brain Design?
      1. How Decision-Making Works
      2. Acquiring Skill Is like Learning to Navigate by Exploring
      3. A Brain Design Is a Mental Map That Guides Exploration with Landmarks
  9. 4. Building Blocks for Machine Teaching
    1. Case Study: Learning to Walk Is Hard to Evolve, Easier to Teach
      1. So, Why Do We Walk?
      2. Strategy Versus Evolution
      3. Teaching Walking as Three Skills
    2. Concepts Capture Knowledge
    3. Skills Are Specialized Concepts
    4. Brains Are Built from Skills
      1. Building Skills
      2. Expert Rules Inflate into Skills
      3. Perceptive Concepts Discern or Recognize
      4. Directive Concepts Decide and Act
      5. Selective Concepts Supervise and Assign
    5. Brains Are Organized by Functions and Strategies
      1. Sequences or Parallel Execution for Functional Skills
      2. Hierarchies for Strategies
    6. Visual Language of Brain Design
  10. III. How Do You Teach a Machine?
    1. Understanding the Process
    2. Meet with Experts
    3. Ask the Right Questions
    4. Case Study: Let’s Design a Smart Thermostat
  11. 5. Teaching Your AI Brain What to Do
    1. Determining Which Actions the Brain Will Take
      1. Perception Is Required, but It’s Not All We Need
      2. Sequential Decisions
    2. Triggering the Action in Your AI Brain
    3. Setting the Decision Frequency
    4. Handling Delayed Consequences for Brain Actions
    5. Actions for Smart Thermostat
  12. 6. Setting Goals for Your AI Brain
    1. There’s Always a Trade-off
      1. Throughput Versus Efficiency
      2. Supervisors Have Different Goals Than Crews Do
      3. Don’t Prioritize Goals; Balance Them Instead
      4. Watch Out for Expert Rules Disguised as Goals
      5. Ideal Versus Available
    2. Setting Goals
      1. Step 1: Identify Scenarios
      2. Step 2: Match Goals to Scenarios
      3. Step 3: Teach Strategies for Each Scenario
    3. Goal Objectives
      1. Maximize
      2. Minimize
      3. Reach, like the Finish Line for a Race
      4. Drive, like the Temperature for a Thermostat
      5. Avoid, like Dangerous Conditions
      6. Standardize, like the Heat in an Oven
      7. Smooth, like a Line
    4. Expanding Task Algebra to Include Goal Objectives
    5. Setting Goals for a Smart Thermostat
  13. 7. Teaching Skills to Your AI Brain
    1. Teaching Focuses and Guides Practice (Exploration)
    2. Skills Can Evolve and Transform
    3. Skills Adapt to the Scenario
    4. Levels of Teaching Sophistication
      1. The Introductory Teacher Conveys the Facts and Goals
      2. The Coach Sequences Skills to Practice
      3. The Mentor Teaches Strategy
      4. The Maestro Democratizes New Paradigms
    5. How Maestros Democratize Technology
    6. Levels of Autonomous AI Architecture
      1. Machine Learning Adds Perception
      2. Monolithic Brains Are Advanced Beginners
      3. Concept Networks Are Competent Learners
      4. Massive Concept Networks Are Proficient Learners
    7. Pursuing Expert Skill Acquisition in Autonomous AI
      1. Brains That Come with Hardwired Skills
      2. Brains That Define Skills as They Learn
      3. Brains That Assemble Themselves
      4. Brains with Skills That Coordinate
    8. Steps to Architect an AI Brain
      1. Step 1: Identify the Skills That You Want to Teach
      2. Step 2: Orchestrate How the Skills Work Together
      3. Step 3: Select Which Technology Should Perform Each Skill
    9. Pitfalls to Avoid When Teaching Skills
      1. Pitfall 1: Confusing the solution for the problem
      2. Pitfall 2: Losing the forest for the trees
    10. Example of Teaching Skills to an AI Brain: Rubber Factory
    11. Brain Design for Our Smart Thermostat
  14. 8. Giving Your AI Brain the Information It Needs to Learn and Decide
    1. Sensors: The Five Senses for Your AI Brain
      1. Variables
      2. Proxy Variables
      3. Trends
    2. Simulators: A Gym for Your Autonomous AI to Practice In
      1. Simulating Reality Using Physics and Chemistry
      2. Simulating Reality Using Statistics and Events
      3. Simulating Reality Using Machine Learning
      4. Simulating Reality Using Expert Rules
    3. Sensor Variables for Smart Thermostat
  15. IV. Tools for the Machine Teacher
  16. 9. Designing AI Brains That Someone Can Actually Build
    1. Designers and Builders Working Together in Harmony (Mostly)
      1. The Autonomous AI Design Fallacy Designs but Won’t Iterate
      2. The Autonomous AI Implementation Fallacy Skips Design Altogether
    2. Specification for Documenting AI Brain Designs
    3. Platform for Machine Teaching
    4. Platform for Wiring Multiple Skills Together as Modules
    5. What Difference Will You Make with Machine Teaching?
  17. Glossary
  18. Index
  19. About the Author

Product information

  • Title: Designing Autonomous AI
  • Author(s): Kence Anderson
  • Release date: June 2022
  • Publisher(s): O'Reilly Media, Inc.
  • ISBN: 9781098110758