MinkowskiPE: Minkowski Positional Encoding for Spatiotemporal Perception
Authors: Yuhao Li, Louie Hong Yao, Tianyi Shi, Hanqun Cao, Hongxia Hao, Zhen Zhao, Shengchao Liu
Organizations: Wave Intelligence Lab · Department of Computer Science and Engineering, The Chinese University of Hong Kong · Shanghai Artificial Intelligence Laboratory
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.
Figures & tables
Figure 1 : Different perspectives on spatiotemporal modeling. (a) Physics-motivated approaches impose explicit structure on temporal evolution. (b) Learning-motivated approaches learn spatiotemporal dependencies directly from data. (c) MinkowskiPE combines physics-inspired geometric priors with flexible data-driven learning.
Figure 2 : Experimental overview. (a) Molecular dynamics and (b) video predictions instantiate spatiotemporal forecasting at different physical scales. (c) Both tasks follow the same task-agnostic modeling scheme, in which task-specific features are paired with spatiotemporal coordinates, processed by a Transformer with MinkowskiPE, and mapped to future states by task-specific decoders.
Figure 3 : Representative molecular dynamics predictions. Final-step ligand configurations predicted by MinkowskiPE for 4K6W, 1XP6, 4G3E, and 3B9S, compared with the corresponding reference configurations. The surrounding protein surface is locally clipped for visualization clarity.