[Paper Review] You Mostly Walk Alone: Analyzing Feature Attribution in Trajectory Prediction
This paper proposes a Shapley value-based feature attribution method to quantify how much each input feature—such as past trajectories or social interactions—contributes to trajectory prediction performance in deep learning models. Applied to state-of-the-art models on standard benchmarks, the method reveals that these models rely almost exclusively on the target agent's past trajectory, not on interaction features, despite claims of interaction reasoning; however, on a sports dataset with stronger interaction dynamics, models do effectively use social cues.
Predicting the future trajectory of a moving agent can be easy when the past trajectory continues smoothly but is challenging when complex interactions with other agents are involved. Recent deep learning approaches for trajectory prediction show promising performance and partially attribute this to successful reasoning about agent-agent interactions. However, it remains unclear which features such black-box models actually learn to use for making predictions. This paper proposes a procedure that quantifies the contributions of different cues to model performance based on a variant of Shapley values. Applying this procedure to state-of-the-art trajectory prediction methods on standard benchmark datasets shows that they are, in fact, unable to reason about interactions. Instead, the past trajectory of the target is the only feature used for predicting its future. For a task with richer social interaction patterns, on the other hand, the tested models do pick up such interactions to a certain extent, as quantified by our feature attribution method. We discuss the limits of the proposed method and its links to causality
Motivation & Objective
- To understand which features state-of-the-art trajectory prediction models actually use for making predictions, especially in the context of agent interactions.
- To develop a reliable, model-agnostic method for quantifying feature contributions to predictive performance in multi-modal trajectory prediction.
- To assess whether models truly reason about social interactions or merely rely on past trajectories, particularly on widely used benchmark datasets.
- To evaluate the causal interpretability of feature attributions and their alignment with Granger causality principles in trajectory prediction.
- To identify limitations of current benchmarks in evaluating interaction reasoning and to demonstrate that models can learn interactions when causal signals are strong.
Proposed method
- The authors propose a variant of Shapley values tailored for trajectory prediction models, enabling local and global attribution of input features to model performance (e.g., negative log-likelihood).
- The method computes the marginal contribution of each feature by averaging model performance across subsets of features, with a focus on isolating the impact of interaction cues.
- A social interaction score is aggregated from individual Shapley values of neighboring agents to quantify the overall use of interaction information.
- The approach is applied to state-of-the-art models Trajectron++ and PECNet on standard benchmarks (ETH-UCY, SDD, nuScenes) and a sports dataset (SportVU).
- The method enables visualization of feature influence per scenario, showing when and how strongly interaction cues affect predictions.
- Robustness of attributions is evaluated across different model variants and data splits, with sensitivity analysis to exclusion vs. randomization of features.
Experimental results
Research questions
- RQ1To what extent do state-of-the-art trajectory prediction models rely on agent interactions rather than just the target agent’s past trajectory?
- RQ2Can feature attribution methods like Shapley values provide reliable insights into which cues models actually use for prediction?
- RQ3Do models trained on standard benchmarks like ETH-UCY and SDD truly reason about social interactions, as claimed in their publications?
- RQ4How does the strength of causal interaction signals in the data affect the model’s ability to utilize them?
- RQ5In what way do the attributions relate to Granger causality, and under what assumptions can they be interpreted causally?
Key findings
- On standard benchmarks such as ETH-UCY, SDD, and nuScenes, state-of-the-art models like Trajectron++ and PECNet rely almost exclusively on the target agent’s past trajectory, with minimal contribution from interaction features.
- The social interaction score derived from Shapley values shows near-zero influence in standard datasets, indicating models fail to use interaction cues despite architectural capacity.
- On the SportVU dataset, which features richer and more consistent social interactions, models do utilize interaction features, as evidenced by non-zero and meaningful Shapley values for neighboring agents.
- The attribution method successfully identifies local events where interaction signals are active and quantifies their predictive relevance, demonstrating utility in visualizing model behavior.
- The study reveals that popular benchmarks are suboptimal for evaluating interaction reasoning, as they lack sufficient causal signal in interactions to train models to use them.
- Despite the method’s alignment with Granger causality principles, small Shapley values do not imply absence of causal influence—only that the model failed to learn it, highlighting a key model limitation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.