Connect with us

Culture

Could Monkeys Really Type All of Shakespeare?

Published

on

Could Monkeys Really Type All of Shakespeare?

Science doesn’t usually tolerate frivolity, but the infinite monkey theorem enjoys an exception. The question it poses is thoroughly outlandish: Could an infinite number of monkeys, each given an infinite amount of time to peck away at a typewriter (stocked with an infinite supply of paper, presumably) eventually produce, by pure chance, the complete works of William Shakespeare?

The problem was first described in a 1913 paper by the French mathematician Émile Borel, a pioneer of probability theory. As modernity opened new scientific fronts, approaches to the theorem also evolved. Today, the problem pulls in computer science and astrophysics, among other disciplines.

In 1979, The New York Times reported on a Yale professor who, using a computer program to try to prove this “venerable hypothesis,” managed to produce “startlingly intelligible, if not quite Shakespearean” strings of text. In 2003, British scientists put a computer into a monkey cage at the Paignton Zoo. The outcome was “five pages of text, primarily filled with the letter S,” according to news reports. In 2011, Jesse Anderson, an American programmer, ran a computer simulation with much better results, albeit under conditions that — like the Yale professor’s — mitigated chance.

A new paper by Stephen Woodcock, a mathematician at the University of Technology Sydney, suggests that those efforts may have been for naught: It concludes that there is simply not enough time until the universe expires for a defined number of hypothetical primates to produce a faithful reproduction of “Curious George,” let alone “King Lear.” Don’t worry, scientists believe that we still have googol years — 10¹⁰⁰, or 1 followed by 100 zeros — until the lights go out. But when the end does come, the typing monkeys will have made no more progress than their counterparts at the Paignton Zoo, according to Dr. Woodcock.

“It’s not happening,” Dr. Woodcock said in an interview. The odds of a monkey typing out the first word of Hamlet’s famous “To be or not to be” soliloquy on a 30-key keyboard was 1 in 900, he said. Not bad, one could argue — but every new letter offers 29 fresh opportunities for error. The chances of a monkey spelling out “banana” are “approximately 1 in 22 billion,” Dr. Woodcock said.

Advertisement

The idea for the paper came to Dr. Woodcock during a lunchtime discussion with Jay Falletta, a water-usage researcher at the University of Technology Sydney. The two were working on a project about washing machines, which strain Australia’s extremely limited water resources. They were “a little bit bored” by the task, Dr. Woodcock acknowledged. (Mr. Falletta is a co-author on the new paper.)

If resources for washing clothes are limited, why shouldn’t typing monkeys be similarly constrained? By neglecting to impose a time or monkey limit on the experiment, the infinite monkey theorem essentially contains its own cheat code. Dr. Woodcock, on the other hand, opted for a semblance of reality — or as much reality as a scenario featuring monkeys trying to write in iambic pentameter would allow — in order to say something about the interplay of order and chaos in the real world.

Even if the life span of the universe were extended billions of times, the monkeys would still not accomplish the task, the researchers concluded. Their paper calls the infinite monkey theorem “misleading” in its fundamental assumptions. It is a fitting conclusion, perhaps, for a moment when human ingenuity seems to be crashing hard against natural constraints.

Low as the chances are of a monkey spelling out “banana,” they are still “an order of magnitude which is in the realm of our universe,” Dr. Woodcock said. Not so with longer material such as the children’s classic “Curious George” by Margret Rey and H.A. Rey, which contains about 1,800 words. The chances of a monkey replicating that book are 1 in 10¹⁵⁰⁰⁰ (a 1 followed by 15,000 zeros). And, at nearly 836,000 words, the collected plays of Shakespeare are about 464 times longer than “Curious George.”

“If we replaced every atom in the universe with a universe the size of ours, it would still be orders of magnitude away from making the monkey typing likely to succeed,” Dr. Woodcock said.

Advertisement

