Skip to content
AI.info

Research

Temporal Object-Aware Vision Transformer for Few-Shot Video Object Detection

Overview Research area: Computer vision, specifically Few-Shot Video Object Detection (FSVOD) — detecting novel object categories in video using only a handful of labelled support images. Technical le

arXiv
2511.13784
Published
2025-11-16
Authors
Yogesh Kumar, Anand Mishra

AI summary

Overview

Research area: Computer vision, specifically Few-Shot Video Object Detection (FSVOD) — detecting novel object categories in video using only a handful of labelled support images.

Technical level: Intermediate. The paper is written for readers comfortable with object detection terminology (AP, IoU, DETR-style set prediction, cross-attention), but the core idea — propagating only high-confidence detections forward through time — is described in accessible terms.

Scope: The paper proposes an object-aware temporal fusion mechanism built on an OWL-ViT vision-language encoder and evaluates it on four FSVOD benchmarks in 1-, 3-, 5-, and 10-shot settings.

What This Paper Is About

Standard object detectors need many labelled examples per category and only work on classes seen during training. Few-Shot Video Object Detection instead gives the model a support set of a few images of a novel class and a target video, and asks it to find every instance of that novel class in every frame. The problem is that video adds temporal consistency requirements — occlusions, motion blur and appearance changes between frames — while the few-shot setting leaves almost no supervision to learn from. This paper's goal is to achieve that consistency without relying on explicit object tube proposals or region proposal networks, which prior FSVOD work used and which the authors argue are not optimised for few-shot scenarios.

Key Contributions

  1. Object-aware temporal modeling that selectively propagates high-confidence object features. Rather than passing all frame information forward, the method filters previous-frame classification-head embeddings by a confidence threshold and forwards only those that pass, as key-value pairs to the next frame's decoder. The authors state this reduces noise accumulation and improves detection accuracy in few-shot video.
  2. First adaptation of large-scale pre-trained vision-language models for FSVOD. The work replaces the CNN backbones (such as ResNet) used in prior approaches with an OWL-ViT encoder pre-trained on large-scale image-text pairs, which the authors argue transfers more semantic knowledge and handles visually similar or partially occluded objects better.
  3. Proposal-free detection conditioned directly on few-shot-trained heads. Detection and classification heads are optimised directly on the few-shot visual examples instead of relying on region or tube proposal networks, which the paper claims improves generalisation to novel categories.
  4. Extensive evaluation on four public FSVOD benchmarks — FSVOD-500, FSYTV-40, VidOR and VidVRD — in 1-, 3-, 5- and 10-shot configurations, reporting AP improvements of 3.7% (FSVOD-500), 5.3% (FSYTV-40), 4.3% (VidOR) and 4.5% (VidVRD) in the 5-shot setting, along with an efficiency analysis and a TIDE-style error breakdown.

