Temporal Preservation over Processing: Diagnosing and Designing Spatiotemporal Single-Stage Video Detectors

Karam Tomotaki-Dawoud, Anna Hilsmann, Peter Eisert, Sebastian BossearXiv 2026

TL;DR

This paper introduces TemporalLens, a diagnostic framework that exposes whether "video" detectors actually reason over time or just exploit a single frame, and YOLO-3D, a real-time spatiotemporal detector. The authors reveal a critical flaw in conventional architectures: aggressive temporal downsampling in the backbone destroys temporal data before it even reaches advanced processing modules. By simply preserving temporal resolution throughout the backbone, YOLO-3D achieves a +3.7 pp mAP@50 boost, proving that keeping temporal data alive matters more than complex downstream processing.

What Problem Does This Paper Address?

Single-stage video object detectors are widely used in time-critical tasks like surgical analysis and robotics. However, standard evaluation metrics like mean Average Precision (mAP) hide a major flaw: they reward correct predictions regardless of how the model reached them. A model can score highly by simply looking at the final, most informative frame, completely ignoring the temporal context (motion, history, continuity).

Furthermore, conventional 3D convolutional networks inherit their downsampling schedules from image classification. They aggressively shrink the temporal dimension, often collapsing it to a single frame ($D=1$) early in the network. This makes any downstream temporal attention or fusion modules completely useless because there is no temporal depth left to process.

Methods

The authors attack this problem from two angles: diagnostics and architecture.

1. TemporalLens (Diagnostic Framework)

To test if a model genuinely uses temporal information, the authors developed a model-agnostic perturbation suite. Instead of evaluating on clean video, it systematically degrades clips along specific temporal axes using seven structured probes:

  • Hide-Last (HL): Masks the final frame. If a model relies solely on the target frame, its performance collapses.
  • Temporal Shuffle (TS): Randomly permutes frame order to test sensitivity to sequential structure.
  • Resolution Degradation (RD): Downsamples the middle portion of the video spatially to see if temporal context can compensate for lost spatial detail.

2. YOLO-3D (Architecture)

The authors extended the popular YOLOv8 detector into the 3D spatiotemporal domain.

Figure 2: Spatiotemporal extension of YOLOv8. A T-frame video clip is processed by a 3D backbone (Conv3d/C2f3d blocks and SPPF3d), followed by 3D FPN/PAN-style fusion. The vanilla variant uses Dy- namicConcat for temporal alignment and AdaptiveAvgPool3d for depth reduction; the enhanced variant replaces these with spatio-temporal attention fusion and adaptive temporal focus modules (Sec. 3.2). All variants feed into the standard anchor-free YOLOv8 detection head
  • Vanilla 3D Extension: Replaces 2D convolutions with lightweight 3D counterparts (Conv3d, C2f3d, SPPF3d) and introduces DynamicConcat to handle mismatched temporal depths during feature fusion.
  • Temporal-Preserving Backbone: Instead of using a stride of 2 across all layers (which causes early temporal collapse), it restricts temporal striding to the early stem layers. This keeps the temporal depth intact ($T/4$) across all deep feature pyramid levels.
  • Spatio-Temporal Attention Fusion (STAF): A module that replaces standard concatenation with factored linear attention (separating temporal and spatial attention) to efficiently fuse cross-scale features.
  • Adaptive Temporal Focus (ATF): Replaces simple average pooling before the detection head with a learned, key-frame-aware temporal squeeze.

Datasets

The framework and architecture were validated across three distinct domains:

  1. Operating Room Dataset: Video object and action detection in kidney transplantation surgeries (5,492 train / 1,372 validation samples). Highly appearance-dominated with slow-moving objects.
  2. Dairy-Cow Pose Skeleton: Articulated keypoint estimation from farm surveillance videos for lameness diagnosis (1,484 train / 366 validation samples). Heavily motion-dependent.
  3. UCF101-24: A standard action detection benchmark (~338k training clips) used for the comprehensive architectural ablation study.

Key Insights and Ideas

  • The Downsampling Bottleneck: The biggest driver of temporal reasoning isn't a fancy attention mechanism or a complex fusion head; it's the backbone's downsampling schedule. If the backbone collapses the time dimension early, downstream modules become expensive "no-ops" operating on single-frame data.
  • mAP Conceals Laziness: On the surgical dataset, stacked-2D models (which treat frames as input channels) achieved high mAP. However, under the Hide-Last perturbation, their performance collapsed catastrophically. They weren't learning actions; they were just memorizing the final frame.
  • The Robustness Trade-off: True spatiotemporal models (like YOLO-3D) are highly robust to missing frames because they can reconstruct the present from the past. However, they are significantly more sensitive to mid-sequence spatial degradation because they rely heavily on fine-grained motion continuity.

