Code Monkey home page Code Monkey logo

social-lstm-for-predicting-player-trajectories-in-soccer's Introduction

Social-lstm-for-predicting-player-trajectories-in-soccer

Traditional methods of predicting outcomes of sports like soccer rely upon averaged statistics like expected goal value and player ratings. While these methods are sufficient to describe the general trend, they are unable to capture the dynamics of human interaction that occur as part of the sport. In this paper, we develop and explore approaches to create representations of the gameplay which are able to predict the trajectory of players. Convential sequence prediction models are insufficient for trajectory prediction because it involves player interactions in the same time frame as well. Social-LSTM can be particularly useful in such cases and can help in learning player behavior. It has been applied to analyze pedestrian behavior in crowded environment but this is first time it has been applied to sports domain. We present our results on the data provided by STATS (https://www.stats.com/).

Alt text

Above figure shows a sample scenario from a real match. Atletico Madrid (red) is attacking and Real Madrid (white) is defending in this play. The two central defenders have the responsibility of closing the opposing attacker Torres (circled). Also, Correa just moved into an open space to receive the pass from Oliver. Marcelo on left flank, meanwhile, is following a trajectory which makes sure Juanfran and Griezmann don't have an opportunity to run for a through ball. Such decisions are intuitive for a player but very hard for a programmer to model. They are observed very frequently in the game and are an important aspect of good strategies. We aim to learn these behaviors from data. Achieving this goal will allow us to gain insights into the rules that players inherently model through experience, and thus allow us to predict their motion and form strategies accordingly.

Alt text

Above figure shows the results on a sample sequence. The trajectories of the players are observed for a few time steps (solid lines). Predicted trajectories are then plotted (dashed lines) as a continuation on the same chart. As can be seen in the figure, Defenders D1 and D2 are initially closing down the attacker A1 in the observed part of the sequence. But, as soon as the attacker A1 sees an open space, it changes the path and tries to occupy that space. This however alerts the defender D2 and as such he also follows the attacker A1 to close him down. Meanwhile, defender D1 who was earlier covering A1 now finds another attacker A2 in its neighborhood. As such, D2 changes path to close that defender down.

  • The approach was inspired by the work of Anirudh et. al. on 'Social Attention : Modeling Attention in Human Crowds.'.
  • Please contact me at [email protected] to get more details

social-lstm-for-predicting-player-trajectories-in-soccer's People

Contributors

jagjeet-singh avatar

Stargazers

Mikkel Mogensen avatar  avatar 好个飞飞 avatar Javier Lorenzo Díaz avatar  avatar Ashish Roongta avatar sxgitmiao avatar  avatar Wenhao Ding avatar Brue avatar  avatar Alfie Yang avatar Avijit Dasgupta avatar  avatar JS39 avatar

Watchers

James Cloos avatar  avatar

social-lstm-for-predicting-player-trajectories-in-soccer's Issues

Dataset

Is it possible to provide the exact dataset for reproducability?

Datasets process

I would like to ask, how to deal with a data set so that it can be put into social LSTM for use?
For example, I have a sequence of images, and also have hand moving videos, how to deal with them?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.