## Scale Matters: Temporal Scale Aggregation Network for Precise Action Localization in Untrimmed Videos

Guoqiang Gong , Liangfeng Zheng , Kun Bai , Yadong Mu 1 1 2 1 , ∗ 1 Peking University, Beijing 100871, P.R. China 2 Cloud and Smart Industries Group, Tencent China

{ 1801111378,zhengliangfeng,myd @pku.edu.cn, } kunbai@tencent.com

## Abstract

Temporal action localization is a recently-emerging task, aiming to localize video segments from untrimmed videos that contain specific actions. Despite the remarkable recent progress, most two-stage action localization methods still suffer from imprecise temporal boundaries of action proposals. This work proposes a novel integrated temporal scale aggregation network (TSA-Net). Our main insight is that ensembling convolution filters with different dilation rates can effectively enlarge the receptive field with low computational cost, which inspires us to devise multidilation temporal convolution (MDC) block. Furthermore, to tackle video action instances with different durations, TSA-Net consists of multiple branches of sub-networks. Each of them adopts stacked MDC blocks with different dilation parameters, accomplishing a temporal receptive field specially optimized for specific-duration actions. We follow the formulation of boundary point detection, novelly detecting three kinds of critical points ( i.e ., starting / mid-point / ending) and pairing them for proposal generation. Comprehensive evaluations are conducted on two challenging video benchmarks, THUMOS14 and ActivityNet-1.3. Our proposed TSA-Net demonstrates clear and consistent better performances and re-calibrates new state-of-the-art on both benchmarks. For example, our new record on THUMOS14 is 46 9% . while the previous best is 42 8% . under mAP@0.5.

## 1. Introduction

This paper addresses the task of accurately finding the temporal boundary of a video segment from an untrimmed video which instantiates specific semantic action ( e.g ., 'throw a frisbee' or 'parkour'), referred to as video action localization [1, 17, 34, 35, 36, 54, 48, 40, 56, 49] in the literature. This technique can serve a variety of applications

∗ is the corresponding author.

Figure 1. Motivation of temporal scale aggregation. Sub-figure (a) draws an untrimmed video that contains an action instance, and the corresponding actionness sequence. To faithfully detect a boundary point (such as point O ), it is necessary to have a sufficiently large temporal receptive field that reaches points A , B , and C . Sub-figure (b) shows the diversity of a true action instance's time durations on THUMOS14. It is important to ensure the model can combat temporal scale variations. We propose to ensemble three-branched network with varying dilation rates, with each branch specially optimized for the specific duration.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00707v1-figure-3ab60d7c-ed0d-4d8d-975e-3b45c524f432.jpg)

in video analysis, including detecting highlights in a long video, semantic video summarization, densely captioning events in a video [21, 57, 42] etc.

Given a video with T frames, a naive action localization method needs to exhaustively check as many as O ( T 2 ) candidate video segments, which is beyond the scope of any practitioner. Inspired by the recent advance in region CNN based image object detection [14], a majority of existing action localization methods have adopted a two-

step strategy. The first step performs a quick screening over all candidates and only most potential video segments remain for further inspection, called video action proposals . The second step further conducts a fine-grained evaluation on proposals. An ideal set of action proposals shall have both high recall rate and temporal overlapping with true action instances.

Tremendous recent endeavors have been devoted to improving the quality of video action proposals, which can be roughly casted into three main thrusts. The first family of methods (such as S-CNN [36] or TURN [12]) generates video segments using sliding windows of predetermined length, which are typically followed by some segment-level ranker. The second type of methods utilizes temporal actionness grouping. They estimate actionness for each frame or video snippet and group several consecutive confident frames into an action proposal. Some recent works, exemplified by CTAP [10], combine sliding windows and actionness estimation for generating better proposals. The third thrust learns to detect exact temporal boundaries through frame-wise estimation of staring / ending points. In practice, adjacent detected boundary points will be paired to form valid proposals, as done in the recently-proposed boundary-sensitive network (BSN) [28].

The motivating observation for our work is illustrated in Figure 1(b). As seen, durations of true action instances can diversely distribute, usually varying from few seconds to several minutes. Most of previous methods utilize a procrustean way to tackle the temporal scale issue. For temporal sliding window or actionness grouping based methods ( e.g ., [36, 54]), a popular treatment is to build a video pyramid via temporal sub-sampling and extract samesized video segments from all pyramid levels. An action instance will be detected at specific temporal scales where its re-sized duration is amenable for detection, ignored at other scales. However, the video pyramid significantly complicates learning an effective model and often brings inferior performance than other methods. On the other hand, boundary point based methods, such as BSN [28], typically ignore the scale issue and use fixed convolutional receptive field for all action instances.

This work proposes temporal scale aggregation network (TSA-Net) for video action localization. The key differentiator from other competing methods is novelly using multi-dilation temporal convolutions for seriously addressing the temporal scale issue. Figure 1 illustrates our key insight. Investigating temporal context is critical when confidently localizing some boundary points. However, as the duration of an action instance varies, finding a onefor-all temporal receptive field is arguably not possible. As a natural solution, we propose to ensemble a set of parameterized temporal convolutional building blocks. Each of them has different receptive field that is most effective at specific temporal scale. The responses of all temporal convolutions are fused to more reliably estimate a boundary point. The main technical contributions of this work are summarized as below:

- 1. We propose an action localization model TSANet, which falls into a two-step framework (proposal generation + classification). Unlike previous works, TSANet concurrently considers many temporal scales when estimating the boundary points. Specifically, we devise a multi-dilation temporal convolution (MDC) block as the core component of TSA-Net. To our best knowledge, it has been seldom explored in video action localization to tackling plenary temporal scales by efficiently manipulating convolutional dilation rates.
- 2. We design TSA-Net as a marriage of boundary detection and actionness grouping. It simultaneously detects three kinds of points: starting, ending and the midpoint of an instance. The mid-point implicitly encodes the actionness information of a proposal. A starting / ending pair can only be useful together with a confident mid-point. This way it effectively avoids the low-accuracy problem in previous boundary point based methods ( e.g ., BSN [28]).
- 3. Comprehensive evaluations are conducted on two challenging benchmarks: THUMOS14 and ActivityNet1.3. TSA-Net outperforms all competitors by large margins, re-calibrating state-of-the-art performance on both benchmarks. For example, our new record on THUMOS14 is 46 9% . while the previous best is 42 8% . for mAP@0.5.

