Jointly Localizing and Describing Events for Dense Video Captioning

Yehao Li, Ting Yao, Yingwei Pan, Hongyang Chao, Tao Mei

Introduction

The recent advances in 2D and 3D Convolutional Neural Networks (CNNs) have successfully pushed the limits and improved the state-of-the-art of video understanding. For instance, the first rank performance achieves 8.8% in terms of top-1 error in untrimmed video classification task of ActivityNet Challenge 2017 . As such, it has become possible to recognize a video with a pre-defined set of labels or categories. In a further step to describe a video with a complete and nature sentence, video captioning has expanded the understanding from individual labels to a sequence of words to express richer semantics and relationships in the video. Nevertheless, considering that videos in real life are usually long and contain multiple events, the conventional video captioning methods generating only one caption for a video in general will fail to recapitulate all the events in the video. Take the video in Figure 1 as an example, the output sentence generated by a popular video captioning method is unable to describe the procedure of “playing frisbee with a dog” in detail. As a result, the task of dense video captioning is introduced recently in and the ultimate goal is to generate a sentence for each event occurring in the video.

The difficulty of dense video captioning originates from two aspects: 1) how to accurately localize each event in time? 2) how to design a powerful sentence generation model? In the literature, there have been several techniques, including temporal action proposal and image/video captioning , being proposed for each individual aspect. However, simply solving the problem of dense video captioning in a two-stage way, i.e., first temporal event proposal and then sentence generation, may destroy the interaction between localizing and describing events, resulting in a sub-optimal solution.

This paper proposes a novel deep architecture to unify the accurate localization of temporal events with the descriptive principle of sentence generation for dense video captioning. Technically, we devise a new descriptiveness regression component and integrate it into a single shot detection framework as a bridge, on one hand to measure the complexity of each event being described in sentence generation, and on the other, to adjust the event proposal. More specifically, the descriptiveness regression guides the learning of temporal event proposal together with event/background classification and temporal coordinate regression. In between, event/background classification is to predict event proposals and temporal coordinate regression is to refine the temporal boundaries of each proposal. Furthermore, the inference of descriptiveness regression is employed as an “attention” to weight video clips in each proposal locally. The proposal-level representation is then averaged over all the clip-level representations in the proposal weighted by the holistic attention score of each clip and finally fed into an attribute-augmented captioning architecture for sentence generation. As such, the task of dense video captioning could be jointly learnt and globally optimized in an end-to-end manner.

The main contribution of this work is the proposal of a new architecture to unify the temporal localization of event proposals and sentence generation for dense video captioning. The solution also leads to the elegant views of what kind of interaction should be built across the two sub problems and how to model and integrate the interaction in a deep learning framework, which are problems not yet fully understood in the literature.

Related Work

Temporal Action Proposal. is one of the early works that detects temporal segments containing the action of interest in a sliding windows fashion. Next, a few subsequent works tackle temporal action proposal by leveraging action classifiers on a smaller number of temporal windows. In particular, Sparse-prop utilizes dictionary learning to encode representations of trimmed action instances and then retrieves the most representative segments from testing videos, which are treated as the class-independent proposals. S-CNN trains a 3D CNNs to classify a video segment as background or being-action and employs varied length temporal windows for multi-scale action proposal generation. Later in , DAPs utilizes Long Short-Term Memory (LSTM) to encode video streams and enables multi-scale proposal generation inside the streams with a single pass through the video, obviating the need for deploying sliding windows on multiple scales. Furthermore, Buch et al. develop SST based on DAPs by constructing no overlapping sliding windows over the input video and encoding each window sequentially with a Gated Recurrent Unit (GRU) in . Most recently, Gao et al. design temporal coordinate regression for temporal action proposal generation.

