Skip to content
Search AI Powered

Latest Stories

Artificial Intelligence Takes A Stab At Writing The Next "Game Of Thrones" Book

Artificial Intelligence Takes A Stab At Writing The Next "Game Of Thrones" Book

A software engineer programmed a recurrent neural network (RNN) to begin writing the upcoming novel in the famous ‘A Song of Ice and Fire’ series. Five chapters of the artificial intelligence-written novel exist thus far.

If there is one thing A Song of Ice and Fire fans know about author George R. R. Martin, it is that he is a notoriously slow and deliberate writer.

Some fans fear with Martin’s “advancing age” — he is only 68, but fans are watching the clock anxiously — and painstaking, laborious writing habits, he will never finish the final two books of the famed series.


With no release date in sight for the next book, already titled The Winds of Winter, anticipation led software engineer Zack Thoutt to seize control by using artificial intelligence to write the next book himself.

“I'm a huge fan of Game of Thrones, the books and the show,” Thoutt, who had just completed a Udacity course on artificial intelligence and deep learning, told Motherboard in an interview.

Thoutt began by adding the 5,376 pages of the five existing Ice and Fire books to the network.

Then, Thoutt started each chapter by providing a prime word to a recurrent neural network (RNN) — a type of computing system inspired by biological neural networks — and afterward gave the RNN an established word count for that chapter. For a bit of context, words can translate into numbers in programming. A prime word relates to when numbers are written in bases — or the numbers used as the basis of a numeration scale. Up to base 26, words are considered prime (as opposed to composite, square or perfect), because all 26 letters in the English alphabet are used.

According to Thoutt, “With a vanilla neural network you take a set of input data, pass it through the network, and get a set of outputs. In order to train these models you need to know what the model should ideally output, which is often called your labels or target variables. The neural network compares the data it outputs with the targets and updates the network learns to better mimic the targets.”

He added, “I had worked with RNNs a bit in that class and thought I’d give working with the books a shot.”

Some logistical issues arose. For example, the RNN would have functioned at a superior level if it had 100 times the content it used — essentially, even more writing from George R. R. Martin. Simpler vocabulary would have also proven more effective to the AI’s storytelling skills.

“Martin is obviously very descriptive in his writing, so those extra adjectives and the fictional locations and titles are just more complications for the network,” Thoutt explained.

The RNN missed some key details, like characters that had previously died, according to Thoutt.

The first five chapters of the AI-written novel — nearly 5,400 pages — are available on GitHub. Chapter one is also posted on Motherboard.

An excerpt of the AI-written novel reads, “Jaime yelped, in the dirt, and came to climb off beside his bedchamber, and we could almost find the tunnel at once, but we’d shut it without battle if she sings, then, and you may storm woods for fire to the west, where we feed the others. The rats come home to their lives!”

Though the segments of the written novel are grammatically near-perfect, only readers and fans can determine whether the story itself would be up to Martin’s high standard.

Predictions, such as Cersei’s death by brother/lover Jaime, a new character called Greenbeard, as well as Daenerys’ demise by Varys’ hand occur in the artificial intelligence version. However, there is no evidence that Martin plans to write any of these scenarios.

Unfortunately, fans of Game of Thrones books will have to wait another two years to find out.

In the meantime, other fan projects are in progress: a website called Inverse is requesting fan theories for the final season of the TV show. From there, the site is working with a firm, Unanimous AI, to determine hivemind predictions of the events to come.

As for George R. R. Martin, who really knows what the contemporary king of murderous literary surprises has in store for fans?

All of that beautiful, disturbing prose comes from his brilliant mind, but it could take some time to have it all in our possession. There is only one certainty: as Tom Petty famously put it, “the waiting is the hardest part.”

More from News

Screenshot of Lisa and Dr. Mehmet Oz
The Katie Miller Podcast

Dr. Oz Accidentally Tells The Truth About The Trump Administration's Gaslighting—And Yeah, That Tracks

Speaking on the podcast of former Trump administration official Katie Miller, Dr. Mehmet Oz, Trump's administrator of the Centers for Medicare & Medicaid Services, accidentally told the truth about the administration's gaslighting of the American public.

Oz admitted that people "might not like us" but then had a Freudian slip that says all you need to know about an administration that is called out on a daily basis for openly lying and obfuscating.

Keep ReadingShow less
Karoline Leavitt
Saul Loeb/AFP via Getty Images

Karoline Leavitt Gets Awkward Reminder After Claiming Anything On Truth Social Is 'Directly From President Trump'

During the Wednesday press briefing, White House Press Secretary Karoline Leavitt directly contradicted her boss, MAGA Republican President Donald Trump.

Leavitt told the White House press corps:

Keep ReadingShow less
Keke Palmer attends the 8th Annual American Black Film Festival Honors at SLS Hotel.
Savion Washington/WireImage via Getty Images

Keke Palmer Explains Why She's 'Almost 100% Sure' She's Asexual In Candid Post—And Fans Are Here For Her

Keke Palmer had the internet talking after revealing she is “almost 100 percent sure” that she’s asexual. The Emmy-winning actress shared the revelation in a sultry Valentine’s Day Instagram post featuring a chic pixie cut, a champagne-toned halter corset top, a thin gold necklace, and stud earrings.

But while the photos turned heads, it was her caption that sparked the conversation.

Keep ReadingShow less
Reese's Peanut Butter Cups; Brad Reese's Open Letter to Todd Scott
Julia Ewan/TWP/Getty Images; Brad Reese/LinkedIn

Grandson Of Reese's Founder Shames Hershey Co. For 'Replacing' Candy's Iconic Ingredients In Powerful Open Letter

Brad Reese, the grandson of H.B. Reese, who invented Reese's Peanut Butter Cups, is now speaking up about the quality of the product and his grandfather's original promise: real peanut butter and real milk chocolate.

When H.B. Reese invented the deliciously simple candy, he pointed out that using real ingredients wasn't a marketing tactic for him; it was a promise to the consumer that they knew what they were eating, and that what they were eating was real food.

Keep ReadingShow less
Elon Musk
Harun Ozalp/Anadolu via Getty Images

X User Asks What The First Thing You'd Do If You 'Wake Up As Elon Musk'—And Everyone Had The Same Idea

Billionaire Elon Musk was widely mocked on his own platform after X user @buffys opened a veritable Pandora's box by asking what people would do if they woke up as him one day.

The question was simple:

Keep ReadingShow less