# Adaptive output steps: FlexiSteps network for dynamic trajectory prediction

**Authors:** Yunxiang Liu, Hongkuo Niu, Jianlin Zhu, Jinhao Liang, Jinhao Liang, Jinhao Liang

PMC · DOI: 10.1371/journal.pone.0333926 · 2025-10-27

## TL;DR

This paper introduces FlexiSteps Network, a dynamic trajectory prediction model that adapts output steps to real-world conditions, improving accuracy and adaptability.

## Contribution

The novel FlexiSteps Network dynamically adjusts prediction time steps using an Adaptive Prediction Module and a Dynamic Decoder.

## Key findings

- FSN outperforms fixed-step models in prediction accuracy on Argoverse and INTERACTION datasets.
- The Fréchet distance-based scoring mechanism effectively balances prediction horizon and accuracy.
- FSN's modular design allows easy integration with existing trajectory prediction models.

## Abstract

Accurate trajectory prediction is vital for autonomous driving, robotics, and intelligent decision-making systems, yet traditional models typically rely on fixed-length output predictions, limiting their adaptability to dynamic real-world scenarios. In this paper, we introduce the FlexiSteps Network (FSN), a novel framework that dynamically adjusts prediction output time steps based on varying contextual conditions. Inspired by recent advancements addressing observation length discrepancies and dynamic feature extraction, FSN incorporates a pre-trained Adaptive Prediction Module (APM) to intelligently determine optimal prediction horizons and a Dynamic Decoder (DD) module that enables flexible output generation across different time steps. Additionally, to balance prediction horizon and accuracy, we design a scoring mechanism that leverages Fréchet distance to evaluate geometric similarity between predicted and ground truth trajectories while considering prediction length, enabling principled trade-offs between prediction horizon and accuracy. Our plug-and-play design allows seamless integration with existing trajectory prediction models. Extensive experiments on benchmark datasets including Argoverse and INTERACTION demonstrate that FSN achieves superior prediction accuracy and contextual adaptability compared to traditional fixed-step approaches.

## Full-text entities

- **Diseases:** HD (MESH:D008228), APM (MESH:D018489), DD (MESH:D000092242)
- **Chemicals:** FLN (-)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Figures

50 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12558560/full.md

---
Source: https://tomesphere.com/paper/PMC12558560