## 2. Related Work

The goal of temporal action localization is precisely detecting video segments with specific actions from untrimmed videos. A majority of action localization methods [36, 54, 48, 8, 6] adopt a two-stage computational pipeline, strongly inspired by the success of two-stage image object detection [14, 13, 33, 22, 25]. The first step does the job of proposal generation, which filters out the most irrelevant video segments. The second step further learns to classify action proposals and de-limit their exact temporal boundaries. Besides the two-stage methods, there also exist other methods which adopt a framework of reinforcement learning [50] or single-shot detection [3, 26, 53] inspired by their counterparts in image object detection ( e.g ., YOLO [32] and SSD [29]).

As briefly summarized in Section 1, popular proposalgenerating schemes can be roughly categorized as sliding windows [9, 18, 36, 4, 12], temporal action grouping [54], or boundary point detection [28] etc. The evaluation of an action localization model takes intersection-overunion (IoU) between an action proposal and its closest true instance into account. Proposals below some predefined IoU threshold are regarded as false positives. State differently, action proposals partially overlapping with

Figure 2. Pipeline of our proposed temporal scale aggregation (TSA) network. See Section 3 for more details.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00707v1-figure-ffff81ca-b9c4-4c2f-b0ec-d0b17c13970a.jpg)

some ground-truth video segments are not favored. It thus spurs researchers to develop models that generate action proposals with more accurate temporal boundaries. Two caveats for obtaining good temporal boundary are doing the job at finer temporal scales, as shown by ConvolutionDe-Convolution(CDC) [34], and fully utilizing temporal contextual information, as demonstrated by SSN [54] that decomposes an action proposal into starting-courseending phases or BSN [28] that conducts stacked temporal convolutions.

## 3.1. Video Feature Extraction

Dilated convolutions have been widely adopted in many tasks for capturing long-range dependency, including video salient object detection [38], image classification [51, 52], semantic image segmentation [44, 30], crowd analysis [24], action recognition [47] or segmentation [23] etc. The work in [7] pioneered the endeavor that uses a few convolutions with different dilated rates for aggregating multi-scale context. Though dilated convolutions have been previously used in action localization [6], it is mainly for enlarging temporal receptive field. Exploring temporal context across scales is still insufficiently studied in action localization. To our best knowledge TSA-Net is the first of its kind.

## 3. Temporal Scale Aggregation Network

This section details our proposed TSA-Net, whose computational pipeline is depicted in Figure 2. We follow a similar design inspired by [28, 6], but have essential differences in concurrently tackling multiple temporal scales. The sub-sections below will focus on our novelty and omit trivial technical details shared with other methods.

Let V be an untrimmed video of T frames. In the case of over-long videos, we proceed to extract video features with a regular frame interval σ in order to reduce the computation cost, resulting in T ← T/σ video snippets. Without causing much confusion, we stick to misuse the variable T for representing frame or snippet count. Following the common practice in previous works, two-stream video features [37] are extracted for each snippet. For ablatively studying the effect of different video features, P3D [31] or C3D [41] features are also adopted. Let F = [ f , f 1 2 , . . . , f T ] be the feature sequence. More details regarding F are deferred to Section 4.1.

## 3.2. Critical Point Detection

The goal of this step is to estimate each video snippet's probability of corresponding to a starting / intermediate / ending moment of an action instance.

Multi-Dilation Temporal Convolution (MDC) Block : Figure 1 emphasizes the significance of choosing proper temporal receptive field when trying to detect a boundary point or mid-point (hereafter we call it critical point ). Consecutive video frames tend to be visually correlated, and investigating video frames sufficiently far away (via temporal 1-D convolution with video features F ) is important for finding critical points. To enlarge the receptive field under budgeted computation, we devise a convolutional unit that ensembles multiple dilation rates. The architecture is illustrated in Figure 3. All dilated temporal 1-D convolutions have the same kernel size, yet

Figure 3. Multi-dilation temporal convolution (MDC) block. d 1 , d 2 and d 3 are the dilation rates of temporal 1D convolutions.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00707v1-figure-4422a324-9d81-452e-a67c-4d926b9cb2de.jpg)

with a typical choice d 1 &lt; d 2 &lt; d 3 that defines increasingly larger receptive fields. Denote it with the notation MDC-( d , d 1 2 , d 3 ) . A dilation rate of 1 boils down to a normal convolution. The outputs from all dilated convolutions are simply averaged, returning fused contextual information. Note that a skip connection is inserted after the average operation, such that the dilated convolutions are reinforced to focus on learning the residual.

Multi-branch Stacked MDCs : The duration of video action instances widely varies, typically ranging from 1/10 seconds to a few minutes. For actions of different durations, the required scales of temporal context information are different. To localize short-duration action instances, overlarge receptive field of temporal convolutions can harmfully bring irrelevant information that distracts the parameter optimization. While for long action instances, a small temporal receptive field may miss some key discriminative information, such as being unable to reach all points A B , and C when judging O as in Figure 1(a).

Unfortunately, it is arguably impossible for finding a one-for-all temporal receptive field. We propose to novelly ensemble multiple network branches. Each of these branches contains stacked MDC blocks parameterized with different dilation rates. State differently, we customize each branch such that it captures videos of specific durations. The network architecture is shown in Figure 4. As seen, the input video snippet features first go through several shared 1-D temporal convolutions for lightly exchanging among adjacent frames. Three branches of stacked MDC blocks are followed. The dilation rates directly control the extent of receptive field. For example, a 2-stack MDC(1 , 2 3) , ( i.e ., the leftmost branch) or MDC(1 5 7) , , ( i.e ., the rightmost) implies a receptive fields of 13 or 29 respectively. One can flexibly tailor the dilation parameters or branch count to fit the videos under inspection. Outputs from all branches are pooled for further processing (we use average pooling).

Objective of Critical Point Detection : Given an untrimmed video V of T frames (or snippets) and the

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00707v1-figure-a92eb2c6-d18a-4a79-ad46-2c9cdf01b1fc.jpg)

Temporal 1D Conv

