Sunday, December 9, 2012

Storytelling software learns how to tell a good tale

"MY, WHAT a big mouth you have, Grandma," says Little Red Riding Hood, with just a hint of suspicion. The wolf sneezes. "Bless you," says the little girl.

Sound odd? That's because this snippet of Little Red Riding Hood was written not by a person but by a piece of software called Xapagy. It may not seem like much, but it demonstrates a first step towards computers that can invent stories. It also signals a new approach to designing a more human-like artificial intelligence.

Lotzi B?l?ni of the University of Central Florida first fed Xapagy stories, which had been manually translated into a language the system can understand. But instead of using these stories to build rigid logic rules for future actions, as most AI systems would, Xapagy keeps them just as they are - a series of interconnected events.

When it comes across words in new stories, it looks for familiar connections in its memory. If it finds any, it uses them to predict what will happen next and then tells the story. The trick is that each word can have many different associations in Xapagy's memory, depending on the stories it has read. When it doesn't find any clear connections, it just substitutes in its own word that makes grammatical sense, like the sneezing wolf, and continues the story in a way that makes narrative sense (arxiv.org/abs/1211.5643).

"The idea of an architecture based on narrative is clever," says Stan Franklin of the University of Memphis, who developed the famous AI system LIDA. "It might lead to learning about narrative, an important topic in cognition."

Xapagy works in a mix of English and a computer language called Xapi, which allows for easier communication between the two. The sentence, "My, what a big mouth you have Grandma" translates as "mouth - of - 'Grandma'/ wh is-a / big?" in Xapi.

Currently, B?l?ni must translate all material for Xapagy to learn by hand, a major bottleneck in giving it a big enough memory to be able to tell rich, interesting stories. Once it can build up a large enough back catalogue of stories, B?l?ni expects Xapagy will be able to think up entirely new stories on its own.

AI researcher Andrew Nuxoll at the University of Portland in Oregon says Xapagy is "entirely unique".

Most AI systems form rigid logical rules based on their observations of the world. This can be limiting, as it prevents robots and computers from tackling unfamiliar tasks. "If B?l?ni is successful, it would result in a much more flexible way of learning," Nuxoll says.

B?l?ni's work is a step towards human-like AI, Nuxoll adds. "I am confident that when we do create such a brain it will have a capacity to remember, learn and re-learn from its past."

If you would like to reuse any content from New Scientist, either in print or online, please contact the syndication department first for permission. New Scientist does not own rights to photos, but there are a variety of licensing options available for use of articles and graphics we own the copyright to.

Have your say

Only subscribers may leave comments on this article. Please log in.

Only personal subscribers may leave comments on this article

Subscribe now to comment.

All comments should respect the New Scientist House Rules. If you think a particular comment breaks these rules then please use the "Report" link in that comment to report it to us.

If you are having a technical problem posting a comment, please contact technical support.

Source: http://feeds.newscientist.com/c/749/f/10897/s/26642e27/l/0L0Snewscientist0N0Carticle0Cmg216289450B70A0A0Estorytelling0Esoftware0Elearns0Ehow0Eto0Etell0Ea0Egood0Etale0Bhtml0Dcmpid0FRSS0QNSNS0Q20A120EGLOBAL0Qonline0Enews/story01.htm

Chi Magazine Kate Middleton Nude Photos glee glee boxing news Coptic Christian saturday night live

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.