2pairs of object proposals. For
the former, we use the softmax cross-entropy, as each proposal can only be assigned a single object class. And for
the latter, we use the sigmoid cross-entropy, as there can
be multiple relationship labels between any pair of objects.
Concretely, the loss is
L(x;w;y;z ) =Lobject(x;y) +Lrel(w;z) (11)
Lobject(x;y) =1
NNX
iCX
jyijlog (Softmax (x)ij)(12)
Lrel(w;z) =2
N(N1)RNX
ii1X
jRX
rzijrlog ((wijr))
+ (1zijr) log (1(wijr)): (13)
Here,Nis the number of object proposals in the video clip,
Rthe number of relationship classes and Cthe number of
object classes. yis the one-hot, ground-truth object class label,zthe binary ground-truth relationship label, and xand
wdenote the object- and relationship-logits respectively.
On Action Genome [23], there are R= 25 relationship
Accurate video understanding involves reasoning about the relationships
between actors, objects and their environment, often over long temporal
intervals. In this paper, we propose a message passing graph neural network
that explicitly models these spatio-temporal relations and can use explicit
representations of objects, when supervision is available, and implicit
representations otherwise. Our formulation generalises previous structured
models for video understanding, and allows us to study how different design
choices in graph structure and representation affect the model's performance.
We demonstrate our method on two different tasks requiring relational reasoning
in videos -- spatio-temporal action detection on AVA and UCF101-24, and video
scene graph classification on the recent Action Genome dataset -- and achieve
state-of-the-art results on all three datasets. Furthermore, we show
quantitatively and qualitatively how our method is able to more effectively
model relationships between relevant entities in the scene.
Anurag Arnab Chen Sun Cordelia Schmid