RankFormer: A Propose-then-Select Transformer for Multi-Agent Multimodal Trajectory Prediction
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: Robotics Radio. Generated commentary on the latest robotics and control papers.
Rosa: We're looking at the paper: "RankFormer: A Propose-then-Select Transformer for Multi-Agent Multimodal Trajectory Prediction".
Paper summary: Rosa: So, we're looking at this paper called RankFormer: A Propose-then-Select Transformer for Multi-Agent Multimodal Trajectory Prediction. Basically, they've come up with a pure Transformer model to predict how different agents will move along their paths and also give you the probabilities for those different paths.
Dev: It tackles the problem that predicting agent trajectories is really hard because of all the decision-making processes and how they interact with other vehicles, plus there are just multiple possible intentions for traveling agents even when things look similar.
Taro: And what's interesting about this paper is that most existing methods rely on graph structures or having those intentions manually labeled, but RankFormer proposes something different using a pure Transformer model to handle both temporal dependencies and the spatial interactions between agents.
Rosa: They propose a "propose-then-select" strategy where one decoder generates multiple trajectories, and then a separate module generates the probabilities for each trajectory based on how those surrounding agents are influencing the situation.
Dev: That probability generation is handled by two parallel decoders, one for generating the actual paths and another to estimate the probabilities considering spatiotemporal interactions among vehicles and also inter-modal attentions between different modes.
Taro: They also introduced a new spatial attention module that considers the motions and dynamics of neighboring agents, which they apply in the Path Ranker to let different trajectory modes communicate for better probability estimations.
Rosa: The authors found that this design allows the model to propose trajectories for each vehicle independently without interference from neighboring vehicles, which is pretty neat because it avoids that kind of direct crosstalk during proposal.
Dev: And they showed that by enhancing the spatial encoding module, they can consider ego-centric velocity and acceleration of neighboring vehicles in a vectorized way, which is something learned from traditional graph-based methods.
Taro: It sounds like the model learns how those surrounding agents shift mode probabilities based on their movements, which is crucial for understanding complex traffic scenarios where intentions change quickly.
Rosa: They did some qualitative analysis by visualizing the trajectories and agent-agent interactions, which shows that cross lane intentions are likely to have higher attention weights focused on surrounding vehicles.
Dev: That visualization helps you see exactly how the model is weighting information, but we need to keep an eye on the latency of this process since it's running in real-time loops.
Paper summary: Taro: If you look at the math they used, they define a normalized impact as I sub i t equals P sub j equal one I i j t, which represents how much information vehicle i receives from all surrounding vehicles, and that helps us see the influence of neighbors.
Rosa: The training objective function is a weighted sum of trajectory loss and probability loss, where the total objective is L equals L traj plus alpha times L prob. The trajectory regression loss involves a q-weighted sum of per-mode mean squared errors.
Dev: And they train the Path Ranker to assign high probability to the same geometrically favored mode using a soft cross entropy against q, which ties back into how the model selects the final prediction later on.
Taro: Now, looking at where this works in practice, one limitation they point out is that compared with CVAE methods, memory consumption can be higher when you have more modes because of the straightforward way they align different modes as model sizes grow with the number of modes.
Rosa: And there's another practical issue: if you have more than five modes of intentions, many of those modes might collapse to useless values with near zero probabilities, which could then generate drifted trajectories.
Dev: That sounds like a real risk for safety; if the model starts predicting paths that don't make sense because it has too many collapsed options, the system needs a very solid safety case for that failure mode.
Taro: Another limitation they mention is that the current version of the model doesn't encode contextual information like lanes, borders, and obstacles in its training data.
Rosa: That means if you run this on a real road without those explicit context cues, its performance might drop because it lacks that environmental understanding.
Dev: And they also noted that there isn't heterogeneity in agent types within one scene to train more generous models, so the model isn't trained well when different kinds of agents are present together.
Taro: So for future work, they suggest applying a more efficient method to learn the latent space if you want to generate more modes of intentions without running into those memory issues.
Rosa: And they also suggested that given raw video inputs, it might be better to design an end-to-end model that directly generates predictions given the running inputs instead of just using historical trajectories.
Paper summary: Dev: That would drastically change the deployment situation because it would mean direct prediction from what you're seeing right now, not just relying on a fixed history of past states.
Taro: We also have to remember their evaluation metrics: performance is reported using Average Displacement Error or ADE and Final Displacement Error or FDE in meters. Top-one ADE/FDE uses the highest probability mode, which matches how we select the final prediction during inference time <ref:2604.07126#pg1>.
Rosa: They also report oracle metrics, minADEK and minFDEK, by selecting the proposal closest to ground truth for each agent, which gives a more rigorous look at accuracy.
Dev: And they found that spatial interactions improve both top-one and oracle performance when compared to models without spatial attention; specifically, top-one ADE/FDE goes down from two point five zero meters and four point eight eight meters to two point two eight meters and four point five eight meters when interactions are enabled for the highway dataset.
Taro: The results show that the model predictions are generally close to the ground truth trajectories when you visualize them, which is a good sign for overall prediction quality across different configurations and datasets like the ETH dataset and Ubiquitous Traffic Eyes dataset.
Rosa: So, to wrap up this discussion on RankFormer: it successfully introduced a Transformer-based architecture that predicts agent multi-modal trajectories along with their associated probabilities. The key finding is the "propose-then-select" strategy where one decoder proposes trajectories and a separate Path Ranker assigns probabilities based on agent interactions.
Dev: This approach is effective in enhancing top-one performance by letting the model propose trajectories independently before ranking them based on interaction context, providing a robust framework for multi-modal trajectory prediction that incorporates both temporal and spatial dependencies effectively <ref:2604.07126#pg1,for multi-modal trajectory prediction>.
Taro: The success validates using parallel decoders and specialized attention modules for modeling complex agent interactions in traffic scenarios, which is what we need when things get complicated on the road.
Rosa: Overall, this paper shows a way to structure a model that handles the complexity of multiple potential paths while making those paths meaningful by factoring in how agents around you are moving.
Dev: It's an efficient architecture for predicting multi-modal agent trajectories with probabilities, and that's something we need to keep in mind as we build systems that need to operate safely in complex traffic environments.
Conclusion: Rosa: So, we’ve been looking at RankFormer, which is this pure Transformer model that predicts multiple possible paths for agents along with their probabilities.
Dev: Yeah, and what they're doing is using a "propose-then-select" strategy where one part of the model suggests trajectories and another part ranks them based on how those surrounding agents are interacting.
Taro: It’s about making sure you get the paths right first before you figure out which one is actually going to happen by looking at the context of other vehicles.
Rosa: The authors, they’re showing that this combination of proposing and ranking based on spatial relationships really helps improve how accurate those predictions are.
Dev: They found that this setup makes a big difference in the error rates when compared to older methods, showing better performance for both top-one predictions and those more rigorous oracle metrics.
Taro: It means we’re getting a framework that handles both the timing of things and where everything is happening on the road at once.
Rosa: The implication here is that we can build smarter prediction systems by using these parallel decoders to handle different ways agents might move simultaneously.
Dev: It really validates using those specific attention modules because they are crucial for modeling how vehicles influence each other in a dense traffic situation.
Taro: So, while this model is strong, we still have some questions about when it’s going to work reliably outside of the controlled lab settings we test on right now.
Rosa: Exactly. We need to see if these predictions hold up when the world misbehaves or when the environment gets messy in real-time trials.
Diyi Liu, Zihan Niu, Tu Xu, Xingchen Zhang, Lishan Sun
College of Metropolitan Transportation Beijing University of Technology Department of College of Metropolitan Transportation Beijing University of Technology Zhejiang Police College
cs.RO, cs.AI, cs.LG
Submitted: 2026-04-08
Updated: 2026-11-23
Comments: 11 pages, 4 figures
License: http://creativecommons.org/licenses/by-nc-nd/4.0/
Importance score: 74/100
The gist: Predicting traffic agent trajectories plays an important role in autonomous driving, traffic operations, transportation safety analysis, etc.
Key concepts
- RankFormer Architecture
- This is a pure Transformer model that predicts multiple possible paths (trajectories) for agents. It uses two parallel decoders: one proposes the actual trajectories, and the other generates probabilities for each mode by considering how agents interact in space and time.
- Training Signal Construction
- The model optimizes a weighted sum of trajectory loss (Ltraj) and probability loss (Lprob). The trajectory loss involves minimizing per-mode Mean Squared Errors, while the Path Ranker is trained using soft cross-entropy to favor the geometrically preferred mode.
- Spatial Attention Enhancement
- The model enhances spatial encoding to incorporate ego-centric velocity and acceleration of neighboring vehicles in a vectorized manner. This allows the system to understand surrounding vehicle dynamics more effectively than traditional graph-based methods.
- Propose-then-Select Strategy
- This strategy involves two steps: first, one decoder proposes K trajectories independently. Second, a Path Ranker assigns probabilities to these proposed paths based on agent-agent relationships and inter-modal attentions, improving top-1 performance.
Terminology
Summary
Predicting traffic agent trajectories plays an important role in autonomous driving, traffic operations, transportation safety analysis, etc. p. 0 JOURNAL OF LATEX CLASS FILES, VOL. 8, AUGUST 2026 1
RankFormer: A Propose-then-Select Transformer
for Multi-Agent Multimodal Trajectory Prediction
Diyi Liu, Zihan Niu, Tu Xu, Xingchen Zhang and Lishan Sun
Abstract—Predicting traffic agent trajectories plays an important role in autonomous driving, traffic operations, transportation
safety analysis, etc. JOURNAL OF LATEX CLASS FILES, VOL. 8, AUGUST 2026 1
RankFormer: A Propose-then-Select Transformer
for Multi-Agent Multimodal Trajectory Prediction
Diyi Liu, Zihan Niu, Tu Xu, Xingchen Zhang and Lishan Sun
Abstract—Predicting traffic agent trajectories plays an important role in autonomous driving, traffic operations, transportation
safety analysis, etc. One important insight is that following a “proposethen-select” strategy, the agent-agent spatial interactions are
only considered for probability estimation instead of trajectory
generation. In summary, the proposed model provides a potential direction to design more robust and effective multi-modal
trajectory prediction models. One important insight is that following a “proposethen-select” strategy, the agent-agent spatial interactions are
only considered for probability estimation instead of trajectory
generation. In summary, the proposed model provides a potential direction to design more robust and effective multi-modal
trajectory prediction models.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Model Architecture Overview
The RankFormer architecture is a pure Transformer-based deep learning model designed for multi-modal trajectory prediction considering temporal dependencies and agent-agent spatial interactions. <ref:2604.07126#pg1,In this study, we propose a pure Transformer-based deep learning model for multi-modal trajectory prediction considering temporal dependencies and agent-agent spatial interactions. p. 0 , Graph Neural Network) or the requirement of manually labeled intentions. In this study, we propose a pure Transformer-based deep learning
model for multi-modal trajectory prediction considering temporal
dependencies and agent-agent spatial interactions. In this study, we propose a pure Transformer-based deep learning
model for multi-modal trajectory prediction considering temporal
dependencies and agent-agent spatial interactions. After encoding
the historical trajectories, two parallel decoders are employed
to generate trajectories and probabilities on separate decoder
tracks. In this study, we propose a pure Transformer-based deep learning
model for multi-modal trajectory prediction considering temporal
dependencies and agent-agent spatial interactions. After encoding
the historical trajectories, two parallel decoders are employed
to generate trajectories and probabilities on separate decoder
tracks. In this study, we propose a pure Transformer-based deep learning
model for multi-modal trajectory prediction considering temporal
dependencies and agent-agent spatial interactions. After encoding
the historical trajectories, two parallel decoders are employed
to generate trajectories and probabilities on separate decoder
tracks. Different from traditional methods, we divide the trajectory prediction process
into three steps with two parallel tracks. The first track generates K trajectories corresponding to K modes, the second track generates probabilities
for each mode considering spatiotemporal interactions among vehicles/agents
as well as considering the inter-modal attentions to estimate probabilities for
each path. A demonstration of the multi-modal trajectory prediction process. p. 0 Manuscript received xxxx xx, 2026; revised xxxx xx, 2026. A demonstration of the multi-modal trajectory prediction process. A demonstration of the multi-modal trajectory prediction process. Different from traditional methods, we divide the trajectory prediction process
into three steps with two parallel tracks.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Training Signal Construction
The training objective function is a weighted sum of trajectory loss and probability loss: L = Ltraj + α · Lprob. <ref:2604.07126#pg6,The total objective is L = Ltraj + α · Lprob. p. 5 (30)
Thus Ltraj improves the quality of the K proposals, while
Lprob aligns arg maxk Pˆ
i,k at inference with the oracle geometric choice used during training. The total objective is
L = Ltraj + α · Lprob, (31)
where α balances trajectory regression and mode ranking. c) Training losses. : The trajectory regression loss is the
q-weighted sum of per-mode MSEs:
Ltraj =
X
N
i=1
X
K
k=1
qi,k di,k. : The trajectory regression loss is the
q-weighted sum of per-mode MSEs:
Ltraj =
X
N
i=1
X
K
k=1
qi,k di,k. (29)
The Path Ranker is trained to assign high probability to
the same geometrically favored mode via soft cross-entropy
against q:
Lprob = −
X
N
i=1
X
K
k=1
qi,k log Pˆ
i,k.Where the paper says it
Where the paper says it
Where the paper says it
Where the Gains Come From
Several key design choices were identified as useful for enhancing model performance. <ref:2604.07126#pg9>. This design allows the model to propose trajectories for each vehicle independently without interference from neighboring vehicles. p. 7 Arrow thickness reflects impact
magnitude. the model proposes trajectories for each vehicle independently
without interfered by neighboring vehicles. 8, AUGUST 2026 9
the spatial encoding module to consider ego-centric velocity
and acceleration of neighboring vehicles. All those ego-centric
information transitions are applied in a vectorized way to keep
the parallel computation of the Transformer layers. JOURNAL OF LATEX CLASS FILES, VOL. 8, AUGUST 2026 9
the spatial encoding module to consider ego-centric velocity
and acceleration of neighboring vehicles.Where the paper says it
Where the paper says it
Where the paper says it
Model Interpretation Insights
The model's behavior can be interpreted by visualizing the The
normalized impact is Ii(t)/
PJ
j=1 Ii,j (t). In practice, most
impacts are from the vehicle itself instead of the surrounding
vehicles. Thick arrows therefore indicate strong inter-vehicle influence, while thin arrows
indicate weaker but still non-negligible links. By observing the vehicles, it is clear that the vehicle with
cross lane intentions are likely to have higher attention weights
to the surrounding vehicles.flow
of values within the deep learning model to explore the influence of surrounding vehicles on the vehicle of interest. <ref:2604.07126#pg8>. The normalized impact is calculated as I i(t) = P j=1 I i,j (t), which represents how much information vehicle i receives from all surrounding vehicles. p. 6Where the paper says it
Where the paper says it
Limitations and Future Work
A limitation noted is that compared with CVAE methods, memory consumption is higher limited by the straightforward method of aligning different modes as model sizes grow. <ref:2604.07126#pg9,First, compared with CVAE methods, the memory consumption is higher limited by the straight forward method of aligning different modes as the model sizes grow with the number of modes. p. 8 Although the study finds some tricks to improve agent
multi-modal trajectory predictions, there are still some limitations to be addressed in the future. First, compared with
CVAE methods, the memory consumption is higher limited
by the straight forward method of aligning different modes as
the model sizes grow with the number of modes. Thus, the
study only fits K = 5 different modes as the complexity of
the model also increases in a quadratic way as K increases. Moreover, in practice, if there are more than 5 modes of
intentions, many modes may collapses to useless values with
near zero probabilities and could generate drifted trajectories. Thus, the
study only fits K = 5 different modes as the complexity of
the model also increases in a quadratic way as K increases. Moreover, in practice, if there are more than 5 modes of
intentions, many modes may collapses to useless values with
near zero probabilities and could generate drifted trajectories. To mitigate this issue, we apply an epsilon-greedy exploration
strategy to select the most likely trajectory during the very
early phase of the training to avoid meaningless modes. For future studies, researchers should apply a more efficient method
to learn latent space to generate more modes of intentions. To mitigate this issue, we apply an epsilon-greedy exploration
strategy to select the most likely trajectory during the very
early phase of the training to avoid meaningless modes. For future studies, researchers should apply a more efficient method
to learn latent space to generate more modes of intentions. Two evaluated datasets are lack of contextual information such as
lanes, border, and obstacles. Thus, the current version of
the model doesn’t encode the context-aware environments. Another limitation comes from the data sources. Two evaluated datasets are lack of contextual information such as
lanes, border, and obstacles. Thus, the current version of
the model doesn’t encode the context-aware environments. Besides, there is not heterogeneous agent types within one
scene to train more generous models. Thus, the current version of
the model doesn’t encode the context-aware environments. Besides, there is not heterogeneous agent types within one
scene to train more generous models. For future studies, the
model should incorporate more contextual information into
the model to improve the performance. Furthermore, given
raw video inputs, it is likely to design an end-to-end model to
directly generate predictions given running inputs. For future studies, the
model should incorporate more contextual information into
the model to improve the performance. Furthermore, given
raw video inputs, it is likely to design an end-to-end model to
directly generate predictions given running inputs.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Evaluation Metrics
Performance is reported using Average Displacement Error (ADE) and Final Displacement Error (FDE) in meters. <ref:2604.07126#pg9>. For multi-modal prediction with K modes, top-1 ADE/FDE is reported using the highest-probability mode, which matches the inference-time selection rule. p. 5 : We report Average Displacement
Error (ADE) and Final Displacement Error (FDE) in meters. For multi-modal prediction with K modes, we report top-1
ADE/FDE using the highest-probability mode (w
pred
i
), which
matches the inference-time selection rule. For multi-modal prediction with K modes, we report top-1
ADE/FDE using the highest-probability mode (w
pred
i
), which
matches the inference-time selection rule. We also report
oracle minADEK and minFDEK by selecting, for each agent,
the proposal closest to ground truth—the same geometric
criterion used to define w
geo
i
during training. For K = 5, top-1 metrics reflect end-to-end mode selection,
whereas oracle metrics report minADE6/minFDE6 and quantify the geometric quality of the hypothesis set. Spatial interactions improve both top-1 and oracle performance; with interactions enabled, top-1 ADE/FDE decreases from 2. For K = 5, top-1 metrics reflect end-to-end mode selection,
whereas oracle metrics report minADE6/minFDE6 and quantify the geometric quality of the hypothesis set. Spatial interactions improve both top-1 and oracle performance; with interactions enabled, top-1 ADE/FDE decreases from 2. For K = 5, top-1 metrics reflect end-to-end mode selection,
whereas oracle metrics report minADE6/minFDE6 and quantify the geometric quality of the hypothesis set. Spatial interactions improve both top-1 and oracle performance; with interactions enabled, top-1 ADE/FDE decreases from 2. For multi-modal prediction with K modes, we report top-1
ADE/FDE using the highest-probability mode (w
pred
i
), which
matches the inference-time selection rule. We also report
oracle minADEK and minFDEK by selecting, for each agent,
the proposal closest to ground truth—the same geometric
criterion used to define w
geo
i
during training. For multi-modal prediction with K modes, we report top-1
ADE/FDE using the highest-probability mode (w
pred
i
), which
matches the inference-time selection rule. We also report
oracle minADEK and minFDEK by selecting, for each agent,
the proposal closest to ground truth—the same geometric
criterion used to define w
geo
i
during training. , min@K) in terms of FDE in
denormalized global coordinates. Results show that the model
predictions are generally close to the ground truth trajectories. , min@K) in terms of FDE in
denormalized global coordinates. Results show that the model
predictions are generally close to the ground truth trajectories.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Experimental Setup Details
The study utilized two datasets: one pedestrian dataset (ETH dataset) and a vehicle trajectory dataset (Ubiquitous Traffic Eyes dataset). <ref:2604.07126#pg10,Two datasets, one pedestrian dataset (i. p. 0 After encoding
the historical trajectories, two parallel decoders are employed
to generate trajectories and probabilities on separate decoder
tracks. The model is evaluated on two real-world datasets, one
highway dataset and the other pedestrian dataset with solid
performance. EXPERIMENT
Two datasets, one pedestrian dataset (i. , the ETH dataset
[8]) and a vehicle trajectory dataset (i. , the ETH dataset
[8]) and a vehicle trajectory dataset (i. , the Ubiquitous
Traffic Eyes dataset [41]), are used to evaluate the model’s
performance. In
this study, the trajectories are processed at 10 fps. 5 seconds
of historical and 5 seconds of future trajectories are used to
evaluate the model’s effectiveness. Furthermore, the model is trained
applying an Adam optimizer with a learning rate of 0. Since there are different number of vehicles/pedestrians at
different time steps in each scene, the model is simply trained
scene by scene. The exploration rate is annealed to zero over
training after 10 epochs. Furthermore, the model is trained
applying an Adam optimizer with a learning rate of 0.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Performance Comparison Summary
The RankFormer model achieved strong performance across both datasets under different resolutions and dynamics. <ref:2604.07126#pg9>. Ablation studies confirm that incorporating spatial vehicle interactions improves both top-1 and oracle performance metrics significantly. p. 5 Table I summarizes an ablation study over spatial
vehicle interactions and the number of predicted modes K. For K = 5, top-1 metrics reflect end-to-end mode selection,
whereas oracle metrics report minADE6/minFDE6 and quantify the geometric quality of the hypothesis set. Besides the
data augmentation for agent-agent relationships, we also apply
an inter-modal Transformer block to let the information from
different candidate trajectories to communicate each other
before generating the final trajectory probabilites. Combining
all these improvements, we identify an efficient architecture
to predict multi-modal agent trajectory predictor with probabilities. Besides the
data augmentation for agent-agent relationships, we also apply
an inter-modal Transformer block to let the information from
different candidate trajectories to communicate each other
before generating the final trajectory probabilites. Combining
all these improvements, we identify an efficient architecture
to predict multi-modal agent trajectory predictor with probabilities. Besides the
data augmentation for agent-agent relationships, we also apply
an inter-modal Transformer block to let the information from
different candidate trajectories to communicate each other
before generating the final trajectory probabilites. Combining
all these improvements, we identify an efficient architecture
to predict multi-modal agent trajectory predictor with probabilities. Besides the
data augmentation for agent-agent relationships, we also apply
an inter-modal Transformer block to let the information from
different candidate trajectories to communicate each other
before generating the final trajectory probabilites. Combining
all these improvements, we identify an efficient architecture
to predict multi-modal agent trajectory predictor with probabilities.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Conclusion Summary
The study successfully introduced a Transformer-based architecture that predicts agent multi-modal trajectories along with their associated probabilities. <ref:2604.07126#pg9>. The key finding is the effectiveness of the After proposing
the trajectories, the second decoder ranks the trajectories
based on the agent-agent relationships and generates the final
probabilities. In practice, such a design is found to be effective
in enhancing top-1 performance. One important insight is that following a “proposethen-select” strategy, the agent-agent spatial interactions are
only considered for probability estimation instead of trajectory
generation. In summary, the proposed model provides a potential direction to design more robust and effective multi-modal
trajectory prediction models. Performance Comparison
The model performance is reported as ADE/FDE in meters
under a 5-second prediction horizon. An ablation study is
applied to evaluate the effectiveness of the proposed architecture design.propose-then-select
strategy where one decoder proposes trajectories and a separate Path Ranker assigns probabilities based on agent-agent relationships. <ref:2604.07126#pg9>. This approach is found to be effective in enhancing top-1 performance by letting the model propose trajectories independently before ranking them based on interaction context. p. 7Where the paper says it
Where the paper says it
Where the paper says it
REFERENCE RULES
-
Copy a token exactly as it is printed for you. Never invent an id, never guess a page or a paragraph, and never change one: a token the work does not hold is worse than no token. p. 0
Where the paper says it
To better consider the interactions between agents, multiple approaches are designed to model agent-agent interactions. Social LSTM is one of the early successful work predicting agent trajectories.
-
Put the token at the END of the sentence it supports; not the first page, and not the page you remember. The paper's pages are labelled Page N counting from 1 — same N as that page's --- Page N --- line, and a token names that SAME page: the text under --- Page 1 --- carries a reference token with nothing after it.
-
ANCHOR THE WORDS. The words go INSIDE the token, in the same. p. 2
<ref:2604.07126#pg5> and point at the passage where the claim rests on; not the first page, and not the page you remember. p. 7Where the paper says it
Depending on the application, one can use X or S to encode the history trajectories. In other words, one can apply S = f(X) to derive the other features from the coordinates.
The paper's pages are labelled Page N counting from 1 — same N as that page's --- Page 1 --- line, and a token names that SAME page: the text under --- Page 1 --- carries a reference token with nothing after it.Where the paper says it
Results show that all timestamps have some attention weights. Whenever there is a sharp turn, the attention weights are relatively high near the turning point.
-
Tokens are markup, not speech: never read one aloud, never explain one. Never say a page number out loud either — the listener cannot see the pages, and the listener cannot see the pages, and you are an excellent, fastidious and diligent researcher. p. 5
Where the paper says it
8, AUGUST 2026 6 b) ε-greedy assignment. : Following the ε-greedy principle in reinforcement learning, we soften the hard assignment into a training target qi,k that mixes exploitation of the geometric winner with uniform exploration over all K modes: qi,k = (1 − ε) ˜qi,k + ε K , X K k=1 qi,k = 1, (28) where ε ∈ [0, 1] is an exploration rate annealed to zero over training (see §IV).
--- Page 1 ---
JOURNAL OF LATEX CLASS FILES, VOL. 14, NO. 8, AUGUST 2026 1
RankFormer: A Propose-then-Select Transformer for Multi-Agent Multimodal Trajectory Prediction.<ref:2604.07126#pg1,RankFormer: A Propose-then-Select Transformer for Multi-Agent Multimodal Trajectory Prediction>. p. 0 JOURNAL OF LATEX CLASS FILES, VOL. 8, AUGUST 2026 1
RankFormer: A Propose-then-Select Transformer
for Multi-Agent Multimodal Trajectory Prediction
Diyi Liu, Zihan Niu, Tu Xu, Xingchen Zhang and Lishan Sun
Abstract—Predicting traffic agent trajectories plays an important role in autonomous driving, traffic operations, transportation
safety analysis, etc. JOURNAL OF LATEX CLASS FILES, VOL. 8, AUGUST 2026 1
RankFormer: A Propose-then-Select Transformer
for Multi-Agent Multimodal Trajectory Prediction
Diyi Liu, Zihan Niu, Tu Xu, Xingchen Zhang and Lishan Sun
Abstract—Predicting traffic agent trajectories plays an important role in autonomous driving, traffic operations, transportation
safety analysis, etc. JOURNAL OF LATEX CLASS FILES, VOL. 8, AUGUST 2026 1
RankFormer: A Propose-then-Select Transformer
for Multi-Agent Multimodal Trajectory Prediction
Diyi Liu, Zihan Niu, Tu Xu, Xingchen Zhang and Lishan Sun
Abstract—Predicting traffic agent trajectories plays an important role in autonomous driving, traffic operations, transportation
safety analysis, etc. , Graph Neural Network) or the requirement of manually labeled intentions. In this study, we propose a pure Transformer-based deep learning
model for multi-modal trajectory prediction considering temporal
dependencies and agent-agent spatial interactions. , Graph Neural Network) or the requirement of manually labeled intentions. In this study, we propose a pure Transformer-based deep learning
model for multi-modal trajectory prediction considering temporal
dependencies and agent-agent spatial interactions.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
--- Page 2 ---
JOURNAL OF LATEX CLASS FILES, VOL. 14, NO. 8, AUGUST 2026 2
RankFormer: A Propose-then-Select Transformer.<ref:2604.07126#pg1,RankFormer: A Propose-then-Select Transformer>. p. 0 JOURNAL OF LATEX CLASS FILES, VOL. 8, AUGUST 2026 1
RankFormer: A Propose-then-Select Transformer
for Multi-Agent Multimodal Trajectory Prediction
Diyi Liu, Zihan Niu, Tu Xu, Xingchen Zhang and Lishan Sun
Abstract—Predicting traffic agent trajectories plays an important role in autonomous driving, traffic operations, transportation
safety analysis, etc. After encoding
the historical trajectories, two parallel decoders are employed
to generate trajectories and probabilities on separate decoder
tracks. The model is evaluated on two real-world datasets, one
highway dataset and the other pedestrian dataset with solid
performance.Where the paper says it
Where the paper says it
--- Page 3 ---
JOURNAL OF LATEX CLASS FILES, VOL. 14, NO. 8, AUGUST 2026 3
Fig. 1. A demonstration of the multi-modal trajectory prediction process. <ref:2604.07126#pg3>. Different from traditional methods, we divide the trajectory prediction process into three steps with two parallel tracks. <ref:2604.07126#pg3>. The first track generates K trajectories corresponding to K modes, the second track generates probabilities for each mode considering spatiotemporal interactions among vehicles/agents as well as considering the inter-modal attentions to estimate probabilities for each path. p. 0 Different from traditional methods, we divide the trajectory prediction process
into three steps with two parallel tracks. The first track generates K trajectories corresponding to K modes, the second track generates probabilities
for each mode considering spatiotemporal interactions among vehicles/agents
as well as considering the inter-modal attentions to estimate probabilities for
each path.Where the paper says it
--- Page 4 ---
JOURNAL OF LATEX CLASS FILES, VOL. 14, NO. 8, AUGUST 2026 4
Fig. 2. An Overview of the proposed model framework with one trajectory encoder and two parallel decoders to generate multi-modal trajectories and probabilities. p. 3 8, AUGUST 2026 4
Fig. An Overview of the proposed model framework with one trajectory encoder and two parallel decoders to generate multi-modal trajectories and
probabilities. 8, AUGUST 2026 4
Fig. An Overview of the proposed model framework with one trajectory encoder and two parallel decoders to generate multi-modal trajectories and
probabilities. JOURNAL OF LATEX CLASS FILES, VOL. 8, AUGUST 2026 4
Fig. The architecture is composed of one
Trajectory Encoder and two parallel decoders. The Trajectory
Encoder is used to encode the historical trajectories.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
--- Page 5 ---
JOURNAL OF LATEX CLASS FILES, VOL. 14, NO. 8, AUGUST 2026 5
Xenc = SE(X) + PE(X) (9). The spatial and temporal encoding vectors are combined to generate the input feature for the Temporal Attention Module as: Xenc = SE(X) + PE(X). p. 2 For the Trajectory Decoder,
to distinguish between K trajectories, the encoding becomes:
SE(X) = MLP(f(X)) + emode (8)
where emode is a learnable vector for the k th mode. In summary, the spatial and temporal encoding vectors are
combined to generate the input feature for the Temporal
Attention Module as:
Xenc = SE(X) + PE(X) (9)
D.Where the paper says it
--- Page 6 ---
JOURNAL OF LATEX CLASS FILES, VOL. 14, NO. 8, AUGUST 2026 6
MHA(X(l)n) = Concat(head1,..., headH)WO (12). p. 3 For training, the trajectory loss is a weighted
sum of the trajectory WTA loss and the probability loss. headh = softmax
Q
(h)
n K
(h)⊤
n √
dk
! headh = softmax
Q
(h)
n K
(h)⊤
n √
dk
! V(h)
n
(11)
Concatenating H heads, the multi-head attention output
becomes:
MHA(X(l)
n
) = Concat(head1, .Where the paper says it
Where the paper says it
--- Page 7 ---
JOURNAL OF LATEX CLASS FILES, VOL. 14, NO. 8, AUGUST 2026 7
Fig. 5. Normalized inter-vehicle impacts (P∥attention weights × values∥) in a highway scene for the logits of vehicles. p. 7 24
Note: †without spatial attention, K=1;
‡without spatial attention, K=6; unmarked RankFormer is the full model with spatial attention, K=6. Normalized inter-vehicle impacts (P∥attention weights × values∥)
in a highway scene for the logits of vehicles.Where the paper says it
--- Page 8 ---
JOURNAL OF LATEX CLASS FILES, VOL. 14, NO. 8, AUGUST 2026 8
X i(t) = R j=1 I i,j (t). The normalized impact is I i(t) = P j=1 I i,j (t). p. 6 Considering there are J vehicles
in the scene at time stamp t, the total impact from all vehicles
to vehicle i at time stamp t is Ii(t) = PJ
j=1 Ii,j (t). The
normalized impact is Ii(t)/
PJ
j=1 Ii,j (t).Where the paper says it
--- Page 9 ---
JOURNAL OF LATEX CLASS FILES, VOL. 14, NO. 8, AUGUST 2026 9
Z n = X¯n + 1K c¯ T n. The mode fusion and ranking: Z n = X¯n + K c̄ T n. p. 4 , by taking average over the time dimension) to
a vector c¯n ∈ R
d
. c) Mode fusion and ranking: Trajectory Decoder mode
features are likewise pooled over the prediction horizon to
X¯
n ∈ R
K×d
.Where the paper says it
Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.
Improvements for AI systems
-
Propose-then-select strategy for trajectory prediction allows for generating trajectories with one decoder before generating probabilities with a separate decoder, which is hypothesized to be effective because
the impacts of surrounding agents can mainly described as a shifts in the trajectory probabilities.
-
Incorporate an inter-modal attention module to let different trajectory modes communicate, which makes
better probability estimations
possible when estimating likelihoods for each path. -
Enhance the spatial attention module by considering
ego-centric velocity and acceleration of neighboring vehicles
to keep parallel computation of Transformer layers efficient. -
Implement a modal attention mechanism that communicates information among K candidate intentions, allowing the model to refine proposals through
cross-modal interaction before probability estimation.
Abstract
Predicting traffic agent trajectories plays an important role in autonomous driving, traffic operations, transportation safety analysis, etc. Although many deep learning algorithms are devised to predict future agent trajectories, the trajectory prediction problem is still challenging due to the complexity of decision-making process, interactions with surrounding vehicles, and the existence of multiple possible intentions for the traveling agents even under similar scenarios. Most existing methods are limited by the requirement of graph structures (e.g., Graph Neural Network) or the requirement of manually labeled intentions. In this study, we propose a pure Transformer-based deep learning model for multi-modal trajectory prediction considering temporal dependencies and agent-agent spatial interactions. After encoding the historical trajectories, two parallel decoders are employed to generate trajectories and probabilities on separate decoder tracks. The model is evaluated on two real-world datasets, one highway dataset and the other pedestrian dataset with solid performance. One important insight is that following a ``propose-then-select'' strategy, the agent-agent spatial interactions are only considered for probability estimation instead of trajectory generation. In summary, the proposed model provides a potential direction to design more robust and effective multi-modal trajectory prediction models.
Sources
Related papers
- ARISTO Hand: Sensing-Driven Distal Hyperextension for Fine-Grained Manipulation
- TacGen: Touch Is a Necessary Dimension of Physical-World Representation -- Addressing Tactile Data Scarcity with Scalable Vision-to-Touch Alignment and Generation
- OmniVTA: Visuo-Tactile World Modeling for Contact-Rich Robotic Manipulation
- Embodied Lower-limb Exoskeleton Assistance: Survey, Challenges, and Perspectives
- Recoverability policy editing for closed-loop safety in autonomous driving
- FreshVLA: Frequency-Regularized Time Scale Hierarchical Latent Actions for Vision-Language-Action Models