Artificial Intelligence Is Writing The Next Game Of Thrones Book, And It May Just Have Proved Some Long-Held Fan Theories

game of thrones

game of thrones

Tyrion could hear Lord Aemon’s coughing. “I miss for it. Why did you proper?”

“I feared Master Sansa, Ser,” Ser Jaime reminded her. “She Baratheon is one of the crossing. The second sons of your onion concubine.”

AIM Daily XO

Join our editors every weekday evening as they steer you through the most significant news of the day, introduce you to fresh perspectives, and provide unexpected moments of joy
Your newsletter subscriptions are subject to AIM Privacy Policy and Terms and Conditions.

The above excerpt may have familiar names such as Tyrion, Aemon, Sansa and Jamie, but the dialogue may have left many people scratching their heads.

Now that the seventh season of HBO’s popular fantasy series Game of Thrones is over, most of the fans are waiting with bated breath to see what’s gonna happen next.


Download our Mobile App



Fans of both the television show as well as its origin — George RR Martin’s bestselling series The Song of Fire and Ice — have been waiting for years since Martin still hasn’t been able to complete the sixth book in the series. Titled by Martin as The Winds of Winter, the book is still in the works.

But now, an enthusiastic fan of the The Song of Fire and Ice series, has created a type of Artificial Intelligence (AI), known as a “recurrent neural network” (RNN) to complete the book for him. The above (somewhat confusing) excerpt was from the AI’s first five chapters.

“I’m a huge fan of Game of Thrones, the books and the show… I had worked with RNNs a bit in that class and thought I’d give working with the books a shot,” said software engineer Zack Thoutt.

After adding the the 5,376 pages of the first five books in the series to the network, Thoutt has produced five predicted chapters and published them on the GitHub page for the project.

The AI has taken the job seriously, because it has already written about Jaime killing Cersei, Jon riding a dragon, and Varys poisoning Danaerys in its first five chapters.

Thoutt said that the AI was trying to write a new book.

“A perfect model would take everything that has happened in the books into account and not write about characters being alive when they died two books ago… The reality, though, is that the model isn’t good enough to do that. If the model were that good authors might be in trouble. The model is striving to be a new book and to take everything into account, but it makes a lot of mistakes because the technology to train a perfect text generator that can remember complex plots over millions of words doesn’t exist yet,” he said.

Sign up for The Deep Learning Podcast

by Vijayalakshmi Anandan

The Deep Learning Curve is a technology-based podcast hosted by Vijayalakshmi Anandan - Video Presenter and Podcaster at Analytics India Magazine. This podcast is the narrator's journey of curiosity and discovery in the world of technology.

Prajakta Hebbar
Prajakta is a Writer/Editor/Social Media diva. Lover of all that is 'quaint', her favourite things include dogs, Starbucks, butter popcorn, Jane Austen novels and neo-noir films. She has previously worked for HuffPost, CNN IBN, The Indian Express and Bose.

Our Upcoming Events

24th Mar, 2023 | Webinar
Women-in-Tech: Are you ready for the Techade

27-28th Apr, 2023 I Bangalore
Data Engineering Summit (DES) 2023

23 Jun, 2023 | Bangalore
MachineCon India 2023 [AI100 Awards]

21 Jul, 2023 | New York
MachineCon USA 2023 [AI100 Awards]

3 Ways to Join our Community

Telegram group

Discover special offers, top stories, upcoming events, and more.

Discord Server

Stay Connected with a larger ecosystem of data science and ML Professionals

Subscribe to our Daily newsletter

Get our daily awesome stories & videos in your inbox
MOST POPULAR

Council Post: The Rise of Generative AI and Living Content

In this era of content, the use of technology, such as AI and data analytics, is becoming increasingly important as it can help content creators personalise their content, improve its quality, and reach their target audience with greater efficacy. AI writing has arrived and is here to stay. Once we overcome the initial need to cling to our conventional methods, we can begin to be more receptive to the tremendous opportunities that these technologies present.