Video Captioning. The research in this direction has proceeded along two different dimensions: template-based language methods and sequence learning approaches (e.g., RNNs) . Template-based language methods directly generate the sentence with detected keywords in predefined language template. Sequence learning approaches utilize CNN plus RNN architecture to generate novel sentences with more flexible syntactical structures. In , Venugopalan et al. present a LSTM-based model to generate video descriptions with the mean pooling representation over all frames. The framework is then extended by inputting both frames and optical flow images into an encoder-decoder LSTM in . Compared to mean pooling, Yao et al. propose to utilize the temporal attention mechanism to exploit temporal structure for video captioning . Later in , a hierarchical RNN is devised to further capture the inter-sentence dependency, targeting for describing a long video with a paragraph consisting of multiple sentences. Different from the video paragraph captioning with non-overlapping and annotated temporal intervals, a more challenge task, named as dense video captioning, is recently introduced in which involves both detecting and describing multiple events in a video. A two-stage dense-captioning system is thus designed by leveraging DAPs to localize temporal event proposals and a LSTM-based sequence learning module to describe each event proposal. Most recently, additionally incorporates KNN-based retrieval module into LSTM-based sequence learning module to boost video captioning.

Summary. Our work aims to detect and describe events in video, i.e., dense video captioning. Different from the aforementioned method , our approach contributes by studying not only detecting the events with the simple objective of binary classification (i.e., event or background) and modeling sentence generation with LSTM, but also enhancing the temporal event proposal by utilizing both temporal boundary regression to correct start and end time of event and descriptiveness regression to infer whether the event can be well described from language perspective. Moreover, sentence generation module is further boosted by leveraging semantic attributes and reinforcement learning to optimize LSTM with non-differentiable metrics.

Dense Video Captioning

The basic idea of this work is to automatic describe multiple events in videos by temporally localizing event proposals and generating language sentence for each event proposal. The temporal event proposal (TEP) is performed by encapsulating the event classification to recognize video segments of events from backgrounds, proposal generation to temporally localize the event, and descriptiveness inference procedure to infer the descriptive complexity of this event, in one single network. Such design enables straightforward temporal event proposal in a single shot manner to ease the training consumption. The sentence generation module (SG) leverages an attribute-augmented LSTM-based model for generating descriptions. Moreover, the policy-gradient based reinforcement learning is adopted to optimize LSTM with evaluation metric based reward, harmonizing the module with respect to the testing inference. Please note that the descriptiveness inference procedure in TEP module is not only leveraged to additionally refine the localized event proposal from language perspective through descriptiveness regression, but also integrated into SG module to consider the descriptiveness scores as one kind of temporal attention over clips for weighted fusing them as the input proposal-level representation of LSTM. As such, our system including both TEP and SG modules can be jointly trained through the global optimization of detection and captioning in an end-to-end manner. An overview of our dense video captioning system is illustrated in Figure 2.

Suppose we have a video V={vt}t=1Tv\mathcal{V}=\{v_{t}\}^{T_{v}}_{t=1} with TvT_{v} frames/clips and vtv_{t} denotes the tt-th frame/clip in temporal order. The ultimate target of our dense video captioning system is to generate a set of temporal localized descriptions Φv={ϕi=(tstarti,tendi,Si)}i=1Mv{\Phi_{v}}=\{{\phi_{i}}=(t^{i}_{start},t^{i}_{end},{\mathcal{S}_{i}})\}_{i=1}^{{M_{v}}} for the input video V\mathcal{V}, where MvM_{v} is the number of sentences, tstartit^{i}_{start} and tendit^{i}_{end} represent the starting time and ending time for each sentence Si\mathcal{S}_{i}, and Si={w1,w2,...,wNs}{\mathcal{S}_{i}=\{w_{1},w_{2},...,w_{N_{s}}\}} consists of NsN_{s} words.

Hence the TEP module in our system is firstly utilized to produce a set of candidate proposals for the input video V\mathcal{V}:

where peventip_{event}^{i} is the probability of recognizing the candidate as an event (i.e., eventness score), pdesip_{des}^{i} denotes the descriptiveness score measuring how well the candidate can be described from language perspective and NpN_{p} is the total number of candidate proposals. By consolidating the idea of selecting proposals from both vision and language perspectives, all the candidates are ranked according to the fused score pconfi=peventi+λ0pdesip_{conf}^{i}=p_{event}^{i}+{\lambda_{0}}p_{des}^{i} and only the candidates with a pconfip_{conf}^{i} higher than a threshold are injected into SG module for captioning, denoted as Φp^{\Phi_{\hat{p}}}.

