Introduction
Most autonomous and driver-assistance systems focus heavily on the "outside world"—tracking other vehicles, pedestrians, and lane lines. However, they often ignore one of the most important signals of intent: the driver. Predicting the "ego-trajectory" (the future path of the host vehicle) is notoriously difficult because it is driven by internal human goals that aren't always obvious from the car's current physical motion. For example, at a complex intersection, a car’s physics might suggest it’s going straight, but the driver’s eyes might already be locked onto a right-hand turn.
Given that a significant portion of collisions involves driver inattention, a system that understands where a driver intends to go could intervene much more effectively. To address this gap, researchers have developed RouteFormer, a multimodal AI that predicts a car's future path by "watching" the driver. By integrating the driver's gaze and first-person field-of-view with external scene data, the system significantly improves trajectory prediction accuracy, especially in complex urban maneuvers.
The RouteFormer Architecture
RouteFormer is an end-to-end multimodal transformer architecture designed to fuse disparate data streams into a cohesive prediction of the vehicle's future path.
Its key innovations include:
- Visual Encoding: The system uses a pre-trained vision backbone (SwinV2) to process both the surrounding environmental scene and the driver's first-person video.
- Gaze Fusion: A cross-modal transformer extracts relevant features from the video based specifically on where the driver is looking (gaze fixations).
- Time-Series Forecasting: These visual features are combined with past GPS coordinates and fed into a time-series transformer (such as Informer or PatchTST) to predict the next 6 seconds of motion.
- Future-Discounted Loss: A novel training objective prioritizes accuracy in the immediate future over the distant future, mimicking real-world safety priorities.
- Regularization via Auxiliary Tasks: To prevent the model from over-fitting on simple motion patterns, RouteFormer is trained to simultaneously predict future visual features and gaze locations, forcing the internal representations to remain rich in environmental context.
Datasets and the Path Complexity Index
To train and evaluate RouteFormer, the researchers utilized two primary datasets. The first is DR(eye)VE, an existing public benchmark that primarily features rural and highway driving. To address the need for more complex urban scenarios and higher-quality data, the authors introduced GEM (Gaze-assisted Ego Motion). GEM features 5 hours of urban driving across 10 subjects, including 4K video, high-frequency gaze data from eye-tracking glasses, and manually corrected, noise-free GPS data.
Furthermore, the authors created a new metric called the Path Complexity Index (PCI) to quantify how "difficult" a trajectory is. By measuring the Fréchet distance between the actual path and a simple linear extrapolation, PCI allows researchers to filter out "boring" straight-line driving and focus evaluation on the challenging "long tail" of urban maneuvers like sharp turns and roundabout exits.
Key Findings and Results
RouteFormer sets a new state-of-the-art (SOTA) for ego-trajectory prediction, demonstrating several crucial insights:
- Gaze as a Leading Indicator: The driver’s eyes are a high-quality indicator of future motion. Drivers often fixate on their intended path or destination well before the vehicle actually begins to turn.
- The Complexity Scaling Effect: The benefit of gaze data increases as the path becomes more complex. In simple straight-line driving, gaze adds little value; however, in high-PCI scenarios, it is a critical difference-maker.
- Superior Accuracy: On the GEM dataset, RouteFormer achieved an Average Displacement Error (ADE) of 5.99m, outperforming the previous SOTA, GIMO (7.61m), and a video-only version of itself (6.13m).
- Confidence in Complex Scenarios: In high-complexity cases (PCI 20+), the model achieved an ADE of 7.70m, showing much higher confidence in sharp turns than baseline models.
- Long-Horizon Prediction: At a 6-second prediction horizon, incorporating gaze improved the Final Displacement Error (FDE) by 6.21% over the video-only baseline.
Limitations and Future Work
While RouteFormer represents a significant step forward, it still faces challenges with "blind" turns where occlusions (like trees or parked cars) block the view of the upcoming path. Integrating vehicle-specific data like turn signals or LIDAR could help bridge this gap. Additionally, the model does not explicitly account for the complex social "negotiations" that occur between drivers at busy intersections.
Finally, the current system relies on eye-tracking glasses. For mass-market automotive deployment, future iterations will need to transition to using in-cabin cameras capable of estimating gaze without requiring the driver to wear specialized hardware.
Summary updated