Vehicle Type Specific Waypoint Generation

Yunpeng Liu, Jonathan Wilder Lavington, Adam Scibior, Frank Wood

This paper presents a novel approach to bridging the gap between high-level "foundation" models of driving behavior and the low-level physical constraints of specific vehicles. By leveraging the value functions from reinforcement learning (RL) controllers, the authors demonstrate how to generate waypoint sequences that are not just behaviorally realistic, but physically achievable for diverse vehicle types, from agile sedans to heavy fire trucks.

TL;DR

The authors specialize generic, vehicle-agnostic driving models to specific vehicle types by using RL value functions as "feasibility filters." This ensures that generated waypoints respect the unique physical limits (like turning radius and braking distance) of different vehicles, significantly improving simulation realism.

What Problem Does This Paper Address?

Most modern "foundation models" for driving behavior are trained on large-scale datasets (like drone footage) that lack specific vehicle metadata (mass, engine torque, etc.). While these models are great at predicting where a car might go, they often propose "physically impossible" paths when applied to specific hardware.

For example, a generic model might suggest a sharp turn that a Tesla can handle but a heavy shipping truck would find impossible. This discrepancy leads to "sim-to-real" issues where simulated agents behave unrealistically because they aren't constrained by their own physics.

Methods

The authors propose a three-step methodology:

  1. Training Low-Level Controllers: They use Proximal Policy Optimization (PPO) to train vehicle-specific RL agents in the CARLA simulator. These agents learn to follow arbitrary waypoints using steering, throttle, and brake controls.
  2. The Value Function as a Scorer: A byproduct of RL training is the value function ($V^\phi$), which estimates the expected future reward from a given state. In this task, reward is defined as the negative distance to the target trajectory. Therefore, the value function implicitly encodes whether a path is "achievable": if a vehicle's physics make a path impossible to follow, the value function will be low.
  3. Importance Sampling: They treat a generic behavior model (ITRA) as a "prior" distribution. They then use the vehicle-specific value function to re-weight proposals from this prior. This Bayesian refinement process (Algorithm 1) filters out infeasible trajectories, producing a "posterior" distribution of waypoints tailored to the vehicle's dynamics.
Visualizing feasible (blue) vs. infeasible (red) trajectories for different vehicle types.

Datasets

  • CARLA Simulator: Used for all experiments, providing high-fidelity physics for four distinct vehicle blueprints: a Tesla Model 3, a Jeep Wrangler, a shipping truck, and a fire truck.
  • Manual Expert Trajectories: The authors collected a dataset of "achievable" waypoints by manually driving each vehicle in CARLA through various scenarios (turns, stops, S-curves) to ensure wide state-space coverage for training.
  • ITRA Model: A generic probabilistic behavior model used as the foundation for generating initial waypoint proposals.

Key Insights and Ideas

  • Value Functions are Implicit Physics Models: Instead of manually coding complex kinematic constraints (like Ackermann steering or torque curves), the authors show that a trained RL agent's value function naturally captures these limits.
  • Decoupling Behavior and Control: This approach allows researchers to keep using powerful, large-scale behavior models while "grounding" them in specific hardware without needing to retrain the entire foundation model.
  • The "Fire Truck" Constraint: The fire truck is the most constrained vehicle (longest braking distance, largest turning radius). The paper highlights that specialization is most critical for these "outlier" vehicles, which generic models fail most frequently.

Key Results

The authors evaluated their method across several "Initial Conditions" (ICs), such as exiting a roundabout or turning at an intersection.

  • Improved Feasibility: For the fire truck, the refined "posterior" model increased the percentage of waypoints successfully hit from ~60-70% (using the generic prior) to ~80-90%.
  • Quantitative Gains: As shown in the results table, the shipping truck and fire truck saw significant improvements in trajectory completion across all tested scenarios.
  • Qualitative Realism: The importance sampling effectively identified and discarded trajectories that would have required impossible maneuvers, such as "teleporting" or unrealistic lateral sliding.
Value function loss and success rates for the four vehicle types.

Limitations and Future Work

  • Surrogate Likelihood: The method relies on a log-evidence lower bound (Equation 12); the authors suggest that investigating tighter bounds could improve performance.
  • Amortization: Currently, the posterior is sampled via importance sampling. Future work could involve training a model to directly output the specialized distribution (amortized inference).
  • Generalization: The current approach requires training a separate RL controller for every vehicle. A "meta-learning" approach that adapts to vehicle parameters (like length and mass) without full retraining would be a significant next step.

Summary updated

BibTeX
@inproceedings{liu2022vehicle,
  author = {Yunpeng Liu and Jonathan Wilder Lavington and Adam Scibior and Frank Wood},
  title = {{Vehicle Type Specific Waypoint Generation}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=_CGTneYKg5},
}
Figure