Main Findings

  • 5-shot state of the art across all four benchmarks. The method reaches 30.6% AP, 42.9% AP50 and 32.1% AP75 on FSVOD-500 (beating TACF by 3.7%, 3.7% and 4.2%); 21.2% AP, 29.8% AP50 and 23.5% AP75 on FSYTV-40 (beating TACF by 5.3%, 5.6% and 5.6%); 49.4% AP, 57.3% AP50 and 50.2% AP75 on VidOR; and 48.7% AP, 57.8% AP50 and 49.2% AP75 on VidVRD.
  • Gains hold in every shot setting. In the 1-shot case the method achieves 27.4% AP on FSVOD-500 and 18.3% on FSYTV-40, outperforming FSVOD by 6.7% and 6.9% respectively. In the 10-shot setup it reaches 33.2% AP on FSVOD-500 and 23.5% on FSYTV-40, gains of 6.0% and 7.4% over FSVOD.
  • The temporal fusion module is the main driver of improvement. Removing it on FSVOD-500 drops AP from 30.6% to 25.4% (-5.2%), AP50 from 42.9% to 37.1% (-5.8%) and AP75 from 32.1% to 26.9% (5.2%). On FSYTV-40, AP falls from 21.2% to 19.2% (-2.0%), AP50 from 29.8% to 26.8% (-3.0%) and AP75 from 23.5% to 21.4% (-2.1%).
  • Temporal methods beat non-temporal ones, but not by default. Non-temporal UP-DETR scores 20.1% AP on FSVOD-500 versus 30.6% for this method, a 10.5% gap; on FSYTV-40 the improvement over the non-temporal baseline is 9.4%.
  • Generic tracking pipelines lag behind specialised few-shot modules. ByteTrack+CLIP reaches only 14.7% AP on FSVOD-500, 15.9% below this method, with comparable gaps on FSYTV-40 (13.3%), VidOR (24.5%) and VidVRD (23.1%). DeepSort+YOLOv8+CLIP, TrackFormer+CLIP and ByteTrack+CLIP all trail the specialised detectors.
  • Improvements over specialised few-shot detectors. Compared to FSVOD the method gains 5.5% AP on FSVOD-500, 6.6% on FSYTV-40, 4.3% on VidOR and 8.0% on VidVRD; similar improvements are reported against TACF and an adapted Video OWL-ViT.
  • The confidence threshold is a precision-coverage trade-off. As τ falls from 0.98 to 0.70, the average number of detections rises from 2 to 23; AP peaks at 30.6 when τ = 0.94 and collapses to 17.7 at τ = 0.70.
  • Classification errors dominate. In a TIDE-based error analysis, classification errors account for 19–28 AP@0.5 across approaches; this method has the lowest classification (19) and localisation (5) errors, while Video-OWLViT excels at background handling (0.7) but suffers from high classification error (28) and QDETRv performs worst overall.
  • Favourable accuracy-versus-efficiency trade-off. The method runs at 14 FPS with 8.1 GB memory at 30.6 AP — 40% faster than VideoOWL-ViT (10 FPS, 8.4 GB) and 27% faster than QDETRv (11 FPS, 7.6 GB), with +4.8 AP and +4.5 AP respectively. FSVOD is faster at 16 FPS and lighter at 5.8 GB, but the authors report their method delivers a +5.5% AP improvement for a minor trade-off. Other baselines: DeepSort 9 FPS (7.9 GB), CenterTrack 12 FPS (6.2 GB), UP-DETR 13 FPS (7.4 GB).

Methodology in Plain English

The system is built on OWL-ViT, a vision encoder aligned with language through large-scale image-text pre-training. Both support images and target video frames are turned into a grid of patch embeddings.

  1. Building class prototypes from support images. For each support image, the encoder produces patch embeddings plus an objectness score per patch. The single patch with the highest objectness score is taken as the object-centric representation of that image. For a class with K support examples, the K selected features are averaged into one class prototype, which becomes the reference for that novel category.
  2. Detecting in the first frame. First-frame embeddings go straight to the classification and localisation heads: the classification head projects them and compares each patch embedding with each class prototype using cosine similarity, normalised by softmax over the novel classes and background; the localisation head is a multi-layer perceptron predicting box coordinates (x, y, w, h) per patch. A patch counts as a valid detection only if its maximum classification score exceeds a threshold κ.
  3. Carrying the useful past forward. For every later frame, the method looks at the previous frame's classification-head embeddings and keeps only those whose class probability exceeded a threshold τ. Those surviving object tokens serve as keys and values, while the current frame's embeddings serve as queries in a cross-attention operation. The attention output is added back to the current frame embeddings, which are then passed to the same classification and localisation heads. Because low-confidence tokens are discarded rather than accumulating, the memory stays focused on objects the model is actually confident about, and no explicit tube or region proposals are needed.
  4. Training. The whole pipeline is trained end-to-end over all video frames with a combined loss: cross-entropy for classification plus a box loss combining L1 for coordinates and generalised IoU for boxes, with DETR-style matching between predictions and ground-truth objects. Implementation: OWL ViT-L/16 encoder, 4-head cross-attention with 1024-dimensional hidden states, 2-layer MLPs with 512-dimensional hidden states, AdamW at 1e-5 learning rate with 0.01 weight decay and cosine scheduling with linear warmup, λ_cls = 2, λ_box = 5, τ = 0.94 and κ = 0.98.

Datasets used were FSVOD-500 (2,553 train videos, 320 train categories, 949 test videos, 100 test categories), FSYTV-40 (1,627 train videos, 30 train categories, 608 test videos, 10 test categories), VidOR (6,164 train videos, 57,599 train object queries, 75 train categories, 407 test object queries, 32 test videos, 9 test categories) and VidVRD (758 train videos, 4,395 train object queries, 30 train categories, 112 test object queries, 42 test videos, 5 test categories). Object-query counts are not reported for FSVOD-500 and FSYTV-40.

