<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>COMPOSER: Compositional Reasoning of Group Activity in Videos with Keypoint-Only Modality.</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>10/01/2022</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10458492</idno>
					<idno type="doi"></idno>
					<title level='j'>European Conference on Computer Vision 2022</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Asim Kadav Honglu Zhou</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Group Activity Recognition detects the activity collectively performed by a group of actors, which requires compositional reasoning of actors and objects. We approach the task by modeling the video as tokens that represent the multi-scale semantic concepts in the video. We propose COMPOSER, a Multiscale Transformer based architecture that performs attention-based reasoning over tokens at each scale and learns group activity compositionally. In addition, prior works suffer from scene biases with privacy and ethical concerns. We only use the keypoint modality which reduces scene biases and prevents acquiring detailed visual data that may contain private or biased information of users. We improve the multiscale representations in COMPOSER by clustering the intermediate scale representations, while maintaining consistent cluster assignments between scales. Finally, we use techniques such as auxiliary prediction and data augmentations tailored to the keypoint signals to aid model training. We demonstrate the model's strength and interpretability on two widely-used datasets (Volleyball and Collective Activity). COMPOSER achieves up to +5.4% improvement with just the keypoint modality (Code is available at https://github.com/hongluzhou/composer.).]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>Group Activity Recognition (GAR) detects the activity collectively performed by a group of actors in a short video clip <ref type="bibr">[11,</ref><ref type="bibr">48]</ref>. GAR has widespread societal implications in a variety of domains including security, surveillance, kinesiology, sports analysis, robot-human interaction, and rehabilitation <ref type="bibr">[15,</ref><ref type="bibr">16,</ref><ref type="bibr">38,</ref><ref type="bibr">55]</ref>. We propose COMPOSER that uses keypoint only modality for GAR by modeling a video as tokens that represent the multiscale semantic concepts in the video, which include keypoint, person, person-to-person interaction, person group, object if present, and the clip. Four scales are formed by grouping actor-related tokens according to their semantic hierarchy. Representations of tokens in coarser scales are learned and aggregated from tokens of the finer scales. COMPOSER (Fig. <ref type="figure">3</ref></p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>) facilitates compositional reasoning of group activity in videos</head><p>The task requires addressing two challenges. First, GAR requires a compositional understanding of the scene <ref type="bibr">[2]</ref>. Because of the crowded scene, it is challenging to learn meaningful representations for GAR over the entire scene <ref type="bibr">[48]</ref>. Since group activity often consists of sub-group(s) of actors and scene objects, the final action label depends on a compositional understanding of these entities <ref type="bibr">[48,</ref><ref type="bibr">54]</ref>. Second, GAR benefits from relational reasoning over scene elements to understand the relative importance of entities and their interactions <ref type="bibr">[19,</ref><ref type="bibr">52]</ref>. For example, in a volleyball game, persons around the ball performing the jumping action are more important than others standing in the scene.</p><p>Existing work has proposed to jointly learn the group activity with individual actions <ref type="bibr">[4,</ref><ref type="bibr">5,</ref><ref type="bibr">22,</ref><ref type="bibr">23,</ref><ref type="bibr">39,</ref><ref type="bibr">40]</ref> or person sub-groups <ref type="bibr">[15,</ref><ref type="bibr">29,</ref><ref type="bibr">33]</ref> for a compositional understanding of the group activity. Meanwhile, graph <ref type="bibr">[19,</ref><ref type="bibr">22,</ref><ref type="bibr">47,</ref><ref type="bibr">55]</ref> and transformer <ref type="bibr">[16,</ref><ref type="bibr">29]</ref> based models have been proposed for relational reasoning over scene entities. However, these methods do not sufficiently make use of the multiscale scene elements in the GAR task by modeling over entities at either one semantic scale (e.g., person <ref type="bibr">[16,</ref><ref type="bibr">19,</ref><ref type="bibr">47,</ref><ref type="bibr">55]</ref>) or two scales (person and person group <ref type="bibr">[15,</ref><ref type="bibr">29,</ref><ref type="bibr">33]</ref>, or keypoint and person <ref type="bibr">[37]</ref>). More importantly, explicit multiscale modeling is neglected, lacking consistent compositional representations for the group action tasks. Furthermore, majority of the prior GAR methods rely on the RGB modality (see Table <ref type="table">3</ref>), which causes the model more likely to have privacy and ethical issues when deployed in real-world applications <ref type="bibr">[18]</ref>. Last but not least, the RGB input hinders the model's robustness to changes in background, lighting conditions or textures, and often results in poor model generalizability due to scene biases (see Fig. <ref type="figure">1 (a</ref>)) <ref type="bibr">[10,</ref><ref type="bibr">42]</ref>.</p><p>In this paper, we present COMPOSER that addresses compositional learning of entities in the video and relational reasoning about these entities. Inspired by how humans are particularly adept at representing objects in different granularities meanwhile reasoning their interactions to turn sensory signals into a highlevel knowledge <ref type="bibr">[21,</ref><ref type="bibr">28]</ref>, we approach GAR by modeling a video as tokens that represent the multi-scale semantic concepts in the video (Fig. <ref type="figure">1 (b)</ref>). Compared to the aforementioned prior works, we consider more fine-grained scene entities that are grouped into four scales. By combining the scales together with Multiscale Transformer (Fig. <ref type="figure">4</ref>), COMPOSER provides attention-based reasoning over tokens at each scale, which makes the higher-level understanding of the group activity possible. Moreover, COMPOSER uses only the keypoint modality. Using only the 2D (or 3D) keypoints as input, our method can prevent the sensor camera from acquiring detailed visual data that may contain private or biased information of users<ref type="foot">foot_0</ref> . Keypoints also allow the model to focus on the actionspecific cues, and help the model be more invariant to the scene biases. COMPOSER generalizes much better to testing data with different scene backgrounds (see the Volleyball Olympic split results in Table <ref type="table">1</ref>).</p><p>COMPOSER learns consistent multiscale representations which boost the performance for GAR (Fig. <ref type="figure">2</ref>). This is achieved by contrastive clustering assignments of clips. Intuitively, a model can recognize the group activity using representations of entities at just one particular scale. Hence, we consider representations of the clip token learned across scales as representations of different views of the clip. Such perspective allows us to cluster clip representations learned at all scales while enforcing consistency between cluster assignments produced from different scales of the same clip. In order to enforce this consistency, we follow <ref type="bibr">[7]</ref> and use a swapped prediction mechanism where we predict the cluster assignment of a scale from the representation of another scale. However, distinct from related works <ref type="bibr">[3,</ref><ref type="bibr">7,</ref><ref type="bibr">9]</ref>, which use information from multiple augmentations or modalities for self-supervised learning from unlabelled images or videos, we use information from multiple scales for the task of group activity recognition. Contrasting clustering assignments enhance our intermediate representations and the overall Fig. <ref type="figure">2</ref>. Embedding space learned by COMPOSER. COMPOSER exploits a contrastive clustering objective (Sect. 3.3) to learn consistent multiscale representations for GAR. This is achieved by clustering clip representations learned at all scales. The clustering objective encourages an "agreement" between scales on the high-level knowledge learned ('Pull Close' representations of the same clip). Contrastive learning is performed on the clusters, which also helps the model to discriminate between clips with different semantic characteristics ('Pull Close' representations of the semanticallysimilar clips and 'Push Apart' those that are semantically-different). In the illustration, we use subscript to denote the scale and use superscript to indicate different clips performance. Finally, we use techniques such as auxiliary prediction at each scale and data augmentation methods such as Actor Dropout to aid training.</p><p>Our contributions are three-fold:</p><p>1. We present COMPOSER for compositional reasoning of group activity in videos.</p><p>COMPOSER can distill and convey high-level semantic knowledge from the elementary elements of the human-centered videos. We learn contrastive clustering assignment to improve the multiscale representations. By maintaining a consistent cluster assignment across the multiple scales of the same clip, an agreement between scales on the high-level knowledge learned can be promoted to optimize the representations across scales. 2. We use only the keypoint modality that allows COMPOSER to address the privacy and ethical concerns and to be robust to changes in background, with auxiliary prediction and data augmentation methods tailored to learning group activity from the keypoint modality. 3. We demonstrate the model's strength and interpretability on two commonlyused datasets (Volleyball and Collective Activity) and COMPOSER achieves up to +5.4% improvement using just the keypoint modality.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Related Work</head><p>Much of the recent research on GAR explores how to capture the actor relations <ref type="bibr">[4,</ref><ref type="bibr">19,</ref><ref type="bibr">22,</ref><ref type="bibr">38,</ref><ref type="bibr">47]</ref>. Several works tackle this problem from a graph-based perspective <ref type="bibr">[22,</ref><ref type="bibr">31,</ref><ref type="bibr">51,</ref><ref type="bibr">52]</ref>. Some utilize attention modeling <ref type="bibr">[31,</ref><ref type="bibr">39,</ref><ref type="bibr">49,</ref><ref type="bibr">54]</ref> including using Transformers <ref type="bibr">[16,</ref><ref type="bibr">29]</ref>. Existing works have primarily used RGB-and/or optical-flow-based features with RoIAlign <ref type="bibr">[17]</ref> to represent actors <ref type="bibr">[5,</ref><ref type="bibr">39,</ref><ref type="bibr">47,</ref><ref type="bibr">51]</ref>.</p><p>A few recent works replace or augment these features with keypoints/poses of the actors <ref type="bibr">[16,</ref><ref type="bibr">37,</ref><ref type="bibr">44,</ref><ref type="bibr">54]</ref>. In this paper, we use only the light-weight coordinatebased keypoint representation. We propose a Multiscale Transformer block to hierarchically reason about entities at different semantic scales and we aid learning group activities by improving the musicale representations. Please see an in-depth discussion on related works in Appendix G.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Methodology</head><p>We present COMPOSER (Fig. <ref type="figure">3</ref>), a novel Multiscale Transformer based architecture for GAR. In Sect. 3.1, we describe the multi-scale semantic tokens representing a video with group activities. We introduce COMPOSER and especially its reasoning module Multiscale Transformer in Sect. 3.2. We describe data augmentations in Sect. 3.4 and the exact formulation of auxiliary prediction in Sect. 3.5.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">Tokenizing a Video as Hierarchical Semantic Entities</head><p>We model a video as semantic tokens that allow our method easily adaptable to understanding any videos with multi-actor multi-object interactions <ref type="bibr">[32]</ref>.</p><p>&#8226; Person Keypoint. We define a person keypoint token, k j p &#8712; R d that represents a keypoint joint j (j = 1, . . . , j ) of person p (p = 1, . . . , p ) in all timestamps, where j is the number of joint types and p is the number of actors. The initial d-dimensional person keypoint token is learned by encoding the numerical coordinates (in the image space) of a certain keypoint track<ref type="foot">foot_1</ref> . The procedure of encoding includes coordinate embedding, time positional embedding, keypoint type embedding, and OKS-based feature embedding <ref type="bibr">[43]</ref> to mitigate the issue of noisy estimated keypoints. Details are available in Appendix.</p><p>&#8226; Person. A person token is defined as p p &#8712; R d , initially obtained by aggregating the standardized keypoint coordinates of person p over time through concatenation and FFN-based transformation.</p><p>&#8226; Person-to-Person Interaction. Modeling the person-to-person interactions is critical for GAR <ref type="bibr">[48]</ref>. Unlike existing works that typically consider an interaction as an edge connecting two person nodes and learn a scalar to depict its importance <ref type="bibr">[52]</ref>, we model interaction as nodes (tokens) to allow for the modeling of complex higher-order interactions <ref type="bibr">[32]</ref>. The person-to-person interaction token is defined as i i &#8712; R d where i = 1, . . . , p &#215;(p -1) (bi-directed interactions). Initial representation of the interaction between person p and q is learned from concatenation of p p and p q , followed by FFN-based transformation.</p><p>&#8226; Person Group. We define the group token g g &#8712; R d where g = 1, . . . , g for videos where sub-groups are often separable. g denotes the num. of subgroups in the video. Given the person-to-group mapping which can be obtained through various mechanisms (e.g., heuristics <ref type="bibr">[37]</ref>, k-means <ref type="bibr">[29]</ref>, etc. <ref type="bibr">[15,</ref><ref type="bibr">26]</ref>.), representation of a group is an aggregate over representations of persons in the group similarly through concatenation and FFN.</p><p>&#8226; Clip. The special [CLS] token (&#8712; R d ) is a learnable embedding vector and is considered as the clip representation. CLS stands for classification and is often used in Transformers to "summarize" the task-related representative information from all tokens in the input sequence <ref type="bibr">[14]</ref>.</p><p>&#8226; Object. Scene objects can play a crucial role in videos where human(s) interact with object(s). E.g., in a volleyball game where one person is spiking and multiple nearby actors are all jumping with arms up, it can be difficult to tell which person is the key person with information of just the person keypoints due to their similar poses. The ball keypoints can help to distinguish the key person. Object keypoints can be used to represent an object in the scene with similar benefits of person keypoints (e.g., to boost model robustness <ref type="bibr">[24]</ref>). Object keypoint detection <ref type="bibr">[6,</ref><ref type="bibr">30]</ref> benefits downstream tasks such as human action recognition <ref type="bibr">[20]</ref>, object detection <ref type="bibr">[24,</ref><ref type="bibr">53]</ref>, tracking <ref type="bibr">[34]</ref>, etc. <ref type="bibr">[27]</ref>. Thus, we use object keypoints to represent each object for GAR. We denote object token e e &#8712; R d where e = 1, . . . , e and e is the maximal number of objects a video might have. Similar to person tokens, the initial object tokens are learned from aggregating the coordinate-represented object keypoints.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">Multiscale Transformer</head><p>Multiscale Transformer takes a sequence of multiple-scale tokens as input, and refines representations of these tokens. Specifically, tokens of the four scales are: (1)</p><p>We utilize a Transformer encoder <ref type="bibr">[45]</ref> at each scale to perform relational reasoning of tokens in that scale. We review details of Transformer in the Appendix.</p><p>Hierarchical representations of tokens are maintained in an elaborately designed Multiscale Transformer block (Fig. <ref type="figure">4</ref>). In the Multiscale Transformer block, operations in the four scales are the same (but with different parameters) to maintain simplicity. Specifically, given a sequence of tokens of scale s (Eq. 1), Transformer encoder outputs refined representations of these tokens. Then, concatenation and FFN are used to aggregate refined representations of actor-related tokens, in order to form representations of actor-related tokens in the subsequent coarser scale s+1. Such learned representations are summed with their initial representations (input to the Multiscale Transformer) (i.e. Skip Connection). The resulting actor-related tokens, as well as scale s updated [CLS] token and object token(s) form the input sequence of the Transformer encoder in the scale s+1 (see wiring in Fig. <ref type="figure">4</ref>).</p><p>COMPOSER uses the initial representations of the multi-scale semantic tokens (Sect. 3.1) as input, and utilizes multiple blocks of Multiscale Transformer to perform relational reasoning over these tokens. With refined token representations, COMPOSER jointly learns group activity, individual actions and contrastive clustering of clips (the multitask-learning details are in Sect. 3.5).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3">Contrastive Clustering for Scale Agreement</head><p>We consider the clip tokens learned at different scales as representations of different views of the clip instance. Then, we cluster clip representations learned in all scales while enforcing consistency between cluster assignments produced from different scales of the clip. This can act as regularization of the embedding space during training (Fig. <ref type="figure">2</ref>). To enforce consistency, we use a swapped prediction mechanism <ref type="bibr">[7]</ref> where we predict the cluster assignment of a scale from the representation of another scale. COMPOSER jointly learns GAR and the swapped prediction task to capture an agreement of the common semantic information hidden across the scales.</p><p>Preliminaries. Suppose v n,s &#8712; R d represents the learned representation of clip n in scale s, where s &#8712; {1, 2, 3, 4}. Following prior works <ref type="bibr">[7,</ref><ref type="bibr">25]</ref>, we first project the representation to the unit sphere. We then compute a code (i.e., cluster assignment) q n,s &#8712; R K by mapping v n,s to a set of K trainable prototype vectors, {c 1 , . . . , c K }. We denote by C &#8712; R K&#215;d the matrix whose rows are the c 1 , . . . , c K . Swapped Prediction. Suppose s and w denote 2 different scales from the four representation scales. The swapped prediction problem aims to predict the code q n,s from v n,w , and q n,w from v n,s , with the following loss function:</p><p>where (v n,w , q n,s ) measures the fit between v n,w and q n,s . (v n,w , q n,s ) is the cross entropy loss between q n,s and the probability obtained by taking a softmax of the dot products of v n,w and prototypes in C:</p><p>where &#964; is a temperature parameter. The total loss of the swapped prediction problem is taking Eq. ( <ref type="formula">2</ref>) computed over all pairs of scales and all N clips,</p><p>Online Clustering. This step produces the cluster assignments using the learned prototypes C and the learned clip representations only within a batch, V &#8712; R B&#215;d where B denotes the batch size. We perform the clustering in an online fashion for faster training and use the method proposed in <ref type="bibr">[7]</ref>. Specifically, online clustering yields the codes Q &#8712; R B&#215;K . We compute codes Q such that all examples in a batch are equally partitioned by the prototypes (which prevents the trivial solution where every clip has the same code). Q is optimized to maximize the similarity between the learned clip representations and the prototypes, max</p><p>where the trace Tr is the sum of the elements on the main diagonal, H is the entropy function, and &#949; is a parameter that controls the smoothness of the mapping. 1 K &#8712; R K and 1 B &#8712; R B are a vector of ones to enforce the equipartition constraint. The continuous solution Q * of Eq. ( <ref type="formula">5</ref>) is computed with the iterative Sinkhorn-Knopp algorithm <ref type="bibr">[7,</ref><ref type="bibr">13]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.4">Data Augmentation for Keypoint Modality</head><p>We use the following data augmentations to aid training and improve generalization ability of the model learned from the keypoint modality.</p><p>Actor Dropout is performed by removing a random actor in a random frame, inspired by <ref type="bibr">[35]</ref> that masks agents with probabilities to predict agent behaviors for autonomous driving. We remove actors by replacing the representation of the actor with a zero vector.</p><p>Horizontal Flip is often used by existing GAR methods <ref type="bibr">[37,</ref><ref type="bibr">44,</ref><ref type="bibr">56]</ref>, which is performed on the video frame level. This augmentation causes the pose of each person and positions of (left and right) sub-groups flipped horizontally. We add a small random perturbation on each flipped keypoint.</p><p>Horizontal Move means we horizontally move all keypoints in the clip by a certain number of pixel locations, which is randomly determined per video and bounded by a pre-defined number (i.e., 10). Similarly, afterwards a small random perturbation is applied on each keypoint.</p><p>Vertical Move is done similar to the Horizontal Move, except we move the keypoints in the vertical direction. Novel practices like Actor Dropout, Horizontal/Vertical Move and random perturbations help the model to perform GAR from noisy estimated keypoints.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.5">Auxiliary Prediction and Multitask Learning</head><p>We take the learned representation of the clip at each scale of each Multiscale Transformer block, and perform auxiliary group activity predictions (Fig. <ref type="figure">3</ref>). Specifically, each of the clip representations learned at each scale of each block is sent as input to the group activity classifier to produce one GAR result. In addition, person representation from the last Multiscale Transformer block is the input to a person action classifier. Meanwhile, the loss of the swapped prediction problem is computed given the learned representations of the clip of all 4 scales from the last Multiscale Transformer block. The total loss is:</p><p>where L groupAux represents the loss from Auxiliary Prediction incurred by clip representations at different scales and early blocks of the Multiscale Transformer, L groupLast is from the last Multiscale Transformer block, L person is the person action classification loss, and L cluster is the contrastive clustering loss (Eq. 4). m denotes the index of the Multiscale Transformer block, M is the total number of the Multiscale Transformer blocks, and &#955; is a hyper-parameter that weights the importance of predictions from the last block. For metric evaluation, we use the clip token from the last scale in the last Multiscale Transformer as input to the group activity classifier.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Experimental Evaluation</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Dataset</head><p>The Volleyball dataset <ref type="bibr">[23]</ref> (VD) comprises 4, 830 clips from 55 videos. The group activity labels include 8 activities: 4 main activities (set, spike, pass, winpoint ) which are divided into two subgroups, left and right. Each player can perform one of the 9 actions: blocking, digging, falling, jumping, moving, setting, spiking, standing and waiting. The dataset has a default 'Original' split in which train/test videos were randomly splitted (39 train and 16 test videos). A skewed 'Olympic' split <ref type="bibr">[44]</ref> was later released in which train/test videos are splitted according to the match venues: 29 train videos are from the same 2012 London Olympics venue, while the rest 26 test videos are from numerous venues, and thus largely differs from the train videos w.r.t. the scene background.</p><p>The Collective Activity Dataset. <ref type="bibr">[12]</ref> (CAD) is a dataset with 44 real-life videos <ref type="bibr">[48]</ref>. The group activity labels are crossing, waiting, queueing, walking and talking (person action labels have an additional 'N/A' class). We follow prior works to merge the class crossing and walking into moving <ref type="bibr">[46,</ref><ref type="bibr">50,</ref><ref type="bibr">51,</ref><ref type="bibr">55]</ref>, and use the same train-test split <ref type="bibr">[39,</ref><ref type="bibr">47,</ref><ref type="bibr">55]</ref> and actor tracklets <ref type="bibr">[5,</ref><ref type="bibr">55]</ref>. Please refer to Appendix for implementation details on both datasets.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">Comparison with State-of-the-Arts</head><p>Scene Generalization for Keypoint-only Setup. To support the keypointonly setup for GAR, we first compare the generalization capability of models using either RGB or the keypoint modality. In Table <ref type="table">1</ref>, I3D and VGG-16 are two commonly-used image backbone by prior RGB-based GAR methods; the rest are all GAR models (all use VGG-16 as the backbone).  On VD Olympic split, the best prior RGB-based method is DIN <ref type="bibr">[55]</ref> in Table <ref type="table">1</ref>. We substitute DIN with a COMPOSER variant<ref type="foot">foot_2</ref> (Sect. 1) that also consumes RGB input instead of keypoint, and the result is 81.1% which is 2% higher than DIN, suggesting the stronger reasoning strength of COMPOSER, but the accuracy is still low due to the RGB signals. POGARS <ref type="bibr">[44]</ref> uses the keypoint modality and has an accuracy of 89.7%, higher than all RGB-based methods. COMPOSER with the keypoint-only modality obtains 95.1% accuracy and significantly outperforms prior methods, yielding +5.4% improvement. These results imply that the keypoint-only setup can reduce scene biases, and generalize better than approaches relying on the RGB modality to testing data with different visual characteristics from training.</p><p>We also report the results of these methods that we obtained on VD Original split in Table <ref type="table">1</ref>. From this side-by-side comparison, the difference between the Olympic and Original split is vivid. Current GAR methods have quite saturated performances on the Original split of VD and the results are all very high (more evidence later). Therefore, we recommend readers using the more challenging VD Olympic split for future research on GAR. Note that the COMPOSER that outperforms prior methods in Table <ref type="table">1</ref> is only an ablated version of ours in that not using the object token(s). In addition, GroupFormer <ref type="bibr">[29]</ref> is currently the best-performing method (Table <ref type="table">4</ref> in Appendix) and its RGB-only variant has the result of 94.1% accuracy on VD Original split. However, GroupFormer uses additional scene features with the Inception-v3 backbone. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Comparisons of Methods Using Keypoint-only Modality</head><p>In Table <ref type="table">2</ref>, we compare COMPOSER with more GAR methods that use only the keypoint modality on VD Original split following conventions. COMPOSER achieves a new SOTA 94.6% accuracy with +0.7% improvement.</p><p>Among these methods, Zappardino et al. <ref type="bibr">[56]</ref> use CNNs to learn group activity in Volleyball games, given sequence of person keypoint coordinates, their temporal differences, and keypoint differences from each actor to the pivot-actor that is selected by the model. The model does not model human-object interactions. AT <ref type="bibr">[16]</ref> does not consider human-object interactions either, but because AT is also a Transformer-based model like ours, we can easily improve it by feeding our object tokens as additional inputs to AT. Moreoever, GIRN <ref type="bibr">[37]</ref> and POGARS <ref type="bibr">[44]</ref> are designed to leverage ball trajectory for learning group activity in videos of Volleyball games. As shown in Table <ref type="table">2</ref>, the object keypoint information can greatly boost the performance by providing additional context. GIRN models interactions between joints within an actor and across actors, as well as joint-object interactions. POGARS uses 1D CNNs to learn spatiotemporal dynamics of actors. AT, GIRN, and POGARS all use dot-product-based attention mechanisms similar to ours, however, they fail to fully model the hierarchical entities in the video (e.g., they all only use attention to learn person-wise importance, and at most consider two scales: keypoint and person), and more importantly, they lack explicit strategy to improve the multiscale representations in order to aid the compositional reasoning of group activity recognition.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Comparisons of Methods Using Other Modalities</head><p>We compare results of COMPOSER with the best reported results of SOTA methods that use a single or multiple modalities in Table <ref type="table">3</ref> on both VD and CAD. COMPOSER still achieves competitive performance -outperforming methods that use only RGB signals, obtaining +0.7% improvement on VD and +2.8% improvement on CAD if compared with methods that use a single modality (RGB or keypoint), and performing favorably compared with methods that exploit multiple expensive input modalities. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3">Qualitative Results</head><p>We visualize the attention weights in Fig. <ref type="figure">5</ref>. We highlight the tokens that the model has mostly attended to at each scale (e.g., wrists of actor 0 at the person keypoint scale). COMPOSER is able to attend to relevant information across different scales, and it can produce interpretable results. In Fig. <ref type="figure">6</ref>, we visualize the keypoint input to COMPOSER on a CAD instance. COMPOSER implicitly learns the human motion patterns from the keypoint features to handle partial occlusions.</p><p>Please check Appendix for more analyses including ablation studies, confusion matrices, parameter sensitivity analyses w.r.t. the number of scales and the number of prototypes, more qualitative results including failure cases, etc.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Conclusion</head><p>We propose COMPOSER that uses a Multiscale Transformer to learn compositional reasoning at different scales for group activity recognition. We also improve the intermediate representations using contrastive clustering, auxiliary prediction, and data augmentation techniques. We demonstrate the model's strength and interpretability on two widely-used datasets (Volleyball and Collective Activity). COMPOSER achieves up to +5.4% improvement with just the keypoint modality.</p><p>One limitation is that videos with severe occlusions remain challenging for COMPOSER like other existing methods, due to errors from detecting keypoints. Adopting 3D keypoints or stronger backbones that estimate keypoints directly from the video <ref type="bibr">[1,</ref><ref type="bibr">36]</ref> can help to address the issue. Possible future directions include 1) expanding our methods to more complex scenarios, such as crowd understanding that may require modeling additional hierarchical scales; and 2) exploring effective multimodal fusion methods in order to use additional modalities like RGB but without suffering from scene biases, since RGB can be beneficial for activities that involve significant interaction with the background scene.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>Even for the keypoint extraction backbone which our method is agnostic to, there are existing works<ref type="bibr">[18]</ref> that perform privacy-preserving keypoint estimation.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_1"><p>We use track-based representations<ref type="bibr">[16,</ref><ref type="bibr">29,</ref><ref type="bibr">44,</ref><ref type="bibr">56]</ref> to represent each token.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_2"><p>This COMPOSER variant consumes RGB-based ROI-aligned person features as input, and thus only models 3 scales: person, interaction, and the group scale.</p></note>
		</body>
		</text>
</TEI>
