An algorithm walks into a bar and orders a new joke

I'm sceptical about the marriage of machines and creativity

Share

Most of us don’t notice algorithms unless they go wrong. When an online retailer sends an email suggesting purchases they think you’d like, every one of them is a Sylvester Stallone movie because you Googled a trip to the Rocky Mountains a few days ago. Or, as happened last year, when Amazon had to remove T-shirts from sale because they were plastered with “Keep Calm and Choke Her”. The slogans were being generated by an algorithm trawling the internet for verb-noun combinations. But no one had thought to add a moral dimension to the equation, which would tell the computerised process that threats of violence might be in poor taste.

Even though the T-shirt designs might not have taken the fashion world by storm, this is still the way that more and more creative work is being done: an algorithm, albeit one designed by a person, now invents things which were once the preserve of human creativity – not just clothing slogans, but art, poetry and jokes.

I’ve tended to be sceptical about the marriage of machines and creativity. Isn’t the whole point of a poem that it speaks from one human being to another? When I read Virgil’s Aeneid, it doesn’t matter that it was written 2,000 years ago by a man I wouldn’t have understood. It couldn’t matter less that the big emotional scene is between the queen of Carthage and a prince of Troy. All that matters is that Dido’s heart is broken by Aeneas leaving, just like our hearts were once broken by people who weren’t good enough for us (though we sensibly didn’t throw ourselves on a pyre when they finally left).

The problem is, if anything, even more difficult when it comes to humour. Making people laugh is a difficult business at the best of times. Context is everything, which is why it’s so hard to make jokes work in translation. Word order, puns, references, resonance – all these things change from one culture to another, and from one language to another. On top of that, jokes aren’t a rarefied art form. They have to appeal to a mass audience. Think how feeble Christmas cracker jokes need to be to ensure they can be understood by everyone from small children to their great-grandparents.

And jokes are themselves only a part of what makes something funny. As Frank Carson succinctly put it: “It’s the way I tell ’em.” Comedians are more than the sum of their material: they’re performers. How can a machine in a lab replicate any of that? Quite aside from the strange dynamics of an audience, whose presence can have an alchemical reaction – their laughter redoubling not because of the comedian they’re watching, but because of the response of the rest of the audience.

I’ve just made a documentary for Radio 4 (who else?) about computational creativity – I’m not an expert on algorithms at all, but I do understand something about the difficulties that any performer or artist needs to overcome if they’re going to connect with an audience. The work that computers are creating (once the algorithm is in place) is incredibly wide ranging: visual art, poetry made out of tweets produced over the previous 24 hours, even comic one-liners.

The poetry is, unnervingly, no worse than Adrian Mole’s teenage efforts. Simon Colton of Goldsmiths College showed me how his algorithms search the day’s newspapers to calculate, from the headlines, whether it’s a happy day or a sad one. The programme’s mood is thus decided, and it can write something akin to poetry by picking key words from the newspaper articles themselves. Mr Colton’s computer can also turn Twitter into verse, finding short chunks of prose which fit the mood he’s chosen, then picking tweets which rhyme and scan and putting them in a meaningful order.

The jokes are the really tricky thing. Computers are getting better at identifying what might seem funny, but comedians don’t need to worry yet. Some scientists think that humour is the final piece of the artificial intelligence jigsaw: when computers can make us laugh, they will be as intelligent as humans. So when HAL takes over the world, at least he’ll have a punchline.

React Now

Latest stories from i100
Have you tried new the Independent Digital Edition apps?
iJobs Job Widget
iJobs General

