by kevlar1818 · 8y ago · 0 comments
"5.3 Delicious Chocolate Chip Cookies
Vizier is also used to solve complex black–box optimization problems arising from physical design or logistical problems. Here we present an example that highlights some additional capabilities of the system: finding the most delicious chocolate chip cookie recipe from a parameterized space of recipes... We provided recipes to contractors responsible for providing desserts for Google employees. The head chefs among the contractors were given discretion to alter parameters if (and only if) they strongly believed it to be necessary, but would carefully note what alterations were made. The cookies were baked, and distributed to the cafes for taste–testing. Cafe goers tasted the cookies and provided feedback via a survey. Survey results were aggregated and the results were sent back to Vizier. The “machine learning cookies” were provided about twice a week over several weeks...
The cookies improved significantly over time; later rounds were extremely well-rated and, in the authors’ opinions, delicious."
After you got handed a cookie you were asked to fill out a feedback form on a tablet, which almost always is annoying.
But more importantly, the process of optimizing the ingredients left out many parts of what makes food enjoyable, temperature and texture for example.
I know this was meant to be a fun showcase of ML but to me this is still my favourite example of explaining misuse of ML technology where a simpler statistical model supported by expert opinion would have outperformed the taste of the cookies. Eg, any cookie expert might know that the number of people who like spicy cookies is only a small subset of all cookie lovers.
A good example of training/serving skew.
And the recipe I found internally is "The Real California Cookie" in that paper:
Bake at 163C (325◦ F) until brown:
• 167 grams of all-purpose flour.
• 245 grams of milk chocolate chips.
• 0.60 tsp. baking soda.
• 0.50 tsp. salt.
• 0.125 tsp. cayenne pepper.
• 127 grams of sugar (31% medium brown, 69% white).
• 25.7 grams of egg.
• 81.3 grams of butter.
• 0.12 tsp. orange extract.
• 0.75 tsp. vanilla extract.
• 5¼ oz. of all-purpose flour.
• 7 oz. of milk chocolate chips.
• scant ½ + ⅛ tsp. baking soda.
• ½ tsp. salt.
• ⅛ tsp. cayenne pepper.
• 4½ oz. of sugar (31% medium brown, 69% white).
• 1 oz. of egg.
• 2¾ oz. of butter.
• ⅛ tsp. orange extract.
• ¾ tsp. vanilla extract.
Or, equivalently:
• 167 grams of all-purpose flour.
• 245 grams of milk chocolate chips.
• 2.96 mL baking soda.
• 2.46 mL salt.
• 0.61 mL cayenne pepper.
• 127 grams of sugar (31% medium brown, 69% white).
• 25.7 grams of egg.
• 81.3 grams of butter.
• 0.59 mL orange extract.
• 3.7 mL vanilla extract.
(say, as spectra)
I am very disappointed. I, for one, welcome our new robot overlords and also want to try their chocolate chip cookies.
This is cute, but "in the authors' opinions, delicious" does not contribute anything to scientific research. Yes, you can use black-box optimization for cookie recipes. No, you should not make any sort of performance claims nor talk about "significant" improvement unless you back it up.
But it's worse than the last 100 SOTA models...
Can there be/Is there an objective way to measure deliciousness? If not what can they really say?
This, from the paper, is a great start on measuring deliciousness. But if you go to that effort, why not provide a benchmark? Such as the existing chocolate chip cookie recipe or the average scores from 10 random chocolate chip cookie recipes?
As a reader, I might suspect that performance was not that great compared to baselines but that the authors were able to mask it by making this qualitative claim ("the cookies were delicious") -- which I'm sure was still true!
Like said elsewhere in this thread, if after a few batches the algorithm optimizes into a local maximum gully that some people don't like, but others really love, then the ones that dislike it will stop taking the cookies and thus stop rating them.
But does that mean they're less delicious? Nobody knows! Because certainly the first and foremost great start on measuring deliciousness, is doing research on what is deliciousness, and are there any good methods to measure deliciousness that can be compared with other literature and research, and if that fails, either measure something else or defend why you chose a target metric that can't be measured properly. The latter being valuable if your way of measuring is novel and you think it's better than what has been used so far in the field. But you gotta provide a good argument for that, and the method used in this experiment wasn't particularly novel, simply flawed.
I mean you can be all giggly-googly about it, but food science is a thing.
This seems more like a spanning/optimization problem (how to cover the majority of preferences while not needing too many varieties) than an actual optimization problem, but then again it's just a sample use case to use to sell their API, so they probably didn't think too hard about it.