{"id":206935,"date":"2017-07-21T12:16:06","date_gmt":"2017-07-21T16:16:06","guid":{"rendered":"http:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/artificial-intelligence-suggests-recipes-based-on-food-photos-mit-news\/"},"modified":"2017-07-21T12:16:06","modified_gmt":"2017-07-21T16:16:06","slug":"artificial-intelligence-suggests-recipes-based-on-food-photos-mit-news","status":"publish","type":"post","link":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/artificial-intelligence\/artificial-intelligence-suggests-recipes-based-on-food-photos-mit-news\/","title":{"rendered":"Artificial intelligence suggests recipes based on food photos &#8211; MIT News"},"content":{"rendered":"<p><p>    There are few things social media users love more than flooding    their feeds with photos of food. Yet we seldom use these images    for much more than a quick scroll on our cellphones.  <\/p>\n<p>    Researchers from MITs Computer Science and Artificial    Intelligence Laboratory (CSAIL) believe that analyzing photos    like these could help us learn recipes and better understand    people's eating habits. In a new paper with the Qatar Computing Research    Institute (QCRI), the team trained an artificial    intelligence system called Pic2Recipe to look at a photo of food and be able    to predict the ingredients and suggest similar recipes.  <\/p>\n<p>    In computer vision, food is mostly neglected because we dont    have the large-scale datasets needed to make predictions, says    Yusuf Aytar, an MIT postdoc who co-wrote a paper about the    system with MIT Professor Antonio Torralba. But seemingly    useless photos on social media can actually provide valuable    insight into health habits and dietary preferences.  <\/p>\n<p>    The paper will be presented later this month at the Computer    Vision and Pattern Recognition conference in Honolulu. CSAIL    graduate student Nick Hynes was lead author alongside Amaia    Salvador of the Polytechnic University of Catalonia in Spain.    Co-authors include CSAIL postdoc Javier Marin, as well as    scientist Ferda Ofli and research director Ingmar Weber of    QCRI.  <\/p>\n<p>    How it works  <\/p>\n<p>    The web has spurred a huge growth of research in the area of    classifying food data, but the majority of it has used much    smaller datasets, which often leads to major gaps in labeling    foods.  <\/p>\n<p>    In 2014 Swiss researchers created the Food-101 dataset and used it to develop an    algorithm that could recognize images of food with 50 percent    accuracy. Future iterations only improved accuracy to about 80    percent, suggesting that the size of the dataset may be a    limiting factor.  <\/p>\n<p>    Even the larger datasets have often been somewhat limited in    how well they generalize across populations. A database from    the City University in Hong Kong has over 110,000 images and    65,000 recipes, each with ingredient lists and instructions,    but only contains Chinese cuisine.  <\/p>\n<p>    The CSAIL teams project aims to build off of this work but    dramatically expand in scope. Researchers combed websites like    All Recipes and Food.com to develop Recipe1M, a database of    over 1 million recipes that were annotated with information    about the ingredients in a wide range of dishes. They then used    that data to train a neural network to find patterns and make    connections between the food images and the corresponding    ingredients and recipes.  <\/p>\n<p>    Given a photo of a food item, Pic2Recipe could identify    ingredients like flour, eggs, and butter, and then suggest    several recipes that it determined to be similar to images from    the database. (The team has an online    demo where people can upload their own food photos to test    it out.)  <\/p>\n<p>    You can imagine people using this to track their daily    nutrition, or to photograph their meal at a restaurant and know    whats needed to cook it at home later, says Christoph    Trattner, an assistant professor at MODUL University Vienna in    the New Media Technology Department who was not involved in the    paper. The teams approach works at a similar level to human    judgement, which is remarkable.   <\/p>\n<p>    The system did particularly well with desserts like cookies or    muffins, since that was a main theme in the database. However,    it had difficulty determining ingredients for more ambiguous    foods, like sushi rolls and smoothies.  <\/p>\n<p>    It was also often stumped when there were similar recipes for    the same dishes. For example, there are dozens of ways to make    lasagna, so the team needed to make sure that system wouldnt    penalize recipes that are similar when trying to separate    those that are different. (One way to solve this was by seeing    if the ingredients in each are generally similar before    comparing the recipes themselves).  <\/p>\n<p>    In the future, the team hopes to be able to improve the system    so that it can understand food in even more detail. This could    mean being able to infer how a food is prepared (i.e. stewed    versus diced) or distinguish different variations of foods,    like mushrooms or onions.  <\/p>\n<p>    The researchers are also interested in potentially developing    the system into a dinner aide that could figure out what to    cook given a dietary preference and a list of items in the    fridge.  <\/p>\n<p>    This could potentially help people figure out whats in their    food when they dont have explicit nutritional information,    says Hynes. For example, if you know what ingredients went    into a dish but not the amount, you can take a photo, enter the    ingredients, and run the model to find a similar recipe with    known quantities, and then use that information to approximate    your own meal.  <\/p>\n<p>    The project was funded, in part, by QCRI, as well as the    European Regional Development Fund (ERDF) and the Spanish    Ministry of Economy, Industry, and Competitiveness.  <\/p>\n<p><!-- Auto Generated --><\/p>\n<p>Read this article:<\/p>\n<p><a target=\"_blank\" rel=\"nofollow\" href=\"http:\/\/news.mit.edu\/2017\/artificial-intelligence-suggests-recipes-based-on-food-photos-0720\" title=\"Artificial intelligence suggests recipes based on food photos - MIT News\">Artificial intelligence suggests recipes based on food photos - MIT News<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p> There are few things social media users love more than flooding their feeds with photos of food. Yet we seldom use these images for much more than a quick scroll on our cellphones. Researchers from MITs Computer Science and Artificial Intelligence Laboratory (CSAIL) believe that analyzing photos like these could help us learn recipes and better understand people's eating habits <a href=\"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/artificial-intelligence\/artificial-intelligence-suggests-recipes-based-on-food-photos-mit-news\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[187742],"tags":[],"class_list":["post-206935","post","type-post","status-publish","format-standard","hentry","category-artificial-intelligence"],"_links":{"self":[{"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/posts\/206935"}],"collection":[{"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/comments?post=206935"}],"version-history":[{"count":0,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/posts\/206935\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/media?parent=206935"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/categories?post=206935"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.euvolution.com\/prometheism-transhumanism-posthumanism\/wp-json\/wp\/v2\/tags?post=206935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}