For human beings struggling with obesity, logging calorie counts and different nutritional data at each meal is a tested way to lose weight. The method does require consistency and accuracy, however, and whilst it fails, it’s typical because human beings do not have the time to locate and file all the statistics they need.
a few years in the past, a crew of nutritionists from Tufts University who were experimenting with cellular-smartphone apps for recording caloric consumption approached individuals of the Spoken Language Systems institution at MIT’s laptop technological know-how and synthetic Intelligence Laboratory (CSAIL), with the concept of a spoken-language software that might make meal logging even less complicated.
This week, at the global conference on Acoustics, Speech, and Signal Processing in Shanghai, the MIT researchers are presenting a web-primarily based prototype in their speech-controlled nutrition-logging system.
With it, the consumer verbally describes the contents of a meal, and the gadget parses the description and routinely retrieves the pertinent dietary records from an online database maintained via the U.S. branch of Agriculture (USDA).
The information is displayed collectively with pictures of the corresponding foods and pull-down menus that permit the consumer to refine their descriptions—selecting, as an example, particular quantities of food. but those refinements can also be made verbally. A user who starts via saying, “For breakfast, I had a bowl of oatmeal, bananas, and a glass of orange juice” can then make the amendment, “I had 1/2 a banana,” and the device will replace the information it shows approximately bananas at the same time as leaving the relaxation unchanged.
“What [the Tufts nutritionists] have skilled is that the apps that have been available to help human beings try and log meals tended to be a touch tedious, and therefore people didn’t preserve up with them,” says James Glass, a senior research scientist at CSAIL, who leads the Spoken Language structures group. “so that they have been searching out methods that were accurate and smooth to enter records.”
the first creator on the new paper is Mandy Korpusik, an MIT graduate scholar in electrical engineering and computer technology. She’s joined through Glass, who is her thesis marketing consultant; her fellow graduate pupil Michael fee; and by Calvin Huang, an undergraduate researcher in Glass’s group.
inside the paper, the researchers report the effects of experiments with a speech-recognition gadget that they developed specially to handle food-related terminology. however that wasn’t the main attention in their paintings; indeed, a web demo of their meal-logging system as an alternative uses Google’s unfastened speech-popularity app.
Their studies targeting two different troubles. One is figuring out words’ useful role: The machine wishes to apprehend that if the user data the phrase “bowl of oatmeal,” nutritional records on oatmeal is pertinent, however, if the word is “oatmeal cookie,” it’s not.
the other hassle is reconciling the consumer’s phraseology with the entries in the USDA database. as an example, the USDA statistics on oatmeal is recorded under the heading “oats”; the phrase “Oatmeal” indicates up nowhere within the access.
To address the first problem, the researchers used system getting to know. via the Amazon Mechanical Turk crowdsourcing platform, they recruited employees who without a doubt defined what they had eaten at latest food, then categorized the pertinent phrases within the description as names of ingredients, portions, logo names, or modifiers of the food names. In “bowl of oatmeal,” “bowl” is an amount and “oatmeal” is a meal, however in “oatmeal cookie,” oatmeal is a modifier.
once they had roughly 10,000 labeled meal descriptions, the researchers used system-learning algorithms to find patterns within the syntactic relationships between phrases that might perceive their functional roles.
To translate between users’ descriptions and the labels within the USDA database, the researchers used an open-source database known as Freebase, which has entries on greater than 8,000 commonplace food items, lots of which consist of synonyms. wherein synonyms had been lacking, they again recruited Mechanical Turk workers to deliver them.
The model of the system presented at the convention is intended mainly to illustrate the viability of its technique to natural-language processing; it reports calorie counts but would not yet total them automatically. A version that does is in the works, however, and when it’s entire, the Tufts researchers plan to conduct a person examine to determine whether or not it certainly makes nutrition logging easier.
“I think logging is particularly useful for many humans,” says Susan Roberts, director of the strength Metabolism Lab at Tufts’ USDA-subsidized Jean Mayer Human nutrients studies middle on getting old. “It makes people more self-aware of the junk they’re eating and the way little they virtually experience it, and the surprise of large portions, et cetera. but currently, it’s miles really tedious to log your food. There are any number of programs like MyFitnessPal where you can manually input it by way of hand, but regardless of shortcuts it is tedious and not as user pleasant because it wishes to be for tens of millions of people to use it sincerely often.”