Inspired by the successes of sequence learning models in machine translation and attributes utilized in image/video captioning , we formulate our SG module as an attribute-argument LSTM-based model which encodes the input event proposal representation (F{\bf{F}}) and its detected attributes/categories (A{\bf{A}}) into a fixed dimensional vector and then decodes it to the output target sentence. As such, the sentence generation problem we exploit here can be formulated by minimizing the negative log\log probability of the correct textual sentence (logPr(SF,A)-\log{\Pr{({\mathcal{S}}|{\bf{F}},{\bf{A}})}}). The negative log\log probability is typically measured with cross entropy loss, resulting in the discrepancy of evaluation between training and inference. Hence, to further boost our SG module by amending such discrepancy, we take the inspiration from the reinforcement learning leveraged in sequence learning and directly optimize LSTM by minimizing the following expected sentence-level reward loss as

where θ\theta denotes the parameters of LSTM that schedule a policy pθ{p_{\theta}} for generating sentence. r(S)r(\mathcal{S}) is the reward measured by comparing the generated sentence S\mathcal{S} to ground-truth sentences over non-differentiable evaluation metric.

2 Temporal Event Proposal

Existing solutions for temporal action/event proposal mainly focus on detecting events with binary classifier (i.e., event or background) in a sliding windows fashion. However, the temporal sliding windows are typically too dense and even designed with multiple scales, resulting in the heavy computation cost. Inspired from spatial boundary regression in object localization which simultaneously predicts objectness score and object bound, we integrate the event classification with temporal coordinate regression for correcting event’s temporal bound, pursuing both low-cost and high-quality event proposals. Moreover, for the dense video captioning task, the event identification undoubtedly plays the major role in temporal event proposal, while the proposals containing rich describable objects or scenes are also preferred by human beings in description generation. As such, a novel descriptiveness regression is especially devised to infer the descriptive complexity of each proposal, and further refine the event proposal from language perspective. Similar to single shot object detection in , all the three components (i.e, event classification, temporal coordinate regression and descriptiveness regression) are elegantly integrated into one feed-forward CNNs, aiming to simultaneously produce a fixed-size set of proposals, scores for the presence of event in the proposals (i.e., eventness scores), and descriptiveness scores of proposals.

Input. Technically, given input video V={vt}t=1Tv\mathcal{V}=\{v_{t}\}^{T_{v}}_{t=1}, a 3-D CNN is utilized to encode the frame sequence into a series of clip-level features {ft=F(vt:vt+δ)}t=1Tf\{{{\bf{f}}_{t}}=F({v_{t}}:{v_{t+\delta}})\}^{T_{f}}_{t=1} where δ\delta is the temporal resolution of each feature ft{{\bf{f}}_{t}}. In our experiments, C3D is adopted as 3-D CNNs encoder FF with δ=16\delta=16 frames and the temporal interval for encoding is set as 88 frames, resulting in the initial output feature map with the size of Tf×D0{T_{f}}\times D_{0}. Note that D0D_{0} is the dimension of clip-level feature and Tf=Tv/8T_{f}=T_{v}/8 discretizes the video frames.

Network Architecture. The initial feature map of size Tf×D0{T_{f}}\times D_{0} is fed into 1-D CNNs architecture in TEP module, which consists of convolutional layers in three groups: base layers, anchor layers, and prediction layers, as shown in Figure 2. In particular, two base layers (conv1conv_{1} and conv2conv_{2}) are firstly devised to reduce the temporal dimension of feature map and increase the size of temporal receptive fields, producing the output feature map of size Tf/2×1024{T_{f}/2}\times 1024. Then, we stack nine anchor layers (conv3conv_{3} to conv11conv_{11}) on the top of base layer conv2conv_{2}, each of which is designed with the same configuration (kernel size: 3, stride size: 2, and filter number: 512). These anchor layers decrease in temporal dimension of feature map progressively, enabling the temporal event proposals at multiple temporal scales.

