Computer Cooking Contest September the 1 st 2008 ---The Taaable - - PowerPoint PPT Presentation

computer cooking contest september the 1 st 2008
SMART_READER_LITE
LIVE PREVIEW

Computer Cooking Contest September the 1 st 2008 ---The Taaable - - PowerPoint PPT Presentation

Computer Cooking Contest September the 1 st 2008 ---The Taaable Team--- 2 3 4 5 6 Roadmap Roadmap Facts Facts Future Future work work CBR CBR engine engine Knowledge Knowledge Interface Interface acquisition 7 acquisition


slide-1
SLIDE 1
slide-2
SLIDE 2

2

Computer Cooking Contest September the 1st 2008

  • --The Taaable Team---
slide-3
SLIDE 3

3

slide-4
SLIDE 4

4

slide-5
SLIDE 5

5

slide-6
SLIDE 6

6

slide-7
SLIDE 7

7

Roadmap Roadmap

Interface Interface Knowledge Knowledge acquisition acquisition CBR CBR engine engine Future Future work work Facts Facts

slide-8
SLIDE 8

8

Facts Facts

slide-9
SLIDE 9

9

The Team

People trainees, PhD students, professors, ...

3 labs

slide-10
SLIDE 10

10

A CBR Web Application

Accessible Easy to use Web oriented Case-Based Reasoning Information retrieval Ontology engineering Knowledge representation Knowledge extraction Interface ergonomics Knowledge acquisition CBR Based Knowledge intensive

slide-11
SLIDE 11

11

Architecture

slide-12
SLIDE 12

12

Facts Facts CBR CBR engine engine

slide-13
SLIDE 13

13

Knowledge representation

Banana Butterfinger Cake

Recipe Rex Index Idx(Rex) Language L: polynomial fragment of propositional logic Ontology O in L: set of axioms a ⇒ b banana ⇒ fruit ∈ O Generalization cost associated to each axiom in O a1∧a2∧ ... : closed world assumption on indexes

Case base : a set of recipes

banana ⇒ food ∈ O

Idx(Rex) = banana ∧ ... ∧ chocolate_chips ∧a1∧a2∧

slide-14
SLIDE 14

14

Knowledge representation

If (banana ⇒ fruit, chocolate_chips ⇒ chocolate) ∈ O then Idx(Rex) ⇒ Qex Query

I want a cake with chocolate and fruits

Query Qex

Qex = chocolate ∧ fruit ∧ cake

Idx and Q are expressed in L A recipe R answers the query Q if, given the ontology O Idx(R) ⇒ Q

Banana Butterfinger Cake

Recipe Rex

Idx(Rex) = banana ∧ ... ∧ chocolate_chips ∧a1∧a2∧

Index Idx(Rex)

O

slide-15
SLIDE 15

15

Retrieval principles

cost(lemon ⇒ citrus) 

