• A
  • A
  • A
  • ABC
  • ABC
  • ABC
  • А
  • А
  • А
  • А
  • А
Regular version of the site

Neural Networks of Power: AI Unravels Knots and Tangles in Relationships between Humans, Elves and Hobbits

Neural Networks of Power: AI Unravels Knots and Tangles in Relationships between Humans, Elves and Hobbits

Photo: Wikimedia Commons

One of the most popular writers of the last century, John Ronald Reuel Tolkien, was born on January 3rd. Researchers from HSE University, AIRI and MISSIS have used machine learning to explore the social connections between the characters of his Middle-earth universe. The algorithm managed to create an accurate picture of the social structures and dynamics of the characters' relationships, providing a unique map of interactions in the epic world. The researchers believe that this approach can be applied in many areas beyond literature. The results of the work were published in IEEE Xplore.

The analysis of literary works is a complex and time-consuming process. When reading any text, the researcher needs to capture numerous nuances and features — from the author's style and word choice to the relationships between characters and their role in the plot. Most often, this work is done manually by literary critics. Ilya Makarov, Senior Research Fellow at the School of Data Analysis and Artificial Intelligence at the HSE Faculty of Computer Science, head of the ‘AI in Industry’ group at the Artificial Intelligence Research Institute (AIRI), and Anastasia Yaschenko, HSE University graduate, applied computational linguistics and machine learning tools to a series of books by John Ronald Reuel Tolkien about Middle-earth. The AI ‘read’ the books, isolating the key elements: the characters, their belonging to a particular race and their social ties. It demonstrated the results in the form of a graph, which allows us to not only trace the relationship between the characters, but also to see more clearly the structure of their social network.

Ilya Makarov

Ilya Makarov

Senior Research Fellow at the School of Data Analysis and Artificial Intelligence

‘We chose the world of Middle-earth as the basis for our analysis for a number of key reasons. Firstly, J. R. R. Tolkien's texts are widely known and loved by readers around the world, which makes the study universal and global. Secondly, the system of characters in Tolkien's books is very rich and diverse, which creates optimal conditions for such an analysis. Finally, thanks to the long history of studying Tolkien's world, a large set of metadata is available, including detailed descriptions of characters and their race, which facilitates the process of automatic clustering and verification of results.’

The main goal was to create a program that could ‘understand’ human language, analyse literary texts, identify the characters of the book and determine their relationship. This work is based on the concept of social networks. This is an approach widely used in sociology, psychology and more recently in the field of computer science. In the context of literature analysis, each character is considered as a node, and the interactions between them are the edges connecting these nodes. When two characters interact with each other in the text, a connection, or edge, is established between their nodes. The more interactions occur between the characters, the stronger this edge is.

The use of machine learning algorithms has made it possible to automatically analyse texts and identify such interactions between characters, turning literary works into simulated social networks. Named Entity Recognition (NER), a natural language processing technology was used to automatically identify and classify entities in the text, such as names, places and organisations.

This technology helped scientists to create a list of each unique character mentioned in the books. Further semantic analysis allowed them to determine the race of each character. It was conducted by analysing the context and linking each character to a specific race based on the words and phrases that accompany his mention. For example, if a character is often referred to in context with the words ‘elf’ or ‘elvish; the algorithm classifies them as an elf. Due to the large amount of metadata of J. R. R. Tolkien's characters (races, related relationships, belonging to a certain kingdom, etc.) the researchers chose racial characteristic to interpret communities, as every character in the universe belongs to a certain race.

In addition, the use of named entities and semantic analysis of the text allowed researchers to determine not only the connection between the characters, but also the nature of these relationships — friendship, enmity or neutral relations. Artificial intelligence managed to identify complex social relationships between the characters and divide the characters into groups.

It is especially important that this approach is not limited only to The Lord of the Rings, but can be applied to any text, opening up new opportunities for automated research in literature.

‘Our study contains a sequence of steps that can be used to extract named entities and their relationships based on other texts. For example, to identify the relationship between the motives of works by different authors or to analyse complex legal documents,’ said Ilya Makarov.

See also:

Winners of the International Olympiad in Artificial Intelligence Admitted to HSE University