Figure 4. The architecture of multi-branch stacked MDC blocks which calculates critical point's probability sequences P ( s ) , P ( ) i , P ( e ) ∈ [0 , 1] T . Each branch is designed for tackling videos of specific durations. We omit all ReLU and sigmoid activation layers for saving space.

corresponding features F = [ f , f 1 2 , . . . , f T ] , each starting / ending point pair ( t ( s ) , t ( e ) ) temporally de-limits an action instance in this video and also implies an intermediate point t ( ) i = ( t ( s ) + t ( e ) ) / 2 . Let Γ = { γ k = ( t ( s ) k , t ( e ) k , t ( ) i k ) , k = 1 . . . K } be a collection of K annotations in the video V .

Motivated by recent advance in image translation [20], we formulate critical point detection as a sequence-tosequence learning problem. Specifically, let us introduce three notations Y ( s ) , Y ( ) i , Y ( e ) ∈ { 0 1 , } T to denote the ground truth of starting / intermediate / ending points, respectively. A direct treatment is to set all t ( s ) k , k = 1 . . . K in Y ( s ) to 1, otherwise 0. However, since the critical point is highly sparse, such treatment leads to heavy imbalance between positive and negative labels. To mitigate this issue, we inflate each annotated critical point, such as expanding point t ( s ) k to a region [ t ( s ) k -δ · L , t k ( s ) k + δ · L k ] , where L k = t ( e ) k -t ( s ) k and δ is a hyper-parameter (we empirically set to 0.1 in all experiments). All time locations in the expanded region is set to be positive. Likewise, Y ( ) i , Y ( e ) are calculated in a similar protocol.

In Figure 4, the outputted feature maps from three branches are aggregated via average pooling. After going through some Conv1D and sigmoid layers, the network eventually renders three probability sequences P ( s ) , P ( ) i , P ( e ) ∈ [0 , 1] T , describing our estimation for

a point belonging to starting / intermediate / ending respectively. The pooling-based aggregation ensures a salient probabilistic response, once any branch of stacked MDCs captures the mid-point or boundary-like pattern around this critical point.

The overall objective to be minimized is defined as the sum over three kinds of critical points, i.e ., J = J ( s ) + J ( ) i + J ( e ) , where each term on the right hand side adopts a cross-entropy loss. For example,

$$\mathcal { J } ^ { ( s ) } \ = \ \sum _ { i = 1 \dots T } [ Y ^ { ( s ) } ( i ) \cdot \log ( P ^ { ( s ) } ( i ) ) \quad \ \text{resp} \\ + ( 1 - Y ^ { ( s ) } ( i ) ) \cdot \log ( ( 1 - P ^ { ( s ) } ( i ) ) ) ]. \ ( 1 ) \quad \ \text{is $t$} \ \Rightarrow \mathfrak { I }$$

## 3.3. Proposal Generation and Ranking

The set of action proposals for a video are obtained via sequentially conducting the operations below:

Critical Point Selection and Pairing : The probability sequences P ( s ) , P ( ) i , P ( e ) ∈ [0 , 1] T are designed to indicate how likely a point is a critical point. Therefore one can find critical points by simply thresholding the probability values, say 0.9 as we adopt in all experiments. However, this strategy often misses many true critical points. In order to elevate the recall rate, we also find local maxima by comparing a point with its temporal neighbors and mark them as critical points. We perform above operations on both P ( s ) and P ( e ) , obtaining candidate starting / ending point sets C ( s ) = { c ( s ) } , C ( e ) = { c ( e ) } respectively.

Next, any two points c ( s ) ∈ C ( s ) and c ( e ) ∈ C ( e ) will be paired to generate a proposal when they satisfy the conditions below:

- 1. The distance between c ( s ) and c ( e ) is within [ d min , d max ] , where [ d min , d max ] are the smallest and largest durations estimated from annotated action instances in the training set. This way enforces strong prior on a proposal's duration and can filter out many false pairings.
- 2. Let c ( ) i = ( c ( s ) + c ( e ) ) / 2 be the mid-point and P ( ) i ( c ( ) i ) be the corresponding probability as an intermediate critical point. A low value of P ( ) i ( c ( ) i ) , as exemplified by the proposal highlighted in red in Figure 2, implies that c ( s ) , c ( e ) may indeed come from different action instances and the pair shall be abandoned.

Bayesian Proposal Ranking : The proposal set generated by previous step tends to be noisy. A follow-up step of proposal ranking can effectively remove many false negatives. In order to score an arbitrary proposal defined by boundary points c ( s ) , c ( e ) , we adopt a Bayesian formulation as below:

$$P \left ( \overline { c _ { i } ^ { ( s ) } c _ { i } ^ { ( e ) } } \right ) = P ^ { ( s ) } ( c _ { i } ^ { ( s ) } ) \cdot P ^ { ( e ) } ( c _ { i } ^ { ( e ) } ) \cdot \phi ( c _ { i } ^ { ( s ) }, c _ { i } ^ { ( e ) } ), \ ( 2 ) \quad \.$$

↦

where P ( s ) , P ( e ) are afore-mentioned point-wise probabilities of being a critical point. φ c ( ( s ) i , c ( e ) i ) : R + × R + →

[0 , 1] represents some compatibility function to be learned.

To learn φ c ( ( s ) i , c ( e ) i ) , let us first define a feature representation for the segment c ( s ) i c ( e ) i . Inspired by recentlyproposed temporally-structured segment networks [54], we extend c ( s ) i c ( e ) i outwards (in practice this segment is resized to 1 4 . × ( c ( e ) -c ( s ) ) ) to include more non-action background information. 32 scalar values are uniformly sampled from the resized segment by reading P ( s ) , P ( ) i and P ( e ) respectively. After concatenation and vectorization, this forms a 96-dimensional representation for c ( s ) i c ( e ) i , which is then fed into a small network FC( 96 → 96 ) ⇒ ReLU ⇒ FC( 96 → 48 ) ⇒ ReLU ⇒ FC ( 48 → 1 ) ⇒ Sigmoid. The last sigmoid layer outputs a probabilistic value, which is exactly φ c ( ( s ) i , c ( e ) i ) .

To enforce the learned φ c ( ( s ) i , c ( e ) i ) to be informative, we borrow the idea in [28] and solve:

