• Subscribe

The neural food network

Speed read
  • Algorithm can change a recipe from one dietary style to another
  • Neural network suggests replacement ingredients according to regional style
  • Accommodating dietary style preferences may encourage healthier eating

You just found a great recipe for gumbo on the internet: Simple, tasty, nutritious. But it calls for alligator meat, and you’re a long way from the bayou.

You’re also not sure where you’re going to get a pound of fresh crawfish tails. But dinner needs to be on the table in an hour—what to do?

<strong>Stir it up. </strong> Top 5 authentic ingredients for regional cuisines. Courtesy Masahiro Kazama, et al.

How about a deep-learning algorithm to the rescue? Researchers in Japan and the United States have trained a neural network to transform recipes from one dietary style into another, suggesting substitutions for ingredients and techniques.

Its potential applications lie far beyond convenience. The scientists who developed the algorithm hope that it may one day transform recipes for favorite foods into healthier versions—no matter where they are in the world.

“The basic motivating idea is that if one wants to change eating behavior to improve health, then people must want to eat the dishes, and this may be a culturally-defined thing,” says Lav Varshney, professor of electrical and computer engineering at the University of Illinois at Urbana-Champaign

Map de cuisine

Varshney and his collaborators trained their neural network using nearly 40,000 recipes from the online repository Yummly.

The network learned to identify a recipe’s dominant dietary style by calculating the contribution of each its ingredients to 20 pre-selected regional cuisines, such as Thai, Russian, or Cajun Creole.

The team used word2vec, a technique common in natural language processing, that locates words in a vector space in order to extract their context. Applied to cuisine, word2vec considers recipes as sentences and ingredients as words, mapping the similarity of various ingredients.

Word2vec was then extended to incorporate countries and regions, allowing the network to calculate the analogy between countries and ingredients. It then had the capacity to answer queries such as “What French ingredient corresponds to Japanese soy sauce?”

<strong> Come and get it!</strong> Modulate your tired old recipe into a new culinary key with algorithmic adaptations of Yummly recipes. Here's a French version of sukiyaki. Courtesy Keisuke Matsushima, Masahiro Kazama, et al.

To produce a Japanese sukiyaki in the French style, the network suggested replacing the original Japanese ingredients of soy sauce, beef sirloin, white sugar, green onions, mirin, shiitake, egg, vegetable oil, konnyaku, and Chinese cabbage with French ingredients such as Calvados, bouquet garni, fresh tarragon, and melted butter.

Keisuke Matsushima, a two-star Michelin chef who presides at an eponymous restaurant in Nice, France, prepared the recipe of sukiyaki in the French style and declared it a success.

Health and style

The final result may seem like stunt cooking with little practical application, but the researchers hope that their methods will lead to changed eating behaviors and healthier populations around the world.

As “modern” dietary styles reach into all parts of the globe, public health suffers. More than 1.3 billion people around the world are obese. Diabetes and heart disease are worldwide epidemics.

But current strategies such as taxes on soft drinks and restricting junk food advertising are not producing the desired outcomes.

“Voluntary guidelines and piecemeal nutrition initiatives have failed to create a system with the right signals, and the odds remain stacked against the achievement of a healthy, balanced diet,” says Olivier de Schutter, the United Nations Special Rapporteur on the right to food.

<strong>Cooking by numbers. </strong> Ingredients and country maps correlated in 2D via algorithmic conversion from word to vector. Now healthier, tastier variations are within your grasp. Courtesy Masahiro Kazama, et al.

Previous nutrition research has determined what makes a recipe healthy. But if that recipe doesn’t appeal to an individual or a population, it won’t be adopted, no matter how great the health benefits it promises.

“The goal is to transform healthy recipes into regional cuisine styles that are more likely to be accepted by people in large populations,” says Varshney. “It could be used by people in their homes, or by chefs, or even multinational food manufacturers.”

And those alligator steaks? Not to worry: a serving of stewed crocodile contains less fat and nearly twice the protein of chicken. Maybe you should consider it as a substitute the next time you’re planning to cook up a chicken pot pie .

Join the conversation

Do you have story ideas or something to contribute? Let us know!

Copyright © 2023 Science Node ™  |  Privacy Notice  |  Sitemap

Disclaimer: While Science Node ™ does its best to provide complete and up-to-date information, it does not warrant that the information is error-free and disclaims all liability with respect to results from the use of the information.


We encourage you to republish this article online and in print, it’s free under our creative commons attribution license, but please follow some simple guidelines:
  1. You have to credit our authors.
  2. You have to credit ScienceNode.org — where possible include our logo with a link back to the original article.
  3. You can simply run the first few lines of the article and then add: “Read the full article on ScienceNode.org” containing a link back to the original article.
  4. The easiest way to get the article on your site is to embed the code below.