                GoIRL: Graph-Oriented Inverse Reinforcement Learning for Multimodal Trajectory Prediction



and correlation relationships among neighborhood agents.                applied to infer both future destinations and routes in real-

Building upon these vectorized data, graph neural networks              world navigation tasks (Ziebart et al., 2008). Nevertheless,

(GNNs) and Transformer-based architectures have been ex-                previous IRL-based predictors have primarily been designed

tensively explored for feature extraction and fusion (Zeng              for path forecasting (Ziebart et al., 2009), neglecting the

et al., 2021; Zhou et al., 2023). This paradigm has gained              consideration of time profiles. To overcome this disparity,

increasing popularity in current prediction models due to its           recent studies integrate kinematics and environmental con-

remarkable enhancement to overall prediction performance.               text into the IRL scheme (Zhang et al., 2018), presenting a

Consequently, in our framework, we also adopt the prevalent             plans-to-trajectories module that can generate continuous

vectorized representation to encode the scene context and               trajectories conditioned on grid-based state sequences sam-

employ graph-based models to extract lane-graph features.               pled from the reward distribution (Deo & Trivedi, 2020; Guo

                                                                        et al., 2022). However, existing IRL-based predictors solely

2.2. Multimodal Trajectory Prediction                                   utilize rasterized BEV features as input, which limits their

                                                                        prediction performance. In contrast, our work introduces a

Multimodal trajectory prediction necessitates generating                novel feature adaptor designed to incorporate lane-graph fea-

diverse, socially acceptable, and interpretable future tra-             tures into the MaxEnt IRL framework, ultimately enhancing

jectories accompanied by corresponding confidence scores                prediction accuracy.

(Huang et al., 2023a). One practical approach is to utilize

stochastic techniques, such as generative adversarial net-

work (GAN) (Gupta et al., 2018) or conditional variational              3. Methodology

autoencoder (CVAE) (Ivanovic et al., 2020), to generate mul-            3.1. Problem Formulation

tiple possible forecasts. However, sampling from a latent

distribution is uncontrollable during inference, prompting              The multimodal trajectory prediction task entails generating

recent efforts to focus on anchor-based methods instead.                multiple plausible future trajectories for the target agent,

Predefined anchors, including goal points (Gu et al., 2021),            each accompanied by corresponding probabilities condi-

reference lanes (Song et al., 2021), or candidate paths (Af-            tioned on the scene context. More specifically, considering

shar et al., 2024), can act as mode-specific priors to facilitate       the driving context C = {X , O, M}, which consists of the

forecasting diversity. Nevertheless, the accuracy of predic-            tracking positions of the target agent X = [x−tp +1 , . . . , x0 ]

tions heavily relies on the quality of these anchors. By                and its observed neighboring agents O = [o−tp +1 , . . . , o0 ]

contrast, our work leverages MaxEnt IRL to infer the in-                spanning the past tp timestamps, as well as the relevant

trinsic multimodal distribution of rewards by maximizing                map information M, the motion predictor aims to infer the

entropy. Multiple plausible policies or plans can then be               probability distribution of future forecasts P (Ŷ|C), where

sampled from the learned reward distribution, generating                Ŷ = [ŷ1 , . . . , ŷtf ] represents the predicted future trajectory

diverse trajectories. Furthermore, the probability of each              of the target agent over the future tf timestamps.

modality is commonly obtained through classification with               To tackle trajectory prediction using IRL-based methods, we

hard assignments using displacement regression (Ye et al.,              decompose the entire task into two conceptual stages: policy

2021). Yet, we contend that the confidence scores obtained              inference and trajectory generation. The scene context C

in this manner are inadequate to characterize uncertainty               is first aggregated into a coarse 2-D grid space. Then, the

comprehensively and thus propose to augment the confi-                  IRL framework is characterized as a finite Markov decision

dence scores by fusing the MCMC-induced distribution.                   process (MDP) with a fixed horizon H, which is defined

                                                                        as a four-tuple {S, A, T , R}. Herein, S represents a set of

2.3. Inverse Reinforcement Learning                                     states comprising all grid cells, while A represents a set of

Inverse Reinforcement Learning (IRL), a prominent branch                actions consisting of nine discrete movements, including

of imitation learning, has been extensively investigated in             eight adjacent and diagonal directions, along with one end

the domains of robotic manipulation (Finn et al., 2016b),               action for the early rollout termination. T : S × A → S

navigation (Fu et al., 2018), and control (Yu et al., 2019; Osa         denotes the deterministic transition model and R denotes re-

et al., 2018). It aims to recover the underlying reward distri-         ward function which is initially unknown. Next, we leverage

bution from expert demonstrations, enabling the derivation              a stationary policy π(a|s) derived from the learned reward

of policies consistent with human behaviors. Supposing that             distribution to specify a probabilistic mapping from a state

surrounding agents are mostly rational and thus can be mod-             s ∈ S to a particular action a ∈ A. Ultimately, the tar-

eled as optimal or suboptimal planners, the IRL approach                get agent makes forecasts conditioned on grid-based plans

becomes a powerful tool for motion forecasting, function-               sampled from the optimal policy π ∗ , where each plan is re-

ing as a planning-based predictor. In order to reason about             ferred to as a sequence of states given by τ̂ = [ŝ1 , . . . , ŝH ].

uncertainty in decision sequences, a probabilistic approach             Consequently, the multimodal future trajectory distribution

known as MaxEnt IRL has been proposed and successfully                  P (Ŷ|C) can be decomposed by conditioning on plans and



                                                                    3

