arXiv:2610.38482cs.CVOct 2026

Manuscript Offprint

arXiv:2610.38482

Geometry-Aware Trajectory State Modeling for Few-Shot Action Recognition

Zhiqi Miao, Marko Haralović, Stanislav Levendeev, Sarvesh Angadi, Jannatul Ferdous, Dan-Cristian Ploesteanu, Jiapan Guo, Estefanía Talavera

Abstract

Few-shot action recognition (FSAR) requires representations that expose discriminative motion dynamics from only a few labeled videos. Recent trajectory-based methods leverage long-term point tracks for explicit temporal correspondence, but often treat trajectories as carriers of sampled visual features or summarize their motion with compact 2D displacement-based descriptors. We instead view an action as the ordered evolution of 2.5D trajectory states and their local geometric interactions. Based on this view, we introduce GeoTRAM, a geometry-aware trajectory state modeling framework for FSAR. GeoTRAM lifts sparse tracks into 2.5D trajectories, where StateMotion models ordered intra-trajectory state evolution and RelMotion captures state-conditioned local interactions through time-varying relative geometry and motion. Quality-filtered spectral sampling provides more reliable trajectory initialization; complementary semantic, motion, and depth cues are separately refined and preserved for joint spatio-temporal modeling; action-guided reweighting and top-ρ\rho trajectory selection support complementary frame- and trajectory-level matching. Experiments on five FSAR benchmarks demonstrate strong gains on the motion-centric Something-Something benchmarks while maintaining competitive performance on more appearance-driven benchmarks and a favorable accuracy–efficiency trade-off. Our code is publicly available.¹

1. Introduction

Recognizing an action requires more than identifying what appears in a video; it requires understanding how objects and body parts move, interact, and evolve over time. This distinction becomes particularly important in few-shot action recognition (FSAR), where a model needs to recognize novel action categories from only a few labeled videos.

Existing FSAR methods have made substantial progress by comparing support and query videos through temporal alignment, set matching, or learned similarity functions [1, 17, 22, 34, 35, 46]. However, limited supervision makes it difficult to infer discriminative motion patterns purely from appearance representations. Consequently, an effective FSAR representation should retain semantic appearance while exposing temporal dynamics in a form that can be reliably compared from few examples.

Recent progress in long-term point tracking provides a promising paradigm for this purpose [4, 11, 12, 41]. Unlike short-term frame differences or pairwise optical flow, tracked points maintain explicit correspondences over time and provide a compact way to describe how local image regions move through a video. Building on this property, trajectory-based FSAR methods [14, 15] associate tracked points with self-supervised visual features [20], showing that sparse trajectories can provide useful motion-aware evidence for few-shot recognition. However, the availability of reliable tracks raises a more fundamental representation question: what information should a trajectory encode in order to describe an action?

We argue that a trajectory should not be treated only as a carrier of sampled visual features or summarized only with compact 2D displacement-based motion descriptors. An action is inherently a temporally ordered dynamical process. The same overall displacement patterns may arise from different state evolutions, while reversing or altering the order of local motion can correspond to a different action. What matters is therefore not only where a point moves, but also how its motion state evolves over time and how this evolution relates to nearby trajectories. This motivates a trajectory-state view of action representation: each trajectory is described as an ordered sequence of explicit kinematic states, and action dynamics are modeled through both the evolution of individual states and their local interactions.

This view naturally leads to two complementary levels of trajectory dynamics. At the intra-trajectory level, an action should preserve how the motion state of each tracked

¹Code: https://github.com/MiaoMeow98/GeoTRAM point evolves over time, rather than representing trajectory dynamics primarily through displacement-derived descriptors. We first augment image-plane coordinates with relative monocular depth to construct the 2.5D trajectory, exposing depth-axis variation that is unavailable in 2D. At each time step, we then explicitly describe its motion state using interpretable attributes including position, velocity, acceleration, depth variation, and visibility, and preserve the ordered state sequence for lightweight temporal encoding. At the inter-trajectory level, many actions are characterized by local interactions among moving parts or objects. Rather than modeling all trajectory pairs, we restrict interaction modeling to spatially nearby trajectories and describe their time-varying relative geometry and motion. Because proximity alone does not imply equal relevance, neighbor relations are further weighted by attention conditioned on both the current intra-trajectory state and their pairwise relation. In this way, geometric proximity determines which interactions are plausible, while state-conditioned attention determines which interactions are relevant. Together, these two levels capture both the temporal evolution of individual trajectories and their evolving local interactions.

Effective trajectory-state modeling further depends on where trajectories originate, how heterogeneous evidence enters spatio-temporal modeling, and which trajectories ultimately support recognition. First, uniform or semantic-aware sampling may allocate a limited tracking budget to background, fragmented, or temporally unstable regions, weakening the evidence extracted along the resulting tracks. Second, semantic, depth, and motion cues encode complementary but heterogeneous information, and prematurely collapsing them through element-wise addition may obscure cue-specific information for joint spatio-temporal modeling. Finally, even reliably tracked trajectories may not be equally informative for the target action. This motivates three complementary designs: combining spectral clustering, quality filtering, and budgeted seed allocation to improve trajectory initialization; refining cue-specific information in dedicated subspaces followed by concatenation to preserve heterogeneous cues for joint spatio-temporal modeling; and leveraging class-token guidance to prioritize action-relevant trajectories.

Based on these principles, we propose GeoTRAM, a geometry-aware trajectory state modeling framework for few-shot action recognition. GeoTRAM first obtains reliable tracking seeds through quality-filtered spectral sampling and augments the resulting image-plane tracks with relative monocular depth to construct 2.5D trajectories. It then models their dynamics at two complementary levels: StateMotion encodes the ordered evolution of explicit intra-trajectory kinematic states, while RelMotion captures state-conditioned local interactions through time-varying relative geometry and motion. The resulting semantic, depth, and motion cues are temporally refined in dedicated subspaces, concatenated, and jointly processed by a divided space-time Transformer. Finally, DINOv2 [20] semantic and video-level class tokens jointly guide trajectory relevance estimation and reweighting, with top- ρ\rho trajectory selection supporting trajectory-level instance matching alongside complementary frame-level prototype matching. Extensive experiments on five FSAR benchmarks demonstrate strong performance of GeoTRAM on the motion-centric Something-Something benchmarks while remaining competitive on more appearance-driven benchmarks, with a favorable accuracy–efficiency trade-off.

References (51)