FlowR2A: Learning Reward-to-Action Distribution for Multimodal Driving Planning

TL;DR

FlowR2A learns reward-conditioned action distributions via flow matching, unifying dense reward supervision with proposal generation, achieving state-of-the-art in multimodal driving planning.

cs.AI 🔴 Advanced 2026-06-23 54 views
Xirui Li Zhe Liu Xiaoqing Ye Wenhua Han Yifeng Pan Junyu Han Hengshuang Zhao
autonomous driving generative modeling multimodal planning reward learning flow matching

Key Findings

Methodology

FlowR2A employs a flow-matching decoder to treat simulation rewards as conditional variables, learning p(a|r) from dense trajectory-reward pairs. The model comprises perception encoder, reward encoder, flow-based action decoder, and mode selector. Fine-grained per-timestep reward conditioning and noise augmentation balance safety and progress. Training involves end-to-end learning and mode fine-tuning. During inference, reward guidance and anchored sampling generate diverse proposals, leveraging the generative nature for controllability.

Key Results

  • On NAVSIM v1, FlowR2A achieves 92.8 PDMS, surpassing all baselines by ≥1.1 points. Proposal quality is significantly higher, with average proposal PDMS exceeding baseline by 11.5 points and lower variance. On NAVSIM v2, it scores 88.9 in EPDMS, with top safety and progress metrics. Single Proposal performance matches or exceeds multi-proposal methods, validating full distribution modeling.

Significance

This work addresses the longstanding conflict between dense reward supervision and proposal generation in multimodal planning. By unifying these paradigms, FlowR2A enhances the safety, diversity, and adaptability of autonomous driving decisions, pushing the field toward more robust, controllable systems capable of handling complex, real-world scenarios.

Technical Contribution

The core innovation is the integration of flow matching with reward-conditioned learning, enabling the model to generate actions aligned with multiple objectives. The approach supports flexible, controllable sampling at test time, and the training strategy effectively balances safety constraints with progress goals. This represents a significant step beyond traditional discriminative models, offering a fully generative, reward-aware planning framework.

Novelty

This is the first work to treat simulation rewards as generative conditions for learning p(a|r), bridging dense supervision and proposal generation. It moves beyond prior methods that either rely solely on discriminative scoring or sparse anchor proposals, enabling comprehensive, high-quality multimodal outputs.

Limitations

  • The model's reliance on reward boundary approximation may cause safety issues in edge cases, especially in complex environments. Computational cost remains high due to flow training and reward processing. The current mode selector scores frames independently, lacking temporal consistency. Generalization to rare or unseen scenarios needs further validation.

Future Work

Future directions include integrating temporal modeling to improve proposal continuity, reducing computational overhead, and exploring multi-objective optimization for balancing safety, efficiency, and comfort. Extending the framework to real-world deployment and multi-agent scenarios will further enhance its practical impact.

AI Executive Summary

FlowR2A introduces a novel approach to multimodal driving planning by learning reward-conditioned action distributions through flow matching. Traditional methods in autonomous driving either rely on dense reward supervision with fixed action vocabularies or generate proposals dynamically from sparse ground-truth trajectories. These paradigms face fundamental limitations: the former is restricted in adaptability, while the latter struggles with proposal quality and diversity. FlowR2A bridges this gap by reframing simulation rewards as generative conditions, enabling the model to learn p(a|r) from dense trajectory-reward pairs. The architecture combines perception encoders extracting rich scene features, reward encoders translating multi-dimensional reward signals into conditioning vectors, and flow-based decoders that generate proposals via iterative denoising. During training, the model leverages fine-grained per-timestep reward signals and noise augmentation to balance safety constraints with progress objectives. At inference, reward guidance and anchored sampling provide controllable, diverse proposals, significantly improving proposal quality and safety metrics. Extensive evaluations on NAVSIM v1 and v2 benchmarks demonstrate that FlowR2A outperforms existing methods, achieving 92.8 and 88.9 PDMS respectively, with superior safety and efficiency scores. The approach not only advances the state of the art but also offers a flexible, interpretable framework for future autonomous driving systems. Its ability to generate high-quality, diverse proposals conditioned on complex reward signals marks a substantial step toward safer, more reliable, and more adaptable autonomous vehicles. Future work will focus on enhancing temporal consistency, reducing computational costs, and extending the framework to real-world multi-agent scenarios, promising a transformative impact on intelligent transportation.

