---
title: Spherical Spatio-Temporal Consistency Learning
url: https://www.emergentmind.com/topics/spherical-spatio-temporal-consistency-learning-sstc
type: topic
---

# Spherical Spatio-Temporal Consistency Learning

Searching arXiv for the specified paper to ground the article in the cited source.
Spherical Spatio-Temporal Consistency Learning (SSTC) is a module introduced within the depth-aware cylindrical tracking-by-detection framework CylindTrack for panoramic multi-object tracking. It is designed for equirectangular panoramic videos, where monocular depth estimates fluctuate over time, especially near the \(0^\circ/360^\circ\) seam or under occlusion, and where large-FoV scenes exhibit spherical geometric distortions that standard planar networks do not respect. SSTC addresses these issues by enforcing local temporal alignment of per-object depth representations so that short-term scale noise is suppressed, and by explicitly injecting a deterministic spherical geometry prior so that depth query features remain consistent with the equirectangular camera model [2606.30097].

## 1. Problem setting and conceptual role

SSTC arises from the observation that panoramic MOT is not a straightforward extension of perspective MOT. In equirectangular panoramic videos, the horizontal image domain is periodic rather than Euclidean, which breaks planar motion assumptions and makes IoU-based association unreliable near the \(0^\circ/360^\circ\) seam. At the same time, large-FoV scenes often contain more objects, stronger scale variation, and more frequent interactions, making online association particularly sensitive to unstable frame-wise depth cues.

Within this setting, SSTC operates as the representation-learning component that stabilizes depth-aware object features before motion modeling and association. Its stated function is twofold. First, it promotes temporal coherence in depth-aware representations, reducing frame-to-frame fluctuations that would otherwise corrupt online data association. Second, it encodes spherical geometric structure directly into the representation pathway, so that feature alignment respects the panoramic imaging model rather than an implicit planar approximation.

This design places SSTC between raw depth estimation and downstream association logic. A plausible implication is that SSTC serves as the feature-level counterpart to the trajectory-level mechanisms elsewhere in CylindTrack: it regularizes query representations locally in time, while the larger framework leverages those stabilized cues for identity preservation and trajectory continuity.

## 2. Placement in the detector and overall architecture

SSTC is inserted into the DETR-style depth-enhanced detector after the depth-query update. It consists of two submodules: a **Temporal Mixer** and **Spherical Geometry-aware Attention (SGA)**.

The input to SSTC is a batch of depth queries
$$
X \in \mathbb{R}^{(B\cdot T)\times Q\times C},
$$
where \(B\) is the batch size, \(T\) is the time window length, \(Q\) is the number of object queries, and \(C\) is the feature dimension. The module first reshapes and normalizes these queries for temporal processing, then applies spherical geometry-aware cross-attention using a fixed geometry context derived from feature-map pixel centers.

The architectural decomposition is significant because it separates two distinct failure modes of panoramic depth-aware tracking. The Temporal Mixer targets temporal instability in monocular depth cues, while SGA targets geometric inconsistency induced by the equirectangular camera model. Their combination is therefore not merely additive in a structural sense; it is intended to jointly model temporal coherence and panoramic geometric alignment.

## 3. Temporal Mixer

The Temporal Mixer ties the \(Q\times C\) feature vectors for each object query across \(T\) frames via a depthwise convolution along the temporal axis. The computation is given as
$$
Y = \mathrm{LN}(\mathrm{reshape}(X)),
$$
$$
M_t(Y) = \mathrm{PWConv}\big(\sigma(\mathrm{DWConv}_t(Y))\big),
$$
$$
X_{\mathrm{tm}} = X + \rho \cdot \mathrm{reshape}^{-1}(M_t(Y)).
$$

Here, \(\mathrm{DWConv}_t\) is a 1-D convolution along the temporal axis with kernel size \(k_t\), stride \(=1\), and groups \(=C\), so each channel is convolved independently over its \(T\) frames. \(\mathrm{PWConv}\) is a \(1\times 1\) convolution across channels. \(\rho\) is a learned scalar initialized to \(0\), \(\mathrm{LN}\) is LayerNorm, and \(\mathrm{reshape}^{-1}\) returns the shape \((B\cdot T)\times Q\times C\).

