Abstract
We introduce a spatio-temporal convolutional neural network model for trajectory forecasting from visual sources. Applied in an auto-regressive way it provides an explicit probability distribution over continuations of a given initial trajectory segment. We discuss it in relation to (more complicated) existing work and report on experiments on two standard datasets for trajectory forecasting: MNISTseq and Stanford Drones, achieving results on-par with or better than previous methods.
Introduction: The Complexity Trap
Predicting the future path of a pedestrian, vehicle, or drone is inherently a "multi-modal" challenge. When an agent encounters a junction, multiple valid paths exist; a single deterministic prediction often results in an "average" path that is physically impossible. To address this, recent research has favored complex generative frameworks, such as Conditional Variational Autoencoders (CVAEs) paired with LSTMs.
However, researchers at IST Austria and Sharif University of Technology argue that these models have become unnecessarily over-complicated. These frameworks are difficult to train due to their reliance on continuous latent space sampling and lack exact likelihood calculations. Furthermore, the field's reliance on the "Oracle" metric—which measures the best of $N$ samples—may be masking fundamental flaws in model accuracy.
The STCNN Model: Simplicity by Design
The proposed Spatio-Temporal Convolutional Neural Network (STCNN) returns to architectural basics to solve the forecasting problem. Instead of complex latent variables, it treats a trajectory as a sequence of images and employs a standard encoder-decoder structure.
Key features of the architecture include:
- Spatio-Temporal Feature Extraction: The model uses 2D and 3D convolutions to capture both spatial context and temporal dynamics, compressing them into a bottleneck representation.
- Discrete Probabilistic Output: Rather than predicting $(x, y)$ coordinates, the final layer uses a softmax over the entire pixel grid. This generates a heatmap where each pixel represents the probability of the object's presence at the next time step.
- Auto-regressive Prediction: Multi-step forecasting is achieved by iteratively appending the predicted step back into the input sequence.
- Maximum Likelihood Training: The use of a discrete distribution allows for training via standard cross-entropy loss, offering a more stable and mathematically well-defined alternative to the surrogate losses required by CVAEs.
Rethinking Evaluation: The "Shotgun" Problem
A core contribution of this work is a critique of current evaluation standards. The authors demonstrate that the popular "Oracle" metric (Top-N error) rewards diversity over precision. To prove this, they introduced a "shotgun" baseline—a simple heuristic that guesses ten different directions. Surprisingly, this baseline outperformed several sophisticated deep learning models on the Oracle metric, suggesting the metric encourages models to "spray" guesses rather than learn true underlying distributions.
Consequently, the authors advocate for negative cross-entropy as the primary evaluation metric. It punishes both over-confidence and missing the ground truth, providing a more rigorous assessment of a model's probabilistic accuracy.
Experimental Results
The STCNN was evaluated on two benchmarks: MNISTseq (digit trajectories) and the Stanford Drone Dataset (SDD) (aerial footage of campus scenes).
On MNISTseq, the STCNN achieved a cross-entropy score of 27.7, significantly outperforming a standard LSTM baseline (73.4). On the Stanford Drone Dataset, the model achieved a cross-entropy of 21.3 when utilizing a reference image of the static environment. Despite its simplicity, the STCNN matched or slightly outperformed complex state-of-the-art models like DESIRE and LSTM-BMS on the standard oracle error metrics, proving that "bells and whistles" are not required for high performance.
Conclusion
The STCNN demonstrates that a straightforward convolutional approach can achieve state-of-the-art results in trajectory forecasting while providing clearer probabilistic interpretations. While future work remains in handling multi-agent interactions and deeper contextual integration, this research serves as a vital reminder that architectural simplicity and rigorous evaluation metrics are often more effective than increasing model complexity.
Summary updated