In mid-August, Bulgaria hosted the finals of the first International Olympiad in Artificial Intelligence (IOAI) among high school students. The Russian team demonstrated excellent results, winning gold medals in the scientific round, silver medals in the practical round, and coming first in both rounds overall. This year two members of the Russian team were accepted into the programmes of the HSE Faculty of Computer Science.

Artificial and Augmented Intelligence: Connecting Business, Education and Science

The history of AI research in Nizhny Novgorod dates back to the 1960s and 1970s. Today, AI technologies, from voice assistants and smart home systems to digital twin creation and genome sequencing, are revolutionising our life. Natalia Aseeva, Dean of the Faculty of Informatics, Mathematics and Computer Science at HSE Campus in Nizhny Novgorod, discusses how the advancement of AI connects science, business, and education.

HSE University Leads the AI Alliance Ranking

The AI Alliance Russia has released a new ranking of Russian universities based on the quality of education in the field of AI. Similar to last year, HSE University has joined the leaders in A+ group alongside MIPT and ITMO. A total of 207 universities from 69 Russian regions participated in the ranking. In 2024, over 35,000 students were enrolled in AI-related programmes at these universities.

HSE University at VK Fest: VR Games and Emotion Recognition

On July 13-14, 2024, the annual large-scale VKontakte festival took place at Moscow’s Luzhniki Stadium. HSE University, as usual, participated in the event. The university's tent featured a variety of activities, including emotion recognition challenge, quizzes about artificial intelligence, IT career testing, a smile detector, VR gaming, and a blue tractor equipped with a smart sprinkler system.

Reinforcement Learning Enhances Performance of Generative Flow Networks

Scientists at the AI Research Centre and the AI and Digital Science Institute of the HSE Faculty of Computer Science applied classical reinforcement learning algorithms to train generative flow networks (GFlowNets). This enabled significant performance improvements in GFlowNets, which have been employed for three years in tackling the most complex scientific challenges at modelling, hypothesis generation, and experimental design stages. The results of their work achieved a top 5% ranking among publications at the International Conference on Artificial Intelligence and Statistics AISTATS, held on May 2-4, 2024, in Valencia, Spain.

‘I Came Up with the Idea to Create an Application Useful for Practicing Physicians’

Dmitry Ryabtsev, a 2024 graduate of the master's programme at the HSE Faculty of Computer Science, created an AI-powered software service for ophthalmology during his two years of study. This product is now entering the market, and its developer plans to participate in establishing a working group on software engineering for medical applications at the HSE Faculty of Computer Science, with the goal of promoting more genuinely useful domestic projects. In an interview with HSE News Service, Dr Ryabtsev shared his story of how a professional doctor turned into a programmer.

HSE University and Sber Conduct Foresight in Artificial Intelligence

HSE University, in collaboration with Sber, have conducted a foresight study on artificial intelligence (AI). Its early results were discussed by the participants of a strategic foresight session on exploratory research in AI, held at the Coordination Centre of the Russian Government, headed by Deputy Prime Minister Dmitry Chernyshenko. The results from the foresight study will inform the Unified Research and Development Programme in the Field of AI.

White Papers of AI Conformity Assessment Published on HSE University Website

The Russian Technical Committee for the Standardization of ‘Artificial intelligence’ (TC164), together with the Chamber for Indo Russo Technology Collaboration and the RUSSOFT Non-profit Partnership of Software Developers, has published new White Papers related to Artificial Intelligence Conformity Assessment. It reflects the approaches to the standardization and ethical regulation of AI technologies in two pilot industries — healthcare and agriculture.

Space for Collaboration in Artificial Intelligence

The HSE Laboratory of Artificial Intelligence for Cognitive Sciences (AICS) has launched regular seminars, offering students and scientists from various universities and research centres the opportunity to share their latest research and discuss the most recent developments in artificial intelligence in a friendly and constructive atmosphere. The first seminar was held on May 15.

Scientists Propose Star-Shaped Diffusion Model

Scientists at the AI Research Centre and the Faculty of Computer Science at HSE University, the Artificial Intelligence Research Institute (AIRI), and Sber AI have come up with novel architecture for diffusion neural networks, making it possible to configure eight distinct types of noise distribution. Instead of the classical Markov chain model with Gaussian distribution, the scientists propose a star-shaped model where the distribution type can be selected and preset. This can aid in solving problems across various geometric modalities. The results were presented at the NeurIPS 2023 conference.