Skip to main content
QUICK REVIEW

[Paper Review] Temporal Coherent Test-Time Optimization for Robust Video Classification

Chenyu Yi, Siyuan Yang|arXiv (Cornell University)|Feb 28, 2023
Advanced Vision and ImagingComputer Science3 citations
TL;DR

This paper proposes TeCo, a novel test-time optimization framework for video classification that enhances corruption robustness by leveraging both global spatio-temporal content and local temporal coherence through self-supervised learning. By minimizing prediction entropy and enforcing feature consistency across adjacent frames, TeCo improves average accuracy by 6.5% on Mini Kinetics-C and 4.1% on Mini SSV2-C across multiple backbones, outperforming baselines like Tent and SHOT.

ABSTRACT

Deep neural networks are likely to fail when the test data is corrupted in real-world deployment (e.g., blur, weather, etc.). Test-time optimization is an effective way that adapts models to generalize to corrupted data during testing, which has been shown in the image domain. However, the techniques for improving video classification corruption robustness remain few. In this work, we propose a Temporal Coherent Test-time Optimization framework (TeCo) to utilize spatio-temporal information in test-time optimization for robust video classification. To exploit information in video with self-supervised learning, TeCo uses global content from video clips and optimizes models for entropy minimization. TeCo minimizes the entropy of the prediction based on the global content from video clips. Meanwhile, it also feeds local content to regularize the temporal coherence at the feature level. TeCo retains the generalization ability of various video classification models and achieves significant improvements in corruption robustness across Mini Kinetics-C and Mini SSV2-C. Furthermore, TeCo sets a new baseline in video classification corruption robustness via test-time optimization.

Motivation & Objective

  • To address the lack of test-time optimization methods for improving video classification robustness against real-world corruptions such as blur, noise, and weather effects.
  • To bridge the gap between image and video test-time optimization by exploiting temporal coherence in video data, which is often ignored in existing methods.
  • To develop a generalizable framework that enhances model robustness without requiring access to training data, suitable for real-world deployment.
  • To maintain model generalization while adapting to corrupted test inputs through parameter updates using self-supervised objectives.

Proposed method

  • TeCo performs test-time optimization by updating shallow layer parameters and normalization layers in deep layers, preserving trained statistics while adapting to test data.
  • It uses uniform sampling of video clips to extract global spatio-temporal features and minimizes prediction entropy as a self-supervised objective.
  • A dense sampling strategy captures local temporal features with small frame gaps to preserve motion continuity.
  • Temporal coherence regularization is applied to local features using a learnable attention module to enforce smoothness across consecutive frames.
  • The framework balances training and test statistics in batch normalization via a hyperparameter α, enabling stable adaptation.
  • The method is applied end-to-end with a single optimization epoch on test data, using a batch size of 32 for optimal performance.

Experimental results

Research questions

  • RQ1Can test-time optimization techniques designed for images be effectively transferred to video classification tasks?
  • RQ2How can temporal coherence in video data be leveraged to improve robustness against corruptions such as blur and noise?
  • RQ3What is the optimal balance between global content modeling and local temporal consistency in self-supervised test-time adaptation?
  • RQ4Does incorporating spatio-temporal self-supervision lead to consistent improvements across diverse video classification backbones?
  • RQ5How do hyperparameters like batch size and α affect the robustness and convergence of test-time optimization?

Key findings

  • TeCo achieves a 6.5% average accuracy gain on Mini Kinetics-C and a 4.1% gain on Mini SSV2-C across multiple video classification backbones, significantly outperforming baseline methods like Tent and SHOT.
  • The method improves robustness consistently across different model architectures, demonstrating strong generalization capability without retraining.
  • Temporal coherence regularization leads to smoother and more consistent feature maps across consecutive frames, as visualized in feature maps, especially under noise corruption.
  • The optimal batch size for TeCo is 32, as larger batches (e.g., 64) reduce the number of optimization steps and degrade performance.
  • The hyperparameter α, which controls the balance between training and test statistics in batch normalization, has a strong impact on early convergence, with smaller α values enabling faster adaptation.
  • Applying temporal coherence regularization after the res₂ stage yields the best performance, with a slight drop after deeper layers, suggesting that earlier features benefit more from consistency regularization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.