K(#RecipesWith(citrus) – #RecipesWith(lemon))

Strong classification of Q

Using hierarchy search techniques, Find Idx(R) such that Idx(R) Q ⇒

Smooth classification of Q

While strong classification fails SP = next similarity path SP = (a1 b1) o ... o (aq  bq) (ai bi): substitution by generalisation, (ai ⇒ bi) ∈ O

In Taaable SP generated by increasing cost cost(SP)= ∑ cost(ai⇒bi)

i = 1..q

Results: SP (if any) and Idx(R) such that Idx(R) Q ⇒

slide-16
SLIDE 16

16

Example of retrieval result

butter ⇒ butter_or_margarine margarine ⇒ butter_or_margarine chocolate_chips ⇒ chocolate almond ⇒ nut pecan ⇒ nut almond chocolate butter

Q = ∧ ∧

margarine pecan chocolate_chips cream_cheese egg sugar

a1 a2

...

Idx(R) = ∧ ∧ ∧ ∧ ∧ ∧

vanilla

∧ ∧ ∧ SP =

butter  butter_or_margarine almond  nut

  • SP(Q) =

nut chocolate butter_or_margarine

∧ ∧

Elements of ontology

slide-17
SLIDE 17

17

Adaptation principles

  • 1. Substitution by generalizations from Idx(R) to SP(Q)

margarine pecan chocolate_chips

AP1 = ∧

nut chocolate butter_or_margarine

 

butter_or_margarine butter

nuts

almond nuts nut

AP =

  • 3. Composition of AP1 and AP2 and simplification of the result
  • 2. AP2 = SP-1

chocolate_chips

chocolate butter_or_margarine

pecan nut

AP2 =

margarine

Following the adaptation path: left to users

slide-18
SLIDE 18

18

CBR CBR engine engine Facts Facts Knowledge Knowledge acquisition acquisition

slide-19
SLIDE 19

19

Towards a cooking ontology

Cooking Ingredient Ustensil Action DishType DishOrigin DishMoment ...

Knowledge modelling

slide-20
SLIDE 20

20

Towards a cooking ontology

Cooking Ingredient Ustensil Action DishType DishOrigin DishMoment ...

slide-21
SLIDE 21

21

Four hierarchies

DishMoment MainDish Snack Dessert DishType BakedGood Cake Muffin Sweet Pizza DishOrigin Europe Italia Mediterranean IngredientType Oil Tiramisu Asia PancakeMix BakingMix Pancake FatAndOil Fruit OliveOil Size: 10 Size: 60 Size: 4000 Size: 68

slide-22
SLIDE 22

22

Four hierarchies - linked

DishMoment MainDish Snack Dessert DishType BakedGood Cake Muffin Sweet Pizza DishOrigin Europe Italia Mediterranean Tiramisu Asia Pancake Size: 10 Size: 60 Size: 68 IngredientType Oil PancakeMix BakingMix FatAndOil Fruit OliveOil Size: 4000

slide-23
SLIDE 23

23

Four hierarchies - linked

DishMoment MainDish Snack Dessert DishType BakedGood Cake Muffin Sweet Pizza DishOrigin Europe Italia Mediterranean Tiramisu Asia Pancake Size: 10 Size: 60 Size: 68 IngredientType Oil PancakeMix BakingMix FatAndOil Fruit OliveOil Size: 4000

slide-24
SLIDE 24

24

Four hierarchies - linked

DishMoment MainDish Snack Dessert DishType BakedGood Cake Muffin Sweet Pizza DishOrigin Europe Italia Mediterranean IngredientType Tiramisu Asia Pancake Size: 10 Size: 60 Size: 68 IngredientType Oil PancakeMix BakingMix FatAndOil Fruit OliveOil Size: 4000

slide-25
SLIDE 25

25

Recipe annotation

Ingredients DishType DishOrigin DishMoment flour egg banana ... dessert cake baked-good sweet ? Banana Butterfinger Cake

Semi-automatic annotation External ressources

Recipesource: http://www.recipesource.com/

slide-26
SLIDE 26

26

Ingredient annotation

Quantity Unit Modifier IngredientType 1 1/2 granulated sugar c <IN>1 ½ c sugar</IN>

Annotation by Controlled-indexing 8000 lexical variants Cooking Thesaurus

Cook's Thesaurus: http://www.foodsubs.com

slide-27
SLIDE 27

27

Ingredient annotation

Quantity Unit Modifier IngredientType 2 banana c Not recognized: “about 5”

Cook's Thesaurus: http://www.foodsubs.com

mashed, ripe <IN>2 c mashed ripe bananas (about 5) </IN>

slide-28
SLIDE 28

28

Type annotation

Goal: at least one dish moment and one dish type Methodology: controlled-indexing and manual validation Source: recipesource

Recipesource: http://www.recipesource.com/

slide-29
SLIDE 29

29

Type annotation

  • 1. From the

folder hierarchie of recipesource

  • 2. Categories

available in recipesource

  • 3. Terms

recognized in the title

  • 4. Association

rules

  • b. Manual

validation

  • 5. Additionnal

annotation

  • a. Help!
slide-30
SLIDE 30

30

Knowledge Knowledge acquisition acquisition CBR CBR engine engine Facts Facts Interface Interface

slide-31
SLIDE 31

31

Easy to use

slide-32
SLIDE 32

32

Consistency validation

slide-33
SLIDE 33

33

Advanced features

slide-34
SLIDE 34

34

Result display features

slide-35
SLIDE 35

35

Adapted recipe

slide-36
SLIDE 36

36

Interface Interface Knowledge Knowledge acquisition acquisition CBR CBR engine engine Facts Facts Future Future work work

slide-37
SLIDE 37

37

Test and evaluation

Knowledge acquisition process % of ingredient identification % of correctly typed recipes with each method

slide-38
SLIDE 38

38

Test and evaluation

Knowledge acquisition process % of ingredient identification % of correctly typed recipes with each method CBR engine Response time (not relevant) ??

slide-39
SLIDE 39

39

Test and evaluation

Knowledge acquisition process % of ingredient identification % of correctly typed recipes with each method CBR engine Response time (not relevant) ?? How to evaluate Taaable? Computer Cooking Contest

slide-40
SLIDE 40

40

Taaable, a CCC participant

=

Knowledge base of the cooking domain

+

Ad-hoc CBR engine Web Interface

Compulsory task

+

Negation challenge Menu challenge (quick and dirty) Best costume challenge

slide-41
SLIDE 41

41

Ongoing work

Time

Improve existing knowledge base Improve the knowledge representation features Code optimization Interactive knowledge acquisition tool Debug Interactive annotation interface Recipe sharing tool

Knowledge base CBR engine Web interface

Integrate an existing inference engine?

We leave that for the CCC 2 (or 3) !

Increase customization parameters

slide-42
SLIDE 42

42