用几何代数让自动驾驶模型更高效地保持空间对称性。
Efficient Equivariant Transformer for Self-Driving Agent Modeling
- 用二维投影几何代数编码场景元素,通过注意力机制建模几何关系。
- 在Waymo数据集上性能媲美顶尖模型,计算成本更低。
- 适合追求高效率与高精度的自动驾驶行为预测研究者。
准确建模交通参与者行为是自动驾驶的关键任务,该任务具有多种对称性,如对参与者和物体顺序的置换等变性,以及对整个场景任意旋转平移(SE(2))的等变性。现有Transformer架构虽能处理置换等变性,但依赖显式的成对相对位置编码来实现SE(2)等变性,计算成本随参与者数量呈二次增长,难以扩展至更大场景和批量。本文提出DriveGATr,一种基于Transformer的新型架构,通过在二维投影几何代数ℝ²,₀,₁*中将场景元素表示为多向量,并使用一系列等变Transformer块进行处理。关键创新在于:利用多向量间的标准注意力机制建模几何关系,无需额外的成对相对位置编码。在Waymo Open Motion Dataset上的实验表明,DriveGATr性能接近当前最优水平,并在性能与计算成本之间达成更优权衡。
原文摘要 · Abstract (English)
Accurately modeling agent behaviors is an important task in self-driving. It is also a task with many symmetries, such as equivariance to the order of agents and objects in the scene or equivariance to arbitrary roto-translations of the entire scene as a whole; i.e., SE(2)-equivariance. The transformer architecture is a ubiquitous tool for modeling these symmetries. While standard self-attention is inherently permutation equivariant, explicit pairwise relative positional encodings have been the standard for introducing SE(2)-equivariance. However, this approach introduces an additional cost that is quadratic in the number of agents, limiting its scalability to larger scenes and batch sizes. In this work, we propose DriveGATr, a novel transformer-based architecture for agent modeling that achieves SE(2)-equivariance without the computational cost of existing methods. Inspired by recent advances in geometric deep learning, DriveGATr encodes scene elements as multivectors in the 2D projective geometric algebra $\mathbb{R}^*_{2,0,1}$ and processes them with a stack of equivariant transformer blocks. Crucially, DriveGATr models geometric relationships using standard attention between multivectors, eliminating the need for costly explicit pairwise relative positional encodings. Experiments on the Waymo Open Motion Dataset demonstrate that DriveGATr is comparable to the state-of-the-art in traffic simulation and establishes a superior Pareto front for performance vs computational cost.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。