Mobile Developer (.NET / C# / Jason / Jquery / SOA)

£40000 - £65000 per annum + bonus + benefits + OT: Ampersand Consulting LLP: M...

Humanities Teacher - Greater Manchester

£22800 - £33600 per annum: Randstad Education Manchester Secondary: The JobAt ...

Design Technology Teacher

£22800 - £33600 per annum: Randstad Education Manchester Secondary: Calling al...

Foundation Teacher

£100 - £125 per day: Randstad Education Chelmsford: EYFS Teachers - East Essex...

Day In a Page

Read Next
Critics of Fiona Woolf say she should step down amid accusations of an establishment cover-up  

Fiona Woolf resignation: As soon as she became the story, she had to leave

James Ashton
 

Letters: Electorate should be given choice on drugs policy

Independent Voices
The drugs revolution starts now as MPs agree its high time for change

The drugs revolution starts now as MPs agree its high time for change

Commons debate highlights growing cross-party consensus on softening UK drugs legislation, unchanged for 43 years
The camera is turned on tabloid editors in Richard Peppiatt's 'One Rogue Reporter'

Gotcha! The camera is turned on tabloid editors

Hugh Grant says Richard Peppiatt's 'One Rogue Reporter' documentary will highlight issues raised by Leveson
Fall of the Berlin Wall: It was thanks to Mikhail Gorbachev that this symbol of division fell

Fall of the Berlin Wall

It was thanks to Gorbachev that this symbol of division fell
Halloween 2014: What makes Ouija boards, demon dolls, and evil clowns so frightening?

What makes ouija boards and demon dolls scary?

Ouija boards, demon dolls, evil children and clowns are all classic tropes of horror, and this year’s Halloween releases feature them all. What makes them so frightening, decade after decade?
A safari in modern Britain: Rose Rouse reveals how her four-year tour of Harlesden taught her as much about the UK as it did about NW10

Rose Rouse's safari in modern Britain

Rouse decided to walk and talk with as many different people as possible in her neighbourhood of Harlesden and her experiences have been published in a new book
Welcome to my world of no smell and odd tastes: How a bike accident left one woman living with unwanted food mash-ups

'My world of no smell and odd tastes'

A head injury from a bicycle accident had the surprising effect of robbing Nell Frizzell of two of her senses

Matt Parker is proud of his square roots

The "stand-up mathematician" is using comedy nights to preach maths to big audiences
Paul Scholes column: Beating Manchester City is vital part of life at Manchester United. This is first major test for Luke Shaw, Angel Di Maria and Radamel Falcao – it’s not a game to lose

Paul Scholes column

Beating City is vital part of life at United. This is first major test for Shaw, Di Maria and Falcao – it’s not a game to lose
Frank Warren: Call me an old git, but I just can't see that there's a place for women’s boxing

Frank Warren column

Call me an old git, but I just can't see that there's a place for women’s boxing
Adrian Heath interview: Former Everton striker prepares his Orlando City side for the MLS - and having Kaka in the dressing room

Adrian Heath's American dream...

Former Everton striker prepares his Orlando City side for the MLS - and having Kaka in the dressing room
Simon Hart: Manchester City will rise again but they need to change their attitude

Manchester City will rise again but they need to change their attitude

Manuel Pellegrini’s side are too good to fail and derby allows them to start again, says Simon Hart
Isis in Syria: A general reveals the lack of communication with the US - and his country's awkward relationship with their allies-by-default

A Syrian general speaks

A senior officer of Bashar al-Assad’s regime talks to Robert Fisk about his army’s brutal struggle with Isis, in a dirty war whose challenges include widespread atrocities
‘A bit of a shock...’ Cambridge economist with Glasgow roots becomes Zambia’s acting President

‘A bit of a shock...’ Economist with Glasgow roots becomes Zambia’s acting President

Guy Scott's predecessor, Michael Sata, died in a London hospital this week after a lengthy illness
Fall of the Berlin Wall: History catches up with Erich Honecker - the East German leader who praised the Iron Curtain and claimed it prevented a Third World War

Fall of the Berlin Wall

History catches up with Erich Honecker - the East German leader who praised the Iron Curtain and claimed it prevented a Third World War
How to turn your mobile phone into easy money

Turn your mobile phone into easy money

There are 90 million unused mobiles in the UK, which would be worth £7bn if we cashed them in, says David Crookes