TLDR: SAM-LLM is a new hybrid AI model for autonomous driving that predicts lane changes. Instead of outputting complex coordinate sequences, it uses Large Language Models (LLMs) to generate simple, physically meaningful parameters (like how far and how long a lane change will take). This makes its predictions highly interpretable, computationally efficient (80% smaller output, 54% faster), and achieves state-of-the-art accuracy (98.73% intention prediction).
Autonomous driving systems rely heavily on accurate lane change prediction for safe navigation. Traditionally, deep learning models have been used to predict vehicle trajectories by outputting discrete coordinates. However, these methods often face challenges with computational efficiency and lack inherent interpretability, as the physical meaning behind a sequence of coordinates can be opaque.
A new research paper introduces SAM-LLM, a novel hybrid architecture that aims to bridge the gap between the advanced contextual reasoning capabilities of Large Language Models (LLMs) and the precise physical understanding of kinematic lane change models. This system is designed to provide interpretable lane change trajectory predictions by fine-tuning an LLM to output core physical parameters of a trajectory model, rather than just raw coordinates.
For scenarios where a vehicle is simply keeping its lane, SAM-LLM predicts discrete coordinates, similar to traditional methods. However, for more complex lane change maneuvers, it generates parameters for an enhanced Sinusoidal Acceleration Model (SAM). These parameters include crucial physical details such as lateral displacement (how far the vehicle moves sideways), maneuver duration (how long the lane change takes), initial lateral velocity (the sideways speed at the start of the prediction), and longitudinal velocity change (how much the forward speed changes). This parametric approach results in a complete, continuous, and physically realistic trajectory model that is inherently easier to understand and computationally more efficient.
One of the significant advantages of SAM-LLM is its physical interpretability. Each parameter generated by the model has a clear kinematic meaning, allowing for direct analysis of driving behavior. For instance, typical lane change durations (3-6 seconds) and lateral displacements (3.5-4.0 meters) align with established transportation engineering knowledge. This level of transparency is a major improvement over coordinate-based methods, which often provide little insight into the underlying physical dynamics.
The system also boasts remarkable computational efficiency. By generating just four physical parameters instead of a sequence of 20 coordinates, SAM-LLM achieves an 80% reduction in output size. This leads to a substantial 54% increase in inference speed, making it particularly well-suited for real-time autonomous driving applications where processing power is a critical concern.
To further enhance interpretability, SAM-LLM incorporates a Chain-of-Thought (CoT) framework. This means the model is fine-tuned to explicitly verbalize its reasoning process before making a final prediction. It identifies notable features from the driving context, synthesizes them into a potential behavior (like overtaking), and then provides a direct justification for its predicted intention and trajectory. This structured reasoning pathway improves robustness and offers human-readable explanations for each prediction.
The researchers evaluated SAM-LLM on the highD dataset, a collection of naturalistic vehicle trajectories on German highways. The model achieved a state-of-the-art overall intention prediction accuracy of 98.73%. It maintained high accuracy across all intention classes: 99.07% for lane keeping, 97.43% for left lane changes, and 98.61% for right lane changes. Furthermore, SAM-LLM demonstrated superior lateral trajectory prediction performance, consistently achieving lower RMSE values across various time points compared to traditional LLM predictors.
The distributions of the predicted SAM parameters for left and right lane changes showed clear separation and tight clustering, confirming that the model learns consistent and realistic driving behaviors. Trajectories reconstructed from these predicted parameters closely aligned with ground truth data, producing smooth and physically plausible paths.
Also Read:
- Traj-MLLM: Using Multimodal AI to Analyze Human Movement Data
- Enhancing Safety Predictions for Complex Systems with Multi-Modal Behaviors
In conclusion, SAM-LLM represents a significant step forward in autonomous driving technology. By integrating the contextual reasoning of LLMs with physically-grounded trajectory modeling, it offers a powerful solution for lane change prediction that is not only highly accurate but also inherently interpretable and computationally efficient. This framework lays the groundwork for future physics-informed trajectory prediction systems using language models, promising more transparent and reliable autonomous driving. You can read the full research paper here.


