Researcher builds 'Game of Thrones' network model to predict character deaths

Researcher builds 'Game of Thrones' network model to predict character deaths
Credit: Milan Janosov

(TechXplore)—"The man who passes the sentence should swing the sword," says Lord Eddard Stark, the head of House Stark, the Lord of Winterfell, Lord Paramount and Warden of the North, and Hand of the King to King Robert I Baratheon on HBO's Game of Thrones, on the subject of public execution. "If you would take a man's life, you owe it to him to look into his eyes and hear his final words. And if you cannot bear to do that, then perhaps the man does not deserve to die."

In the spirit of personally swinging the sword, Milan Janosov, a Ph.D. candidate at the Center for Network Science of Central European University, built a network of the relationships between the 94 major characters on Game of Thrones in order to determine the probability that they will die during the final two seasons.

Janosov's data source was the series subtitle transcriptions. In his Westeros network map, each node represents a character from the show. Janosov considered scenes as "the elementary unit of social interaction," and connections between characters were weighted according to their interactions—for the characters within an individual interaction, the connection between them had a strength of one. Within a scene, everyone is connected to everyone else. "In other words," Janosov writes, "scenes are complete graphs, or cliques, increasing the tie strength between all pairs of people present by one."

The final map had nearly 400 nodes and 3000 edges. Interestingly, the map visualization reveals important character functions within the series. For instance, Tyrion Lannister connects Daenerys Targaryen to the center of the network, where large communities of characters center around King's Landing. Here, the connections between nodes create a dense web of relationships between allied and opposing houses that comprise the core of the plot.

Researcher builds 'Game of Thrones' network model to predict character deaths
Table 1: the set of features (based on network analysis) and the target variable (whether a certain character died over the first six seasons or not) for six randomly selected characters. Credit: Milan Janosov

Havingassembled this network map, Janosov sought to determine the likelihood of all the living characters dying by comparing their features to the 61 characters who already died in previous seasons. "This problem resembles the well-known churn problem, which can be solved with various classification-based algorithms," he writes. Janosov used a support vector machine (SVM), a supervised learning model that uses learning algorithms for classification and regression analysis.

Probabilistic Spoilers: The Top Five Characters Most Likely to Die

Janosov provides a chart with dozens of major characters ranked according to the likelihood that they will die, according to the SVM model.

Tyene Sand, bastard daughter of Prince Oberyn Martell, is the most likely to perish, with a probability of 0.95. As the second likeliest to die, incredibly, the model selects audience favorite Daenerys Targaryen with a probability of 0.91. Third, the soulful, courageous Grey Worm, commander of the Unsullied, is predicted to die with a probability of 0.90. Fourth, Lord Robin Arryn, who likes to "make people fly" by tossing them out of the mountain fortress called the Aerie, and who is probably extremely healthy if contemporary findings about breastfeeding are accurate, is predicted to die with a probability of 0.90. And fifth: Sweet, brave Podrick Payne, squire to Tyrion Lannister and later to Brienne of Tarth, is predicted to die with 0.90 probability, tied with Robin Arryn, who is seriously one of the creepiest characters on television.

Other interesting findings: The model finds that Tyrion Lannister has only a 0.52 chance of dying, but he is likelier to meet his end than the reptilian Petyr Baelish, at 0.50. The least likely of the major characters to die according to the model is Theon "Reek" Greyjoy, whose path to redemption is exceedingly unclear absent a life-sacrificing heroic moment.

Researcher builds 'Game of Thrones' network model to predict character deaths
Table 2: Game of Thrones characters and their probability of dying based on their network centrality patterns, and the error of these probabilities based on repeating the prediction (with five-fold cross-validation) a hundred times. Credit: Milan Janosov

Janosov notes that the predictions could be improved by including other kinds of features, including "gender, being a member of a noble house, [and] sentiment analysis of the speeches." He also suggests that building a more complete dataset and comparing the narrative features of the books to the TV series might result in higher accuracy.

More information: cns.ceu.edu/article/2017-07-08 … es-next-game-thrones

© 2017 TechXplore

Citation: Researcher builds 'Game of Thrones' network model to predict character deaths (2017, July 22) retrieved 28 March 2024 from https://techxplore.com/news/2017-07-game-thrones-network-character-deaths.html
This document is subject to copyright. Apart from any fair dealing for the purpose of private study or research, no part may be reproduced without the written permission. The content is provided for information purposes only.

Explore further

Mathematicians use 'Game of Thrones' to highlight the growing importance of network science

2800 shares

Feedback to editors