Emerging Technologies

The End: how this algorithm is improving automated stories

The signature reading "Napoleon" written by the aide of late French Emperor Napoleon weeks before his death is seen on documents coming from a private collection of eight codicils dictated by the incapacitated Emperor and displayed in Paris, September 26, 2013. Following his defeat at the Battle of Waterloo, Napoleon was exiled to the remote South Atlantic island of St Helena where he lived out his days and died on May 5, 1821. The documents to be auctioned come from a private collection and are two of eight codicils to the emperor's will, most of which are kept at the French national archives. The documents themselves are currently being housed in a book shop in central Paris but will go under the hammer on November 6th and are expected to fetch between 80,000 and 120,000 euros. REUTERS/Christian Hartmann (FRANCE - Tags: SOCIETY) - PM1E99Q1AUU01

Technology is now getting creative. Image: REUTERS/Christian Hartmann

Byron Spice-Carnegie Mellon
Writer, Futurity

The problem is that most algorithms for generating the end of a story tend to favor generic sentences, such as “They had a great time,” or “He was sad.” Those may be boring, but Alan Black, a professor in the Language Technologies Institute at Carnegie Mellon University, says they aren’t necessarily worse than a non sequitur such as “The UFO came and took them all away.”

In a paper they presented at the Second Workshop of Storytelling in Florence, Italy, Black and colleagues outline a model for generating endings both relevant to the story and diverse enough to be interesting.

One trick to balancing these goals, Black says, is to require the model to incorporate some key words into the ending that relate to those used early in the story. At the same time, using some rare words at the ending, in hopes of choosing one not totally predictable, rewards the model.

Consider this bot-generated story: “Megan was new to the pageant world. In fact, this was her very first one. She was really enjoying herself, but was also quite nervous. The results were in and she and the other contestants walked out.”

Existing algorithms generated these possible endings: “She was disappointed the she couldn’t have to learn how to win,” and “The next day, she was happy to have a new friend.”

Have you read?

The new algorithm produced this ending: “Megan won the pageant competition.”

None of the selections represent deathless prose, Black acknowledges, but the endings the new model generated scored higher than the older models when scored automatically and by three human reviewers.

Researchers have worked on conversational agents for years, but automated storytelling presents new technical challenges.

“In a conversation, the human’s questions and responses can help keep the computer’s responses on track,” Black says.

“When the bot is telling a story, however, that means it has to remain coherent for far longer than it does in a conversation.”

Automated storytelling might be useful for generating substories in videogames, Black says, or for generating stories that summarize presentations at a conference. Generating instructions for repairing something or using complicated equipment customized to a user’s skill or knowledge level, or to the exact tools or equipment available to the user are other possible applications, he says.

Don't miss any update on this topic

Create a free account and access your personalized content collection with our latest publications and analyses.

Sign up for free

License and Republishing

World Economic Forum articles may be republished in accordance with the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Public License, and in accordance with our Terms of Use.

The views expressed in this article are those of the author alone and not the World Economic Forum.

Stay up to date:

Digital Communications

Related topics:
Emerging TechnologiesIndustries in DepthFourth Industrial Revolution
Share:
The Big Picture
Explore and monitor how Digital Communications is affecting economies, industries and global issues
A hand holding a looking glass by a lake
Crowdsource Innovation
Get involved with our crowdsourced digital platform to deliver impact at scale
World Economic Forum logo
Global Agenda

The Agenda Weekly

A weekly update of the most important issues driving the global agenda

Subscribe today

You can unsubscribe at any time using the link in our emails. For more details, review our privacy policy.

Generative AI and the workforce: 10 big trends we're seeing right now

David Elliott

November 25, 2024

AI at work: A practical guide to implementing and scaling new tools

About us

Engage with us

  • Sign in
  • Partner with us
  • Become a member
  • Sign up for our press releases
  • Subscribe to our newsletters
  • Contact us

Quick links

Language editions

Privacy Policy & Terms of Service

Sitemap

© 2024 World Economic Forum