HSE Researchers Develop Python Library for Analysing Eye Movements

A research team at HSE University has developed EyeFeatures, a Python library for analysing and modelling eye movement data. This tool is designed to simplify the work of scientists and developers by enabling them to efficiently process complex data and create predictive models.
The project was implemented as part of the Strategic Project 'Human-Centred AI' (Priority 2030).
Modern research increasingly leverages machine learning and artificial intelligence to analyse vast amounts of eye movement data. However, despite significant advancements in this field, certain challenges continue to limit the effectiveness of these methods. One such challenge is the limited flexibility of existing software solutions, which often offer a narrow range of parameter settings, making it difficult to customize them for specific research tasks. Additionally, the integration of these tools with other specialised software remains a significant limitation.
The Python library EyeFeatures, developed by the Laboratory for Social and Cognitive Informatics at HSE Campus in St Petersburg, addresses these challenges by providing a versatile and user-friendly toolkit for working with eye movement data. It includes modules for processing and analysing data collected from eye trackers, devices that monitor eye movement during the performance of various tasks.
Processing eye movement data is a complex task that involves several stages. Since the eyes do not move smoothly but rather in a series of rapid, jerky motions, focusing on specific points, the first stage of data processing is identifying areas of fixation. In the second stage, metrics such as the average gaze fixation duration and the average distance between points are calculated, enabling the creation of initial, simple predictive or diagnostic models.
All stages of data processing can be carried out using the various modules of the EyeFeatures library. The flexible, modular approach makes it easy to integrate eye movement data processing into existing research and commercial projects, from raw data to a fully developed predictive or explanatory model. For example, using the library in marketing research allows for the evaluation of consumer reactions to advertisements. Eye movement analysis will reveal which elements capture the most attention from the audience.
According to Anton Surkov, Project Head, Junior Research Fellow at Laboratory for Social and Cognitive Informatics at HSE Campus in St Petersburg, 'The library can be valuable to researchers, as it enables them not simply to replicate existing functionality from other software but to implement new algorithms and create more advanced models for research in fields such as marketing, cognitive process diagnostics, user interface and neural interface development (where control and interaction with the program occur through eye movement), as well as combine components in innovative ways to achieve new results and enhance methodology.'
This solution streamlines data analysis and accelerates the creation of predictive models, which is particularly beneficial in medical diagnostics, marketing, and the study of cognitive processes. The library has already been applied in research conducted as part of the Strategic Project 'Human-Centred AI' and was presented at the ECEM 2024 international conference in Ireland.
See also:
HSE Scientists Uncover Mechanism Behind Placental Lipid Metabolism Disorders in Preeclampsia
Scientists at HSE University have discovered that in preeclampsia—one of the most severe complications of pregnancy—the placenta remodels its lipid metabolism, reducing its own cholesterol synthesis while increasing cholesterol transfer to the foetus. This compensatory mechanism helps sustain foetal nutrition but accelerates placental deterioration and may lead to preterm birth. The study findings have been published in Frontiers in Molecular Biosciences.
HSE Experts Reveal Low Accuracy of Technology Forecasts in Transportation
HSE researchers evaluated the accuracy of technology forecasts in the transportation sector over the past 50 years and found that the average accuracy rate does not exceed 25%, with the lowest accuracy observed in aviation and rail transport. According to the scientists, this is due to limitations of the forecasting method and the inherent complexities of the sector. The study findings have been published in Technological Forecasting and Social Change.
Wearable Device Data and Saliva Biomarkers Help Assess Stress Resilience
A team of scientists, including researchers from HSE University, has proposed a method for assessing stress resilience using physiological markers derived from wearable devices and saliva samples. The participants who adapted better to stress showed higher heart rate variability, higher zinc concentrations in saliva, and lower potassium levels. The findings were published in the Journal of Molecular Neuroscience.
When Circumstances Are Stronger Than Habits: How Financial Stress Affects Smoking Cessation
HSE researchers have found that the likelihood of quitting smoking rises with increasing financial struggles. While low levels of financial difficulties do not affect smoking behaviour, moderate financial stress can increase the probability of quitting by 13% to 21%. Responses to high financial stress differ by gender: men are almost 1.5 times more likely to give up cigarettes than under normal conditions, whereas no significant effect is observed on women’s decisions to quit smoking. These conclusions are based on data from the Russia Longitudinal Monitoring Survey (RLMS-HSE) for 2000–2023 and have been published in Monitoring of Public Opinion: Economic and Social Changes.
HSE Researchers Propose New Method of Verbal Fluency Analysis for Early Detection of Cognitive Impairment
Researchers from the HSE Center for Language and Brain and the Mental Health Research Centre have proposed a new method of linguistic analysis that enables the distinction between normal and pathological ageing. Using this approach, they showed that patterns in patients’ word choices during verbal fluency tests allow clinicians to more accurately differentiate clinically significant impairments from subjective memory complaints. Incorporating this type of analysis into clinical practice could improve the accuracy of early dementia diagnosis. The results have been published in Applied Neuropsychology: Adult.
How the Brain Processes a Word: HSE Researchers Compare Reading Routes in Adults and Children
Researchers from the HSE Center for Language and Brain used magnetoencephalography to study how the brains of adults and children respond to words during reading. They showed that in children the brain takes longer to process words that are frequently used in everyday speech, while rare words and pseudowords are processed in the same way—slowly and in parts. With age, the system is reorganised: high-frequency words shift to a fast route, whereas new letter combinations are still analysed slowly. The study was published in the journal Psychophysiology.
How Neural Networks Detect and Interpret Wordplay: New Insights from HSE Researchers
An international team including researchers from the HSE Faculty of Computer Science has presented KoWit-24, an annotated dataset of 2,700 Russian-language Kommersant news headlines containing wordplay. The dataset enables an assessment of how artificial intelligence detects and interprets wordplay. Experiments with five large language models show that even advanced systems still make mistakes, and that interpreting wordplay is more challenging for them than detecting it. The results were presented at the RANLP conference; the paper is available on Arxiv.org, and the dataset and the code for reproducing the experiments are available on GitHub.
HSE Economists Find That Auction Prices Depend on Artist’s Life Story
Researchers from the Centre for Big Data in Economics and Finance at the HSE Faculty of Economic Sciences have found that facts from an artist’s life are statistically significant in pricing a painting, alongside such traditional characteristics as the material, the size of the canvas, or the presence of the artist’s signature. This conclusion is based on an analysis of prices for 15,000 works by 158 artists sold since 1999 by the major auction houses Sotheby’s and Christie’s. The article has been published in the journal Empirical Studies of the Arts.
HSE Physicists Propose Unified Theory for Describing Electric Double Layer
To develop more efficient batteries and catalysts, it is essential to understand the processes occurring at the metal–solution interface in the electric double layer (EDL). Physicists at HSE MIEM have proposed a unified theoretical model of the EDL that simultaneously accounts for selective adsorption of ions on the surface and partial charge transfer between ions and the metal—phenomena that had previously been described separately. The model’s predictions are consistent with experimental data. In the future, it may be used in the development of batteries, supercapacitors, and catalysts. The study has been published in Electrochimica Acta.
HSE Researchers Experimentally Demonstrate Positive Effects of Urban Parks on the Brain
Scientists at HSE University have investigated the effect of parks on the cognitive and emotional resources of city dwellers. The researchers compared brain electrical activity in 30 participants while they watched videos of walks through parks and along busy highways. The results showed that green urban environments with trees produce a consistent effect across individuals, helping the brain calm down and relax. By contrast, walks along busy streets were found to be distracting. The findings have been published in Scientific Reports.