The module is explicitly characterized as implementing a learnable finite-impulse-response filter that smooths out frame-to-frame depth noise. Because \(\rho\) is learned and initialized to zero, the network can gradually turn on temporal mixing during training. No recurrence or external memory is required; SSTC operates on small query tensors of shape \(B\times T\times Q\times C\).

This formulation is lightweight in the sense intended by the source: temporal coupling occurs only on object-query tensors rather than dense image grids. That choice is central to SSTC’s role in online tracking, where low-latency query refinement is more relevant than heavy spatio-temporal feature aggregation.

## 4. Spherical Geometry-aware Attention

The second submodule, Spherical Geometry-aware Attention, injects explicit knowledge of the equirectangular camera geometry. It begins by precomputing a fixed geometry context
$$
S_{\mathrm{geo}} \in \mathbb{R}^{N_s\times C},
$$
where
$$
N_s = \sum_{m=1}^{M} H_m W_m
$$
across \(M\) feature scales.

Each feature-map pixel center \((u,v)\) is mapped to spherical angles
$$
\theta = 2\pi\left(\frac{u}{W}-\frac{1}{2}\right), \qquad
\phi = \pi\left(\frac{v}{H}-\frac{1}{2}\right),
$$
and then embedded via sinusoidal/Fourier features:
$$
g(\theta,\phi) = [\sin(k\theta), \cos(k\theta), \sin(k\phi), \cos(k\phi)]_{k=1..K}.
$$
The geometry context is obtained as
$$
S_{\mathrm{geo}} = \mathrm{MLP}(g(\theta,\phi)) \in \mathbb{R}^{N_s\times C}.
$$

Query, key, and value projections are then formed as
$$
Q = \mathrm{LN}_q(X_{\mathrm{tm}})\cdot W^Q \in \mathbb{R}^{(B\cdot T\cdot Q)\times d_k},
$$
$$
[K_{\mathrm{geo}}, V_{\mathrm{geo}}] = \mathrm{LN}_{\mathrm{ctx}}(S_{\mathrm{geo}})\cdot [W^K, W^V]
\in \mathbb{R}^{N_s\times d_k}\times \mathbb{R}^{N_s\times d_v}.
$$

SGA uses width-height separated attention. The geometry tokens are split into two “directions”: horizontal tokens
$$
S_w \in \mathbb{R}^{\sum_m W_m \times C}
$$
and vertical tokens
$$
S_h \in \mathbb{R}^{\sum_m H_m \times C},
$$
that is, grouped by rows or columns. Attention is computed as
$$
A_w = \mathrm{Softmax}\left(\frac{QK_w^\top}{\sqrt{d_k}}\right)V_w,
\qquad
A_h = \mathrm{Softmax}\left(\frac{QK_h^\top}{\sqrt{d_k}}\right)V_h.
$$
The outputs are fused and added residually:
$$
X' = X_{\mathrm{tm}} + \mathrm{Fuse}(A_w, A_h).
$$

The fuse operation is typically a learned linear projection or simple element-wise sum. The stated rationale is that width/height separation aligns query tokens to geometry tokens along great-circle directions, approximating spherical alignment. The source further notes that \(\mathrm{Softmax}(QK^\top/\sqrt{d_k})\) inherently measures angular similarity between object queries and spherical coordinates, encouraging depth estimates to respect the true \(360^\circ\) geometry [2606.30097].

## 5. Implementation characteristics and computational profile

SSTC is specified with practical implementation ranges. The number of depth queries is approximately \(Q \approx 100\)–\(300\), the feature dimension is \(C=256\), and the time window is \(T=2\)–\(4\) frames. For the Temporal Mixer, the kernel size is \(k_t=3\), groups \(=C\), and \(\mathrm{PWConv}\) is a \(1\times 1\) convolution.

