TL;DR
Most trajectory prediction models assume a perfect history of an agent's movement, but real-world sensors often miss detections due to occlusions or poor lighting. This paper introduces a "Two-Block RNN" that mimics Bayesian filtering logic to handle these gaps: one block processes successful detections, while a second block handles missing steps by skipping the "update" phase, preventing the model from learning from "hallucinated" or noisy imputed data.
What Problem Does This Paper Address?
Trajectory prediction—forecasting where a pedestrian or vehicle will go next—is vital for self-driving cars and social robots. However, there is a significant gap between research and reality. Most state-of-the-art models are trained on "complete" trajectories where every data point is known.
In the real world, we face miss-detections. An object might disappear behind a pillar or become a blur in low light. Standard ways to handle these gaps include "dropping" the sequence (losing data) or "imputation" (filling the gap with a guess, like the last known position). The authors argue that these guesses often mislead the model, causing it to accumulate errors because it treats a "fake" imputed position as a ground-truth observation.
Methods
The authors propose a novel architecture inspired by the Bayesian Filter (like the Kalman Filter), which traditionally operates in two steps: Prediction (where will the agent be based on physics?) and Update (how does the new sensor data change that prediction?).
Their Two-Block RNN consists of two specialized encoders:
- $g_c$ (The "Correct" Block): Used when a detection is successful. It performs both the update and prediction steps using the new measurement.
- $g_i$ (The "Incomplete" Block): Used when a detection is missed. Crucially, it skips the update step and only performs the prediction step.
By using two separate blocks, the model learns that when data is missing, it should rely on its internal memory of the agent's momentum rather than trying to "update" its state with a zero or a static last-known position. This prevents the hidden state of the RNN from being corrupted by bad data.
Datasets
The researchers evaluated their model on two gold-standard pedestrian trajectory datasets:
- ETH: Contains scenes like "ETH" and "HOTEL."
- UCY: Contains scenes like "UNIV," "ZARA-01," and "ZARA-02."
Since these datasets are typically provided as "clean" complete trajectories, the authors synthetically generated miss-detection masks (with ratios ranging from 0.2 to 0.8) to simulate real-world sensor failure during training and testing.
Key Insights and Ideas
- Imputation is a Double-Edged Sword: While filling gaps with linear interpolation or "last-known-value" seems helpful, it often introduces "impossible" movements that confuse the neural network.
- The "Aha" Moment: Instead of trying to fix the data, the authors fixed the logic. By mimicking a Bayesian filter's ability to skip an update when no observation exists, the RNN maintains a much cleaner "hidden state" (its internal understanding of the agent's intent).
- Better Even When Data is Perfect: Surprisingly, the proposed model outperformed baselines even when there were zero miss-detections. This suggests that training a model to be robust against missing data actually helps it learn more fundamental features of human motion.
- External vs. Internal Modification: Unlike other methods that rewrite the internal math of an LSTM or GRU (making them hard to implement), this is an "external" modification. You can essentially wrap this two-block logic around almost any existing RNN-based prediction model.
Key Results
The model was tested against three common baselines: Last Filling, Zero Filling, and Linear Filling.
- Accuracy Boost: The Two-Block RNN showed a 9% improvement in ADE (Average Displacement Error) and a 7% improvement in FDE (Final Displacement Error) over the best baseline (Linear Filling).
- Robustness: On the ZARA2 dataset, the improvement was even more dramatic—up to 33% better than the best baseline when predicting 8 steps ahead.
- Consistency: As the "miss-detection ratio" increased (i.e., the sensor got worse), the Two-Block RNN's performance degraded much more slowly than the imputation-based baselines.
Limitations and Future Work
- Absolute Coordinates: The authors had to use absolute coordinates $(x, y)$ rather than relative displacements $(\Delta x, \Delta y)$. Relative coordinates are usually better for generalization, but they are impossible to calculate accurately when the "previous" point is missing. This led to a performance drop compared to models trained on 100% complete data.
- False Positives: The model handles missing detections well, but it is not yet designed to handle wrong detections (where a sensor sees a "ghost" agent that isn't there).
- Future Direction: The authors aim to find a way to use relative coordinates even with incomplete data to further boost accuracy.
Summary updated