paint-brush
How Artificial Intelligence is Closing the Loop with Better Predictionsby@ErikTrautman
2,141 reads
2,141 reads

How Artificial Intelligence is Closing the Loop with Better Predictions

by Erik TrautmanJuly 23rd, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Much of the hype around <a href="https://hackernoon.com/tagged/artificial-intelligence" target="_blank">Artificial Intelligence</a> centers on some vague sense that it continuously learns from the world around it so it gets ever-better at performing tasks. In reality, it’s important to understand that the core truth underlying this is much simpler and more powerful: AI technologies allow us to <em>make better predictions</em> than we could before.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How Artificial Intelligence is Closing the Loop with Better Predictions
Erik Trautman HackerNoon profile picture

Much of the hype around Artificial Intelligence centers on some vague sense that it continuously learns from the world around it so it gets ever-better at performing tasks. In reality, it’s important to understand that the core truth underlying this is much simpler and more powerful: AI technologies allow us to make better predictions than we could before.

Despite the simplicity of that fact, it is an enormously powerful building block which enables automation on a scale we’ve never seen before by disrupting task loops across the information and physical worlds. Understanding it will allow you to better appreciate the kinds of change it can and will drive.

The semiconductor represents a useful analogy for this reduction. Semiconductor technology obviously changed the world but these empires were built on top of a single simple truth: it reduced the cost of arithmetic. That most fundamental use case forms the basis of computing and, at sufficient scale, allows us to do everything we can today.

In the case of AI, what it makes dramatically better/faster/cheaper is prediction. Just like semiconductor arithmetic formed the basis for advanced computing, better prediction forms the basis for better decision making and, ultimately, an automated disintermediation of human action in a wide range of tasks.

Let’s look at how that works and why that has huge implications for just about every task that exists in the world around us today.

Anatomy of a Task

We’ll start with an individual Task. A Task is really just the smallest quantum of meaningful work, aka a “thing you want to get done”. It may be as simple as playing another song after the first one finishes or it may be as complex as completing a radiology report after viewing the images. Or collecting the right package in a warehouse. Or shooting herbicide at a weed in a field. Or sending a sales email. And so on.

Everything we do is broken up into tasks and the potential for AI is that it makes these tasks significantly better and, ultimately, closes the loop to achieve their full automation.

To understand why, let’s look at the anatomy of a particular task:

Every task has 4 key steps which I’ll model to follow John Boyd’s popular and surprisingly relevant OODA Loop framework (simplified here):

  1. Observe: Collect facts (data) about the world via sensing
  2. Orient: Contextualize these facts by classifying the current state and predicting possible future states.
  3. Decide: Choose the best path based on an objective function
  4. Act: Complete the decided course of action

Repeat as necessary

Improving a Task

When you look at each of the components of this, there are a handful of key ways that a particular task can be improved. We’ve historically focused automation efforts on the “Act” portion but the real potential for new technologies is to address the prior 3 steps:

  1. Improving Observation: Improve the data itself with better sensing accuracy, timeliness, relevance, etc or improve our ability to use the data with higher throughput learning processes
  2. Improving Orientation: Improve the classification of the current state and the prediction of future states
  3. Improving Decision: Improve the ability to choose between paths via better objective functions

The first step, “Improving Observation” is done via improvements in sensing technology (for applications which require understanding the environment), more robust data pipelines, more rapid data feedback loops and more democratized access to data within an organization or application. The ability to feed a deeper and broader set of data into today’s machine learning (ML) models than ever before means we can also utilize a much broader range of observation than ever before. Some of this improvement is via complementary technologies (eg sensing, data processing) while others are more squarely under the admittedly-broad umbrella of “AI” (ML, computer vision).

“Orientation” improvements are the bread and butter of today’s machine learning processes, which make prediction significantly better and cheaper. Classification models predict which bucket something should fall into to better understand the current state (eg. whose face is this? Pedestrian or mailbox? SPAM or not SPAM?). Other models predict the future state (eg. Which product would the customer likely buy next? Which email version will most likely convert?). Both of these processes used to be significantly human-powered and are now highly machine-powered.

“Decisions” are already significantly improved by having a more accurate Orientation and Prediction of the future but are further improved by the automated retraining process that todays models can deploy to tweak their objective functions to achieve the desired action result. There are also whole classes of models specifically designed for optimization which help supercharge this step.

