LaKD: Length-agnostic Knowledge Distillation for Trajectory Prediction with Any Length Observations
Yuhang Li, Changsheng Li, Ruilin Lv, Rongqing Li, Ye Yuan, Guoren Wang
Abstract
Trajectory prediction is a crucial technology to help systems avoid traffic accidents, ensuring safe autonomous driving. Previous methods typically use a fixed-length and sufficiently long trajectory of an agent as observations to predict its future trajectory. However, in real-world scenarios, we often lack the time to gather enough trajectory points before making predictions, e.g., when a car suddenly appears due to an obstruction, the system must make immediate predictions to prevent a collision. This poses a new challenge for trajectory prediction systems, requiring them to be capable of making accurate predictions based on observed trajectories of arbitrary lengths, leading to the failure of existing methods. In this paper, we propose a L ength-a gnostic K nowledge D istillation framework, named LaKD , which can make accurate trajectory predictions, regardless of the length of observed data. Specifically, considering the fact that long trajectories, containing richer temporal information but potentially additional interference, may perform better or worse than short trajectories, we devise a dynamic length-agnostic knowledge distillation mechanism for exchanging information among trajectories of arbitrary lengths, dynamically determining the transfer direction based on prediction performance. In contrast to traditional knowledge distillation, LaKD employs a unique model that simultaneously serves as both the teacher and the student, potentially causing knowledge collision during the distillation process. Therefore, we design a dynamic soft-masking mechanism, where we first calculate the importance of neuron units and then apply soft-masking to them, so as to safeguard critical units from disruption during the knowledge distillation process. In essence, LaKD is a general and principled framework that can
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- SHARP: Short-Window Streaming for Accurate and Robust Prediction in Motion Forecasting cites Motion Transformer with Global Intention Localization and Local Movement Refinement
- SHARP: Short-Window Streaming for Accurate and Robust Prediction in Motion Forecasting cites HiVT: Hierarchical Vector Transformer for Multi-Agent Motion Prediction
- Recover to Predict: Progressive Retrospective Learning for Variable-Length Trajectory Prediction cites Adapting to Observation Length of Trajectory Prediction via Contrastive Learning
- Recover to Predict: Progressive Retrospective Learning for Variable-Length Trajectory Prediction cites Motion Transformer with Global Intention Localization and Local Movement Refinement
- Recover to Predict: Progressive Retrospective Learning for Variable-Length Trajectory Prediction cites HiVT: Hierarchical Vector Transformer for Multi-Agent Motion Prediction
- TOTP: Transferable Online Pedestrian Trajectory Prediction with Temporal-Adaptive Mamba Latent Diffusion cites Denoising Diffusion Probabilistic Models
- TOTP: Transferable Online Pedestrian Trajectory Prediction with Temporal-Adaptive Mamba Latent Diffusion cites STGAT: Modeling Spatial-Temporal Interactions for Human Trajectory Prediction
- NATRA: Noise-Agnostic Framework for Trajectory Prediction with Noisy Observations cites STGAT: Modeling Spatial-Temporal Interactions for Human Trajectory Prediction
- NATRA: Noise-Agnostic Framework for Trajectory Prediction with Noisy Observations cites HiVT: Hierarchical Vector Transformer for Multi-Agent Motion Prediction
- Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
- HiVT: Hierarchical Vector Transformer for Multi-Agent Motion Prediction cites STGAT: Modeling Spatial-Temporal Interactions for Human Trajectory Prediction
Cited by top-tier papers5
- NATRA: Noise-Agnostic Framework for Trajectory Prediction with Noisy ObservationsRongqing Li, Changsheng Li, Ruilin Lv, Yuhang Li et al.ICCV 2025 · 3 citations
- Recover to Predict: Progressive Retrospective Learning for Variable-Length Trajectory PredictionHao Zhou, Lu Qi, Xiangtai Li, Jie Zhang et al.CVPR 2026 · 2 citations
- TOTP: Transferable Online Pedestrian Trajectory Prediction with Temporal-Adaptive Mamba Latent DiffusionZiyang Ren, Ping Wei, Shangqi Deng, Haowen Tang et al.ICCV 2025 · 1 citation
- SHARP: Short-Window Streaming for Accurate and Robust Prediction in Motion ForecastingAlexander Prutsch, Christian Fruhwirth-Reisinger, David Schinagl, Horst PosseggerCVPR 2026
- Adapting to Observation Length of Trajectory Prediction via Contrastive LearningRuiqi Qiu, Jun Gong, Xinyu Zhang, Siqi Luo et al.CVPR 2025
Builds on33
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
- STGAT: Modeling Spatial-Temporal Interactions for Human Trajectory PredictionYingfan Huang, Huikun Bi, Zhaoxin Li, Tianlu Mao et al.ICCV 2019 · 615 citations
- Motion Transformer with Global Intention Localization and Local Movement RefinementShaoshuai Shi, Li Jiang, Dengxin Dai, Bernt SchieleNeurIPS 2022 · 515 citations
- HiVT: Hierarchical Vector Transformer for Multi-Agent Motion PredictionZikang Zhou, Luyao Ye, Jianping Wang, Kui Wu et al.CVPR 2022 · 379 citations
Related papers
- Spectral-guided Physical Dynamics DistillationYoujin Kim, Dagyeong Na, Jae Yong Lee, Junseok KwonICLR 2026
- Multi-modal Knowledge Distillation-based Human Trajectory ForecastingJaewoo Jeong, Seohee Lee, Daehee Park, Giwon Lee et al.CVPR 2025
- LATTE: Learning Adaptive Segmentation for Efficient and Effective Trajectory Similarity LearningJialiang Li, Hua Lu, Tiantian Liu, Zhichen Lai et al.KDD 2026
- On the Road to Portability: Compressing End-to-End Motion Planner for Autonomous DrivingKaituo Feng, Changsheng Li, Dongchun Ren, Ye Yuan et al.CVPR 2024
- Adapting to Length Shift: FlexiLength Network for Trajectory PredictionYi Xu, Yun FuCVPR 2024
