Poetic AI system pens Shakespeare-like sonnets

Image
Press Trust of India Toronto
Last Updated : Aug 09 2018 | 2:00 PM IST

Could artificial intelligence (AI) write sonnets as good as the Bard? A poetry writing algorithm developed by scientists was able to fool people trying to distinguish between human- and bot-written verses nearly 50 per cent of the time.

However, experts could still easily identify machine-generated poetry, and AI may have a long way to go before it can outdo Shakespeare, researchers said.

Computer scientists at University of Melbourne in Australia and University of Toronto in Canada designed an algorithm that writes poetry following the rules of rhyme and metre.

In some ways, the computer's verses were better than Shakespeare's. The rhymes and metre in the machine-generated poetry were more precise than in human-written poems.

The best version of the algorithm fooled people nearly 50 per cent of the time.

However "Deep-speare" still has a long way to go before it writes anything worthy of the Western canon, researchers said.

"It's very easy for me to tell what's by a computer or not ridiculously easy," said Adam Hammond, an assistant professor at University of Toronto.

"We solved two out of four problems," Hammond says, referring to rhyme and metre.

"The other two are much harder: making something that's readable and something that can evoke emotion in a reader," he said.

Researchers trained a neural network using nearly 2,700 sonnets from a free digital library.

The computer uses three models - language, metre and rhyming - and probability to pick the right words for its poem. It produced quatrains, or four lines of verse, in iambic pentameter.

The researchers assessed their results by asking people online to tell the human and algorithm poetry apart.

Most laymen could not tell that verses like this one were the work of a programmed poet: "With joyous gambols gay and still array/ No longer when he twas, while in his day/ At first to pass in all delightful ways/ Around him, charming and of all his days."
However, Deep-speare didn't fool the expert. Hammond said it was easy to spot the computer's verses because they were often incoherent and contained grammatical errors like the one above: "he twas."

Disclaimer: No Business Standard Journalist was involved in creation of this content

*Subscribe to Business Standard digital and get complimentary access to The New York Times

Smart Quarterly

₹900

3 Months

₹300/Month

SAVE 25%

Smart Essential

₹2,700

1 Year

₹225/Month

SAVE 46%
*Complimentary New York Times access for the 2nd year will be given after 12 months

Super Saver

₹3,900

2 Years

₹162/Month

Subscribe

Renews automatically, cancel anytime

Here’s what’s included in our digital subscription plans

Exclusive premium stories online

  • Over 30 premium stories daily, handpicked by our editors

Complimentary Access to The New York Times

  • News, Games, Cooking, Audio, Wirecutter & The Athletic

Business Standard Epaper

  • Digital replica of our daily newspaper — with options to read, save, and share

Curated Newsletters

  • Insights on markets, finance, politics, tech, and more delivered to your inbox

Market Analysis & Investment Insights

  • In-depth market analysis & insights with access to The Smart Investor

Archives

  • Repository of articles and publications dating back to 1997

Ad-free Reading

  • Uninterrupted reading experience with no advertisements

Seamless Access Across All Devices

  • Access Business Standard across devices — mobile, tablet, or PC, via web or app

More From This Section

First Published: Aug 09 2018 | 2:00 PM IST

Next Story