Algorithm could spoil Game of Thrones character deaths
A team from the Technical University of Munich have used data science and ML to work out who goes next


Students at a university in Munich have developed an algorithm that predicts who is most likely to die in the TV series Game of Thrones.
With the show's final season underway, a team at the Technical University of Munich (TUM) has a used basic data science and machine learning to work out which characters are most likely to die.
Their prediction for season eight (potential spoiler alert) is that Ser Bronn of the Blackwater is most likely to kick the medieval bucket with a 93.5% chance of dying. To get this statistic, the team at TUM used approaches similar to those used in medicine and life insurance calculations.
They mined statistical information about how long people lived, along with biographical data that might correlate to when they die. A real-life example might include information such as whether someone is a smoker or how frequently they exercise. But in the world of Game of Thrones, the more relevant information is what house a particular character belongs to, whether they're married, and who their allies are.
"In this project, we wanted to find features that are common to all already dead characters and use these features to predict the percentage likelihood of death (PLOD) for yet alive characters, aka to answer the question - who is likely to die next?" the team said in a blog post.
TUM's data scientists combed through the lives of hundreds of characters via the help of fan-maintained Wikis. And, along with collecting in-universe data like their gender and location, they also included information such as whether someone is a major or minor character and how often they're cited in fan Wikipedias.
By using this data, the team were able to reveal some basic truths about mortality in the Game of Thrones universe, such as the fact that being male is more dangerous than being female - men have a 22% death rate, compared to 11% for women. Certain houses are more long-lived than others, reflecting their ascendancy in Westeros. Being a Baratheon, for example, makes you 5% more likely to die than the average character, while being a Lannister makes you 45% more likely to survive.
Get the ITPro daily newsletter
Sign up today and you will receive a free copy of our Future Focus 2025 report - the leading guidance on AI, cybersecurity and other IT challenges as per 700+ senior executives
To turn all this into predictions for individual characters, the team analysed this data using two separate models. Firstly with a fairly straightforward statistical approach known as Bayesian inference and the second relied on techniques involving machine learning and neural networks.
The shows cut-throat approach to characters has seen it become one of the most popular TV shows around and an even more popular death pool, where fans predict when characters will die. Using the TUM team's algorithm would be cheating though.
Bobby Hellard is ITPro's Reviews Editor and has worked on CloudPro and ChannelPro since 2018. In his time at ITPro, Bobby has covered stories for all the major technology companies, such as Apple, Microsoft, Amazon and Facebook, and regularly attends industry-leading events such as AWS Re:Invent and Google Cloud Next.
Bobby mainly covers hardware reviews, but you will also recognize him as the face of many of our video reviews of laptops and smartphones.
-
RSAC Conference 2025: The front line of cyber innovation
ITPro Podcast Ransomware, quantum computing, and an unsurprising focus on AI were highlights of this year's event
-
Anthropic CEO Dario Amodei thinks we're burying our heads in the sand on AI job losses
News With AI set to hit entry-level jobs especially, some industry execs say clear warning signs are being ignored
-
AI projects are faltering as CDOs grapple with poor data quality
News Chief data officers say they can't maintain consistent data quality, and that it's affecting AI outcomes
-
Taking back control of the data silos holding your business back
Tutorials Data silos can contain conflicting information, leading to misguided strategies and poor decision making
-
How the role of the chief data officer (CDO) will evolve in 2023
In-depth The best CDOs will not only focus on creating more value from data but transmit data skills across the whole enterprise
-
Record computing degree applications driven by AI interest, says BCS
News The institute suggested students are attracted to computer sciences by innovative areas, which also include machine learning and the fight against climate change
-
Data science vs data analytics: Which field is right for you?
In-depth A career as a data analyst or a data scientist can be as rewarding as it is lucrative, but it pays to understand the subtle differences between the two
-
Anaconda acquires PythonAnywhere in a bid to improve Python accessibility
News Expanded Python capabilities will help unite teams and create access to more robust cloud resources, provider says
-
Serena Williams invests in Karat to double the number of Black software engineers in the US
News Brilliant Black Minds program is now open to all current and aspiring Black engineers as part of wider move to improve diversity in the tech industry
-
AI should include 'undesirable side effect' warnings, claims PwC
News Maria Luciana Axente says data scientists should respond to an ethical code just like medical practitioners