For each anchor layer, its output feature map is injected into prediction layer to produce a fixed set of predictions in one shot manner. Concretely, given an output feature map fjf_{j} with the size of Tfj×Dj{T_{f_{j}}}\times D_{j}, the basic element (anchor) for predicting parameters of a candidate proposal is a 1×Dj1\times D_{j} feature map cell that produces a prediction score vector ppred=(pcls,Δc,Δw,pdes){p_{pred}}=({p_{cls}},\Delta c,\Delta w,{p_{des}}) via fully connected layers. pcls=[pevent,pbk]p_{cls}=[p_{event},p_{bk}] denotes the two dimensional classification scores for event/background and pdes{p_{des}} is the descriptiveness score to infer the confidence of this proposal to be well described. Δc\Delta c and Δw\Delta w are two temporal offsets relative to the default center location μc{\mu_{c}} and width μw{\mu_{w}} of this anchor, which are leveraged to adjust its temporal coordinates as

where φc{\varphi_{c}} and φw{\varphi_{w}} are refined center location and width of the anchor. α1\alpha_{1} and α2\alpha_{2} are utilized to control the impact of temporal offsets, both of which are set as 0.10.1. tstartt_{start} and tendt_{end} represent the adjusted starting and ending time of the anchor. In addition, derived from the anchor boxes in , we associate a set of default temporal boundaries with each feature map cell. The different temporal scale ratios for these default temporal boundaries are denoted as Rs={rd}d=1Ds={1,1.25,1.5}{R_{s}}=\{{r_{d}}\}_{d=1}^{{D_{s}}}=\{1,1.25,1.5\}. For each temporal scale ratio rdr_{d}, we can thus achieve one default center location (μcd=t+0.5Tfj{\mu_{c_{d}}}=\frac{{t+0.5}}{{T_{f_{j}}}}) and width (μwd=rdTfj{\mu_{w_{d}}}=\frac{{r_{d}}}{{T_{f_{j}}}}) of tt-th feature map cell, resulting in a total of TfjDs{T_{f_{j}}}{D_{s}} anchors. Accordingly, for the feature map fjf_{j}, the set of all the produced proposals is defined as Φfj={ϕfj=(tstartu,tendu,pclsu,pdesu)}u=1NU{\Phi_{f_{j}}}=\{{\phi_{f_{j}}}=(t_{start}^{u},t_{end}^{u},p_{cls}^{u},p_{des}^{u})\}_{u=1}^{{N_{U}}}, where NU=TfjDsN_{U}={T_{f_{j}}}{D_{s}}. By accumulating all the produced proposals of the output feature maps of nine anchor layers, the final predicted proposal set is Φp={Φfj}={ϕpi}i=1Np{\Phi_{p}}=\{\Phi_{f_{j}}\}=\{\phi^{i}_{p}\}^{N_{p}}_{i=1}.

Training. During training, a positive/negative label should be firstly assigned to each predicted proposal conditioned on the ground truth proposal set Φv{\Phi_{v}}. Specifically, for each ϕpiΦp\phi^{i}_{p}\in{\Phi_{p}}, we measure its temporal Intersection over Union (tIoU) with each ground truth proposal and obtain the highest tIoU. If the highest tIoU is larger than 0.7, ϕpi\phi^{i}_{p} is treated as positive sample with regard to the corresponding ground truth proposal ϕg\phi_{g}, otherwise ϕpi\phi^{i}_{p} is a negative sample. The training objective in our TEP module is formulated as a multi-task loss by integrating the event/background classification loss (Levent\mathcal{L}_{event}) for distinguishing events from backgrounds, temporal coordinate regression loss (Ltcr\mathcal{L}_{tcr}) for adjusting temporal coordinate of event proposal, and descriptiveness regression loss (Ldes\mathcal{L}_{des}) for inferring the descriptive complexity of each proposal, which is defined as

