Matteo Almanza’s research while affiliated with Sapienza University of Rome and other places

What is this page?


This page lists works of an author who doesn't have a ResearchGate profile or hasn't added the works to their profile yet. It is automatically generated from public (personal) data to further our legitimate goal of comprehensive and accurate scientific recordkeeping. If you are this author and want this page removed, please let us know.

Publications (6)


Example of multi-agent trajectory forecasting. We only plot one player for each team and the basketball for readability reasons
Architecture of RoleFor and a zoom into Order Neural Network
About Latent Roles in Forecasting Players in Team Sports
  • Article
  • Full-text available

February 2024

·

23 Reads

·

1 Citation

Neural Processing Letters

Luca Scofano

·

·

·

[...]

·

Fabio Galasso

Forecasting players in sports has grown in popularity due to the potential for a tactical advantage and the applicability of such research to multi-agent interaction systems. Team sports contain a significant social component that influences interactions between teammates and opponents. However, it still needs to be fully exploited. In this work, we hypothesize that each participant has a specific function in each action and that role-based interaction is critical for predicting players’ future moves. We create RolFor, a novel end-to-end model for Role-based Forecasting. RolFor uses a new module we developed called Ordering Neural Networks (OrderNN) to permute the order of the players such that each player is assigned to a latent role. The latent role is then modeled with a RoleGCN. Thanks to its graph representation, it provides a fully learnable adjacency matrix that captures the relationships between roles and is subsequently used to forecast the players’ future trajectories. Extensive experiments on a challenging NBA basketball dataset back up the importance of roles and justify our goal of modeling them using optimizable models. When an oracle provides roles, the proposed RolFor compares favorably to the current state-of-the-art (it ranks first in terms of ADE and second in terms of FDE errors). However, training the end-to-end RolFor incurs the issues of differentiability of permutation methods, which we experimentally review. Finally, this work restates differentiable ranking as a difficult open problem and its great potential in conjunction with graph-based interaction models.

Download

Figure 2: Architecture of RolFor and a zoom into Order Neural Network
About latent roles in forecasting players in team sports

April 2023

·

33 Reads

Forecasting players in sports has grown in popularity due to the potential for a tactical advantage and the applicability of such research to multi-agent interaction systems. Team sports contain a significant social component that influences interactions between teammates and opponents. However, it still needs to be fully exploited. In this work, we hypothesize that each participant has a specific function in each action and that role-based interaction is critical for predicting players' future moves. We create RolFor, a novel end-to-end model for Role-based Forecasting. RolFor uses a new module we developed called Ordering Neural Networks (OrderNN) to permute the order of the players such that each player is assigned to a latent role. The latent role is then modeled with a RoleGCN. Thanks to its graph representation, it provides a fully learnable adjacency matrix that captures the relationships between roles and is subsequently used to forecast the players' future trajectories. Extensive experiments on a challenging NBA basketball dataset back up the importance of roles and justify our goal of modeling them using optimizable models. When an oracle provides roles, the proposed RolFor compares favorably to the current state-of-the-art (it ranks first in terms of ADE and second in terms of FDE errors). However, training the end-to-end RolFor incurs the issues of differentiability of permutation methods, which we experimentally review. Finally, this work restates differentiable ranking as a difficult open problem and its great potential in conjunction with graph-based interaction models. Project is available at: https://www.pinlab.org/aboutlatentroles




Tracks from hell — When finding a proof may be easier than checking it

May 2020

·

6 Reads

·

3 Citations

Theoretical Computer Science

We consider the popular smartphone game Trainyard: a puzzle game that requires the player to lay down tracks in order to route colored trains from departure stations to suitable arrival stations. While it is already known [Almanza et al., FUN 2016] that the problem of finding a solution to a given Trainyard instance (i.e., game level) is NP-hard, determining the computational complexity of checking whether a candidate solution (i.e., a track layout) solves the level was left as an open problem. In this paper we prove that this verification problem is PSPACE-complete, thus implying that Trainyard players might not only have a hard time finding solutions to a given level, but they might even be unable to efficiently recognize them.


Trainyard is NP-Hard

March 2016

·

105 Reads

·

5 Citations

Theoretical Computer Science

Recently, due to the widespread diffusion of smart-phones, mobile puzzle games have experienced a huge increase in their popularity. A successful puzzle has to be both captivating and challenging, and it has been suggested that this features are somehow related to their computational complexity \cite{Eppstein}. Indeed, many puzzle games --such as Mah-Jongg, Sokoban, Candy Crush, and 2048, to name a few-- are known to be NP-hard \cite{CondonFLS97, culberson1999sokoban, GualaLN14, Mehta14a}. In this paper we consider Trainyard: a popular mobile puzzle game whose goal is to get colored trains from their initial stations to suitable destination stations. We prove that the problem of determining whether there exists a solution to a given Trainyard level is NP-hard. We also \href{http://trainyard.isnphard.com}{provide} an implementation of our hardness reduction.

Citations (5)


... For example, if a player changes position or makes a significant pass, the GNN can adjust its analysis to reflect how this action influences other players and the overall formation. By continuously analyzing real-time data, GNNs can provide insights into how changes in player positioning or tactical adjustments impact the effectiveness of different formations [9]. ...

Reference:

AI and Sports: Graph Neural Networks for Predicting Football Formations
About Latent Roles in Forecasting Players in Team Sports

Neural Processing Letters

... It is also worthwhile to mention the line of work on clustering with outliers where a subset of the points (to be chosen by the clustering algorithm) are ignored when calculating the clustering cost [63,34,76,94]. While Almanza et al. [8] extends this line of work to take group fairness considerations into account by having a proportional guarantee on the number of points chosen as outliers from each group, it still does not resolve the above issue since the resulting clustering does not additionally combine a desired notion of fairness such as CM or EQ. ...

k-Clustering with Fair Outliers
  • Citing Conference Paper
  • February 2022

... Some studies explored the bursty dynamics of widely disseminated content over long time scales (Almanza et al., 2021;Zhan et al., 2020). For example, Cheng et al. (2016) found that widely shared images on Facebook experience multiple rounds of bursty diffusion over a significantly long time scale. ...

Twin Peaks, a Model for Recurring Cascades
  • Citing Conference Paper
  • April 2021

... A cell can either be empty or contain an object. 1 The simplest type of objects are the walls and, as one might expect, stepping into a wall results in a non-movement. 2 We also restrict to instances where each connected component contains at most one worker. 3 More formally, for each worker w, let R w be the set of empty cells that can be reached by w from its starting position and imagining that there are no other workers on the grid. ...

Tracks from hell — When finding a proof may be easier than checking it
  • Citing Article
  • May 2020

Theoretical Computer Science