CREATING STUNNING DISHES USING GLOBAL …fdin.org.uk › ... › 12 ›...

19
1 CREATING STUNNING DISHES USING GLOBAL RECIPE INTELLIGENCE Dr Trevor Davis, IBM

Transcript of CREATING STUNNING DISHES USING GLOBAL …fdin.org.uk › ... › 12 ›...

Page 1: CREATING STUNNING DISHES USING GLOBAL …fdin.org.uk › ... › 12 › Cooking-With-Watson-IBM-Trevor-Davis.pdf6 IBM Watson & computational creativity 2012 20142013 November 2012:

1

CREATING STUNNING DISHES USING

GLOBAL RECIPE INTELLIGENCE

Dr Trevor Davis, IBM

Page 2: CREATING STUNNING DISHES USING GLOBAL …fdin.org.uk › ... › 12 › Cooking-With-Watson-IBM-Trevor-Davis.pdf6 IBM Watson & computational creativity 2012 20142013 November 2012:

Topics

Cognitive computing

Computational Creativity

Watson Chef v cooks – how can a bunch of

wires understand what is delicious?

Warning – science!

Page 3: CREATING STUNNING DISHES USING GLOBAL …fdin.org.uk › ... › 12 › Cooking-With-Watson-IBM-Trevor-Davis.pdf6 IBM Watson & computational creativity 2012 20142013 November 2012:

3

Cognitive computing is a new paradigm

Understands

context and

natural language

More natural

interaction with

people

Adapts

and learns from

experience

Page 4: CREATING STUNNING DISHES USING GLOBAL …fdin.org.uk › ... › 12 › Cooking-With-Watson-IBM-Trevor-Davis.pdf6 IBM Watson & computational creativity 2012 20142013 November 2012:

4

Cognitive isn’t AI

More active, more personal, better sensing, ubiquity, scalability

Supervised

learning

Unsupervised

learning

Weak AI Strong AI

Now 2020-2030 Mid Century 2080+

Many societal challenges ahead!

Page 5: CREATING STUNNING DISHES USING GLOBAL …fdin.org.uk › ... › 12 › Cooking-With-Watson-IBM-Trevor-Davis.pdf6 IBM Watson & computational creativity 2012 20142013 November 2012:

Multiple interpretations

Hundreds of answer

sources •Primary search

•Candidate answer generation

Tens of thousands of evidence

sources and scores •Answer scoring

•Evidence retrieval

•Deep evidence scoring

Learned models •Combine and weigh evidence

Inquiry analysis Decomposition Hypothesis generation Synthesis Hypothesis and

evidence scoring Final confidence

merging &ranking Question Answer

? !

At the heart of Watson is a learning system

Page 6: CREATING STUNNING DISHES USING GLOBAL …fdin.org.uk › ... › 12 › Cooking-With-Watson-IBM-Trevor-Davis.pdf6 IBM Watson & computational creativity 2012 20142013 November 2012:

6

IBM Watson & computational creativity

2012 2013 2014

November 2012: first recipe created

and prepared by the team at the

Institute of Culinary Education

November 2011: project started in

Services Research department as

part of “What’s Our Watson” initiative

February 2013: first recipes

created by ICE Chefs and served

at IBM Investors Day

January 2014: Watson

Group announcement

March 2014: IBM Food

Truck at South by

Southwest

Page 7: CREATING STUNNING DISHES USING GLOBAL …fdin.org.uk › ... › 12 › Cooking-With-Watson-IBM-Trevor-Davis.pdf6 IBM Watson & computational creativity 2012 20142013 November 2012:

“To test its skill, we pitted IBM’s algorithm against go-to-

recipe resource Epicurious (owned by WIRED’s parent

company, Condé Nast). We searched the site for a

Caribbean plantain dessert and found a tasty concoction

with rum and coconut sauce. With the same

parameters, IBM’s computer generated a list of about 50

ingredients, including orange, papaya, and cayenne

pepper, from which IBM researcher and professional

chef Florian Pinel developed a mind-blowing Caymanian

parfait. While the IBM dessert tasted better, it was also

insanely elaborate, so we’ll call it a draw.”

7

7

When an IBM algorithm cooks things get tasty

Page 8: CREATING STUNNING DISHES USING GLOBAL …fdin.org.uk › ... › 12 › Cooking-With-Watson-IBM-Trevor-Davis.pdf6 IBM Watson & computational creativity 2012 20142013 November 2012:

But isn’t creativity is a

purely human attribute?

Page 9: CREATING STUNNING DISHES USING GLOBAL …fdin.org.uk › ... › 12 › Cooking-With-Watson-IBM-Trevor-Davis.pdf6 IBM Watson & computational creativity 2012 20142013 November 2012:

9

Formula for creativity?

Creativity

=

∫ (discovery, variety, combinations, novelty,

delight….)

Page 10: CREATING STUNNING DISHES USING GLOBAL …fdin.org.uk › ... › 12 › Cooking-With-Watson-IBM-Trevor-Davis.pdf6 IBM Watson & computational creativity 2012 20142013 November 2012:

10

IBM Watson & computational creativity!

PEER PRODUCED INSPIRATION SET

COGNITIVE COOKING SYSTEM

NOVEL CUSTOMIZED RECIPE

FOOD KNOWLEDGE DATABASE