where α\alpha and β\beta are tradeoff parameters. The event/background classification loss Levent\mathcal{L}_{event} is measured as the standard softmax loss over the whole predicted proposal set Φp{\Phi_{p}}. The temporal coordinate regression loss Ltcr\mathcal{L}_{tcr} is devised as Smooth L1 loss (SL1S_{L1}) between the positive predicted proposals and the corresponding ground truth proposals. Similar to , both of the temporal offsets for center location (φc{\varphi_{c}}) of the predicted proposal and for its width (φw{\varphi_{w}}) are regressed as

The descriptiveness regression loss Ldes\mathcal{L}_{des} is calculated as the Euclidean distance between the inferred descriptiveness score pdesip^{i}_{des} of the predicted proposal and its sentence-level reward r(Si)r({\mathcal{S}_{i}}) in SG with regard to ground truth sentence:

In particular, for each positive predicted proposal ϕpi{\phi^{i}_{p}}, we achieve its sentence-level reward r(Si)r({\mathcal{S}_{i}}) by directly feeding this proposal into SG module and comparing the generated sentence Si{\mathcal{S}_{i}} with the corresponding ground-truth sentence over evaluation metric (e.g., METEOR). For each negative sample, its sentence-level reward is naturally fixed as 0. Accordingly, by minimizing the descriptiveness regression loss, our prediction layer is additionally endowed with the ability to directly infer the approximate descriptiveness score (i.e., the sentence-level reward for captioning) of an event proposal without referring ground-truth sentences.

3 Sentence Generation

Given the set of selected predicted event proposals Φp^Φp{\Phi_{\hat{p}}}\subset{\Phi_{p}} from TEP module, each proposal ϕp^Φp^{\phi_{\hat{p}}}\in{\Phi_{\hat{p}}} is injected into attribute-augmented LSTM-based model in SG module for description generation. Specifically, the attributes representation A\bf{A} of predicted proposal ϕp^{\phi_{\hat{p}}} is firstly transformed into LSTM to inform the whole LSTM about the high-level attributes, followed by the proposal representation F\bf{F} which is encoded into LSTM at the second time step. Then, LSTM decodes each output word based on previous word and previous step’s LSTM hidden state.

Descriptiveness-driven Temporal Attention. One natural way to achieve the proposal representation F\bf{F} is performing “mean pooling” process over all the clips within this proposal. However, in many cases, the generated description only relates to some key clips with low descriptive complexity. As a result, to pinpoint the local clips containing rich describable objects or scenes and further incorporate the contributions of different clips into producing proposal representation, a descriptiveness-driven temporal attention mechanism is employed on the predicted event proposal. Given the input proposal ϕp^{\phi_{\hat{p}}} containing Np^i{N_{\hat{p}_{i}}} clips {vi}i=1Np^i\{v_{i}\}^{N_{\hat{p}_{i}}}_{i=1}, the clip-level descriptiveness score pdesvip_{{}_{des}}^{{v_{i}}} of each clip viv_{i} is firstly achieved by holistically taking the average of all the descriptiveness scores of predicted proposals containing this clip viv_{i}. Here we treat the clip-level descriptiveness score of each clip as one kind of temporal attention over all the clips within this proposals. Based on the attention distribution, we calculate the weighted sum of the clip features and obtain the aggregated proposal feature F{\bf{F}} weighted by holistic attention score of each clip:

where αvi\alpha_{v_{i}} is the normalized attention score and fvi{{\bf{f}}_{{}_{{v_{i}}}}} is the clip representation of viv_{i}. The aggregated proposal feature could be regarded as a more informative proposal feature since the most descriptive clips for sentence generation have been distilled with higher attention weights.

Training. The training objective in our SG module is formulated as the expected sentence-level reward loss in Eq.(2). Inspired from Self-critical Sequence Training (SCST) , the gradient of this objective is given by

