MinkowskiPE:用于时空感知的Minkowski位置编码

·

研究论文 · 2026/10/06

时空耦合建模是构建跨尺度物理智能的关键挑战。现有模型通过物理驱动的动力学公式或学习驱动的架构来捕捉这种结构,前者提供更强先验但可能限制灵活性,后者更灵活但时空耦合多为隐式。为此,我们提出闵可夫斯基位置编码(MinkowskiPE),利用联合时空坐标参数化应用于查询和键特征的洛伦兹变换。使用MinkowskiPE时,查询-键注意力分数仅通过两个标记之间的相对时空位移依赖于位置,因此对坐标的全局平移具有不变性。该范式保留标准点积注意力接口,并与高效注意力实现兼容。我们在微观分子动力学和宏观视频预测任务上评估MinkowskiPE,在所有九项多轨迹分子评估中取得最佳结果,并将KTH视频预测的MSE相对于最佳基线降低了9.9%,同时参数数量约为其十分之一。

该工作为时空耦合建模提供了一种兼具灵活性与显式几何先验的新方法,在多个任务上以更少参数取得更优性能,对物理智能和序列建模领域有重要启发。

Modeling spatiotemporal coupling is a key challenge in building physical intelligence across scales, from microscopic to macroscopic. Existing models capture such structure broadly through physics-motivated dynamical formulations or learning-motivated architectures. The former provide stronger priors but may constrain flexibility, whereas the latter are more flexible but leave the spatiotemporal coupling largely implicit. We therefore seek an approach that combines flexible learning with an explicit geometric bias for jointly modeling time and space. To this end, we propose Minkowski Positional Encoding (MinkowskiPE), which uses joint temporal and spatial coordinates to parameterize Lorentz transformations applied to query and key features. With MinkowskiPE, the query-key attention score depends on position only through the relative spacetime displacement between the two tokens and is therefore invariant to global translation of the coordinates. This paradigm retains the standard dot-product attention interface and remains compatible with efficient attention implementations. We evaluate MinkowskiPE on microscopic molecular dynamics and macroscopic video prediction tasks, achieving the best results on all nine multi-trajectory molecular evaluations and reducing KTH video-prediction MSE by 9.9% relative to the best baseline while using roughly one-tenth as many parameters.

阅读原文

参与讨论