Tue December 25, 2012
Computers May Someday Beat Chefs At Creating Flavors We Crave
Originally published on Thu December 27, 2012 10:06 am
Mario Batali, watch your back.
Computer scientists at IBM have already built a computer that can beat human contestants on the TV quiz show, "Jeopardy." Now it appears they're sharpening their intellectual knives to make a computer that might someday challenge the competitors on "Iron Chef."
This is no trivial pursuit. Beating humans in a quiz show was a high-water mark for the computer science field. It meant designing a computer that understood how humans think. Now the plan is to design a computer that can understand how humans dream up new ideas, including new recipes.
"The goal in computational creativity is to come up with new things that have never been seen before," says Lav Varshney, a computer scientist at IBM. (Watch him explain the idea in the video below.)
Why focus on food? "Because food is so visceral," says Varshney. Everyone eats. It helps define our culture."
Culinary creativity isn't just about coming up with something novel. Varshney and his colleagues are hoping to make a computer that will be able to come up with recipes that taste good and don't add to our waistlines.
So how do you turn a computer into a culinary genius? The first step is to give the computer access to a database of recipes that are already being used successfully. "Then we remix them, substitute things, do all kinds of other modifications and generate millions of new ideas for recipes," says Varshney.
"The second step is to take those millions of ideas and find the best ones. To do that we try to predict what humans will find flavorful, based on some basic ideas from chemistry and psychology."
For example, they started with an idea known as the flavor pairing hypothesis. "The basic idea is that two ingredients that share a lot of flavor compounds will go together well in Western cuisine," says Varshney. (We wrote about a University of Cambridge study on this concept just last year.)
But Varshney and his colleagues are not just interested in things that are flavorful, but also food combinations that are perceived as novel — like bell peppers and black tea, blue cheese and dark chocolate — even turmeric and black currants. They have some ideas from information theory and psychology that will help them come up with more.
The computer has already spit out some interesting suggestions. For example, last week Varshney and his colleagues tried a computer-generated recipe that was a mash up of a Spanish paella and an Indian curry. "It had turmeric and some other Indian spices and potatoes, pork and beef and then it has a kinda of a mango rum topping," says Varshney.
And how did it taste? "I'm actually vegetarian so I didn't eat that one, but the team did," he says. "They thought it was pretty good."
Varshney is hoping that their work will lead to make school lunches more attractive to students. They also hope it will help combat obesity by finding dishes that will satisfy people's food cravings without the accompanying calories.
Varshney says the work to create to a computerized top chef is just starting. IBM doesn't expect the computer will be ready for prime time for five years or so.
ROBERT SIEGEL, HOST:
From NPR News, this is ALL THINGS CONSIDERED. I'm Robert Siegel.
Scientists at IBM have already built a computer that can beat humans on "Jeopardy!"And now, they are sharpening their intellectual knives to make a computer that might someday challenge competitors on "Iron Chef." NPR's Joe Palca gives us a taste of the future.
JOE PALCA, BYLINE: The idea isn't really to win another TV competition. It's to explore the new field of computer science called computational creativity. Lav Varshney is a computer scientist at IBM Research.
LAV VARSHNEY: The whole goal in computational creativity is to come up with new things that have never been seen before.
PALCA: And not just new things. The computer is trying to create things that are useful or aesthetically pleasing.
VARSHNEY: And in particular, we were thinking about culinary creativity because food is so visceral, right? Everyone eats. It helps define our culture.
PALCA: Varshney says there are two steps to making a computer that can be creative in the kitchen. The first is to give the computer access to a huge number of recipes that are already popular, what Varshney calls the computer's inspiration database. Then, the computer rearranges the recipes, adds new ingredients and generates millions of new ideas for recipes.
VARSHNEY: And then the second step is actually to take those millions ideas and actually find the best ones.
PALCA: That's the tricky bit, since taste tend to be idiosyncratic. Some people actually like pimento cheese sandwiches or pig brains in milk gravy. Varshney says he and his colleagues are relying on a concept from culinary circles called the flavor pairing hypothesis.
VARSHNEY: The basic idea is that two ingredients that share a lot of flavor compounds will go together well in Western cuisine.
PALCA: Varshney says he gives the computer information about the chemical components of various foods and let's the computer generate possible combinations. That's led to predictions of things going together that you might not expect.
VARSHNEY: Things like chocolate and blue cheese, we predict, will go together well or Jamaican rum and blue cheese.
PALCA: I found a recipe for a cake with chocolate and blue cheese on the Internet, so somebody seems to think that pairing works. Now, if you're thinking there's just no way a computer will ever be as creative a chef as Julia Child or James Beard, computer scientist Celine Latulipe says you're not alone.
CELINE LATULIPE: There are still many people who say, I don't think computers can be creative. And if a computer created this, then I don't think it's creative just because a computer created it.
PALCA: Latulipe is at the University of North Carolina, Charlotte. She's pretty convinced computers can be creative and her research is about how you would assess that creativity. She has developed a set of criteria - criteria that could be applied to Varshney's computer to see if it's being creative. For example, there's a quality she calls fluency.
LATULIPE: The number of ideas created. So that would be the number of different recipes that this thing comes up with.
PALCA: And then how original are the recipes.
LATULIPE: Are these actually new and different.
PALCA: And also quality.
LATULIPE: Are they actually good and relevant and useful.
PALCA: The IBM scientists aren't ready to put their computer to those tests yet. They're still in the early stages of developing it. But Lav Varshney says the computer has already come up with some interesting recipes. For example, it proposed a kind of mash-up between an Indian curry and a Spanish paella.
VARSHNEY: It had turmeric and some other Indian spices and potatoes, pork and beef. And then it had kind of a mango rum topping.
PALCA: OK. Sounds intriguing. But how did it taste?
VARSHNEY: I'm actually vegetarian, so I didn't eat that one. But the team did, so they thought it was pretty good.
PALCA: I'll buy that. It actually does sound pretty good. Joe Palca, NPR News, Washington. Transcript provided by NPR, Copyright NPR.