MinkowskiPE: Minkowski Positional Encoding for Spatiotemporal Perception
Summary
MinkowskiPE proposes a Minkowski-geometry-based positional encoding that makes attention scores depend only on relative spacetime displacement, preserving spacetime translation invariance while remaining FlashAttention-compatible, and shows consistent gains on molecular dynamics and video prediction tasks.
View Cached Full Text
Cached at: 10/05/26, 08:50 PM
Paper page - MinkowskiPE: Minkowski Positional Encoding for Spatiotemporal Perception
Source: https://huggingface.co/papers/2609.33804 From microscopic molecular motion to macroscopic video scenes, a key challenge in building physical intelligence is understanding spatial structure in dynamic systems and how it evolves over time — in other words, spatiotemporal perception.
Traditional approaches often describe temporal evolution through recurrent structures, differential equations, or specific physical mechanisms. Transformers offer a more flexible, data-driven alternative, but the relationship between space and time is typically left for the model to learn implicitly from data. This naturally raises a question: can we preserve the flexibility of data-driven learning while introducing a more explicit geometric prior for joint spatiotemporal modeling?
To this end, we propose MinkowskiPE. It borrows the algebraic structure of Minkowski geometry and Lorentz transformations, using joint spacetime coordinates to transform the query and key features. Although each token is encoded independently using its own absolute coordinate, the resulting attention score depends only on the relative spacetime displacement between the two tokens. This gives MinkowskiPE spacetime translation invariance while preserving the standard attention computation, making it directly compatible with efficient implementations such as FlashAttention.
Importantly, using Minkowski geometry does not assume that the underlying physical systems obey relativistic dynamics. Instead, it serves as a geometric inductive bias at the representation level. We evaluate the same positional encoding formulation on two very different scales — protein–ligand molecular dynamics and KTH video prediction — and observe consistent performance improvements on both tasks.
Similar Articles
Energy-Gated Attention and Wavelet Positional Encoding: Complementary Inductive Biases for Transformer Attention
This paper proposes Energy-Gated Attention (EGA) and Morlet Positional Encoding (MoPE) to address missing inductive biases in transformer attention: token salience and scale-adaptive locality. Experiments on TinyShakespeare show superadditive gains when combined, highlighting complementarity.
Bifocal Attention: Harmonizing Geometric and Spectral Positional Embeddings for Algorithmic Generalization
This paper introduces Bifocal Attention, which decouples positional encoding into geometric (standard RoPE) and spectral (learnable harmonic operators) modalities to address the 'Spectral Rigidity' of fixed RoPE, improving algorithmic generalization beyond the training window.
RIG-RoPE: Relation- and Instance-Gated Rotary Positional Encoding with Duration-Aware Temporal Coordinates
This preliminary technical report proposes RIG-RoPE, a relation- and instance-gated rotary positional encoding with duration-aware temporal coordinates, aiming to address spatial interference and improper temporal scaling in multimodal LLMs. It introduces a gating mechanism for height/width rotations and duration-aware temporal coordinates, but leaves large-scale empirical validation to future work.
HRoPE: Homography Relative Positional Encoding
HRoPE introduces a surface-aware positional encoding that models each patch as a slanted 3D plane and injects plane-induced homographies as relative transformations into attention, improving cross-view alignment and novel view synthesis without ground-truth geometry. Experiments on RealEstate10K, CO3Dv2, and DL3DV show it outperforms existing geometric positional encodings.
PJ-RoPE: A Fourier-Jet-Affine Position Space for Relative Attention
PJ-RoPE unifies RoPE's Fourier phase, Jordan-RoPE's finite jets, and ALiBi's affine recency into a single learnable relative-position space, and studies task-driven selection of sectors.