Abstract
Accurate and low-latency trajectory forecasting is essential for the safe operation of autonomous robots and self-driving vehicles. While recurrent neural networks (RNNs) capture temporal dependencies well, their sequential nature introduces significant latency. Conversely, existing graph-based convolutional models often produce temporally inconsistent or "shaky" predictions. This paper presents STC-Net, a Spatial-Temporal Consistency Network that leverages a fully convolutional architecture. By combining Graph Convolutions (GC), Dilated Temporal Convolutions (DTC), and a novel Feature-Wise Convolution (FWC) layer, STC-Net achieves state-of-the-art performance with only 700 parameters and a latency of 1.3ms.
Introduction
Predicting the future paths of dynamic agents like pedestrians and vehicles is a core challenge in robotics. Real-time deployment requires models to operate significantly faster than the sensor frame rate (typically 30-60 FPS). Traditional RNN/LSTM models are bottlenecked by sequential processing. While CNN-based graph models offer speed, they often lack the inductive bias necessary to ensure that predicted trajectories are smooth and consistent with observed history. STC-Net addresses these challenges by replacing recurrent loops with a highly efficient, parallelizable convolutional pipeline designed for spatial-temporal consistency.
Methodology
The STC-Net architecture is designed to be both lightweight and expressive, focusing on three primary components to model social interactions and temporal dynamics.
Core Components
- Graph Convolutions (GC): These layers model social interactions by treating agents as nodes in a graph. Edges represent spatial proximity, allowing the network to capture how agents influence one another's movement.
- Dilated Temporal Convolutions (DTC): To capture long-range temporal dependencies without the overhead of RNNs, STC-Net utilizes DTCs. Dilation increases the receptive field across the time dimension, allowing the model to "see" the entire observed history simultaneously.
- Feature-Wise Convolution (FWC): A critical innovation of STC-Net is the FWC layer. Unlike standard 1x1 convolutions, FWC aggregates information across the temporal dimension to generate the entire future trajectory in a single forward pass, ensuring high efficiency.
Consistency and Refinement
To ensure smooth transitions between observed and predicted paths, the model is trained to simultaneously reconstruct the past and predict the future. This dual-task approach, combined with a refinement stage that treats the entire path as a single continuous curve, eliminates the "shaky" trajectories common in other fast models.
Experimental Results
The model was evaluated on the ETH/UCY and Stanford Drone Dataset (SDD) benchmarks.
Performance and Efficiency
STC-Net demonstrates remarkable efficiency, utilizing 3,000x fewer parameters (0.7k vs. 2.4M) and running 467x faster than complex models like PECNet. With a latency of 1.3ms, it is well-suited for high-frequency real-time applications.
Accuracy
On the SDD benchmark, STC-Net achieved an Average Displacement Error (ADE) of 0.51, outperforming other graph-based methods such as Social-STGCNN (0.71) and STGAT (0.58). The use of a hybrid loss function—L2 for the deterministic past and Negative Log-Likelihood (NLL) for the probabilistic future—was found to be optimal for balancing accuracy and uncertainty.
Conclusion and Future Work
STC-Net proves that a well-designed inductive bias can outperform raw model capacity in trajectory forecasting. By prioritizing spatial-temporal consistency through a fully convolutional design, the model achieves ultra-low latency without sacrificing accuracy. Future research will explore incorporating environmental context (e.g., semantic maps) and addressing multi-modal distributions in highly complex urban scenarios.
Summary updated