Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Test-Time Training on Video Streams

About

Prior work has established Test-Time Training (TTT) as a general framework to further improve a trained model at test time. Before making a prediction on each test instance, the model is first trained on the same instance using a self-supervised task such as reconstruction. We extend TTT to the streaming setting, where multiple test instances - video frames in our case - arrive in temporal order. Our extension is online TTT: The current model is initialized from the previous model, then trained on the current frame and a small window of frames immediately before. Online TTT significantly outperforms the fixed-model baseline for four tasks, on three real-world datasets. The improvements are more than 2.2x and 1.5x for instance and panoptic segmentation. Surprisingly, online TTT also outperforms its offline variant that accesses strictly more information, training on all frames from the entire test video regardless of temporal order. This finding challenges those in prior work using synthetic videos. We formalize a notion of locality as the advantage of online over offline TTT, and analyze its role with ablations and a theory based on bias-variance trade-off.

Renhao Wang, Yu Sun, Arnuv Tandon, Yossi Gandelsman, Xinlei Chen, Alexei A. Efros, Xiaolong Wang• 2023

Related benchmarks

TaskDatasetResultRank
Action ClassificationUCF101
Top-1 Accuracy94.2
167
Video Depth EstimationBONN
AbsRel6.4
139
Monocular Video Depth EstimationNYU Video v2
Absolute Relative Error0.058
27
Video Depth EstimationKITTI
AbsRel7.1
15
Video Depth EstimationSintel ~50 frames
AbsRel26.5
15
Video Depth EstimationScanNet
AbsRel7.6
15
Semantic segmentationKITTI-STEP (val)
mIoU55.4
12
Semantic segmentationKITTI-STEP (test)
mIoU54.3
12
Instance SegmentationCOCO Videos
AP37.6
10
Panoptic SegmentationCOCO Videos
PQ21.7
10
Showing 10 of 14 rows

Other info

Follow for update