DYNAMIC PLANNER

COMBINATORIAL DESIGNER

COGNITIVE ASSESSOR

Page 11: CREATING STUNNING DISHES USING GLOBAL …fdin.org.uk › ... › 12 › Cooking-With-Watson-IBM-Trevor-Davis.pdf6 IBM Watson & computational creativity 2012 20142013 November 2012:

Recipe generation (discovery, variety)

Base Ingredient

Cuisines Dishes

Ingredient Pairings

Ingredient Types

New Recipes 𝑆 𝑅, ℬ = 𝐷 𝑃𝐵|𝑅||𝑃𝐵

= 𝑃𝐵|𝑅 log𝑃𝐵|𝑅

𝑃𝐵𝑑𝐵

Page 12: CREATING STUNNING DISHES USING GLOBAL …fdin.org.uk › ... › 12 › Cooking-With-Watson-IBM-Trevor-Davis.pdf6 IBM Watson & computational creativity 2012 20142013 November 2012:

Creating a food knowledgebase

Recipe Recipe Step

Recipe Step

Input

Recipe Step

Output

Recipe Step

Property

Ingredient Flavor

Compound

Nutrition

Fact

Cuisine

Dish

Ingredient

Pairing

Ingredient

Type

Odor

Descriptor

Odor

Pleasantness

recipes.wikia.com

wikipedia

USDA nutrient DB

VCF, Atlas of Odor Character Profiles, research papers

Derived from above sources

Page 13: CREATING STUNNING DISHES USING GLOBAL …fdin.org.uk › ... › 12 › Cooking-With-Watson-IBM-Trevor-Davis.pdf6 IBM Watson & computational creativity 2012 20142013 November 2012:

Mixing it up (variety, combinations)

Ingredient Type Available

Ingredients

Meat

Vegetable

Spice

Fish

M1 M2

M3 M4

V1 V2

V3 V4

S1 S2

S3 S4

F1 F2

F3 F4

Recipe Constraints Target Dish

(constrains ingredient

type composition)

Target Cuisine

(constrains ingredients)

Base Ingredient

(constrains ingredients)

S1 S2 S3 S4 S1 S2 S3 S4 X X

Re

cip

e 1

M1 M2

V1 V2 V3

S1 S2

Re

cip

e 2

M3 M4

V1 V2 V4

S1 S3

Re

cip

e 3

M4

V1 V2 V3

S1 S2 S4

Re

cip

e 1

M1 M2

V1 V2 V3

S1 S2

X

X

Page 14: CREATING STUNNING DISHES USING GLOBAL …fdin.org.uk › ... › 12 › Cooking-With-Watson-IBM-Trevor-Davis.pdf6 IBM Watson & computational creativity 2012 20142013 November 2012:

Cognitive assessor (novelty, surprise)

Bayesian surprise: novelty can be quantified by considering a prior

probability distribution of existing recipes and the change in that

probability distribution after the new recipe is observed

M set of recipes known to the observer

M ϵ M recipe in this repository

A new recipe being observed

Page 15: CREATING STUNNING DISHES USING GLOBAL …fdin.org.uk › ... › 12 › Cooking-With-Watson-IBM-Trevor-Davis.pdf6 IBM Watson & computational creativity 2012 20142013 November 2012:

Cognitive assessor – pleasantness (delight)

Chemical Compound

Ingredient

Recipe

DATA

Chemistry: molecular properties

Psychology: human-labeled pleasantness rating

Linear Pleasantness Hypothesis:

If two compounds are mixed together and

smelled, the olfactory pleasantness of the

mixture is approximately a linear combination

of the pleasantness values of the individual

compounds

Olfactory pleasantness is predictable

from chemical compound properties

(topological polar surface area, heavy

atom count, complexity, rotatable bond

count, hydrogen bond acceptor count)

Page 16: CREATING STUNNING DISHES USING GLOBAL …fdin.org.uk › ... › 12 › Cooking-With-Watson-IBM-Trevor-Davis.pdf6 IBM Watson & computational creativity 2012 20142013 November 2012:

Flavor pairing hypothesis: foods combine well with one another when they share key

flavor compounds

[Y.-Y. Ahn, S. E. Ahnert, J. P. Bagrow, and A.-L. Barabási, “Flavor network and the principles of food pairing,” Scientific Reports, 15 Dec. 2011.]

16

Cognitive pairing

Page 17: CREATING STUNNING DISHES USING GLOBAL …fdin.org.uk › ... › 12 › Cooking-With-Watson-IBM-Trevor-Davis.pdf6 IBM Watson & computational creativity 2012 20142013 November 2012:

17

Add it all together!

Page 18: CREATING STUNNING DISHES USING GLOBAL …fdin.org.uk › ... › 12 › Cooking-With-Watson-IBM-Trevor-Davis.pdf6 IBM Watson & computational creativity 2012 20142013 November 2012:

http://www-935.ibm.com/services/us/gbs/thoughtleadership/cognitivefuture/

Where next?

Page 19: CREATING STUNNING DISHES USING GLOBAL …fdin.org.uk › ... › 12 › Cooking-With-Watson-IBM-Trevor-Davis.pdf6 IBM Watson & computational creativity 2012 20142013 November 2012:

You can contact Trevor at [email protected]