Like other monkey theorem enthusiasts, Dr. Woodcock mentioned a famous episode of “The Simpsons,” in which the crusty plutocrat C. Montgomery Burns tries the experiment, only to fly into a fury when a monkey mistypes the opening sentence of Charles Dickens’s “A Tale of Two Cities.” In reality, the monkey’s achievement (“It was the best of times, it was the blurst of times”) would have been a stunning triumph over randomness.

Outside cartoons, such successes are unlikely. First, there is cosmic death to consider. Many physicists believe that in 10¹⁰⁰ years — a much larger number than it might seem in type — entropy will have caused all the heat in the universe to dissipate. Far away as that moment may be, experts do think it is coming.

Then there’s the availability of monkeys. Of the more than 250 possible species, Dr. Woodcock selected chimpanzees, our closest genomic kin, to mimic the Bard. He enlisted 200,000 — the entire population of chimps currently on Earth — until the end of time. (Optimistically, he did not to plan for the species’ dwindling or extinction. Nor did he consider constraints like the availability of paper or electricity; the study does not specify which platform the monkeys might use.)

Monkeys intent on recreating Shakespeare would also need editors, with a strict reinforcement training regimen that allowed for learning — and a lot of it, since Dr. Woodcock set each monkey’s life span at 30 years. “If it’s cumulative, obviously, you can get somewhere,” said Richard Dawkins, the evolutionary biologist, who discusses the typing monkeys in “The Blind Watchmaker,” his 1986 book about evolution. Unless the typing were “iterative,” though, Dr. Dawkins said in an interview, progress would be impossible.

The new paper has been mocked online because the authors purportedly fail to grapple with infinity. Even the paper’s title, “A numerical evaluation of the Finite Monkeys Theorem,” seems to be a mathematical bait-and-switch. Isn’t infinity a basic condition of the infinite monkey theorem?

Advertisement

It shouldn’t be, Dr. Woodcock seems to be saying. “The study we did was wholly a finite calculation on a finite problem,” he wrote in an email. “The main point made was just how constrained our universe’s resources are. Mathematicians can enjoy the luxury of infinity as a concept, but if we are to draw meaning from infinite-limit results, we need to know if they have any relevance in our finite universe.”

This conclusion circles back to the French mathematician Borel, who took an unlikely turn into politics, eventually fighting against the Nazis as part of the French Resistance. It was during the war that he introduced an elegant and intuitive law that now bears his name, and which states: “Events with a sufficiently small probability never occur.” That is where Dr. Woodcock lands, too. (Mathematicians who believe the infinite monkey theorem holds true cite two related, minor theorems known as the Borel-Cantelli lemmas, developed in the prewar years.)

The new paper offers a subtle comment on the seemingly unbridled optimism of some proponents of artificial intelligence. Dr. Woodcock and Mr. Falletta note, without truly elaborating, that the monkey problem could be “very pertinent” to today’s debates about artificial intelligence.

For starters, just as the typing monkeys will never write “Twelfth Night” without superhuman editors looking over their shoulders, so increasingly powerful artificial intelligences will require increasingly intensive human input and oversight. “If you live in the real world, you have to do real-world limitation,” said Mr. Anderson, who conducted the 2011 monkey experiment.

There is no free lunch, so to speak, said Eric Werner, a research scientist who runs the Oxford Advanced Research Foundation and has studied various forms of complexity. In a 1994 paper about ants, Dr. Werner laid out a guiding principle that, in his view, applies equally well to typing monkeys and today’s language-learning models: “Complex structures can only be generated by more complex structures.” Lacking constant curation, the result will be a procession of incoherent letters or what has come to be known as “A.I. slop.”

Advertisement

A monkey will never understand Hamlet’s angst or Falstaff’s bawdy humor. But the limits of A.I. cognition are less clear. “The big question in the industry is when or if A.I. will understand what it is writing,” Mr. Anderson said. “Once that happens, will A.I. be able to surpass Shakespeare in artistic merit and create something as unique as Shakespeare created?”