Implications: Closing the Loop

It wasn’t long ago that the entire OODA loop was fully human-powered. The Industrial Revolution helped alleviate much of the “Act” step from human hands and supercharged our ability to produce. The early stages of automation allowed us to begin offloading full tasks as long as the Observation and Orientation were very simple and the Decision could be logically hard-coded ahead of time.

That left whole classes of tasks still heavily manual. For example, salespeople deciding which leads to follow relied on only the Observations they could collect themselves and Oriented based on heuristics they developed over years of practice. Now automated processes scrape data from 100 places on each lead and predictive models score them based on their quality and likelihood of conversion so salespeople can focus their efforts much more efficiently. In many cases, the Decision of who to reach out to and the Action of doing so are already automated, leaving the human salespeople to step in only when needed most (to bring the deal to the close). Even that is continuously more vulnerable.

The implication is that any task which has previously resisted automation based on limited sensing capability or the need for a human to properly classify, predict or decide is in major danger of being disrupted by AI-driven automation.

For the moment, a variety of more complex tasks are being chipped away at each step of the process while simpler tasks are closing the loop entirely and becoming fully automated. This isn’t a single process, it’s the combination of hundreds of technologies and businesses each working to improve a particular link in the chain and the biggest step changes in that improvement have come from AI technologies.

In fact, an undue amount of effort is currently spent at each step where a human must be brought back into the loop because the system has to re-orient the human and make it clear what is expected. As more steps of the OODA loop become automated, the systems begin to streamline by cutting out that unnecessary interaction. A fully closed loop is significantly stronger than the sum of its individual parts for this reason.

Task Disruption Heuristics

Here are the simple heuristics for thinking about the vulnerability of a particular human-powered task to AI disruption:

  1. Observational Disruption
  • Narrow observations: Tasks which currently rely on a relatively narrow (or “chunky”) set of inputs are vulnerable to automated data collection across a much wider range (eg. sales lead qualification, which now can use 100+ inputs)
  • Slow observations: Tasks relying on manual collection of data or human sensing are vulnerable to better sensors and sensing technologies (eg roofing inspection with satellite or drone imaging)

2. Orientational Disruption

  • Human classification: Tasks which rely on humans to classify (eg defects on an assembly line) are vulnerable to ML-aided classification
  • Overly general tasks: Tasks that use overly broad targeting (eg spraying pesticide on ALL plants) are vulnerable to adding classification to enhance precision
  • Human prediction: Tasks where humans were asked to use intuition to predict the future (eg which creative to use in an ad campaign) are vulnerable to ML-driven processes.

3. Decision Disruption

  • Complex decisions: The more complex a decision is, the better a machine will be at properly following the prior two steps and ultimately weighing the data appropriately (eg data center optimization or search)
  • Repeated decisions: Humans experience real decision fatigue and machines will not (eg manual quality control)
  • Rapid decisions: Tasks that must occur in the time before a human can think (eg crash avoidance) are ripe for automation

4. Action Disruption

  • Chained actions: A main task (eg picking a package in a warehouse) might be made up of dozens of subtasks and so its automation has been limited by the automatability of the most challenging (grasping) of these. Fixing the limiting subtask can make the entire main task chain viable.
  • Dextrous actions: The dexterity of robots (eg object grasping) is improving rapidly based on AI feedback loops

Essentially, every aspect of what makes us slow, inexact or limited as humans is under fire from technologies which specialize in those narrow dimensions and which will ultimately continue closing the loop on more and more tasks for us. This will make these tasks significantly better, faster and cheaper than ever before, opening up new use cases and new markets all along the way.

Ultimately, the process that started with the first mechanization of human-powered actions will finish by liberating us from many workflows entirely.

Forward Thoughts: Explainability

When a task goes wrong, how do you figure out why that occurred? With humans operating at each step, we have easy explainability (even though humans are rarely very good at explaining themselves in reality). With AI, where many of these steps may become obscured beneath the models, explainability is much more challenging.

This is already a major issue and it will be interesting to see how it evolves as AI closes the loop on more and more tasks.

Want to discuss? Hit me up on Twitter. Originally posted on eriktrautman.com.

Additional Resources