where Ss\mathcal{S}^{s} is a sampled sentence and r(S^)r(\mathcal{\hat{S}}) denotes the reward of baseline achieved by greedily decoding inference.

4 Joint Detection and Captioning

The overall objective of our dense video captioning is comprised of the training objective of TEP module in Eq.(4) and the reward loss of SG module in Eq.(2):

where λ1\lambda_{1} and λ2\lambda_{2} are tradeoff parameters for TEP and SG, respectively. Note that descriptiveness inference could be regarded as a bridge which is not only leveraged in TEP for adjusting the event proposal from language perspective, but also integrated into SG for measuring the descriptiveness-driven temporal attention to boost sentence generation, enabling the interaction between TEP and SG. As a result, the overall objective function of our system can be solved through the joint and global optimization of detection and captioning in an end-to-end manner.

Experiments

We conduct our experiments on the ActivityNet Captions dataset and evaluate our proposed system on both dense video captioning and temporal event proposal tasks.

The dataset, ActivityNet Captions, is a recently collected large-scale dense video captioning benchmark, which contains 20,000 videos covering a wide range of complex human activities. Each video is aligned with a series of temporally annotated sentences. On average, there are 3.65 temporally localized sentences for each video, resulting in a total of 100,000 sentences. In our experiments, we follow the settings in , and take 10,024 videos for training, 4,926 for validation and 5,044 for testing.

2 Dense Video Captioning Task

We firstly investigate our system on dense video captioning task. The task is to detect individual events and then describe each event with natural language.

Compared Approaches. To empirically verify the merit of our proposed dense video captioning system, we compare the following video captioning baselines:

(1) Long Short-Term Memory (LSTM) : LSTM utilizes a CNN plus RNN framework to directly translate from video pixels to natural language descriptions. The frame features are mean pooled to generate the video features.

(2) Sequence to Sequence - Video to Text (S2VT) : S2VT incorporates both RGB and optical flow inputs, and the encoding and decoding of the inputs and word representations are learnt jointly in a parallel manner.

(3) Temporal Attention (TA) : TA combines the frame representation from GoogleNet and video clip representation from 3D CNN trained on hand-crafted descriptors. Furthermore, a soft attention mechanism is employed to dynamically attend to specific temporal regions of the video while generating sentences.

(4) Hierarchical Recurrent Neural Networks (H-RNN) : H-RNN generates paragraphs by using one RNN to generate individual sentence and the second to capture the inter-sentence dependencies. Moreover, both spatial and temporal attention mechanisms are leveraged in H-RNN.

(5) Dense-Captioning Events (DCE) : DCE leverages a multi-scale variant of DAPs to localize temporal event proposals and S2VT as base captioning module to describe each event. An attention module is further incorporated to exploit temporal context for dense captioning.

(6) Dense Video Captioning (DVC) is our complete system in this paper. Two slightly different settings of DVC are named as DVC-D and DVC-D-A. The former only incorporates the descriptiveness-driven temporal attention mechanism into LSTM in SG module and is trained without attributes and reinforcement learning based optimization, while the latter is more similar to DVC that only replaces the expected sentence-level reward loss in DVC with the traditional cross entropy loss.

Note that DCE is the only existing work on dense video captioning task and most previous video captioning works (e.g., LSTM, S2VT, TA, and H-RNN) focus on describing entire videos without detecting a series of events. Hence we compare the five video captioning baselines on dense video captioning task by feeding them with the fixed ground truth proposals or the learnt ones from our TEP module.

Settings. For video clip representation, we utilize the publicly available 500-way C3D in , whose dimension is reduced by PCA from the original 4,096-way output of fc7fc7 of C3D pre-trained on Sports-1M video dataset . For representation of attributes/categories, we treat all the 200 categories on Activitynet dataset as the high-level semantic attributes and train the attribute detectors with cross entropy loss, resulting in the final 200-way vector of probabilities. Each word in the sentence is represented as “one-hot” vector (binary index vector in a vocabulary). The dimension of the input and hidden layers in LSTM are both set to 1,024. The tradeoff parameter λ0\lambda_{0} leveraging the event probability and descriptiveness score for proposal selection is empirically set to 0.2. The tradeoff parameters α\alpha and β\beta in Eq.(4) are set as 0.5 and 10. For the tradeoff parameters λ1\lambda_{1} and λ2\lambda_{2} in Eq.(9), we set them as 1 and 20, respectively.

