arXiv:2610.30519cs.CVOct 2026

Manuscript Offprint

arXiv:2610.30519

Unified Trajectory and 3D Pose Forecasting for Multi-Agent Sports Analysis

Marc Peral, Guillem Capellera, Luis Ferraz, Antonio Rubio, Stella Graßhof, Dan Witzner Hansen, Antonio Agudo

Abstract

Forecasting future human motion requires jointly reasoning about an agent's global trajectory and 3D body pose, which are tightly coupled, particularly in team sports where multiple interacting players introduce complex social dynamics. We exploit a socio-temporal encoder that fuses trajectory and pose at the input level and models them jointly through shared factorized attention. The model is further enhanced by a per-joint loss reweighting scheme that emphasizes dynamic joints and prevents degenerate solutions, and a frequency-domain trajectory smoothing term that improves trajectory prediction while indirectly benefiting pose forecasting. To ensure fair comparison with prior joint forecasting methods, we identify and correct evaluation biases arising from overlapping sequence construction, adopting instead a non-overlapping protocol and a deterministic, oracle-free strategy for multi-future prediction. Our approach improves over prior joint forecasting methods on both WorldPose and 3DPW, with the largest gains on pose accuracy, demonstrating that the proposed joint formulation generalizes beyond the densely interactive scenarios that motivate it.

1. Introduction

Anticipating how a person will move and how their body will be configured a few seconds into the future is a problem with direct consequences for robotics, autonomous driving, surveillance, and sports analytics. Two largely separate lines of work have addressed pieces of this problem: one forecasts the trajectory that an agent will follow through space [4, 9–13, 15, 18, 24, 31, 35, 50], and the other forecasts how their articulated body will move independently of where it is [6, 7, 14, 16, 17, 23, 28, 37, 38, 46, 48, 54]. However, in team sports, both quantities matter simultaneously and are far from independent: a player's path across the pitch and the way their limbs move at any instant are two views of the same underlying action, and practitioners care about both, trajectories inform tactical analysis, while pose

Figure

Figure 1. Overview. Prior trajectories and poses are first projected independently into a shared latent space. The fused representation is processed by a socio-temporal encoder whose output is fed into two task-specific heads implemented as independent MLPs.

informs technique and injury risk. Some works have begun to forecast pose and trajectory jointly [1, 2, 30], but unfortunately, they target settings with at most a couple of interacting people, where the social axis of motion is largely absent. Soccer offers a setting where this assumption breaks down completely: with twenty-plus players continuously reacting to teammates, opponents, and the state of play.

This work studies joint trajectory and pose forecast-ing for interacting groups of players found in real soccer matches. As depicted in Fig. 1, we adopt a socio-temporal transformer encoder, following the coarse-to-fine factorized attention design proposed for unimodal trajectory forecasting [10], and apply it to a fused token stream that combines both modalities at the input level, letting a single encoder attend jointly over time and agents at once rather than predicting one and conditioning the other or processing the two streams through separate branches before merging. We further contribute two loss-level improvements, validated with targeted ablations: a per-joint rebalancing scheme with target joints selected via empirical per-joint error measurement, and a frequency-domain trajectory smoothing term that indirectly stabilizes pose forecasts as well.

Another aspect of this work concerns how we evaluate the results against existing methods. The most suitable datasets for this task, WorldPose [32] and 3DPW [52], must be cut into short, fixed-length sequences before training and evaluation. We find that the specific protocol used by the most recent methods with public implementations tackling this same joint task, T2P [30] and SimpliHumon [2], extract sequences with a stride of a single frame, introducing avoidable biases: near-identical sequences are counted many times over, and longer source videos receive disproportionate weight in the reported average simply by virtue of their length. When re-evaluating these two methods for direct comparison, we instead construct sequences with a non-overlapping protocol, and additionally adopt a deterministic single-future evaluation that does not require oracle access to the ground truth at inference time, unlike the best-of-many selection used in their original papers.

We evaluate our approach on WorldPose [32], real broadcast footage from the 2022 FIFA World Cup featuring large groups of simultaneously interacting players, and on 3DPW [52], a general-purpose benchmark in which each sequence contains at most two people. WorldPose [32] is the setting our socio-temporal design is most directly aimed at, and our model substantially improves over competing approaches across the majority of metrics. Notably, despite 3DPW [52] offering little of the social context our architecture is built to exploit, our model also matches or exceeds both baselines on this benchmark, indicating that the gains reported in this work do not depend on a densely populated scene and that the underlying joint formulation generalizes well beyond the team-sport setting that motivated it.

The main contributions of this work are as follows:

• A socio-temporal encoder that fuses trajectory and 3D pose at the input level and processes them jointly through shared factorized attention, at the scale of a full soccer scene, with a controlled comparison of fusion topologies confirming that input-level fusion outperforms sequential and late alternatives under a matched backbone.

• A per-joint loss rebalancing scheme that directs optimization toward the most informative body joints, with target joints selected based on directly measured per-joint error under uniform weighting rather than by assumption.

• A frequency-based trajectory smoothing term that suppresses unrealistic high oscillations in the predicted path, improving trajectory accuracy and, as an additional benefit, the stability of the accompanying pose forecasts.

• State-of-the-art on WorldPose [32] and best among compared methods on 3DPW [52], despite its markedly lower agent density, demonstrating effectiveness both in the large-group setting it targets and beyond.

References (56)