HANOVER, N.H. (AP) — Computers are pretty good at stocking shelves and operating cars, but are not so great at writing poetry.
Scientists in a Dartmouth College competition reached that conclusion after designing artificial intelligence algorithms that could produce sonnets. Judges compared the results with poems written by humans to see if they could tell the difference.
In every instance, the judges were able to find the sonnet produced by a computer program.
The yearlong competition was a variation of the "Turing Test," named for British computer scientist Alan Turing, who in 1950 proposed an experiment to determine if computers could have humanlike intelligence. Results were announced Wednesday night.
A three-judge panel that included Pulitzer Prize-winning author Louis Menand was asked to read 10 submissions — six produced by humans and four by two different algorithms. The machines were given nouns — including "wave," ''tourist" and "floor"— and programmed to produce a sonnet. The software packages didn't have the flow or narrative of a good poem.
Some also had "idiosyncrasies of syntax and diction, uses of language that were just a little off," Menand said in an email interview.
Competition co-founder Dan Rockmore, a Dartmouth professor, said he was surprised at the computers' poor showing. But he wasn't that surprised.
"The judges were hunting for machines so they are not looking at a Hallmark card and reading the poem inside," he added.
The results of the competition also included a short story segment and one involving computer and human DJs. Computer algorithms were not much better at writing short stories, failing to fool a panel of judges — although one judge was tricked by one story.
The sets of music produce by DJs — played behind a black curtain at Dartmouth's Hood Museum of Art — were more of a challenge with dancers having a difficult time determining who produced the various sets. Two algorithm entries managed to confound about 40 percent of the dancers.
There have been several efforts to create computer programs that can generate music or text, including a novel this year in Japan written by humans and an artificial intelligence program. The Associated Press, for example, is using computer programs to automatically generate business earnings reports.
Michael Casey, a professor who also helped organize the Dartmouth competition, said the results demonstrated the challenges posed to machines when they try to mimic the arts — though he wasn't giving up that one day a computerized Shakespeare would emerge. (Casey is no relation to the writer of this news article.)
"All the nuance of a story, all the form and precision in a poem, can that be replicated by algorithm? Maybe," Casey said. "By doing this once, we may be able to encourage whoever is out there working on this kind of thing to take part and maybe we will get better algorithms."
However, Sherry Turkle, a professor at Massachusetts Institute of Technology and the author of "Reclaiming Conversation: The Power of Talk in a Digital Age," who did not take part in the contest, questions the whole idea of trying to get a machine to write a poem.
"Poetry needs to come from the experience of human meaning. That is what gives it life," she said in an email.
Rockmore and Casey countered that algorithms already are playing a role in choosing the books people read and the music they listen to. It would be just a matter of time before computers generate the actual content that is read — but rather than a writer, the artist would be the programmer designing the algorithm.
"What if you could write beautiful stories that made people happy at the snap of your fingers," Rockmore said. "That would be a wonderful thing. It wouldn't mean humans weren't writing great things, too. They are both different art forms."