Software engineer Zack Thoutt is as frustrated with ‘Game of Thrones’ as we are.
With season six now over it’s very likely that we will have to wait until 2019 before we finally get the conclusion to HBO’s astonishing adaptation of George R.R. Martin’s fantasy series.
Thankfully for Zack, and for us, he recently just finished learning about a type of AI known as Recurrent Neural Networks (RNN).
Using his newly built AI Zack commanded that it finish the final book, ‘The Winds of Winter’ and finish it the AI did.
In a fascinating interview with Motherboard, Thoutt explains how he accomplished a task that Martin has been working on since 2011.
“With a vanilla neural network you take a set of input data, pass it through the network, and get a set of outputs,” explains Thoutt.
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.”
In this instance, Thoutt fed the AI every single previous book from the series, it then taught the AI not to repeat itself which in turn meant that the AI should be able to comfortably move the plot along.
Thoutt has already published the first five chapters to GitHub and so we can already give a rough idea of how it’s getting along.
If you were optimistically hoping that this is the AI version of a monkey writing Shakespeare then we’re in for some bad news. It’s almost complete gibberish.
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.”
Lady Donella length of a longsword, the hair that went ready to climb side from her. And all between them were belaquo bonebreaker and the night’s watch ride in their room. Only he could not look at them, even others sure. “How could you leave the world?”
“Some must, for you,” a woman’s voiced up lazily. “Gods, Reek.”
So while it’s not exactly the conclusion we were hoping for, Zack’s small experiment has shown that we are, slowly but surely, heading towards a world where someday AI could write a literary classic.