Columns > Published on May 4th, 2022

Ghost in the Machine: Can A.I. Write a Good Book?

In the middle of the pandemic, anxious to distract myself from the quiet hellscape outside my apartment, I began experimenting with GPT-2 and GPT-3, which are successive generations of A.I.-powered automated text generators. In simplest terms, you upload a huge file of text, and the platform’s algorithms learn how to mimic the text’s style and cadence.

I uploaded ten years’ worth of my writing to GPT-2, which was created by OpenAI, a semi-nonprofit (it’s complicated) that wants A.I. and machine-learning tools used in virtuous ways. OpenAI initially refused to release the software out of fear that it would generate unstoppable amounts of “fake news.” I was more interested in whether I could use the thing to create a novel in my voice.

For those who are terrified that A.I. will effortlessly churn out fiction, robbing them of a job: there’s zero need for concern, at least for the next decade or two. While state-of-the-art algorithms can expertly mimic your voice, they have no idea about story, structure, emotion, character, or even Earth’s prevailing physics and biology. For example:

Miller climbed into the trash can and sat in the flames, chin on chest, trying to think of something else to do. In the middle of the parking lot stood Bob, shaking like a leaf. Miller made a deep, sad sound. Bob stared at him, saying nothing.

With the A.I., everything is a dreamlike jumble. I ended up incorporating several passages of my pet A.I.’s musings as dream sequences in my new pulp novel, Payback Is Forever, but it’d be difficult to use the machine to create a longer narrative that makes any sense. That hasn’t stopped some folks from trying to create longer artworks with a little help from an algorithm, though. Here are some interesting examples: 

“The Policeman’s Beard is Half-Constructed”

Released in 1984, the same year as the Apple Macintosh, “The Policeman’s Beard is Half-Constructed” features an impressive boast on its cover: “The first book ever written by a computer.” The software responsible for this absurdist mélange of poetry and prose, dubbed Racter, was supposedly developed by William Chamberlain and Thomas Etter, although a fascinating article in Electronic Book Review casts some doubts on the latter’s existence.

The processing power available to developers in the early 1980s was prehistoric by today’s standards, and (according to the Electronic Book Review article) Chamberlain and Etter wrote Racter in compiled BASIC on a Z80 micro with 64k of RAM—essentially, a small fraction of the processing power available on that iPhone in your pocket. What’s interesting, though, is the prose it produced, which bears a lot of similarities to the output of modern text generators powered by machine-learning algorithms and infinite, cloud-based processing power.

“I fantasize about the jackal and the crow, about the crow in the expectations of the jackal,” reads one passage. Chamberlain claims he made no substantial edits to the prose, and it’s all rather Dadaist, or what a sensitive high-schooler might write in their notebook after breaking into their older goth sister’s absinthe.  

“1 the Road”

In 2018, Jean Boîte Éditions published 1 the Road, a book written by an A.I. created by Ross Goodwin. The underlying premise was straightforward, Goodwin had retraced Jack Kerouac’s famous journey from New York to New Orleans, driving a black Cadillac outfitted with four sensors (camera, GPS, microphone, and an internal clock). The A.I.’s underlying algorithms, trained on a combination of poetry and bleak literature, responded to incoming data from the various sensors by generating location-appropriate text.

A story in The Atlantic, recapping the journey, gives examples of the output: “Eagles Nest Diner: a american restaurant in Goldsborough or the Marine Station, a place of fish seemed to be a man who has been assembled for three days.” Like The Policeman’s Beard is Half-Constructed, it’s all dreamlike with flashes of almost human-like creativity and insight. Goodwin claims he printed out the output without any editing. 

“The Day a Computer Writes a Novel”

The novella The Day a Computer Writes a Novel, created by a research team at Future University in Hakodate, Japan, was nominated for (and had a serious shot of winning) the Hoshi Shinichi Literary Award, which accepts entries from humans and A.I. The researchers provided an outline, and their creation’s algorithms took it from there. The human part of it (the structure) apparently impressed the judges, but the computer-generated characters weren’t fleshed out enough for the novella to advance in competition.

NaNoGenMo

National Novel Generation Month (NaNoGenMo) has been going for eight years. An obvious play on the ultra-famous NaNoWriMo, in which writers try to churn out a 50,000-word novel in a month, NaNoGenMo tasks volunteers with creating an algorithm that’ll generate a 50,000-word novel. The project got a lot of buzz circa 2014-16, and still seems to be underway on GitHub. One of the most notable offshoots of NaNoGenMo, a gritty comic titled “Generated Detective” is a bit reminiscent of David Lynch


What do you think? Is there a future for the computer generated novel? Are we living in it? Input your test in the comments. 


Get Payback Is Forever at Bookshop or Amazon 

About the author

Nick Kolakowski is the author of the noir thrillers Boise Longpig Hunting Club and A Brutal Bunch of Heartbroken Saps. He's also an editor for Shotgun Honey, a site devoted to flash-crime fiction, and host of the Noir on the Radio podcast. His short work has appeared in Thuglit, Mystery Tribune, Spinetingler, McSweeney's Internet Tendency, and various anthologies. He lives and writes in New York City, and has zero desire to move to a stereotypical writer's cabin in the middle of nowhere.

Similar Columns

Explore other columns from across the blog.

Book Brawl: Geek Love vs. Water for Elephants

In Book Brawl, two books that are somehow related will get in the ring and fight it out for the coveted honor of being declared literary champion. Two books enter. One book leaves. This month,...

The 10 Best Sci-Fi Books That Should Be Box Office Blockbusters

It seems as if Hollywood is entirely bereft of fresh material. Next year, three different live-action Snow White films will be released in the States. Disney is still terrorizing audiences with t...

Books Without Borders: Life after Liquidation

Though many true book enthusiasts, particularly in the Northwest where locally owned retailers are more common than paperback novels with Fabio on the cover, would never have set foot in a mega-c...

From Silk Purses to Sows’ Ears

Photo via Freeimages.com Moviegoers whose taste in cinema consists entirely of keeping up with the Joneses, or if they’re confident in their ignorance, being the Joneses - the middlebrow, the ...

Cliche, the Literary Default

Original Photo by Gerhard Lipold As writers, we’re constantly told to avoid the cliché. MFA programs in particular indoctrinate an almost Pavlovian shock response against it; workshops in...

A Recap Of... The Wicked Universe

Out of Oz marks Gregory Maguire’s fourth and final book in the series beginning with his brilliant, beloved Wicked. Maguire’s Wicked universe is richly complex, politically contentious, and fille...

Reedsy | Editors with Marker (Marketplace Editors)| 2024-05

Submitting your manuscript?

Professional editors help your manuscript stand out for the right reasons.