LMFormer: Lane based Motion Prediction Transformer

Harsh Yadav, Maximilian Schaefer, Kun Zhao, Tobias Meisen
4/14/2025
cs.CVcs.LG

No confident code implementation found for this paper.

Abstract

Motion prediction plays an important role in autonomous driving. This study presents LMFormer, a lane-aware transformer network for trajectory prediction tasks. In contrast to previous studies, our work provides a simple mechanism to dynamically prioritize the lanes and shows that such a mechanism introduces explainability into the learning behavior of the network. Additionally, LMFormer uses the lane connection information at intersections, lane merges, and lane splits, in order to learn long-range dependency in lane structure. Moreover, we also address the issue of refining the predicted trajectories and propose an efficient method for iterative refinement through stacked transformer layers. For benchmarking, we evaluate LMFormer on the nuScenes dataset and demonstrate that it achieves SOTA performance across multiple metrics. Furthermore, the Deep Scenario dataset is used to not only illustrate cross-dataset network performance but also the unification capabilities of LMFormer to train on multiple datasets and achieve better performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yadav2025lmformer,
  title  = {LMFormer: Lane based Motion Prediction Transformer},
  author = {Harsh Yadav and Maximilian Schaefer and Kun Zhao and Tobias Meisen},
  year   = {2025},
  eprint = {2504.10275},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.10275v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.10275.svg)](https://codeofpaper.com/paper/2504.10275)

Discussion