And when that day comes, “Do we become the monkeys to the A.I.?”

Culture

Try This Quiz on Oscar-Winning Adaptations of Popular Books

Published

on

Try This Quiz on Oscar-Winning Adaptations of Popular Books

Welcome to Great Adaptations, the Book Review’s regular multiple-choice quiz about works that have gone on to find new life as movies, television shows, theatrical productions — or even books. With the Academy Award nominations announced last week, this week’s challenge celebrates past Oscar-winning films that were based on books. Just tap or click your answers to the five questions below. And scroll down after you finish the last question for links to the books and their filmed versions.

Continue Reading

Culture

What Kind of Lover Are You? This William Blake Poem Might Have the Answer.

Published

on

What Kind of Lover Are You? This William Blake Poem Might Have the Answer.

Advertisement

Not every poem about love is a love poem. This one, from William Blake’s “Songs of Innocence and of Experience,” first published in 1794, is more analytical than romantic. Instead of roses and violets, it offers us dirt and rocks.

William Blake (1757-1827), obscure in his own time and a hero to later generations of poets and spiritual seekers, made his living as an engraver and illustrator. He conceived and executed many of his poetic projects as works of visual as well as literary art, etching his verses and images onto copper plates and printing them in vivid color — a style designed to blur the boundary between word and picture.

Advertisement

From a 1795 copy of William Blake’s “Songs of Innocence and of Experience.”

The Trustees of the British Museum

Advertisement

“The Clod & the Pebble” is set in a rustic tableau populated by wild and domesticated animals. In the print, we can’t quite see the main characters, who are presumably somewhere beneath the hooves and the ripples. But the cows and sheep, the frogs and the duck, are nonetheless connected to the poem’s meaning.

The two sections of “Songs of Innocence and of Experience” are meant to illustrate “the contrary states of the human soul” — the purity and wonder associated with early childhood and the harder knowledge that inevitably follows.

Advertisement

“The Clod & the Pebble” recapitulates this fall from sweetness into disillusionment, and the plate suggests it in contrasting ways. The wild animals down below symbolize a natural condition of innocence, while the livestock above live in confinement, bound to another’s use. At the same time, though, the cows and sheep are peaceful ruminants, while the frogs and the duck are predators.

In the poem, the Clod is an avatar of innocence. As it happens, this is a recurring character in the Blakean poetic universe. In “The Book of Thel,” a fantastical meditation composed a few years before the publication of “Songs of Innocence and of Experience,” the Clod appears as a maternal figure selflessly nursing a baby worm:

Advertisement

The Clod of Clay heard the Worms voice, & raisd her pitying head; 

She bowd over the weeping infant, and her life exhald 

In milky fondness 

Advertisement

“We live not for ourselves,” she tells the poem’s heroine, a young girl named Thel. But in Blake’s system self-sacrifice can never be the last word. There is no innocence without the fall into experience, and no experience without the memory of innocence. Giving gives way to wanting.

Want to learn this poem by heart? We’ll help.

Get to know the poem better by filling in the missing words below.

Advertisement

Question 1/6

First, the Clod’s perspective.

Advertisement

Love seeketh not Itself to please, 

Nor for itself hath any care; 

Advertisement

Tap a word above to fill in the highlighted blank.

Advertisement

Continue Reading

Culture

Try This Quiz on Myths and Stories That Inspired Recent Books

Published

on

Try This Quiz on Myths and Stories That Inspired Recent Books

Welcome to Lit Trivia, the Book Review’s regular quiz about books, authors and literary culture. This week’s challenge tests your memory of 21st-century books that were inspired by ancient myths, legends and folk tales. In the five multiple-choice questions below, tap or click on the answer you think is correct. After the last question, you’ll find links to the books if you’d like to do further reading.

Continue Reading
Advertisement

Trending