Deep Analysis

Background

Autonomous driving技术经历了从基于规则的路径规划到深度学习端到端模型的发展。早期方法如A*和Dijkstra依赖手工规则,难以应对复杂场景。近年来,深度学习模型如End-to-End自动驾驶(E2E-AD)逐渐成为主流,代表作包括BehaviorCloning、Transfuser等,它们通过学习感知到决策的映射,显著提升了系统的鲁棒性。然而,这些方法多采用判别式模型,依赖于稠密奖励信号,难以生成多样化的轨迹Proposal。为解决多模态性和不确定性问题,生成模型如DiffusionDrive、GoalFlow等被引入,试图在保持多样性的同时保证安全性。然而,判别式与生成式的矛盾依然存在,限制了系统的适应性和扩展性。

Core Problem

核心挑战在于如何在多模态路径规划中同时利用密集奖励信息和动态Proposal生成能力。判别式模型受限于固定动作词表,难以应对场景变化;锚点式模型虽能动态生成Proposal,但监督稀疏,导致Proposal质量不稳定。现有方法在平衡安全、效率和舒适等目标时存在权衡难题,难以实现全局最优。如何设计一种统一框架,既能充分利用奖励信息,又能生成多样化高质量Proposal,是当前亟待解决的问题。

Innovation

FlowR2A的创新在于:1)引入奖励条件的流匹配机制,将模拟奖励作为条件变量,学习奖励到动作的条件分布,打破传统判别式限制;2)利用细粒度逐时奖励和奖励噪声增强,平衡硬安全约束与软目标;3)采用多阶段训练策略,结合端到端训练和微调,提升Proposal多样性和质量;4)支持奖励引导和锚点采样,增强推理时的可控性。这些创新实现了密集奖励信息的充分利用和Proposal的高效生成,为多模态路径规划提供了新思路。

Methodology

  • �� 感知编码器:利用Transfuser提取多视角图像和LiDAR特征,编码场景信息。• 奖励编码器:将轨迹-奖励对中的多维奖励信号映射为条件嵌入,支持多目标条件化。• 流匹配动作解码器:基于流模型,从噪声中逆向生成轨迹,学习奖励到动作的条件分布。• 训练策略:采样动作-奖励对,加入噪声,优化流匹配损失。• 推理阶段:结合奖励引导(CFG)和锚点采样,生成多样Proposal。• 模式选择器:对Proposal评分,输出最优轨迹。整个流程实现了密集奖励信息的充分利用与Proposal的高效生成。

Experiments

在NAVSIM v1和v2数据集上,模型输入为多视角图像和LiDAR特征,超参数包括:8192动作词表、20步反向采样、奖励引导尺度wg=5。通过消融验证奖励粒度和噪声增强效果,分析Proposal数量对性能的影响。与DiffusionDrive、iPad等基线方法对比,模型在Proposal质量和安全性方面表现优异。实验还验证了模型在不同Proposal数量下的稳定性和一致性,单Proposal性能已优于多Proposal方案,充分证明了全分布建模的优势。

Results

FlowR2A在NAVSIM v1中实现92.8 PDMS,超越所有对比方法至少1.1点,安全指标(NC、TTC)表现优异。在NAVSIM v2中,达88.9的EPDMS,安全和进展指标均优。Proposal质量方面,平均Proposal PDMS提升11.5点,标准差更低,显示出高度一致性。消融实验显示,细粒度奖励条件和噪声增强显著提升Proposal的质量和鲁棒性。模型在单Proposal场景中已优于多Proposal方案,验证了全分布学习的有效性。

Applications

该模型适用于自动驾驶路径规划和决策模块,特别是在复杂交通环境中。其生成的Proposal具有多样性和安全性,能帮助车辆自主选择最优路径。未来结合感知和时序信息,将提升连续性和鲁棒性,推动智能交通和自动驾驶辅助的发展。

Limitations & Outlook

