Our analyses seek to improve the performance of the sport and ensure the health of the players


Technology has progressed enormously, including in sport, and measurements and data collection, which until now seemed impossible, are now possible. However, the management of all this data requires the help of mathematics and artificial intelligence. Iñigo Urteaga Aldasoro, researcher at BCAM, an expert in statistical signal processing, explains how artificial intelligence can influence sport.

To improve performance in sport, how can mathematics and artificial intelligence help?

They can help in many things. Mathematics is a tool for describing and understanding the world, and it is necessary for artificial intelligence for two main reasons: on the one hand, it tells us how likely something is to happen, and on the other hand, it is necessary for artificial intelligence to have mathematical, statistical models and differential equations.

What questions do you ask to find out what’s going on with artificial intelligence?

Artificial intelligence can ask three types of questions. First, what happened? This question is posed by the so-called “descriptive artificial intelligence” and serves to analyze something that has happened. For example, you can analyze the chances of a basketball player throwing or how many goals a footballer has scored over a period of time. Secondly, there is also "predictive artificial intelligence", which asks: what will happen? For example, you can analyze what will happen in the next game, or how tired a player will get if he plays 60 minutes. Finally, “hypothetical artificial intelligence” asks the most interesting question: what if instead of doing this we had done the other?

The goal is to improve performance, right?

Yes, the goal of all questions is to improve performance and ensure the health of players, among other things, to avoid injuries.

So far, what is the main question that has been answered in the field of sport through artificial intelligence?

Historically, retrospective questions have been answered. This has been the area where artificial intelligence and statistics have worked the most. But as artificial intelligence improves, “what will happen?” we have a chance to start answering the question.

The most important questions today are questions for the future, right?

Before the game starts, yes, that’s the most important question. But once we know the result of the match, being able to ask a third type question would be a great qualitative leap: what would have happened if we had done something different? We want artificial intelligence to have predictive capacity, but there are still great difficulties, both in the field of mathematics and in the field of sport. In fact, these situations that occur in sport are not a closed or controlled problem; there are always factors that we cannot control. This is what makes artificial intelligence attractive in sport, but at the same time complex and difficult.

Data is your raw material, the source of the knowledge of algorithms. But what kind of data do you use?

Currently, two data are mainly used in sport. On the one hand, those obtained through sensors and, on the other, those obtained through cameras. The diversity in the sensors is impressive: GPS, accelerometers, electrocardiograms, respiratory patterns... Images have been used for a long time. Before, the cameras saw, now, given what the camera saw to artificial intelligence, it understands. In this sense, the volume of data has grown tremendously.

And how should these data be?

It is important, first of all, that the data is of quality, and today, in order to have a real impact on sport, it is necessary to collect this data in real time. They cannot be collected in an artificial environment, they must have been acquired during training or during the match. In fact, this is what gives real value to the information, since it indicates the state and health of the athlete at the moment when it really matters.

It is always said that information is one thing and knowledge is another. What knowledge do you extract from this data?

This is what artificial intelligence needs to do: process empty data and extract useful information. This is a challenge that has existed historically, to be able to separate "signal" from "noise", information that is really useful and has no value.

And now, the big question: why?

I would say that there are two main objectives: to improve the health and performance of athletes, and to develop strategies and make the right decisions.

Let's talk about team sports. Do these algorithms work differently in this type of sports?

Oh, yeah. Yeah. Especially since the data is different. In general, when it is desired to analyze the operation of the group, images and videos are used to analyze the organization of the group in the field. To do this, different algorithms are needed, on the one hand for image analysis and on the other for network analysis. In this case, each point of the network would be a player, while the lines would be the movements and passes between the players.

We often see this network moving on TV. Does it require artificial vision and artificial intelligence?

Yes, artificial vision extracts concepts from each pixel of the image: who is the player, who is the ball, who is the opponent, who is the player of the same team... Then, artificial intelligence understands the relationships between them.

What technology do you use for this?

Neural networks are mainly used. “Convolutional networks”, and “transformer networks” are two examples with a high capacity for image processing. As we said before, data needs to be analyzed in real time, and neural networks have been very suitable for this, performing pixel to concept processing, and understanding and explaining how these concepts move in time.

Why do you use these tests? What do you want to know?

The key is to answer what the coach wants to know. It is interesting to know how to position the players, how to distribute them in the field and how to change the positions of the players at each moment of the game. And on the other hand, we can obtain information that helps coaches to design a strategy.

What are the challenges of artificial intelligence to improve performance in sport?

The biggest challenges are data and models. The better the data, the better the artificial intelligence. Today, some questions are answered with sensors and others with video; the analyses are independent. Collecting this data will be a challenge. On the other hand, the models must eliminate noise and understand the information. And, in this understanding, the biggest challenge is the one mentioned above, which is the development of hypothetical artificial intelligence: “What would have happened if we hadn’t done this or done this?” an intelligence capable of answering questions. To achieve this, there is still much to do and improve in algorithms.

Finally, do you think that all this technology will control the sport so much that it will also take away the emotion?

My answer is not convincing. Artificial intelligence will help to understand the sport and provide tools to the athlete and the coach. But the sport is open, humans play, and there will always be uncontrollable factors. The sport will not be completely controllable and will never lose its magic.

Oihana Jauregi Larretxea

Elhuyar Zientzia