Hydra-NeXt: Robust Closed-Loop Driving with Open-Loop Training

Zhenxin Li, Shihao Wang, Shiyi Lan, Zhiding Yu, Zuxuan Wu, Jose M. Alvarez

TL;DR

This paper introduces Hydra-NeXt, a novel end-to-end autonomous driving framework that bridges the gap between open-loop training and closed-loop deployment. By unifying trajectory prediction, control prediction, and a trajectory refinement module, Hydra-NeXt achieves state-of-the-art performance in complex, interactive driving scenarios without relying on expert data.

What Problem Does This Paper Address?

Autonomous driving research often faces a critical challenge: the discrepancy between how models are trained and how they need to perform in the real world. Many current "end-to-end" driving models are trained in an "open-loop" environment, meaning their performance is assessed without real-time feedback from the environment. This is efficient for large-scale training but leads to models that struggle in "closed-loop" scenarios, where they must react dynamically to other agents and adhere to strict kinematic constraints. Models trained this way might generate plans that are not physically possible for the vehicle, leading to unsafe behaviors. Existing approaches either try to adapt open-loop models to closed-loop environments or vice-versa, but the former is more promising due to the availability of real-world data. This paper specifically tackles the limitations of open-loop models when deployed in closed-loop driving, focusing on reactive agent handling and kinematic feasibility.

Methods

Hydra-NeXt is a multi-branch planning framework designed to unify different aspects of driving prediction. Its core components include:

  • Perception Network: Processes front-view and back-view images to extract environmental tokens representing the surroundings. This is a standard approach for scene understanding.
  • Multi-head Motion Decoder: This is a novel component that houses two decoders:
  • Trajectory Decoder ($\pi_{traj}$): Similar to previous work (e.g., Hydra-MDP), it predicts a future trajectory based on environment tokens. This handles general-case planning.
  • Control Decoder ($\pi_{ctrl}$): This new decoder predicts short-term control signals (e.g., brake, throttle, steer) for multiple future timesteps. This is crucial for enabling faster responses to dynamic situations and reactive agents, bypassing the potential delays introduced by traditional controllers that convert waypoints to controls. It uses a classification-based approach with cross-entropy loss, leveraging discretization to handle uncertainty.
  • Trajectory Refinement Module ($\pi_{dp}$): This module addresses the kinematic constraints often ignored by open-loop models. It uses a Diffusion Policy (a generative model known for producing smooth and diverse behaviors) to generate multiple "control proposals." These proposals are then transformed into kinematically feasible trajectories using a kinematic bicycle model. A "Nearest Neighbor Matching" process selects the best proposal that aligns with both the predicted trajectory and the control signals, effectively refining the planning decisions to ensure they are physically realizable.

Datasets

  • Bench2Drive: Used for training and evaluating Hydra-NeXt. This dataset is designed for closed-loop autonomous driving and includes interactive scenarios. It uses CARLA v2 for simulation and evaluation.
  • NAVSIM: Used for evaluating Hydra-NeXt on real-world data using open-loop metrics.

Key Insights and Ideas

  • Bridging the Open-Loop/Closed-Loop Gap: The paper argues that adapting open-loop models to closed-loop environments is more feasible than the reverse, primarily due to data availability. Hydra-NeXt directly addresses this by incorporating closed-loop considerations into an open-loop framework.
  • Control Prediction for Reactivity: Directly predicting control signals (brake, throttle, steer) is shown to be more effective for handling reactive agents than relying solely on trajectory waypoints. This allows for quicker, more direct responses.
  • Diffusion for Kinematic Refinement: Using a Diffusion Policy to generate multiple control proposals, which are then refined using a kinematic model, is a novel way to ensure that the final driving plan is both smooth and physically achievable. This tackles the issue of kinematically infeasible plans.
  • Unified Framework: The strength of Hydra-NeXt lies in its unified approach, combining trajectory prediction, control prediction, and kinematic refinement within a single end-to-end model. This integration is key to its superior performance.

Key Results

  • Bench2Drive (Closed-loop):
    • Achieved a 65.89 Driving Score (DS) and 48.20% Success Rate (SR) under the CARLA v2 protocol, significantly outperforming the previous state-of-the-art (DriveAdapter) by 22.98 DS and 17.49% SR.
  • Under the Bench2Drive protocol, it achieved 73.86 DS and 50.00% SR, also showing significant improvements.
  • Demonstrated superior performance in interactive scenarios like merging (+11.18%) and overtaking (+38.06%).
  • NAVSIM (Open-loop):
    • Achieved a new state-of-the-art on this real-world benchmark.
  • Ablation Studies:
    • Adding the control decoder ($\pi_{ctrl}$) significantly improved Success Rate by 12.7%.
  • The Trajectory Refinement module, particularly with Nearest Neighbor Matching, boosted performance by around 3 DS and 4.8% SR.

Limitations and Future Work

  • Comfort Metric: Hydra-NeXt falls behind some baselines in the "Comfort" metric, which is attributed to frequent braking during interactive situations. This suggests a trade-off between reactive performance and driving smoothness/comfort.
  • Traffic Sign Adherence: The model shows slightly weaker performance in scenarios requiring strict adherence to traffic signs, potentially due to "causal confusion" when encountering mixed expert behaviors.
  • Runtime Efficiency: While efficient, the iterative denoising process of the Diffusion Policy for trajectory refinement leads to a degradation in runtime efficiency compared to simpler methods. Further optimization is needed.
  • Scarcity of Specialized Data: Performance in yielding to specialized vehicles (like ambulances) is unsatisfactory, likely due to the scarcity of such training data.

Future work could focus on improving comfort, enhancing traffic sign adherence, optimizing the runtime of the diffusion process, and exploring methods to mitigate data scarcity issues for specialized scenarios.

Summary updated

BibTeX
@inproceedings{li2025hydra,
  author = {Zhenxin Li and Shihao Wang and Shiyi Lan and Zhiding Yu and Zuxuan Wu and Jose M. Alvarez},
  title = {{Hydra-NeXt: Robust Closed-Loop Driving with Open-Loop Training}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure