TrajCLIP: Pedestrian trajectory prediction method using contrastive learning and idempotent networks

Pengfei Yao, Yinglong Zhu, Huikun Bi, Tianlu Mao, Zhaoqi Wang
2/3/2026

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

The distribution of pedestrian trajectories is highly complex and influenced by the scene, nearby pedestrians, and subjective intentions. This complexity presents challenges for modeling and generalizing trajectory prediction. Previous methods modeled the feature space of future trajectories based on the high-dimensional feature space of historical trajectories, but this approach is suboptimal because it overlooks the similarity between historical and future trajectories. Our proposed method, TrajCLIP, utilizes contrastive learning and idempotent generative networks to address this issue. By pairing historical and future trajectories and applying contrastive learning on the encoded feature space, we enforce same-space consistency constraints. To manage complex distributions, we use idempotent loss and tightness loss to control over-expansion in the latent space. Additionally, we have developed a trajectory interpolation algorithm and synthetic trajectory data to enhance model capacity and improve generalization. Experimental results on public datasets demonstrate that TrajCLIP achieves state-of-the-art performance and excels in scene-to-scene transfer, few-shot transfer, and online learning tasks.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — 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{yao2026trajclip,
  title  = {TrajCLIP: Pedestrian trajectory prediction method using contrastive learning and idempotent networks},
  author = {Pengfei Yao and Yinglong Zhu and Huikun Bi and Tianlu Mao and Zhaoqi Wang},
  year   = {2026},
  doi    = {10.52202/079017-2450},
  url    = {https://doi.org/10.52202/079017-2450},
  journal = {NEURIPS 2024 2024}
}

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/65210f975d4147919ec9d1dbbc029cf2a74f5791.svg)](https://codeofpaper.com/paper/65210f975d4147919ec9d1dbbc029cf2a74f5791)

Discussion