$$\mathring { \mathrm e } _ { \mathrm e } \min _ { i } \ell \left ( \phi ( c _ { i } ^ { ( s ) }, c _ { i } ^ { ( e ) } ), \sup _ { \gamma _ { k } \in \Gamma } I o U ( \overline { c _ { i } ^ { ( s ) } c _ { i } ^ { ( e ) } }, \gamma _ { k } ) \right ), \ \ ( 3 )$$

where the sum is calculated over all potential proposals. We choose glyph[lscript] ( ) · to the smooth L 1 loss [13]. IoU ( · , · ) is an intersection-over-union operator between two 1-D segments.

Redundancy Removal : Learning to calculate P ( c ( s ) i c ( e ) i ) enables us to conduct non-maximum suppression (NMS) to remove redundant proposals. We experiment with either naive greedy NMS to soft-NMS [2], depending on which the competing method under comparison uses. An example of removed proposal is highlighted in blue color in Figure 2.

## 3.4. Action Classification

The last step of two-stage video action localization is feeding proposals into an action classifier. It categories the proposal to one of many pre-defined action classes, or the null class. Since the major scope of this work is about a novel scheme for proposal generation, we directly adopt action classifiers widely used in previous works. This eases more focused comparisons with other action localization methods. Specifically, we use UntrimmedNet (UNet) [43] or SCNN-classifier (SCNN-cls) [36] on THUMOS14, and another action classification model [55] on ActivityNet-1.3. Following common practice, the classification only involves 200 most confident proposals per video on THUMOS14 and top-100 proposals per video on ActivityNet-1.3.

## 4. Evaluations

## 4.1. Dataset Preparation and Implementation

We experiment with two large-scale video benchmarks widely used for video action localization. THUMOS14 [19] contains videos from 20 sports action classes.

There are 200 and 212 temporally-annotated videos in validation and testing sets respectively. On average, each video contains more than 15 action instances. Following the settings in previous works, we use 200 untrimmed videos in the validation set to train our model and evaluate on the test set. ActivityNet-1.3 [16] consists of 19,994 videos with 200 classes annotated. Each video contains ∼ 1 5 . activity instances. The entire data is divided into training, validation and testing sets using the ratio of 2:1:1.

We extract two sets of heterogeneous video features in order to investigate how different features affect the final performance, including: 1) two-stream features : The specific implementation of two-stream model in [45] is used, which is comprised of BN-Inception for motion and ResNet for visual appearance. We adopt the version pre-trained on ActivityNet-1.3 in [45]. For both BNInception and ResNet, we decapitate each net by discarding the final classifier layer, and vectorize the output of last fully-connected layer. This brings exactly both 200D vectors as motion / appearance features respectively. They are further concatenated to form a 400-D snippetlevel feature; 2) (2) P3D [31] or C3D [41] features :Two separate P3D models are trained from consecutive frames and flows on Kinetics [5] respectively. The dimensions of appearance and motion feature are both 2048-dimensional. Feature concatenation makes another 4096-D snipped-level features. The C3D model are pre-trained on the UCF-101 dataset [39]. To reduce computational complexity, each video snippet is sampled for every 5 frames on THUMOS14 and 16 on ActivityNet-1.3. The parameters of 5 or 16 are chosen to well balance complexity and video information fidelity. Evaluations on THUMOS14 are performed using both two-stream and P3D / C3D features. While on ActivityNet-1.3, only two-stream feature is adapted for comparing different methods.

Our proposed TSA-Net is fully implemented in Tensorflow. On both datasets, multi-branch stacked MDC blocks in Figure 4 and the sub-network for scoring P ( c ( s ) i c ( e ) i ) are sequentially optimized, rather than in an end-to-end fashion. Specifically, the former is trained with a batch size of 16. The learning rate of the first 10 epochs is set to 0.001, then 0.0001 for all following epochs. The whole optimization will terminate before a maximum of 20 epochs in order to avoid over-fitting. The latter is trained with a batch size of 256 and using the same scheme of learning rates.

## 4.2. Evaluation Protocol

Action Proposal Generation : Average recall (AR) at different IoU is typically used as the evaluation metric. Following common practice, we use an IoU threshold set from 0.5 to 1.0 with a stride of 0.05 on THUMOS-14, and 0.5 to 0.95 with a stride of 0.05 on ActivityNet-1.3. We calculate AR with different average number (AN) of

| Feature   | Method                | AR@AN   | AR@AN   | AR@AN   |
|-----------|-----------------------|---------|---------|---------|
|           |                       | @50     | @100    | @200    |
| C3D       | DAPs [9]              | 13.56   | 23.83   | 33.96   |
| C3D       | SCNN-prop [36]        | 17.22   | 26.17   | 37.01   |
| C3D       | SST [4]               | 19.90   | 28.36   | 37.90   |
| C3D       | TURN [12]             | 19.63   | 27.96   | 38.34   |
| C3D       | BSN + Greedy-NMS [28] | 27.19   | 35.38   | 43.61   |
| C3D       | BSN + Soft-NMS [28]   | 29.58   | 37.38   | 45.55   |
| C3D       | Ours + Greedy-NMS     | 31.88   | 40.19   | 46.28   |
| C3D       | Ours + Soft-NMS       | 34.00   | 41.11   | 47.51   |
| Flow      | TURN [12]             | 21.86   | 31.89   | 43.02   |
| 2-Stream  | TAG [46]              | 18.55   | 29.00   | 39.41   |
| 2-Stream  | CTAP [10]             | 32.49   | 42.61   | 51.97   |
| 2-Stream  | BSN + Greedy-NMS [28] | 35.41   | 43.55   | 52.23   |
| 2-Stream  | BSN + Soft-NMS [28]   | 37.46   | 46.06   | 53.21   |
| 2-Stream  | Ours + Greedy-NMS     | 41.40   | 48.70   | 53.57   |
| 2-Stream  | Ours + Soft-NMS       | 42.83   | 49.61   | 54.52   |
| P3D       | Ours + Greedy-NMS     | 45.84   | 52.29   | 56.17   |
| P3D       | Ours + Soft-NMS       | 46.77   | 53.15   | 57.68   |

Table 1. Comparisons in terms of AR@AN on THUMOS14.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00707v1-figure-37bcbee1-03a8-44ca-a4b8-efcfc7e37a66.jpg)