We mainly implement our DVC based on Caffe , which is one of widely adopted deep learning frameworks. The whole system is trained by Adam optimizer. The initial learning rate is set as 0.00001 and the mini-batch size is set as 1. Note that SG module in our DVC is pre-trained with ground-truth proposal-sentence pairs. The sentence-level reward in SG is measured with METEOR.

Evaluation Metrics. For the evaluation of our proposed models, we follow the metrics in to measure the ability to jointly localize and describe dense events. This metric computes the mean average precision (mAP) across tIoU thresholds of 0.3, 0.5, 0.7, and 0.9 when captioning the top 1,000 proposals. The precision of captions is measured by three evaluation metrics: BLEU@NN , METEOR , and CIDEr-D . All the metrics are computed by using the codeshttps://github.com/ranjaykrishna/densevid_eval released by ActivityNet Evaluation Server.

Performance Comparison. Table 1 shows the performances of different models on ActivityNet Captions validation set. Overall, the results across six evaluation metrics with ground truth proposals and learnt proposals consistently indicate that our proposed DVC achieves superior performances against other state-of-the-art video captioning techniques including non-attention models (LSTM, S2VT) and attention-based approaches (TA, H-RNN, DCE). In particular, the METEOR score of our DVC can achieve 10.33% with ground truth proposals, making the relative improvement over the best competitor DCE by 16.33%, which is considered as a significant progress on this benchmark. As expected, the METEOR score is dropped down to 6.93% when provided the predicted proposals from our TEP module instead of ground truth proposals. Moreover, DVC-D by additionally leveraging descriptiveness-driven temporal attention for dense video captioning, leads to a performance boost against LSTM. The result basically indicates the advantage of weighting each local clips with holistic attention score in producing proposal representation for sentence generation, instead of representing each proposal by directly performing “mean pooling” over its clips in LSTM. In addition, DVC-D-A by additionally augmenting LSTM with high-level semantic attributes, consistently improves DVC-D over all the metrics, but the METEOR scores are still lower than DVC. This confirms the effectiveness of utilizing reinforcement learning techniques for directly optimizing LSTM with METEOR-based reward loss, which harmonizes SG module with respect to its testing inference.

Figure 3 showcases a few dense video captioning results generated by different methods and human-annotated ground truth sentences. From these exemplar results, it is easy to see that all of these automatic methods can generate somewhat relevant sentences, while our proposed DVC can generate more relevant and descriptive sentences by jointly exploiting descriptiveness-driven temporal attention mechanism and high-level attributes for boosting dense video captioning. For example, compared to phrase “brushing the dog’s hair” in the sentence generated by LSTM, “cutting the cat’s claws” in our DVC is more precise to describe the event proposal in the last proposal of the first video.

Human Evaluation. To better understand how satisfactory are the localized temporal event proposals and the corresponding generated sentences of different methods, we also conducted a human study to compare our DVC against four baselines, i.e., H-RNN, TA, S2VT, and LSTM. A total number of 12 evaluators from different education backgrounds are invited and a subset of 1K videos is randomly selected from validation set for the subjective evaluation. The evaluation process is as follows. All the evaluators are organized into two groups. We show the first group all the five sets of temporally localized sentences generated by each approach plus a series of temporally human-annotated sentences and ask them the question: Do the systems produce the set of temporally localized sentences resembling human-generated sentences? In contrast, we show the second group once only one set of temporally localized sentences generated by different approach or human annotations and they are asked: Can you determine whether the given set of sentences has been generated by a system or by a human being? From evaluators’ responses, we calculate two metrics: 1) M1: percentage of sets of captions that are evaluated as better or equal to human captions; 2) M2: percentage of sets of captions that pass the Turing Test. Table 2 lists the result of the user study. Overall, our DVC is clearly the winner for all two criteria. In particular, the percentage achieves 35.1% and 38.7% in terms of M1 and M2, respectively, making the absolute improvement over the best competitor H-RNN by 2.2% and 2.4%.

