Structure over Depth: A Single-Block Spatio-Temporal Transformer for Multi-Entity Reasoning
Narthana Sivalingam, Santhirarajah Sivasthigan, Buddhi Wijenayake, Roshan Godaliyadda, Vijitha Herath, Parakrama Ekanayake
Abstract
Modeling multi-entity temporal data requires capturing dependencies across entities, time, and their interactions. Transformer-based approaches perform well but often rely on deep stacks of layers to learn these heterogeneous dependencies implicitly, increasing computational cost. We revisit this problem from a structural perspective and decompose multi-entity temporal dynamics into three interaction types: spatial interactions among entities, temporal interactions across time, and cross interactions coupling the two domains. We propose a structured spatio-temporal transformer block that explicitly models all three within a single stage. It uses parallel spatial and temporal self-attention, followed by bidirectional cross-attention, and combines the outputs through learnable gated fusion. By directly encoding these complementary views, the model reduces the need for deep stacking. We evaluate the approach on video-based group activity recognition, skeleton-based human interaction analysis, and wearable sensor-based activity recognition. Despite its simplicity, the single structured Transformer block matches or outperforms deeper architectures with only 1.76M parameters. The results suggest that depth in prior models partly compensates for implicit and entangled interaction modeling, whereas explicit factorization offers a more efficient and transparent alternative. More broadly, this work supports a structure-first design principle: expressive multi-entity temporal reasoning can emerge by exposing interaction structure rather than relying on depth.
Create a lesson
Related papers
From Shared Patterns to Individual Evidence: Two-Stage Reasoning for Emerging Entities in Temporal Knowledge Graphs
Shared title terminologycs.AIJinchuan Zhang, Lei Gao, Hongyu Jiang et al.
Procedure Inference as Memory: Learning Recruiter Decision Procedures from OKF-Structured Episodes in Multi-Session Hiring Assistants
Shared title terminologycs.AIPraveen Kumar Bodigutla, Yizhi Zhang, Sai Vivek Kanaparthy et al.
Certify What You Plant: Shortcut-Free Proof Depth in Logical Reasoning Data
Shared title terminologycs.AIBaptiste Juran, Dimitri Kachler, Damien Sileo
What, Who, and When: Structured Harm Assessment for Mental Health Safety via Short Reasoning
Shared title terminologycs.AICatarina Botelho, António Farinhas, John Mendonça et al.
Plato-Bio: verification-first biological novelty screening with temporal rediscovery and structural benchmarks
Shared title terminologycs.AIStefan G. Creadore
ReasFlow: Assisting Reasoning-Centric Scientific Discovery in Applied Mathematics via a Knowledge-Based Multi-Agent System
Shared title terminologycs.AIYutong He, Daibo Li, Guohong Li et al.