Key Results

  • Efficiency: YOLO-3D variants (nano/small) operate comfortably in the low-compute, low-latency regime (2–361 GFLOPs), maintaining sub-25 ms inference on an RTX 4090 even at 960p resolution with 28 frames.
Latency vs. Compute comparison across spatiotemporal action detection architectures.
  • Ablation Performance: On UCF101-24, simply switching to the temporal-preserving backbone yielded a +3.7 pp mAP@50 improvement for 32-frame sequences, completely outperforming more complex neck or head modifications alone.
  • Temporal Resilience: On the Dairy-Cow dataset, when the final frame was hidden (Hide-Last), the stacked-2D baseline dropped heavily to an OKS-mAP of 0.246. In contrast, YOLO-3D preserved an accuracy of 0.880, proving its ability to leverage historical context.

Limitations and Future Work

  • Memory Overhead: Preserving temporal depth through the backbone increases per-sample activation memory by 30–46%, which may require smaller batch sizes on memory-constrained hardware.
  • Architectural Scope: The TemporalLens diagnostic framework is currently limited to single-tensor input models. Dual-branch architectures (like YOWO), which feed the target frame directly into a separate 2D branch, bypass these perturbations and require further adaptation.
  • Future Directions: The authors suggest optimizing the backbone with lighter 3D blocks, evaluating on large-scale autonomous driving datasets (e.g., TITAN), and extending the architecture to volumetric data like MRI scans.

Summary updated

Abstract

Single-stage video object detectors are increasingly deployed in time-critical applications, yet it remains unclear whether these models genuinely reason over temporal context or merely exploit a single informative frame-a gap hidden by standard metrics, which reward correct predictions regardless of how they are reached. We address this from two complementary directions: first, we propose TemporalLens, a model-agnostic diagnostic framework probing temporal dependence through controlled perturbations, structured occlusions, temporal shuffling, redundancy injection, and resolution degradation, revealing whether a detector actually uses information across time. Applied to stacked-frame 2D detectors and our YOLO-3D architecture, it exposes behavioural differences invisible to mAP: stacked 2D models collapse when the target frame is removed, while spatiotemporal models recover predictions from earlier frames, a signature of real temporal reliance. Second, we detail YOLO-3D, a modular real-time spatiotemporal detector built on YOLOv8, and show that simply preserving temporal depth through the backbone is the dominant performance driver (+3.7 pp mAP@50 at 32 frames averaged across scales). Together, the diagnostics and architecture turn "does this detector reason over time?" into a measurable, actionable question.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
UCF101-24YOLO-3D config F (temporal-preserving backbone, DynamicConcat, AvgPool)mAP@5083.5%epochs=20 · clip-length=32 frames · model-scale=medium · configuration=F
Source quote
L401: F │ temp. │ DynCon. │ AP │ 81.5 │ 50.7 │ 83.5 │ 51.1
UCF101-24YOLO-3D config A (baseline backbone, DynamicConcat, AvgPool)mAP@5081.1%epochs=20 · clip-length=32 frames · model-scale=medium · configuration=A
Source quote
L394: A │ base. │ DynCon. │ AP │ 79.8 │ 49.4 │ 81.1 │ 49.2
UCF101-24YOLO-3D config F (temporal-preserving backbone, DynamicConcat, AvgPool)mAP@50:9551.1%epochs=20 · clip-length=32 frames · model-scale=medium · configuration=F
Source quote
L401: F │ temp. │ DynCon. │ AP │ 81.5 │ 50.7 │ 83.5 │ 51.1
UCF101-24YOLO-3D config A (baseline backbone, DynamicConcat, AvgPool)mAP@50:9549.2%epochs=20 · clip-length=32 frames · model-scale=medium · configuration=A
Source quote
L394: A │ base. │ DynCon. │ AP │ 79.8 │ 49.4 │ 81.1 │ 49.2
BibTeX
@misc{tomotakidawoud2026temporal,
  author = {Karam Tomotaki-Dawoud and Anna Hilsmann and Peter Eisert and Sebastian Bosse},
  title = {{Temporal Preservation over Processing: Diagnosing and Designing Spatiotemporal Single-Stage Video Detectors}},
  year = {2026},
  eprint = {2606.31421},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.31421},
}
Figure