GliTr: Glimpse Transformers with Spatiotemporal Consistency for Online Action Prediction

10/24/2022
by   Samrudhdhi B Rangrej, et al.
0

Many online action prediction models observe complete frames to locate and attend to informative subregions in the frames called glimpses and recognize an ongoing action based on global and local information. However, in applications with constrained resources, an agent may not be able to observe the complete frame, yet must still locate useful glimpses to predict an incomplete action based on local information only. In this paper, we develop Glimpse Transformers (GliTr), which observe only narrow glimpses at all times, thus predicting an ongoing action and the following most informative glimpse location based on the partial spatiotemporal information collected so far. In the absence of a ground truth for the optimal glimpse locations for action recognition, we train GliTr using a novel spatiotemporal consistency objective: We require GliTr to attend to the glimpses with features similar to the corresponding complete frames (i.e. spatial consistency) and the resultant class logits at time t equivalent to the ones predicted using whole frames up to t (i.e. temporal consistency). Inclusion of our proposed consistency objective yields  10 the Something-Something-v2 (SSv2) dataset than the baseline cross-entropy objective. Overall, despite observing only  33 GliTr achieves 53.02 respectively.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset