We have seen AI used for style transfer in the world of painting and photography, but what about cooking? What would a classic dish in one cuisine look like, or rather taste like, in another?
This is the question that Masahiro Kazama, Minami Sugimoto, Chizuru Hosokawa, Keisuke Matsushima, Lav R. Varshney, and Yoshiki Ishikawa attempt to answer and, given that one of them admits to being a professional chef, the interest may not be just purely academic.
We propose a novel system which can transform a recipe into any selected regional style (e.g., Japanese, Mediterranean, or Italian). This system has three characteristics. First the system can identify the degree of dietary style mixture of any selected recipe. Second, the system can visualize such dietary style mixtures using barycentric Newton diagrams. Third, the system can suggest ingredient substitutions through an extended word2vec model, such that a recipe becomes more authentic for any selected dietary style. Drawing on a large number of recipes from Yummly, an example shows how the proposed system can transform a traditional Japanese recipe, Sukiyaki, into French style.
This isn't style transfer as used in visual style transfer. A neural network is trained to recognize the ingredients and style of a particular country's cuisine. This can be used to predict the probability that a particular list of ingredients corresponds to a recipe in a particular cuisine. This makes it possible to plot charts that show how cuisines vary, but it doesn't give you a good way to change a recipe from one country to another.
To do this the team trained a word2vec system. This is a neural network that places words into a vector space so that they are close to words with the same meaning, or rather role, in sentence constructions.
The advantage of this is that you can write "word equations" to specify what you want. The example that is generally used is that if you feed word3vec "King-Man+Woman" you get Queen as the output. In the case of recipes you use equations like "Soy sauce-Japan+French" to find out what the French substitute for soy would be.
The top ingredients for identifying a country are:
Sadly the only example of recipe translation given is Sukiyaki into French.:
As an example of our proposed system, we transformed a traditional Japanese Sukiyaki into French style. Table 3 shows the suggested replaceable ingredients and the probability after replacing. “Sukiyaki” consists of soy sauce, beef sirloin, white sugar, green onions, mirin, shiitake, egg, vegetable oil, konnyaku, and chinese cabbage.
Table 3: Alternative ingredients suggested by extended word2vec model and country probability of changing food ingredients in order from the top. Professional chef KM, who is one of the coauthors of this paper, chose one alternative ingredient from top 10 suggested ingredients each.
Clearly there is scope here for recipe translation to create new recipes but it also casts light on the natural variations within a cuisine:
For example, should Fish Provencal, whose recipe name is suggestive of Southern France, be cast as French style? The answer is mixture of different country styles: 32% French; 26% Italian; and 38% Spanish.
Of course, limiting the study to just the ingredients means that the typical cooking styles of each cuisine are not captured. However, it does leave the actual realization of the dish to the chef and this might just produce a better result.
Given our expectations of Xbox games, you might consider writing a game within a 13K limit, which is the challenge for the annual js13K competition far too restrictive. Its results are now out and prove that it is possible to produce a game that is fun to play.
Apple has updated its developer web portal adding a new section entitled "Making Great Apps for the App Store" aimed at helping developers grow their businesses and reach more users with their apps.
- Registration Now Open For Apple Developer Conference
- Robot Fear Of Falling - South Koreans Win DARPA Robotics Challenge
- App Locates People Even When There Is No Service
- We May Have Lost At Go, But We Still Stack Stones Better
- Self Driving Car Challenge
- Automata Theory on Coursera
- Simulating the Turing-Welchman Bombe With A Pi
- Underhanded C Contest - The Winner
- Gordon Bell Prize For Simulating The Earth's Interior
- Firefox Developer Edition Goes Quantum
- Coinbase Online Bitcoin Hackathon
- Visual Studio 2017 Released