Dodo Pizza, a Russian-born global pizza delivery franchise, analyzed 300,000 formulations to create a pizza recipe transcending individual tastes. “Open Source” pizza (ai.dodopizza.com) was an experiment aimed at proving the hypothesis that tastes, though considered entirely subjective, could be quantified and that AI could be trained to find uncommon ingredient combinations that would taste well together for most people.
The “Open Source” pizza recipe includes 10 ingredients both traditionally used in pizza (tomato sauce, chicken, cherry tomatoes, broccoli, and mozzarella) and very uncommon ones (melon, pear, tuna, mint, and muesli).
To train the AI, Dodo used the dataset of over 300,000 recipes along with the results of “Flavor network and the principles of food pairing” study published in Nature magazine in 2011. The study found that Western cuisines showed a tendency to use ingredient pairs that shared many flavor compounds. That finding was key to selecting recipes generated by Dodo’s AI.
As expected, the problem was to collect the dataset, according to Dodo Pizza. The available recipe datasets are very limited, so Dodo scanned user-generated recipes on culinary websites, often with mistakes and typos. The overall number of recipes searched through amounted to 300,000.
Initially, there were over 100,000 unique ingredients. The data cleaned up, however, only 1,000 unique positions were left. To present the recipe in a form that would be understandable to the neural network, Dodo used Skip-Gram Negative Sampling (SGNS) — an algorithm based on the word occurrence in a specific context.
After AI had been trained in creating pizza recipes, Dodo added flavor combinations criteria based on the 2011 study mentioned above. By adjusting coefficients, AI can produce both traditional recipes (Margaritas or Pepperoni) and unusual recipes, of which the “Open Source” pizza is a great example.
AI code was shared through Github enabling every small restaurant in the world to become part of the AI revolution and win customers in the competition with bigger restaurants. Dodo’s goal is to make all the pizza in the world taste better rather than just making only Dodo’s pizza taste better.
On October 10, Dodo ran a “Open Source” pizza day in Moscow showcasing the AI pizza. Dodo received favorable reviews from both its customers and industry peers. Dodo’s customers commented that the pizza tasted “unusual”, “surprising”, “tasty, cool, sweet, with lots of tastes”.