Performance on ActivityNet Evaluation Server. We also submitted our best run in terms of METEOR score, i.e., DVC, to online ActivityNet evaluation server and evaluated the performance on official testing set. Table 3 shows the performance Leaderboard on official testing set. Please note that here we design two submission runs for our DVC, i.e., DVC (C3D) and DVC (P3D). The input clip features of the two runs are 500-way C3D features and 2048-way output of pool5pool5 layer from P3D ResNet , respectively. Compared to the top performing methods, our proposed DVC (C3D) achieves the best METEOR score. In addition, when leveraging the clip feature from P3D ResNet, our METEOR score on testing set is further boosted up to 12.96%, ranking the first on the Leaderboard.

3 Temporal Event Proposal Task

The second experiment is conducted on temporal event proposal task, which evaluates our TEP module’s capability to adequately localize all events for a given video.

Compared Approaches. We compare our DVC with three state-of-the-art temporal action proposal methods:

(1) Temporal Actionness Grouping (TAG) . TAG utilizes actionness classifier to generate actionness curve, followed by the watershed algorithm to produce basins. The proposals are finally generated by grouping the basins.

(2) Dense-Captioning Events (DCE) . DCE leverages a multi-scale variant of LSTM-based action proposal model in to localize temporal event proposals.

(3) Temporal Unit Regression Network (TURN) . TURN jointly predicts action proposals and refines the temporal boundaries by temporal coordinate regression.

Evaluation Metrics. For temporal action proposal task, we adopt the Area-Under-the-Curve (AUC) score for Average Recall vs. Average Number of Proposals per Video (AR-AN) curve in as the evaluation metric. AR is defined as the mean of all recall values using tIoU thresholds between 0.5 and 0.95 (step size: 0.05), and AN denotes the total number of proposals divided by the number of videos.

Performance Comparison. Figure 4 shows the AR-AN curves of four runs on ActivityNet Captions validation set for temporal event proposal task. Overall, the quantitative results with regard to AUC score indicate that our DVC outperforms other methods. In particular, by leveraging temporal coordinate regression for adjusting temporal boundary of detected proposals, DCE and TURN lead a large performance boost against TAG. Moreover, DVC by additionally incorporating descriptiveness regression into TEP module further improves DCE and TURN. The result indicates the advantage of joint detection and captioning, which refines the event proposal from language perspective.

Effects of Multiple Anchor Layers. In order to show the relationship between performance and the number of anchor layers with different temporal resolutions, we progressively stack anchor layers with decreasing temporal resolutions and compare the performances. The results shown in Table 4 indicate increasing the number of anchor layers with different temporal resolutions can generally lead to performance improvements. Meanwhile, the number of parameters in all adopted anchor layers increases. Thus, we finally adopt conv311conv_{3\sim{11}} as anchor layers as that has a better tradeoff between performance and model complexity.

Conclusions

We have presented a novel deep architecture which unifies the temporal localization of event proposals and sentence generation for dense video captioning. Particularly, we study the problems of how to build the interaction across the two sub challenges (i.e., temporal event proposal and sentence generation) and how to integrate such interaction into a deep learning framework for enhancing dense video captioning. To verify our claim, we have devised a descriptiveness regression component and incorporated it into a single shot detection structure, on one hand to adjust the event proposal from language perspective in TEP module, and on the other, to measure the descriptive complexity of each event in SG module. Experiments conducted on ActivityNet Captions dataset validate our model and analysis. More remarkably, we achieve superior results over state-of-the-art methods when evaluating our framework on both dense video captioning and temporal event proposal tasks.

Acknowledgments. This work was supported in part by NSFC under Grant 61672548, U1611461, and the Guangzhou Science and Technology Program, China, under Grant 201510010165.

References