Information warfare is no less insidious than combat. Disinformation about the alleged capture of cities, fabricated air raid alerts, and manipulative social media content can induce panic among civilians and undermine situational awareness among military personnel. Checking every message manually is impossible, so a tool is needed to help identify the threat.
Developing just such a tool was the focus of a research team at Lviv Polytechnic National University led by Victoria Vysotska, Professor at the Department of Information Systems and Networks. Their project “Information system development for automatic detection of disinformation and chat users inauthentic behaviour sources” was selected for funding under the call “Science to Strengthen Defense Capabilities of Ukraine” and implemented with grant support from the National Research Foundation of Ukraine (NRFU).
How Did the Idea Begin?
This research was born out of the realities of war. In 2022, Viktoriia Vysotska was in Germany, completing her doctoral dissertation as part of a postdoctoral programme at the University of Osnabrück. Both she and her German colleagues were seeking reliable information about events in Ukraine, but encountered disinformation, confusion and hostile propaganda. Professor Nils Aschenbruck, who headed a research group at the university’s Institute of Computer Science, suggested expanding the research to focus on the automatic detection of disinformation in cyberspace. Their research revealed that conventional algorithms for processing fake news in English could not be applied to the Ukrainian context because they did not work correctly.
In 2023, the researcher returned to Ukraine, defended her doctoral dissertation and, on the advice of the Head of the Department, Vasyl Lytvyn (now Deputy Head), submitted an application to an NRFU call. She doubted that it was possible to win on merit rather than through personal connections. Yet, much to her own surprise, she did.
“This reaffirmed my belief in fairness. I saw for myself that it is possible to succeed in a call and receive a grant without personal connections. If you have an idea, give it a try. Also, read the terms and conditions of the call carefully. Everything is clearly set out there,” says Victoria Vysotska.
Teaching a Machine Ukrainian
Initially, the idea was fairly broad: to develop a system that would search for disinformation. However, recommendations from the Ministry of Education and Science of Ukraine suggested a wider scope. The system should not only detect fake news but also trace how it spreads and identify who generates manipulative content: people or automated programs. “You need to know the enemy, understand how they operate and how they try to influence or manipulate you. When you know and understand the enemy, you can counter them effectively,” the researcher emphasises.
The first major challenge was the lack of Ukrainian-language datasets: large collections of data containing examples of fake news used to train the program. The team therefore set about creating their own. Professor Mariia Nazarkevych, Associate Professor Olha Lozynska, Associate Professor Oksana Markiv, PhD students Roman Romanchuk and Vitalii Danylyk, and other researchers, PhD students and students from the Department of Information Systems and Networks joined the work. Students and PhD students helped compile datasets and tested algorithms during laboratory classes. Those who made the most active and productive contributions were subsequently credited as authors in research publications.
Another challenge was enabling the computer to process Ukrainian effectively. Machine learning works with numbers, so text has to be converted into a numerical format, a process known as vectorisation. Standard algorithms developed for English do not account for the specific features of Ukrainian grammar, such as changes in word endings, grammatical cases and letter alternations. Victoria Vysotska adapted methods developed in her doctoral research to ensure that text could be converted into numbers without losing its meaning.
A “Portrait” of a Bot
As the work progressed, it became clear that there was no single algorithm suitable for every situation. Complex neural networks, including transformers such as BERT, RoBERTa, GPT, PMML12V2, LLaMA, TinyBERT and others, require considerable computing power and time. Yet time-sensitive information, particularly from combat zones, calls for an immediate response. The researchers therefore divided the task into separate parts.
To assess short messages quickly, the researchers used an improved method based on the conventional classifiers SVM, Random Forest, Logistic Regression, Decision Tree and Naive Bayes. The SVM model demonstrated high accuracy of 87%. The PMML12V2 model assessed messages quickly and effectively, with accuracy of up to 89.5%, converting text into a numerical format and processing Ukrainian-language data. TinyBERT performed best, outperforming conventional machine learning algorithms with accuracy of up to 99.0%. The methods and models developed enable a 1.7-fold improvement in the accuracy of automatic disinformation detection in Ukrainian. This is an important contribution to the country’s information resilience. The findings lay the groundwork for the further development of an integrated cybersecurity platform capable of automatically detecting fake news, propaganda and manipulative messages in real time.
At the same time, cybersecurity specialist Mariia Nazarkevych applied the Louvain and Leiden mathematical methods. These made it possible to understand how disinformation spreads on social media platforms, including Telegram, Facebook, Twitter, Instagram, YouTube and TikTok, and to trace the “branch” from which a fake news story spreads.
The researchers also developed a “portrait” of a bot. The team analysed typical indicators of formulaic messages: distinctive turns of phrase, sentence length, excessive use of exclamation marks, characteristic emojis or, conversely, unnaturally dry, grammatically flawless writing. They also considered how frequently the same accounts published and reposted content within particular time intervals. As a result, the researchers developed a comprehensive set of software solutions to counter information attacks in cyberspace.
The research was conducted during widespread blackouts, when electricity was available for only a few hours a day. To keep the powerful computers running, the Department of Information Systems and Networks at Lviv Polytechnic, led by Professor Vasyl Lytvyn, took additional steps to secure an independent power supply. It purchased portable power stations, power banks and solar panels, and ensured uninterrupted internet access. The researchers often worked at night, as this was when electricity was available.
“I kept telling myself: it’s cold, the radiators aren’t working, but at least I’m not in a frontline trench. I have to do everything I can. What helped me keep going was the thought that despair and fear would do nothing to bring victory any closer,” Professor Vysotska recalls.
From Classrooms to International Cooperation
The work of the Lviv researchers has already moved beyond research papers. The information technologies and methods developed to detect disinformation and analyse its spread have been incorporated into teaching and research at Kharkiv National University of Internal Affairs (in the Department of Cybercrime Counteraction), Hetman Petro Sahaidachnyi National Army Academy, Lviv Polytechnic National University, Yuriy Fedkovych Chernivtsi National University and Drohobych Ivan Franko State Pedagogical University. At Lviv Polytechnic, the courses “Computational Linguistics”, “Formal Languages, Grammars and Automata” and “Methods of Natural Language Text Analysis” have been improved and expanded, and three teaching manuals have been published.
The project’s findings attracted considerable interest abroad. The publisher translated two published English-language monographs and issued them in six European languages: German, French, Spanish, Portuguese, Dutch and Polish. A representative of the Finnish government also visited Lviv to learn from Ukraine’s experience in countering russian disinformation.
The success of the NRFU project laid the foundation for further work. The team has already secured a new three-year grant from the Ministry of Education and Science of Ukraine to pursue more in-depth research in this area.
To colleagues planning to apply to future calls, Victoria Vysotska offers this advice: “Keep track of current needs so that your proposals remain connected to real life and the challenges of today. Think about the good of your country, society and your community.”
The PI places particular emphasis on teamwork: “This project was made possible by the professionalism, experience and hard work of my colleagues, PhD students and students. I am grateful to them for their shared vision, perseverance, determination, enthusiasm, active involvement and mutual support. Together, we are strong!”
Svitlana GALATA