Enhance GoalFlow model card with comprehensive details and metadata

#1
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +148 -2
README.md CHANGED
@@ -1,6 +1,152 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
 
3
  ---
4
- The repository contains the model described in the paper [GoalFlow: Goal-Driven Flow Matching for Multimodal Trajectories Generation in End-to-End Autonomous Driving](https://arxiv.org/abs/2503.05689)
5
 
6
- Code: https://github.com/YvanYin/GoalFlow
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ pipeline_tag: robotics
4
+ library_name: diffusers
5
+ tags:
6
+ - autonomous-driving
7
+ - trajectory-generation
8
+ - flow-matching
9
  ---
 
10
 
11
+ <p align="center">
12
+ <img alt="goalflow_logo" src="https://github.com/YvanYin/GoalFlow/raw/main/assets/goalflow_logo.png" width="500">
13
+ <h3 align="center"><a href="https://arxiv.org/abs/2503.05689">Paper</a> | <a href="https://drive.google.com/drive/folders/1iWsPwpqM4WaUVVRZU3xIMPdOaJVB2Kub?usp=drive_link">Weight</a> | <a href="https://zebinx.github.io/HomePage-of-GoalFlow/">ProjectPage</a> | <a href="https://github.com/YvanYin/GoalFlow">Code</a> </h3>
14
+ </p>
15
+
16
+ <br/>
17
+
18
+ > [**GoalFlow: Goal-Driven Flow Matching for Multimodal Trajectories Generation
19
+ in End-to-End Autonomous Driving**](https://arxiv.org/abs/2503.05689) <br>
20
+ > [Zebin Xing](https://github.com/ZebinX)<sup>1,2*</sup>, [Xingyu Zhang]()<sup>2*</sup>, [Yang Hu]()<sup>1,2</sup>, [Bo Jiang]()<sup>4,2</sup>, [Tong He](https://tonghe90.github.io/)<sup>5</sup>, [Qian Zhang]()<sup>2</sup>, [Xiaoxiao Long](https://www.xxlong.site/)<sup>3</sup>, [Wei Yin](https://yvanyin.net/)<sup>2✝</sup> <br>
21
+ > <sup>1</sup> University of Chinese Academy of Sciences, <sup>2</sup> Horizon Robotics, <sup>3</sup> Nanjing University, <sup>4</sup> Huazhong University of Science & Technology, <sup>3</sup> Shanghai AI Laboratory <br>
22
+ > <br>
23
+ > Computer Vision and Pattern Recognition (CVPR), 2025 <br>
24
+ >
25
+ This is the official repo of 'GoalFlow: Goal-Driven Flow Matching for Multimodal Trajectories Generation in End-to-End Autonomous Driving (CVPR 2025)'. GoalFlow achieved PDMS of 90.3, significantly surpassing other baselines. Compared with other diffusion-policy-based methods, our approach requires only a single denoising step to obtain excellent performance.
26
+
27
+ ## Abstract
28
+ We propose GoalFlow, an end-to-end autonomous driving method for generating high-quality multimodal trajectories. In autonomous driving scenarios, there is rarely a single suitable trajectory. Recent methods have increasingly focused on modeling multimodal trajectory distributions. However, they suffer from trajectory selection complexity and reduced trajectory quality due to high trajectory divergence and inconsistencies between guidance and scene information. To address these issues, we introduce GoalFlow, a novel method that effectively constrains the generative process to produce high-quality, multimodal trajectories. To resolve the trajectory divergence problem inherent in diffusion-based methods, GoalFlow constrains the generated trajectories by introducing a goal point. GoalFlow establishes a novel scoring mechanism that selects the most appropriate goal point from the candidate points based on scene information. Furthermore, GoalFlow employs an efficient generative method, Flow Matching, to generate multimodal trajectories, and incorporates a refined scoring mechanism to select the optimal trajectory from the candidates. Our experimental results, validated on the Navsim, demonstrate that GoalFlow achieves state-of-the-art performance, delivering robust multimodal trajectories for autonomous driving. GoalFlow achieved PDMS of 90.3, significantly surpassing other methods. Compared with other diffusion-policy-based methods, our approach requires only a single denoising step to obtain excellent performance.
29
+
30
+ <br/>
31
+
32
+ ## News
33
+ * **`20 Mar, 2025`:** We released our paper on [arXiv](https://arxiv.org/abs/2503.05689). Code is coming soon.
34
+ * **`27 Feb, 2025`:** GoalFlow was accepted at [CVPR](https://cvpr.thecvf.com/Conferences/2025) !
35
+
36
+ <br/>
37
+
38
+ ## Introduction
39
+ > In autonomous driving, multiple optimal trajectories exist, like overtaking or following. (1) Traditional methods efficiently generate safe trajectories but struggle with multimodal ones. (2) Generative methods like diffusion models capture multimodal distributions but require heavy hardware and prior information. We propose GoalFlow, a goal-point-based method that guides trajectory planning. With a map-free evaluation and an efficient diffusion variant, Flow Matching, we reduce inference steps, achieving superior performance with just one denoising step.
40
+
41
+ <div align="center">
42
+ <img src="https://github.com/YvanYin/GoalFlow/raw/main/assets/main_fig.png" />
43
+ </div>
44
+
45
+ ## Visualization
46
+
47
+ ### Comparison with Other Methods
48
+ ❌ indicates that the trajectory results in a collision or goes beyond the drivable area, while βœ… represents a safe trajectory. The orange points are optimal goal points evaluated by the Goal Constructor, while the blue and yellow points correspond to samples from the vocabulary.
49
+ <div align="center">
50
+ <img src="https://github.com/YvanYin/GoalFlow/raw/main/assets/visualization.png" />
51
+ </div>
52
+
53
+ ### Driving Vedios
54
+ Driving Vedios generated by GoalFlow.
55
+ <table style="width: 100%; table-layout: fixed;">
56
+ <tr>
57
+ <td style="width: 50%; text-align: center;">
58
+ <img src="https://github.com/YvanYin/GoalFlow/raw/main/assets/cf12097663665430.gif" style="width: 100%; height: auto;">
59
+ </td>
60
+ <td style="width: 50%; text-align: center;">
61
+ <img src="https://github.com/YvanYin/GoalFlow/raw/main/assets/25b719c231d85e56.gif" style="width: 100%; height: auto;">
62
+ </td>
63
+ </tr>
64
+ <tr>
65
+ <td style="width: 50%; text-align: center;">
66
+ <img src="https://github.com/YvanYin/GoalFlow/raw/main/assets/1a1fbb255ec55813.gif" style="width: 100%; height: auto;">
67
+ </td>
68
+ <td style="width: 50%; text-align: center;">
69
+ <img src="https://github.com/YvanYin/GoalFlow/raw/main/assets/676880c7e31252c0.gif" style="width: 100%; height: auto;">
70
+ </td>
71
+ </tr>
72
+ <tr>
73
+ <td style="width: 50%; text-align: center;">
74
+ <img src="https://github.com/YvanYin/GoalFlow/raw/main/assets/d2440edd19d954b5.gif" style="width: 100%; height: auto;">
75
+ </td>
76
+ <td style="width: 50%; text-align: center;">
77
+ <img src="https://github.com/YvanYin/GoalFlow/raw/main/assets/fb0a26a28ec359ce.gif" style="width: 100%; height: auto;">
78
+ </td>
79
+ </tr>
80
+ </table>
81
+
82
+ ### Goal Point Distribution
83
+ From top to down, they are respectively the distributions of DAC, distance, and the final score. The points with warmer color have higher score.
84
+ <table style="width: 100%; table-layout: fixed; text-align: center;">
85
+ <tr>
86
+ <td><img src="https://github.com/YvanYin/GoalFlow/raw/main/assets/visual_goal_point/dac_scores/0a44947ca9e85579.png" style="width: 100%; height: auto;"></td>
87
+ <td><img src="https://github.com/YvanYin/GoalFlow/raw/main/assets/visual_goal_point/dac_scores/2a06b778a64b545e.png" style="width: 100%; height: auto;"></td>
88
+ <td><img src="https://github.com/YvanYin/GoalFlow/raw/main/assets/visual_goal_point/dac_scores/7abf60c1594953cf.png" style="width: 100%; height: auto;"></td>
89
+ <td><img src="https://github.com/YvanYin/GoalFlow/raw/main/assets/visual_goal_point/dac_scores/1db7c81f96855ce9.png" style="width: 100%; height: auto;"></td>
90
+ </tr>
91
+ <tr>
92
+ <td><img src="https://github.com/YvanYin/GoalFlow/raw/main/assets/visual_goal_point/im_scores/0a44947ca9e85579.png" style="width: 100%; height: auto;"></td>
93
+ <td><img src="https://github.com/YvanYin/GoalFlow/raw/main/assets/visual_goal_point/im_scores/2a06b778a64b545e.png" style="width: 100%; height: auto;"></td>
94
+ <td><img src="https://github.com/YvanYin/GoalFlow/raw/main/assets/visual_goal_point/im_scores/7abf60c1594953cf.png" style="width: 100%; height: auto;"></td>
95
+ <td><img src="https://github.com/YvanYin/GoalFlow/raw/main/assets/visual_goal_point/im_scores/1db7c81f96855ce9.png" style="width: 100%; height: auto;"></td>
96
+ </tr>
97
+ <tr>
98
+ <td><img src="https://github.com/YvanYin/GoalFlow/raw/main/assets/visual_goal_point/final_scores/0a44947ca9e85579.png" style="width: 100%; height: auto;"></td>
99
+ <td><img src="https://github.com/YvanYin/GoalFlow/raw/main/assets/visual_goal_point/final_scores/2a06b778a64b545e.png" style="width: 100%; height: auto;"></td>
100
+ <td><img src="https://github.com/YvanYin/GoalFlow/raw/main/assets/visual_goal_point/final_scores/7abf60c1594953cf.png" style="width: 100%; height: auto;"></td>
101
+ <td><img src="https://github.com/YvanYin/GoalFlow/raw/main/assets/visual_goal_point/final_scores/1db7c81f96855ce9.png" style="width: 100%; height: auto;"></td>
102
+ </tr>
103
+ </table>
104
+
105
+
106
+ ## Results
107
+ Planning results on the proposed **NAVSIM** **Test** benchmark. Please refer to the [paper](https://arxiv.org/abs/2503.05689) for more details.
108
+
109
+ | Method | S<sub>NC</sub> ↑ | S<sub>DAC</sub> ↑ | S<sub>TTC</sub> ↑ | S<sub>CF</sub> ↑ | S<sub>EP</sub> ↑ | S<sub>PDM</sub> ↑ |
110
+ |-----------------|-----------------|-----------------|-----------------|-----------------|-----------------|-----------------|
111
+ | Constant Velocity | 68.0 | 57.8 | 50.0 | 100 | 19.4 | 20.6 |
112
+ | Ego Status MLP | 93.0 | 77.3 | 83.6 | 100 | 62.8 | 65.6 |
113
+ | LTF | 97.4 | 92.8 | 92.4 | 100 | 79.0 | 83.8 |
114
+ | TransFuser | 97.7 | 92.8 | 92.8 | 100 | 79.2 | 84.0 |
115
+ | UniAD | 97.8 | 91.9 | 92.9 | 100 | 78.8 | 83.4 |
116
+ | PARA-Drive | 97.9 | 92.4 | 93.0 | 99.8 | 79.3 | 84.0 |
117
+ | **GoalFlow (Ours)** | **98.4** | **98.3** | **94.6** | **100** | **85.0** | **90.3** |
118
+ | *Human<sup>‑</sup>* | *100* | *100* | *100* | *99.9* | *87.5* | *94.8* |
119
+
120
+
121
+ ## Getting started
122
+ - [Download Datasets of NAVSIM](https://github.com/autonomousvision/navsim/blob/main/docs/install.md)
123
+ - [Preparation of GoalFlow Environment](https://github.com/YvanYin/GoalFlow/blob/main/docs/install.md)
124
+ - [Evaluation](https://github.com/YvanYin/GoalFlow/blob/main/docs/test.md)
125
+ - [Training](https://github.com/YvanYin/GoalFlow/blob/main/docs/train.md)
126
+
127
+ ## Contact
128
+ If you have any questions or suggestions, please feel free to open an issue or contact us (xzebin@bupt.edu.cn).
129
+
130
+ ## Acknowledgement
131
+ <p>1. We have gained valuable insights from <a href="https://arxiv.org/abs/2406.06978" target="_blank">Hydra-MDP</a>, which provided many inspiring ideas referenced in our work.</p>
132
+ <p>2. We referred to an excellent GitHub project, <a href="https://github.com/autonomousvision/tuplan_garage" target="_blank">tuplan garage</a>, and incorporated aspects of its page design.</p>
133
+
134
+ <p>3. GoalFlow is also greatly inspired by the following outstanding contributions to the open-source community:</p>
135
+ <ul>
136
+ <a href="https://github.com/autonomousvision/navsim" target="_blank">NAVSIM</a> | <a href="https://github.com/autonomousvision/transfuser" target="_blank">TransFuser</a> | <a href="https://github.com/hustvl/VAD" target="_blank">Diffusion-ES</a> | <a href="" target="_blank">VAD-v2</a>
137
+ </ul>
138
+
139
+
140
+
141
+ ## Citation
142
+ If you find GoalFlow useful, please consider giving us a star &#127775; and citing our paper with the following BibTeX entry.
143
+
144
+ ```BibTeX
145
+ @article{xing2025goalflow,
146
+ title={GoalFlow: Goal-Driven Flow Matching for Multimodal Trajectories Generation in End-to-End Autonomous Driving},
147
+ author={Xing, Zebin and Zhang, Xingyu and Hu, Yang and Jiang, Bo and He, Tong and Zhang, Qian and Long, Xiaoxiao and Yin, Wei},
148
+ journal={arXiv preprint arXiv:2503.05689},
149
+ year={2025}}
150
+ ```
151
+
152
+ <p align="right">(<a href="#top">back to top</a>)</p>