√˜√∐˜˜({√⌉̂˜√(}˜(√˜√√]˜√˜̂(√√}√}√∐⌈√

Figure 5. AR-AN curves of different methods on THUMOS14 test set.

proposals per video to evaluate the relationship between recall and proposal number. On ActivityNet-1.3, we also use the area under the AR-AN curve (AUC) as metrics, where AN varies from 0 to 100.

Action Classification : We adopt standard mean average precision (mAP) metric. A prediction is regarded as positive only when the predicted action category is correct and meanwhile IoU with ground truth is above some pre-defined threshold. We report mAP at different IoU thresholds. On THUMOS14, the IoU thresholds are 0.3, 0.4, 0.5, 0.6, 0.7. On ActivityNet-1.3, the IoU thresholds are 0.5, 0.75, 0.95. The average mAP with IoU thresholds [0.5:0.05:0.95] is used to compare different methods.

## 4.3. Comparisons for Proposal Generation

Table 1 summarizes all comparisons conducted on the test set of THUMOS14. Regarding proposal generation, our proposed TSA-Net consistently outperforms other methods when AN ranges from 50 to 200. Specifically, for AR@50, our method significantly improves the performance from the previous record 37.46% in the literature to 42.83% using identical two-stream features. Using stronger P3D features can further elevate the AR@AN scores.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00707v1-figure-1f5fa216-2bea-4444-9117-613121ed8c7f.jpg)

Figure 6. Recall@AN=100 curves of our method and previous state-of-the-art methods on THUMOS14 test set.

| Proposal Method   |   AUC(val) | AUC(test)   | AR@100(val)   |
|-------------------|------------|-------------|---------------|
| TCN [8]           |      59.58 | 61.56       | -             |
| Prop-SSAD [27]    |      64.8  | 64.40       | 73.01         |
| CTAP [10]         |      65.72 | -           | 73.17         |
| BSN [28]          |      66.17 | 66.26       | 74.16         |
| Ours              |      66.82 | 67.01       | 74.82         |

Table 2. Performance comparisons with TCN, Prop-SSAD, CTAP, and BSN on ActivityNet-1.3.

Figure 5 illustrates the AR-AN curves of different methods on THUMOS14. Clearly, our method achieves better AR in the low AN region, suggesting strong ability to generate top-ranked proposals with higher quality. To further demonstrate that the proposals generated by our method have higher IoU with ground truth, we calculate the recalls at multiple IoU thresholds using 100 proposals per video. Figure 6 consistently shows the superior recall rates of our method when IoU ranges from 0 to 1.

Table 2 summarizes the performance comparisons on the validation and testing sets of ActivityNet-1.3. We compare our method with several other state-of-the-art methods in terms of AUC and AR@100. The results send a clear message that our method is more effective than all competitors. Specifically, our method improves AUC on the test set from previous performance record 66.26% in the literature to 67.01%.

Another desirable property of an action localization method is generating proposals for unseen action classes. We evaluate the generalization ability of our method on ActivityNet-1.3 validation set. Following the setting in [46], we choose 100 action classes (seen classes) videos from the training set to learn the model, and then evaluate the AUC/AR@100for 100 seen and 100 unseen classes videos from the validation set respectively. Table 3 shows only a slight drop in AUC and AR@100 on the 100 unseen classes videos, which proves that our method has great generalization ability.

We also investigate separate performance on videos

Table 3. Evaluation of generalizing to unseen classes for our method on ActivityNet-1.3.

|                      |   AUC(val) |   AR@100(val) |
|----------------------|------------|---------------|
| Seen (100 classes)   |      64.55 |         69.3  |
| Unseen (100 classes) |      63.87 |         68.73 |

Figure 7. Comparing AR@50 on different-duration action instances on THUMOS14.

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00707v1-figure-f9163170-53c6-475c-ab43-8b41e1d85ccd.jpg)

with different durations on THUMOS14. To this end, all action instances are cast into five sub-sets according to their durations. For example, 'subset-1 (0-20%)' denotes the top-20% instances with the smallest durations. Our proposed method strikes a clear superiority on all subsets.

## 4.4. Ablative Study for Proposal Generation

We investigate the contributions from several key components in the proposed TSA-Net. All experiments in this ablation study are performed on the THUMOS14 dataset with two-stream features.

Effect of MDC Blocks : To show the effectiveness of the MDC blocks in Figure 4, we compare two settings: 1) replace the MDC blocks of each branch with standard 1D convolutions (TSA-Conv). For fairness, the kernel size of all 1-D convolution layers is set to 3 to ensure the same number of parameters with MDC blocks; 2) the original TSA-Net. Bayesian scores are used to rank proposals. Table 4 shows the comparison of TSA-Conv with TSA-Net on THUMOS14 test set. It can be seen that the MDC blocks effectively boost the quality of the proposals via exploiting richer temporal contextual information.

Table 4. Comparing TSA-Conv with TSA-Net on THUMOS14 in terms of AR@AN.

| Method   | AR@AN   | AR@AN   | AR@AN   |
|----------|---------|---------|---------|
|          | @50     | @100    | @200    |
| TSA-Conv | 31.48   | 40.83   | 47.78   |
| TSA-Net  | 40.83   | 47.92   | 53.22   |

Effect of Multi-branch Architecture : We validate the design of multi-branch architecture in Figure 4 by comparing four settings: 1) a single-branch network by setting MDC blocks' dilatation rates to (1,2,3) (denoted as

single-small ); 2) a single-branch network with MDC blocks with dilation rates (1,3,5) (denoted as single-medium ); 3) a single-branch network with dilation rates (1,5,7) (let us call it single-large ); 4) a multi-branch network which is composed of single-small, single-medium and single-large, referred to as multi-branch . Bayesian scores are adopted for ranking proposals. Table 5 shows the comparison of all single-branch architectures with multi-branch architecture on THUMOS14 test set. It can be seen that the multi-branch network outperforms each single-branch network in terms of AR@AN. The results validate the effectiveness of the proposed multi-branch architecture and demonstrate that multi-scale temporal contextual information is important.

Table 5. Comparing single branch architectures with multi-branch architecture on THUMOS14 in terms of AR@AN.

