Starting from examples of current use cases of AI in business and in everyday life, we'll see what the future holds and we'll mention questions to address when giving autonomy to intelligent machines. We'll also aim at demystifying how AI works, in particular how machines can use data to automatically learn business rules and actions to perform in different contexts.
29. –Katherine Barr, Partner at VC-firm MDV
"Pairing human workers with
machine learning and automation
will transform knowledge work
and unleash new levels of human
productivity and creativity."
32. 1. Show churn rate against time
2. Predict which customers will churn next
3. Suggest what to do about each customer
(e.g. propose to switch plan, send promotional offer, etc.)
32
Churn analysis
33. 1. Show returned goods against {type, customer segment}
2. Predict risk shopper will return goods
3. ?
33
E-commerce returns
34. “Suggest what to do about each customer”→ prioritised list of actions,
based on…
• Customer representation + context
• Churn prediction & action prediction
• Uncertainty in predictions
• Revenue brought by customer & Cost of actions
• Constraints on frequency of solicitations
34
Churn analysis
36. Decide price given product and context…
• For several price candidates (within constrained range):
• Predict # sales given product, context, price
• Multiply by price to estimate revenue
36
Pricing optimisation
37. Decide price given product and context…
• For several price candidates (within constrained range):
• Predict 95%-confidence lower bound on # sales given
product, context, price
• Multiply by price to estimate revenue
37
Pricing optimisation
38. 1. Show past demand against calendar
2. Predict demand for [product] at [store] in next 2 days
3. Suggest how much to ship
• Trade-off: cost of storage vs risk of lost sales
• Constraints on order size, truck volume, capacity of people
putting stuff into shelves
38
Replenishment
39. • Context
• Predictions
• Uncertainty in predictions
• Constraints
• Costs / benefits
• Competing objectives ( trade-offs to make)
• Business rules
39
Decisions are based on…
44. Decisions are faster, cheaper, and better
44
AI alone performs better: replenishment
Again, from Lars Trieloff @trieloff (see source)
Decision Quality
Status Quo Predictive Prescriptive Automation
Decisionquality
48. • Morality in decision-making algorithm:
• Minimize loss of life
• Account for probabilities of survival, age of occupants…
→ optimal formula?
• Sacrifice owner?
• “People are in favor of cars that sacrifice the occupant to save other
lives—as long they don’t have to drive one themselves.”
48
Autonomous Vehicles
49. • Need wide acceptation to get adoption and provide benefit (e.g.
save lives with AVs)
• “The public is much more likely to go along with a scenario that aligns
with their own views”
• What will the public tolerate? → experimental ethics
• Similar issues whenever AI decides for us and impacts many
“Domain-specific/business rules”in decision making
49
High-stakes autonomous AIs
52. Software components for automated decisions:
• Create training dataset from historical data (merge sources, aggregate…)
• Provide predictive model from given training set (i.e. learn)
• Provide prediction against model for given context
• Provide optimal decision from given contextual data, predictions,
uncertainties, constraints, objectives, costs
• Apply given decision
52
Separation of concerns
53. Software components for automated decisions:
• Create training dataset from historical data (merge sources, aggregate…)
• Provide predictive model from given training set (i.e. learn)
• Provide prediction against model for given context
• Provide optimal decision from given contextual data, predictions,
uncertainties, constraints, objectives, costs
• Apply given decision
53
Operations Research component
54. Software components for automated decisions:
• Create training dataset from historical data (merge sources, aggregate…)
• Provide predictive model from given training set (i.e. learn)
• Provide prediction against model for given context
• Provide optimal decision from given contextual data, predictions,
uncertainties, constraints, objectives, costs
• Apply given decision
54
Machine Learning components
55. Software components for automated decisions:
• Create training dataset from historical data (merge sources, aggregate…)
• Provide predictive model from given training set (i.e. learn)
• Provide prediction against model for given context
• Provide optimal decision from given contextual data, predictions,
uncertainties, constraints, objectives, costs
• Apply given decision
55
Predictive APIs
57. The two phases of machine learning:
• TRAIN a model
• PREDICT with a model
57
Predictive APIs
58. The two methods of predictive APIs:
• TRAIN a model
• PREDICT with a model
58
Predictive APIs
59. The two methods of predictive APIs:
• model = create_model(‘training.csv’)
• predicted_output = create_prediction(model,
new_input)
59
Predictive APIs
67. • Lars Trieloff:“Business reasons for automating decisions”
• Daniel Kahneman: “Thinking, Fast and Slow”
• Tom Dietterich:“Artificial Intelligence Progress”
• MIT Technology Review:“Why Self-Driving Cars Must Be
Programmed to Kill”
• Conference: PAPIs Connect
67
Learn more
68.
69.
70. • Free ML resources: louisdorard.com
• PAPIs updates: @papisdotio