Skip to main content

We asked a neural network to bake us a cake. The results were...interesting.

[ad_1]


When computers try to imitate humans, they often get confused. But simulated brain cells in so-called neural networks can mimic our problem-solving skills. An AI will look at a dataset, figure out its governing rules, and use those instructions to make something new. We already employ these bots to recognize faces, drive cars, and caption images for the blind. But can a computer cook? I fed a neural network thousands of recipes and asked it to whip up something of its own. It spat out an...interesting dish.



Amnesiac AI



To keep processing fast, the network recalls only 65 characters at a time. It adds cocoa just before it would otherwise forget we’re making “chocolate.” Hopefully it forgets that black puddings usually feature blood.



Word salad



Title, category, ingredients, directions. It gets this format every time because of consistency across all the recipes we pulled from. But my AI hasn’t seen as many examples of how to use rare ingredients like sesame.



Date holy



Sounds like frosting! We’re staying in dessert territory. But what’s with the name? Capital letters are tough; they’re treated as unrelated to lowercase. A neural net has to learn these from scratch with few examples.


Sweet defeat



The ingredient list has already passed out of memory. Chocolate is just a lucky guess pulled from your average cookbook. “Until golden brown” could mean sweet or savory, and ambiguity confuses the network. Garlic? Game over.



Feedback



The confused network is spitting out random words—creating more confusion, leading to more random words. But it remembered to close its parenthesis. There’s probably a neuron solely devoted to parentheses.



Yum?



Words like “frost” or “serve” can cue a ­network to finish; many recipes in our dataset end this way. Ours just happened to give up—it could have kept going forever. We were making cake, right? Let’s say it’s cake.





This article was originally published in the Spring 2018 Intelligence issue of Popular Science.




[ad_2]

Written By Janelle Shane

Comments

Popular posts from this blog

Ice technicians are the secret stars of the Winter Olympics

[ad_1] The emphasis of this year's two-week-long Winter Olympic Games has been placed squarely on the Olympians themselves. After all, the stated purpose of the international competition is to bring together the world’s greatest athletes in a nail-biting competition across fifteen different winter sports. But before the curlers, skiers, and skaters even arrived in Pyeongchang, South Korea, the Olympians of the ice technician world were already a few weeks deep in a competition of their own. Mark Callan of the World Curling Federation and Markus Aschauer of the International Bobsleigh and Skeleton Federation both say they’re hoping to make the best ice the Winter Olympics have ever seen. To transform the barren concrete jungle of existing tracks and arenas into an ice- and snow-covered wonderland is an enormous undertaking. And it takes a keen understanding of the physics and chemistry that keeps frozen precipitation pristine. Curling Callan has been making and maintaining ic...

Humans flourished through a supervolcano eruption 74,000 years ago (so you can make it through Tuesday)

[ad_1] About 74,000 years ago, a large chunk of a Pacific island exploded. It sent ash and other debris around the world, including to the southern tip of Africa, where it would be found by a team of international scientists and entered as the latest data point in one of the hottest debates in paleoanthropology ( I know ): Did the Toba supervolcano thrust our planet into a 1,000-year volcanic winter, thus bottle-necking animals and plants alike? Or was it just a little blip on our historic radar? That’s the contentious arena into which our intrepid researchers venture, this time with a new study in Nature establishing that humans in modern-day South Africa not only survived, but flourished after the Toba eruption. Where once was (we think, maybe) a mountain, there is now a huge caldera with a lake inside, and an island inside that. Their evidence shows that debris from the explosion landed 9,000 kilometers (5592.3 miles) away, the farthest distance traveled ever recorded for the ...

These 1950s experiments showed us the trauma of parent-child separation. Now experts say they're too unethical to repeat—even on monkeys.

[ad_1] John Gluck’s excitement about studying parent-child separation quickly soured. He’d been thrilled to arrive at the University of Wisconsin at Madison in the late 1960s, his spot in the lab of renowned behavioral psychologist Harry Harlow secure. Harlow had cemented his legacy more than a decade earlier when his experiments showed the devastating effects of broken parent-child bonds in rhesus monkeys. As a graduate student researcher, Gluck would use Harlow’s monkey colony to study the impact of such disruption on intellectual ability. Gluck found academic success, and stayed in touch with Harlow long after graduation. His mentor even sent Gluck monkeys to use in his own laboratory. But in the three years Gluck spent with Harlow—and the subsequent three decades he spent as a leading animal researcher in his own right—his concern for the well-being of his former test subjects overshadowed his enthusiasm for animal research. Separating parent and child,...