| Method        | AR@AN   | AR@AN   | AR@AN   |
|---------------|---------|---------|---------|
|               | @50     | @100    | @200    |
| single-small  | 37.72   | 45.85   | 52.03   |
| single-medium | 37.77   | 45.01   | 50.38   |
| single-large  | 36.07   | 44.28   | 50.80   |
| multi-branch  | 40.83   | 47.92   | 53.22   |

Effectiveness of Compatibility φ c ( ( s ) i , c ( e ) i ) : To evaluate the effectiveness of the learned pairwise compatibility function φ c ( ( s ) i , c ( e ) i ) , we contrast the performance with or without the term φ c ( ( s ) i , c ( e ) i ) during scoring a proposal in Table 6. These results clearly show that the proposed compatibility function improves the performance by nontrivial margins.

| Proposal Scoring                                        | AR@AN   | AR@AN   | AR@AN   |
|---------------------------------------------------------|---------|---------|---------|
|                                                         | @50     | @100    | @200    |
| P ( s ) ( c ( s ) i ) · P ( e ) ( c ( e ) i ) in Eqn. 2 | 40.83   | 47.92   | 53.22   |
| P ( c ( s ) i c ( e ) i ) in Eqn. 2                     | 42.83   | 49.61   | 54.52   |

Table 6. Effectiveness of compatibility function on THUMOS14 in terms of AR@AN.

## 4.5. Experimental Analysis of Action Localization

The evaluations performed on the testing set of THUMOS14 or ActivityNet-1.3 are shown in Table 7 or 8 respectively. As previously stated, the development of action classifiers is relatively mature, and we thus directly re-use others' classification models for fairing contrasting different methods. The 5 baselines in topmost of Table 7 utilize their own classifiers. The rest baselines are either paired with the classifier in SCNN [36], Untrimmed Net [43] or [55]. Most baselines adopt two-stream or C3D features while few use spatio-temporal features I3D [5] (akin to the P3D features that we extract yet more computationally heavy), such as TAL-Net [6].

Table 7 exhibits that our proposed TSA-Net outperforms state-of-the-art action localization methods by significant

Table 7. Action classification comparisons on THUMOS14 in terms of mAP@IoU. '-' denotes that a method uses its own action classifier. 'n/a' denotes that the corresponding performance is not reported in the original literature.

| Proposal Method   | Classifier    | 0.7   | 0.6   |   0.5 | 0.4   | 0.3   |
|-------------------|---------------|-------|-------|-------|-------|-------|
| SCNN [36]         | -             | 5.3   | 10.3  |  19   | 28.7  | 36.3  |
| CDC [34]          | -             | 8.8   | 14.3  |  24.7 | 30.7  | 41.3  |
| R-C3D [48]        | -             | 9.3   | 19.1  |  28.9 | 35.6  | 44.8  |
| CBR [11]          | -             | 9.9   | 19.1  |  31   | 41.3  | 50.1  |
| TAL-Net [6] (I3D) | -             | 20.8  | 33.8  |  42.8 | 48.5  | 53.2  |
| SST [4]           | SCNN-cls [36] | n/a   | n/a   |  23   | n/a   | n/a   |
| TURN [12]         | SCNN-cls [36] | 7.7   | 14.6  |  25.6 | 33.2  | 44.1  |
| BSN [28]          | SCNN-cls [36] | 15.0  | 22.4  |  29.4 | 36.6  | 43.1  |
| CTAP [10]         | SCNN-cls [36] | n/a   | n/a   |  29.9 | n/a   | n/a   |
| Ours(Two-Stream)  | SCNN-cls [36] | 17.1  | 25.2  |  33.1 | 39.2  | 43.7  |
| Ours(P3D)         | SCNN-cls [36] | 19.4  | 27.8  |  36.6 | 43.7  | 48.3  |
| SST [4]           | UNet [43]     | 4.7   | 10.9  |  20   | 31.5  | 41.2  |
| TURN [12]         | UNet [43]     | 6.3   | 14.1  |  24.5 | 35.3  | 46.3  |
| BSN [28]          | UNet [43]     | 20.0  | 28.4  |  36.9 | 45.0  | 53.5  |
| Ours(Two-Stream)  | UNet [43]     | 21.7  | 31.5  |  41.5 | 48.1  | 53.2  |
| Ours(P3D)         | UNet [43]     | 25.2  | 36.1  |  46.9 | 55.9  | 61.2  |

margins when the IoU threshold varies from 0.3 to 0.7. Specifically, for mAP@0.5, our method significantly improves the performance from 36.9% to 41.5%, when both use the two-stream features. The performance of our method is further improved by using P3D features, and we achieved an mAP of 46.9% when the IoU threshold is 0.5.

Similar trends are observed in Table 8 on the benchmark ActivityNet-1.3. Note that the mAP scores on the testing set are obtained by submitting predictions to the competition server of ActivityNet-1.3, which only returns average mAP. As seen, we improve the average mAP on the testing set from previous state-of-the-art 32.84% (achieved by BSN) to 34.62% using the same video features. On both benchmarks our method clearly re-calibrates the top performances.

| Proposal Method   | Classifier   | Valid Set   | Valid Set   | Valid Set   | Valid Set   | Test Set Average   |
|-------------------|--------------|-------------|-------------|-------------|-------------|--------------------|
|                   |              | 0.5         | 0.75        | 0.95        | Average     |                    |
| SCC [15]          | -            | 40.00       | 17.90       | 4.70        | 21.70       | 19.30              |
| CDC [34]          | -            | 45.30       | 26.00       | 0.20        | 23.80       | 22.90              |
| TCN [8]           | -            | -           | -           | -           | -           | 23.58              |
| SSN [54]          | -            | 39.12       | 23.48       | 5.49        | 23.98       | 28.28              |
| TAL-Net [6]       | -            | 38.23       | 18.30       | 1.30        | 20.22       | -                  |
| BSN [28]          | [55]         | 46.45       | 29.96       | 8.02        | 30.03       | 32.84              |
| Ours              | [55]         | 48.71       | 31.97       | 8.97        | 31.90       | 34.62              |

Table 8. Action classification comparisons on the valid / test sets of ActivityNet-1.3.

## 5. Conclusions

Wepropose TSA-Net for video action localization which effectively compiles temporal context from multi-scales. The core designs include a multi-branch stacked MDC blocks for temporal aggregation and a light-weight subnetwork for regressing the proposal's Bayesian confidence. On large-scale benchmarks THUMOS14 and ActivityNet1.3, the proposed TSA-Net outperforms competing methods and re-calibrate the state-of-the-art performances.

