Thursday, May 7, 2026

AI Use Case, 2017: "The makings of a smart cookie"

From the Google blog, December 4, 2017:

The makings of a smart cookie

Now that the holidays are in full swing, you’ve probably already dipped your hand into the cookie jar. You may have a favorite time-tested holiday cookie recipe, but this year we decided to mix up our seasonal baking with two new ingredients: a local bakery in Pittsburgh and our Google AI technology.

Over the past year, a small research team at Google has been experimenting with a new technology for experimental design. To demonstrate what this technology could do, our team came up with a real-world challenge: designing the best possible chocolate chip cookies using a given set of ingredients. Adding to the allure of this project was the fact that our team works out of Google’s Pittsburgh office, which was once an old Nabisco factory.

Using a technique called “Bayesian Optimization,” the team stepped away from their computers and rolled their sleeves up in the kitchen. First, we set a bunch of (metaphorical) knobs—in this case, the ingredients in the cookie recipe, i.e., type of chocolate; quantity of sugar, flour, vanilla, etc. The ingredients provide enough unique variables to manipulate and measure, and the recipe is easy to replicate. Our system guessed at a first recipe to try. We baked it, and our eager taste-testers—Googlers ready and willing to sacrifice for science by eating the cookies—tasted it and gave it a numerical score relative to store-bought cookie samples. We fed that rating back into the system, which learned from the rating and adjusted those “knobs” to create a new recipe. We did this dozens of times—baking, rating, and feeding it back in for a new recipe—and pretty soon the system got much better at creating tasty recipes.

After coming up with a really good recipe within Google, we wanted to see what an expert could do with our “smart cookie.” So Chef John, our lead chef in the office teaching kitchen, introduced the team to Jeanette Harris of the Gluten Free Goat Bakery & Cafe. Jeanette was diagnosed with Celiac over 10 years ago and she turned her passion for baking into an opportunity to offer treats to those who usually can’t partake. “When John came to me with the idea of creating an AI-generated cookie I didn’t know what to expect,” says Jeanette. “I run a small local bakery and take great care to ensure I’m providing safe, quality ingredients to my customers. But once the team took the time to explain what they were trying to do, I was all in!”....

....MUCH MORE

https://blog.google/innovation-and-ai/technology/research/makings-smart-cookie