Can computers rap better than humans (or should that be vice versa)?

Online games like BotPoet challenge you to identify whether verse is generated by a computer or a human

Rhodri Marsden
Thursday 28 May 2015 11:38 BST
Comments
Setting the bar low: LL Cool J
Setting the bar low: LL Cool J (Rex Features)

Your support helps us to tell the story

From reproductive rights to climate change to Big Tech, The Independent is on the ground when the story is developing. Whether it's investigating the financials of Elon Musk's pro-Trump PAC or producing our latest documentary, 'The A Word', which shines a light on the American women fighting for reproductive rights, we know how important it is to parse out the facts from the messaging.

At such a critical moment in US history, we need reporters on the ground. Your donation allows us to keep sending journalists to speak to both sides of the story.

The Independent is trusted by Americans across the entire political spectrum. And unlike many other quality news outlets, we choose not to lock Americans out of our reporting and analysis with paywalls. We believe quality journalism should be available to everyone, paid for by those who can afford it.

Your support makes all the difference.

"You're somebody whether you know it or not/ Outside the weather is hot." Can computers write rap lyrics? That's a tricky question. They can evidently put together sentences that rhyme, or arrange words in a way that looks like poetry – there's evidence of that right across the web. But can they do it in a way that provokes thought, wonder or admiration? Can they do it better than humans?

Based on the couplet at the beginning of this column, you'd think the answer was "no" – but actually, that was written by LL Cool J. Yes, a human being came up with that. "So if your computer fancies having a go/ the bar has been set pretty low."

Eric Malmi, a student at the University of Aalto in Finland, fancied the challenge. In a recent paper entitled "A Computational Approach to Rap Lyrics Generation", he describes how he instructed a computer to absorb the lyrical nuance of some 10,000 songs and use that a basis to generate verse. Detecting and generating rhyme was probably the easiest challenge; if the vowel sounds at the end of lines are the same, bingo. Generating something that makes sense is a little harder.

While Malmi's program can match up original pairs of lines in its database with 82 per cent accuracy, its attempts at using those lines creatively are less impressive: "My brother I love you/ Be encouraged man/ And just know/ When you done let me know 'cause my love make you be like whoa."

Hm. But then again, 2 Chainz came up with: "She got a big booty/ So I call her Big Booty." So it's not impossible to foresee a day when a powerful computer could give a rapper on a tight deadline a run for his money.

People can get rather upset about the idea of computers being creative, rather than merely facilitating our own creative impulses. Emily Howell has released two albums of compositions since 2010, but they remain deeply controversial – because she's not human.

David Cope, a professor at the University of California, started Emily as a project to analyse his own music to see if similar pieces could be automatically generated. While doing so, he realised he could use the same algorithm to simulate other great composers.

Many in the classical world were appalled by the idea of a computer producing compositions based upon music it had absorbed (even though humans do something very similar) so Cope tried to get Emily composing in her "own style" instead. The resulting music is perfectly pleasant, but your response to it is coloured by knowing how it was made. It feels as if it's lacking in idiosyncrasy. You can tell that it's a computer. At least, I think you can. It's hard to know. Because you already know.

BotPoet, a neat online game created by Oscar Schwartz, a student at Monash University, Melbourne, challenges you to identify whether verse is generated by a computer or a human.

While playing the game, I misattributed poems by Tristan Tzara and Robert Fitterman to computers – so who knows, maybe we're reaching some kind of tipping point?

But this: "Lemonade was a popular drink and it still is/ I get more props and stunts than Bruce Willis." This could only have been written by a human. (It's from Gang Starr's "DWYCK".) Computers will have to up their game if they're ever going to come up with something that preposterous.

Twitter.com/rhodri

Join our commenting forum

Join thought-provoking conversations, follow other Independent readers and see their replies

Comments

Thank you for registering

Please refresh the page or navigate to another page on the site to be automatically logged inPlease refresh your browser to be logged in