## References

- [1] H. Alwassel, F. C. Heilbron, and B. Ghanem. Action search: Spotting actions in videos and its application to temporal action localization. In ECCV , 2018. 1
- [2] N. Bodla, B. Singh, R. Chellappa, and L. S. Davis. Soft-nms - improving object detection with one line of code. In ICCV , 2017. 5
- [3] S. Buch, V. Escorcia, B. Ghanem, L. Fei-Fei, and J. C. Niebles. End-to-end, single-stream temporal action detection in untrimmed videos. In BMVC , 2017. 2
- [4] S. Buch, V. Escorcia, C. Shen, B. Ghanem, and J. C. Niebles. SST: single-stream temporal action proposals. In CVPR , 2017. 2, 6, 8
- [5] J. Carreira and A. Zisserman. Quo vadis, action recognition? A new model and the kinetics dataset. In CVPR , 2017. 6, 8
- [6] Y. Chao, S. Vijayanarasimhan, B. Seybold, D. A. Ross, J. Deng, and R. Sukthankar. Rethinking the faster R-CNN architecture for temporal action localization. In CVPR , 2018. 2, 3, 8
- [7] L. Chen, G. Papandreou, I. Kokkinos, K. Murphy, and A. L. Yuille. Deeplab: Semantic image segmentation with deep convolutional nets, atrous convolution, and fully connected crfs. IEEE Trans. Pattern Anal. Mach. Intell. , 40(4):834-848, 2018. 3
- [8] X. Dai, B. Singh, G. Zhang, L. S. Davis, and Y. Q. Chen. Temporal context network for activity localization in videos. In ICCV , 2017. 2, 7, 8
- [9] V. Escorcia, F. C. Heilbron, J. C. Niebles, and B. Ghanem. Daps: Deep action proposals for action understanding. In ECCV , 2016. 2, 6
- [10] J. Gao, K. Chen, and R. Nevatia. CTAP: complementary temporal action proposal generation. In ECCV , 2018. 2, 6, 7, 8
- [11] J. Gao, Z. Yang, and R. Nevatia. Cascaded boundary regression for temporal action detection. In BMVC , 2017. 8
- [12] J. Gao, Z. Yang, C. Sun, K. Chen, and R. Nevatia. TURN TAP: temporal unit regression network for temporal action proposals. In ICCV , 2017. 2, 6, 8
- [13] R. B. Girshick. Fast R-CNN. In ICCV , 2015. 2, 5
- [14] R. B. Girshick, J. Donahue, T. Darrell, and J. Malik. Rich feature hierarchies for accurate object detection and semantic segmentation. In CVPR , 2014. 1, 2
- [15] F. C. Heilbron, W. Barrios, V. Escorcia, and B. Ghanem. SCC: semantic context cascade for efficient action detection. In CVPR , 2017. 8
- [16] F. C. Heilbron, V. Escorcia, B. Ghanem, and J. C. Niebles. Activitynet: A large-scale video benchmark for human activity understanding. In CVPR , 2015. 6
- [17] F. C. Heilbron, J. Lee, H. Jin, and B. Ghanem. What do I annotate next? an empirical study of active learning for action localization. In ECCV , 2018. 1
- [18] F. C. Heilbron, J. C. Niebles, and B. Ghanem. Fast temporal activity proposals for efficient detection of human actions in untrimmed videos. In CVPR , pages 1914-1923, 2016. 2
- [19] H. Idrees, A. R. Zamir, Y. Jiang, A. Gorban, I. Laptev, R. Sukthankar, and M. Shah. The thumos challenge on action recognition for videos in the wild. Computer Vision and Image Understanding , 155:1-23, 2017. 5
- [20] P. Isola, J. Zhu, T. Zhou, and A. A. Efros. Imageto-image translation with conditional adversarial networks. In CVPR , 2017. 4
- [21] R. Krishna, K. Hata, F. Ren, L. Fei-Fei, and J. C. Niebles. Dense-captioning events in videos. In ICCV , 2017. 1
- [22] W. Kuo, B. Hariharan, and J. Malik. Deepbox: Learning objectness with convolutional networks. In ICCV , 2015. 2
- [23] C. Lea, M. D. Flynn, R. Vidal, A. Reiter, and G. D. Hager. Temporal convolutional networks for action segmentation and detection. In CVPR , 2017. 3
- [24] Y. Li, X. Zhang, and D. Chen. Csrnet: Dilated convolutional neural networks for understanding the highly congested scenes. In CVPR , 2018. 3
- [25] T. Lin, P. Doll´r, R. B. Girshick, K. He, B. Hariharan, a and S. J. Belongie. Feature pyramid networks for object detection. In CVPR , 2017. 2
- [26] T. Lin, X. Zhao, and Z. Shou. Single shot temporal action detection. In ACM Multimedia , 2017. 2
- [27] T. Lin, X. Zhao, and Z. Shou. Temporal convolution based action proposal: Submission to activitynet 2017. CoRR , abs/1707.06750, 2017. 7
- [28] T. Lin, X. Zhao, H. Su, C. Wang, and M. Yang. BSN: boundary sensitive network for temporal action proposal generation. In ECCV , 2018. 2, 3, 5, 6, 7, 8
- [29] W. Liu, D. Anguelov, D. Erhan, C. Szegedy, S. E. Reed, C. Fu, and A. C. Berg. SSD: single shot multibox detector. In ECCV , 2016. 2
- [30] S. Mehta, M. Rastegari, A. Caspi, L. G. Shapiro, and H. Hajishirzi. Espnet: Efficient spatial pyramid of dilated convolutions for semantic segmentation. In ECCV , 2018. 3
- [31] Z. Qiu, T. Yao, and T. Mei. Learning spatio-temporal representation with pseudo-3d residual networks. In ICCV , 2017. 3, 6
- [32] J. Redmon, S. K. Divvala, R. B. Girshick, and A. Farhadi. You only look once: Unified, real-time object detection. In CVPR , 2016. 2