Why This Matters

Impact on research. The paper argues that FSVOD is comparatively underexplored next to image-based few-shot object detection, and shows that simply running an image few-shot detector frame by frame leaves performance on the table. It also positions vision-language pre-trained encoders as the backbone of choice for FSVOD, and demonstrates that generic tracking-by-detection pipelines built on strong trackers (and CLIP features) are not a substitute for task-specific temporal modeling — ByteTrack+CLIP, TrackFormer+CLIP and DeepSort+YOLOv8+CLIP all fall short. The proposal-free, selective-propagation design is a simple alternative to tube-proposal pipelines, and the accompanying code is released publicly.

Real-world applications (as implied by the paper's framing of limited-label detection):

  • Video surveillance or monitoring where a new object category must be flagged from a few example images rather than a large annotated dataset.
  • Robotics or autonomous systems that need to recognise unfamiliar objects encountered at run time.
  • Video indexing and retrieval for media archives containing rare or long-tail categories.
  • Annotation assistance, where a few labelled examples let a model pre-label the rest of a long video.

Industry relevance. The efficiency profile matters for deployment: 14 FPS at 8.1 GB while reaching 30.6 AP, reported as faster and more accurate than VideoOWL-ViT and QDETRv. The threshold τ gives practitioners a direct precision-versus-coverage dial — at τ = 0.98 the model makes roughly 2 detections on average, while at τ = 0.70 it makes roughly 23, with the best AP at τ = 0.94.

Future Directions

  1. Reducing classification errors. The paper's own error analysis identifies classification errors as dominant (19–28 AP@0.5 across methods) and states that improving feature discrimination and localisation precision are key challenges; the authors' own classification error of 19 leaves clear room.
  2. Replacing the fixed confidence threshold with something adaptive. Performance is highly sensitive to τ: AP peaks at 30.6 at τ = 0.94 but falls to 17.7 at τ = 0.70, while detection counts change from 2 to 23 over the same range. A learned or per-video threshold is an obvious open question.
  3. Scaling beyond the tested shot counts. The paper reports 1-, 3-, 5- and 10-shot results; behaviour at higher shot counts, and the point at which few-shot methods converge with fully supervised ones, is not reported.
  4. Spending the efficiency budget differently. The method trades some memory and speed against FSVOD (8.1 GB / 14 FPS versus 5.8 GB / 16 FPS). Whether the temporal propagation can be made lighter, or whether longer-range propagation beyond the immediately previous frame helps, is not addressed in the reported experiments.

Target Audience

Researchers and graduate students working on few-shot learning, video object detection, or open-vocabulary detection; engineers building detection systems for domains where only a few labelled examples of a new category are available; and practitioners interested in adapting large vision-language models to video tasks. Readers should be comfortable with detection metrics (AP, AP50, AP75, IoU) and with transformer cross-attention, though the central mechanism can be understood without that background.

Authors’ abstract

Few-shot Video Object Detection (FSVOD) addresses the challenge of detecting novel objects in videos with limited labeled examples, overcoming the constraints of traditional detection methods that require extensive training data. This task presents key challenges, including maintaining temporal consistency across frames affected by occlusion and appearance variations, and achieving novel object generalization without relying on complex region proposals, which are often computationally expensive and require task-specific training. Our novel object-aware temporal modeling approach addresses these challenges by incorporating a filtering mechanism that selectively propagates high-confidence object features across frames. This enables efficient feature progression, reduces noise accumulation, and enhances detection accuracy in a few-shot setting. By utilizing few-shot trained detection and classification heads with focused feature propagation, we achieve robust temporal consistency without depending on explicit object tube proposals. Our approach achieves performance gains, with AP improvements of 3.7% (FSVOD-500), 5.3% (FSYTV-40), 4.3% (VidOR), and 4.5 (VidVRD) in the 5-shot setting. Further results demonstrate improvements in 1-shot, 3-shot, and 10-shot configurations. We make the code public at: https://github.com/yogesh-iitj/fs-video-vit

Read the original paper