模型对高奖励边界的依赖可能在极端场景引发安全风险,尤其在复杂交通中。训练成本较高,奖励信号设计和噪声调节需细致。模型在连续性和时序一致性方面仍需改进,尤其在多帧连续预测中。泛化能力在极端罕见场景中尚待验证,未来需引入更强的时序建模和多目标优化策略。

Plain Language Accessible to non-experts

想象你在厨房做饭。你有很多食材(动作),每个都能带来不同的味道(奖励)。传统厨师只用固定菜单,只能做那些提前准备好的菜,缺少变化。而随机试菜可能会做出奇怪的味道。FlowR2A像个聪明的厨师,他学会了根据想要的味道(奖励)来创造新菜谱。它通过学习奖励和菜谱的关系,能在不同场合做出既安全又好吃的菜。这让厨师变得更聪明,菜也更丰富多样。最终,厨房变得热闹又有趣,大家都能吃到自己喜欢的菜。

ELI14 Explained like you're 14

想象你在玩一个超级酷的游戏,你可以做很多动作,比如跳、跑、躲避。每个动作会带来不同的结果,比如快到终点、避开障碍、保证安全。以前的机器人只能从固定的动作库里选,像点菜单一样。而另一种方法是随机试动作,有时候会出错。FlowR2A就像一个聪明的机器人厨师,他学会了根据每个动作带来的奖励(味道)来创造新动作。它通过学习奖励和动作的关系,能在不同场景中做出既安全又快的选择,就像你在游戏中不断学习,变得更厉害一样。这样,机器人就能更聪明、更灵活地应对各种交通挑战啦!

Glossary

Flow Matching (流匹配)

一种生成模型训练方法,通过定义从噪声到数据的路径,实现数据的逆向生成。利用速度场匹配优化模型反向生成轨迹。

用以训练动作解码器,从噪声中逆向生成轨迹。

Reward-conditioned distribution (奖励条件分布)

基于奖励信号条件化的动作概率分布,用于生成符合特定奖励目标的动作方案。通过学习p(a|r)实现。

模型核心,用于在不同奖励条件下生成Proposal。

Classifier-free guidance (无分类器引导)

一种生成模型推理技巧,通过调整条件引导尺度,控制生成样本的多样性和质量。

在推理阶段用以增强高奖励Proposal的引导效果。

Trajectory proposal (轨迹Proposal)

自动驾驶中生成的潜在路径或动作序列,用于后续选择或执行。

模型生成的多模态轨迹,用于驾驶决策。

NAVSIM dataset (NAVSIM数据集)

用于自动驾驶路径规划的模拟与真实场景结合的数据集,包含丰富的轨迹和奖励信息。

模型训练和评估的主要数据源。

Open Questions Unanswered questions from this research

  • 1 如何结合时序信息以增强连续性和一致性,仍需深入研究。模型在极端罕见场景中的泛化能力有限,需探索更强的多目标优化和场景适应策略。

Applications

Immediate Applications

自动驾驶路径规划

可提升自动驾驶车辆在复杂环境中的路径选择能力,增强安全性和多样性,适应不同驾驶场景。

Long-term Vision

智能交通系统

未来可结合到智能交通管理中,实现自主车辆的协同决策,优化交通流,减少事故,推动智慧城市建设。

Abstract

Multimodal driving planning faces a long-standing tension between two paradigms: scoring-based methods benefit from dense reward supervision but are confined to a fixed action vocabulary, while anchor-based methods generate proposals dynamically yet suffer from sparse supervision constrained to a single ground-truth trajectory. In this work, we propose FlowR2A, which resolves this tension by reframing simulation-based rewards from discriminative targets into generative conditions. By learning the reward-conditioned action distribution from dense trajectory-reward pairs with a flow-matching decoder, FlowR2A unifies the dense supervision of scoring-based methods with the proposal generation of anchor-based methods in a single generative model, forcing the model to internalize the correlation between an action and its outcomes in safety, progress, comfort, and rule compliance. To balance hard safety constraints against soft progress objectives, we introduce fine-grained per-timestep reward conditioning and reward noise augmentation. The generative formulation naturally supports controllable test-time sampling via reward guidance and anchored sampling, producing high-quality proposals. FlowR2A achieves state-of-the-art results on the NAVSIM v1 and v2 benchmarks, with multimodal proposals of substantially higher quality than prior methods.

cs.AI