For SGA, one multi-head or single-head cross-attention is used, and fusion is performed by a \(1\times 1\) convolution. Example feature scales are \(\{20\times 20, 40\times 80, 80\times 160\}\), giving
$$
N_s \approx (20\cdot 20 + 40\cdot 80 + 80\cdot 160)=20,000.
$$

The complexity figures reported for SSTC are:
- Temporal Mixer:
  $$
  O(B\cdot Q\cdot C\cdot T\cdot k_t) + O(B\cdot Q\cdot C^2\cdot T),
  $$
  described as negligible since \(Q \ll H\cdot W\).
- SGA:
  $$
  O(B\cdot T\cdot Q\cdot (H_m+W_m)\cdot C)
  $$
  per scale instead of
  $$
  O(B\cdot T\cdot Q\cdot H_m\cdot W_m\cdot C).
  $$

Training is joint with detection and depth losses, and no extra supervision is required. The scalar \(\rho\) is initialized to zero; learning rate and other hyperparameters follow the base detector, specifically AdamW with \(lr=2.5\times 10^{-4}\).

These details clarify that SSTC is meant to be inserted into an existing depth-enhanced detector with minimal training protocol changes. This suggests that its contribution is primarily representational and architectural rather than dependent on specialized supervision or auxiliary objectives.

## 6. Empirical behavior and ablation evidence

The ablation evidence reported for QuadTrack isolates the effects of the two SSTC submodules. Starting from the depth-enhanced baseline (ID 1), adding only the Temporal Mixer (ID 2) yields a small gain in HOTA \((+0.361)\) and IDF1 \((+0.916)\). Adding only SGA (ID 3) yields \(+0.983\) HOTA and \(+0.532\) IDF1. Combining both (ID 4) yields \(+2.648\) HOTA and \(+3.850\) IDF1 [2606.30097].

| Variant | HOTA gain | IDF1 gain |
|---|---:|---:|
| Temporal Mixer only | +0.361 | +0.916 |
| SGA only | +0.983 | +0.532 |
| Temporal Mixer + SGA | +2.648 | +3.850 |

In the full CylindTrack system, with cylindrical motion modeling as well, SSTC together with depth-temporal Kalman lifts HOTA from \(31.026\) to \(33.674\) and IDF1 from \(34.109\) to \(40.446\) on QuadTrack—an absolute gain of \(2.648\) and \(6.337\) points, respectively.

The pattern of these results is notable. The individual gains of the two submodules are modest, but the joint configuration produces a larger improvement. This suggests that temporal stabilization and spherical geometric alignment are complementary rather than redundant: the Temporal Mixer suppresses short-term depth noise, while SGA constrains the representation to remain compatible with panoramic geometry. The source summarizes the effect as markedly better identity association and trajectory continuity in panoramic multi-object tracking.

## 7. Interpretation within panoramic multi-object tracking

SSTC is best understood as a depth-representation regularizer specialized for equirectangular video. Its temporal component addresses the instability of monocular depth when used as a frame-wise cue for online data association. Its geometric component addresses the mismatch between standard planar feature processing and the true topology of \(360^\circ\) imagery.

A common misconception in this area is that better frame-wise depth alone is sufficient for robust panoramic association. The formulation of SSTC argues against that view: the objective is not only to estimate depth, but to make depth-aware query features temporally coherent and geometrically aligned with the spherical camera model. Likewise, SSTC does not replace motion modeling; in CylindTrack it operates alongside trajectory-level depth consistency and topology-aware cylindrical motion prediction.

Within that broader framework, SSTC’s contribution is specific and delimited. It does not introduce recurrence, external memory, or extra supervision. Instead, it uses a depthwise temporal filter on object queries and a fixed spherical geometry context encoded by Fourier features. The resulting representation is intended to remain stable across short temporal windows and consistent with the periodic, spherical structure of equirectangular panoramas. In the terminology of the source, these temporally stable, geometry-consistent depth cues translate into better identity preservation and trajectory continuity in challenging panoramic scenes [2606.30097].

Source: https://www.emergentmind.com/topics/spherical-spatio-temporal-consistency-learning-sstc