- [33] S. Ren, K. He, R. B. Girshick, and J. Sun. Faster RCNN: towards real-time object detection with region proposal networks. In NeurIPS , 2015. 2
- [34] Z. Shou, J. Chan, A. Zareian, K. Miyazawa, and S. Chang. CDC: convolutional-de-convolutional networks for precise temporal action localization in untrimmed videos. In CVPR , 2017. 1, 3, 8
- [35] Z. Shou, H. Gao, L. Zhang, K. Miyazawa, and S. Chang. Autoloc: Weakly-supervised temporal action localization in untrimmed videos. In ECCV , 2018. 1
- [36] Z. Shou, D. Wang, and S. Chang. Temporal action localization in untrimmed videos via multi-stage cnns. In CVPR , 2016. 1, 2, 5, 6, 8
- [37] K. Simonyan and A. Zisserman. Two-stream convolutional networks for action recognition in videos. In NeurIPS , 2014. 3
- [38] H. Song, W. Wang, S. Zhao, J. Shen, and K. Lam. Pyramid dilated deeper convlstm for video salient object detection. In ECCV , 2018. 3
- [39] K. Soomro, A. R. Zamir, and M. Shah. UCF101: A dataset of 101 human actions classes from videos in the wild. CoRR , abs/1212.0402, 2012. 6
- [40] H. Su, X. Zhao, and T. Lin. Cascaded pyramid mining network for weakly supervised temporal action localization. CoRR , abs/1810.11794, 2018. 1
- [41] D. Tran, L. D. Bourdev, R. Fergus, L. Torresani, and M. Paluri. Learning spatiotemporal features with 3d convolutional networks. In ICCV , 2015. 3, 6
- [42] J. Wang, W. Jiang, L. Ma, W. Liu, and Y. Xu. Bidirectional attentive fusion with context gating for dense video captioning. In CVPR , 2018. 1
- [43] L. Wang, Y. Xiong, D. Lin, and L. V. Gool. Untrimmednets for weakly supervised action recognition and detection. In CVPR , 2017. 5, 8
- [44] Y. Wei, H. Xiao, H. Shi, Z. Jie, J. Feng, and T. S. Huang. Revisiting dilated convolution: A simple approach for weakly- and semi-supervised semantic segmentation. In CVPR , 2018. 3
- [45] Y. Xiong, L. Wang, Z. Wang, B. Zhang, H. Song, W. Li, D. Lin, Y. Qiao, L. V. Gool, and X. Tang. CUHK &amp; ETHZ &amp; SIAT submission to activitynet challenge 2016. CoRR , abs/1608.00797, 2016. 6
- [46] Y. Xiong, Y. Zhao, L. Wang, D. Lin, and X. Tang. A pursuit of temporal accuracy in general activity detection. CoRR , abs/1703.02716, 2017. 6, 7
- [47] B. Xu, H. Ye, Y. Zheng, H. Wang, T. Luwang, and Y. Jiang. Dense dilated network for few shot action recognition. In ICMR , 2018. 3
- [48] H. Xu, A. Das, and K. Saenko. R-C3D: region convolutional 3d network for temporal activity detection. In ICCV , 2017. 1, 2, 8
- [49] Y. Xu, C. Zhang, Z. Cheng, J. Xie, Y. Niu, S. Pu, and F. Wu. Segregated temporal assembly recurrent networks for weakly supervised multiple action detection. CoRR , abs/1811.07460, 2018. 1
- [50] S. Yeung, O. Russakovsky, G. Mori, and L. Fei-Fei. End-to-end learning of action detection from frame glimpses in videos. In CVPR , 2016. 2
- [51] F. Yu and V. Koltun. Multi-scale context aggregation by dilated convolutions. CoRR , abs/1511.07122, 2015. 3
- [52] F. Yu, V. Koltun, and T. A. Funkhouser. Dilated residual networks. In CVPR , 2017. 3
- [53] D. Zhang, X. Dai, X. Wang, and Y. Wang. S3D: single shot multi-span detector via fully 3d convolutional networks. In BMVC , 2018. 2
- [54] Y. Zhao, Y. Xiong, L. Wang, Z. Wu, X. Tang, and D. Lin. Temporal action detection with structured segment networks. In ICCV , 2017. 1, 2, 3, 5, 8
- [55] Y. Zhao, B. Zhang, Z. Wu, S. Yang, L. Zhou, S. Yan, L. Wang, Y. Xiong, D. Lin, Y. Qiao, et al. Cuhk &amp; ethz &amp; siat submission to activitynet challenge 2017. arXiv preprint arXiv:1710.08011 , 2017. 5, 8
- [56] J. Zhong, N. Li, W. Kong, T. Zhang, T. H. Li, and G. Li. Step-by-step erasion, one-by-one collection: A weakly supervised temporal action detector. In ACM Multimedia , 2018. 1
- [57] L. Zhou, Y. Zhou, J. J. Corso, R. Socher, and C. Xiong. End-to-end dense video captioning with masked transformer. In CVPR , 2018. 1
Guoqiang Gong Liangfeng Zheng Kun Bai Yadong Mu
Scale Matters: Temporal Scale Aggregation Network for Precise Action Localization in Untrimmed Videos
Temporal action localization is a recently-emerging task, aiming to localize
video segments from untrimmed videos that contain specific actions. Despite the
remarkable recent progress, most two-stage action localization methods still
suffer from imprecise temporal boundaries of action proposals. This work
proposes a novel integrated temporal scale aggregation network (TSA-Net). Our
main insight is that ensembling convolution filters with different dilation
rates can effectively enlarge the receptive field with low computational cost,
which inspires us to devise multi-dilation temporal convolution (MDC) block.
Furthermore, to tackle video action instances with different durations, TSA-Net
consists of multiple branches of sub-networks. Each of them adopts stacked MDC
blocks with different dilation parameters, accomplishing a temporal receptive
field specially optimized for specific-duration actions. We follow the
formulation of boundary point detection, novelly detecting three kinds of
critical points (ie, starting / mid-point / ending) and pairing them for
proposal generation. Comprehensive evaluations are conducted on two challenging
video benchmarks, THUMOS14 and ActivityNet-1.3. Our proposed TSA-Net
demonstrates clear and consistent better performances and re-calibrates new
state-of-the-art on both benchmarks. For example, our new record on THUMOS14 is
46.9% while the previous best is 42.8% under mAP@0.5.