Efficient Video Understanding via Layered Multi Frame-Rate Analysis

11/24/2018 ∙ by Ziyao Tang, et al. ∙ 0

One of the greatest challenges in the design of a real-time perception system for autonomous driving vehicles and drones is the conflicting requirement of safety (high prediction accuracy) and efficiency. Traditional approaches use a single frame rate for the entire system. Motivated by the observation that the lack of robustness against environmental factors is the major weakness of compact ConvNet architectures, we propose a dual frame-rate system that brings in the best of both worlds: A modulator stream that executes an expensive models robust to environmental factors at a low frame rate to extract slowly changing features describing the environment, and a prediction stream that executes a light-weight model at real-time to extract transient signals that describes particularities of the current frame. The advantage of our design is validated by our extensive empirical study, showing that our solution leads to consistent improvements using a variety of backbone architecture choice and input resolutions. These findings suggest multiple frame-rate systems as a promising direction in designing efficient perception for autonomous agents.

READ FULL TEXT VIEW PDF
POST COMMENT

Comments

There are no comments yet.

Authors

page 2

This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.

1 Introduction

Models based on deep convolutional neural networks (ConvNets) have become the de facto standards in a wide variety of computer vision tasks, such as image classification

[38, 39, 13, 40], object detection [36, 12, 22], semantic segmentation [26, 50, 7] and instance segmentation [6, 24, 25]. While deep ConvNets have shown excellent performance and in many cases greatly simplified the learning framework, modern neural networks require expensive computations and are resource intensive. The most successful ConvNet architectures for vision applications, such as VGG [39], ResNet [13] and DenseNet [17] introduce high latency and high energy consumption at run time. This has been an obstacle for their adoption in low-latency and low-energy applications with embedded hardware.

There has been a growing interest in designing compact architectures, for example through architecture search [53, 30, 35, 54, 52, 23], network compression [14, 5, 33] and manual architecture design [15, 48, 37]. The prior works, however, by focusing on single-frame tasks, have not utilized the rich correlation between frames often present in the sequence of frames of given stream in most practical applications. Spatially adaptive processing [29, 10] and dynamic layer dropping [45, 44, 42] have been proposed to determine sample-dependent computational architecture on-the-fly. Such a design usually leads to significant reduction of the average computations required to achieve the same accuracy level. However, a dynamic architecture inevitably introduces extra overhead in the architecture expansion process. The resultant algorithms can be practically less efficient in modern accelerators since the architecture cannot benefit from parallel processing as easily.

In video object detection, temporal consistency of labels have been used to improve accuracy while reducing complexity [1]. However, training of such a system requires consecutive dense labels of frames, which is time consuming and tedious to collect. The resultant model is also arguably more sensitive to labeling errors. At test time, its performance could be affected by common failures of the hardware and software systems in embedded/mobile applications, such as frame dropping and unstable frame rate.

In this work, we propose an alternative framework to complement the existing methods. In video-based applications, much of the intra-class variations can be attributable to changes in persistent environmental factors, such as lighting conditions, scenes, weather or just the general “style” of a particular geographical destination. This is similar to the so-called “domain-shift” [11, 27, 2, 32, 31, 49, 8]

in domain adaptation literature, but in our case the domain-shift is temporal. A real-time compact ConvNet architecture is not robust to such domain-shifts as it does not have the same level of feature extraction redundancies in expensive architectures. However, deploying a large model at fast frame-rate is difficult and resource intensive. Our main observation is that the persistent factors that cause the temporal domain-shifts change slowly: In many applications a set of consecutive frames at the number of thousands (only roughly 30 seconds at 30 FPS) could look more or less the same, save for some small details. This suggests the following two-stream solution: The upper stream processes information at a slower frame rate using an expensive model to extract features that describes the environment. The extracted features is then used to modulate a real-time lower stream to make it more robust. Our main finding in this paper is that such a design can yield consistent gains over baselines at only negligible increase in complexity.

The contributions of this work are as follows.

  • We propose a novel two-stream architecture for fast video understanding. This system demonstrates consistent improvement in accuracy with negligible increase in complexity.

  • We perform extensive empirical studies on semantic segmentation tasks, showing that the proposed system is robust to different input resolutions and the choice of neural network architectures.

  • Through ablation studies, we confirm that the improvements result from correctly modeling the environment. It cannot be attributable to trivially increasing parameters or complexity in the models.

  • We analyze the effects of incorrect prediction of the environment and propose a simple heuristic that detects such failure cases. This leads to a simple rejection sampling strategy which further improves the robustness of our solution.

The rest of the paper is organized as follows. Section 2 summarizes the related works. We then introduces our methods in Section 3. Our experiments and ablation studies are presented in Section 4. Section 5 concludes our paper and points to future directions.

2 Related Work

Fast Neural Networks Architecture search [53, 30, 35, 54, 52, 23], network compression [14, 5, 33] and novel manual design [15, 48, 37] are popular methods in designing fast neural network architectures. These methods can find efficient architectures, but by focusing on single-frames they cannot utilize the strong correlation between nearby frames which are usually present in video understanding applications. Spatially adaptive processing [29, 10] and dynamic layer dropping [45, 44, 42] achieves efficient execution through conditional execution on part of the model or image, but these methods introduce additional overheads in decision makings and are less efficient in practice. Our solution is a simpler static architecture. Our method is also related to [1]. Similar to our method, they utilize the correlation between frames to achieve efficient processing. However, they focus on modeling the temporal consistency of labels. Our method focuses on separating environment modeling and per-frame modeling in a dual frame-rate system.

Domain Adaptation and Network Modulation Domain adaptation aims at improving generalization of models across different domains [11, 27, 28, 41, 2, 32, 31, 51, 49, 8, 46]

. “Environment factors” we model in this work can be seen as a particular way to partition images into different domains. However, our work does not aim at improving generalization per se. Instead, it acknowledges that a light-weight model is unlikely to generalize well for all domains. To battle domain-shifts, an expensive model extracts robust features to augment the light-weight model through modulation. Our modulation algorithm is similar to Conditional Batch Normalization (CBN)

[9, 18, 34], which has shown to be effective in controlling domain distributions, in applications such as style transfer and question answering. In our case, CBN is used to influence the feature distribution of the prediction network. A similar modulation pipeline is introduced in [47]. Similar to ours, this work modulates the feature extraction process at the current frame using features from a different frame. However, their approach is designed for one-shot learning. Our method addresses a different problem.

Attention Mechanisms Self-attention mechanisms [43, 16] leads to better generalization by learning automatic recalibration of features. Our method similarly calibrates the features of the light-weight network to improve its generalization. Unlike a self-attention mechanism, the features used to perform calibration in our case are not from the current image or model. They are extracted from a nearby frame using a different model.

Semantic Segmentation Our method is evaluated in a semantic segmentation task using the classical FCN decoder [26] as our baseline. Our contribution is complementary to state-of-the-art methods in segmentation, such as [26, 50, 7]. We expect to see similar accuracy gains from using our method on top of the latest segmentation models.

3 Methods

In this section we introduce our proposed system: A light-weight per-frame prediction model guided by a heavy-lifting domain calibration modulator (DCM). The per-frame prediction model is deployed at high frame-rate to catch all the subtle changes in each frame. It is trained to output the predicted labels (e.g. classification, detection or semantic segmentation etc.). The heavy-lifting domain calibration modulator (DCM) is deployed at a much lower frame-rate to reduce latency and power consumption, but it predicts reliable features which are fed into the prediction model through a “modulation” mechanism to improve task prediction robustness. Interestingly, this proposed framework consistently improve the test accuracy while adding only negligible amount of complexity per frame. We will present our empirical findings in the next section. The current section presents the basic structures of our framework.

3.1 Two-Stream Architecture

The goal of the proposed framework is to learn a function so as to minimize , where are pairs of images and the associated task labels. The data consists of a number of domains . Images within the same domain are visually similar but could have very different labels.

In applications that use streaming inputs, short-term contiguous sequence of frames naturally falls into the same “domain”. In view of this structure, to reduce complexity while improving prediction accuracy we decouple the predictor into two components: A domain calibration modulator (DCM) and a prediction model. Figure 1 illustrates the framework using semantic segmentation task as an example. The DCM model extracts features shared across images in the same domain using an arbitrary sample from the domain. It then uses this feature to predict a set of calibration parameters . The prediction model extracts fine-grained features from each frame. In the interest of fast processing, the prediction model is compact and as a result its features are less robust. This is compensated by a modulation mechanism which applies the calibration parameters to the prediction model. This process “calibrates” the inaccurate features extracted from the prediction model and turn them into robust features for the current domain.

Figure 2: Proposed modulator design in networks without BN layers (left) and with BN layers (right).

3.2 Domain Calibration Modulator

There are two important choices in the design of a DCM architecture, namely how are calibration features extracted and how can it be used to modulate the prediction network.

How are features extracted? The intermediate and output features extracted by a ConvNet architecture are multi-scale and dense. However, in DCM the features are out-of-sync with the current frame. Spatial details extracted should be suppressed or modulation based on it will be noisy and confusing since it is describing the incorrect contents. For this reason, we propose to use global average pooling from the last convolution layer to perform calibration feature extraction. The features extracted in this way are global descriptors, making them more suitable and stable for describing the environmental information.

How to modulate the prediction network using calibration features? The main consideration in this design choice is the trade-off between complexity and accuracy. If the modulation function is introducing large extra complexity, it will defeat the purpose of our design. We propose a modulation mechanism based on channel-wise scaling. This mechanism is orders of magnitude lighter than a convolution operator, yet it is shown to be very effective in other related controlling and re-calibrating the distribution of features [16, 9, 18, 34, 47]

. With this mechanism, our method attenuates or amplifies the contribution of feature channels based on the decoding of the environment by the DCM network. The DCM in effect adaptively selects the most useful features from the prediction network for the current domain. In our design, the modulation scalings are produced by a simple linear transformation of the extracted calibration features (from global average pooling).

The final design can be described in simple formulas. As shown in Figure 1, the proposed method first extracts features from a sample frame, then predict per-channel scales through a linear transformation

(1)

The per-channel scales are applied to the prediction network through element-wise modulation with a few selected intermediate layers. For prediction networks without Batch Normalization, the modulation mechanism is applied after every convolution layer. It can be written as

(2)

For prediction networks with Batch Normalization (BN), these BN layers are replaced by

(3)

where is the original scale factor of the BN layer. In this case, the predicted scale is the residual of the modified BN scale factor. Using a residual scale is particularly useful when a pretrained model is used, as this avoid destructing the original BN parameters. The differences in design with and without BN are summarized in Figure 2.

Figure 3: The sampling of training batches.

3.3 Model Training and Loss Functions

Training of our system requires image pairs from the same domains. In the applications we consider, the datasets are separated into video clips, each containing frames taken at similar time and locations. In both the training and testing procedures, these groups are considered “domains”. This partition of data does not guarantee that all similar image pairs are classified into the same domain. But it suffices in providing image pairs that are likely to be visually similar. Based on this domain partition, our training procedure is essentially a two-step sampling process. It fills a training mini-batch in the following fashion (also see Figure

3):

  1. Sample a set of images from the entire datasets. These images are used as input to the DCM. Their domain ids (video clip names) are recorded.

  2. Group sampled images in step 1 according to domain ids. Re-shuffle samples within each group. The images are used as input to the prediction network using this new ordering.

The system can be trained end-to-end via a loss function that penalizes incorrect predictions at the output head of the prediction network. The DCM model is trained jointly with the prediction network as our proposed modulation mechanism is differentiable.

Features extracted for calibration should intuitively be similar if they are from two images in the same domain. To regularize the calibration features, in our framework, if there are video clips, we train a -way domain classifier using a simple linear layer from calibration features (shown as in Figure 1). The video clip id is the domain label in this case. The entropy loss serves to regularize the calibration features. In addition, the entropy of the domain classifier prediction can also indicate the quality of the extracted domain features. This results in a more robust testing procedure for unexpected changes in the environment. Details of our testing procedure can be found in Section 3.4.

We denote the per-frame prediction network as , and the domain label as . The total loss for our framework is the sum of the task loss and the domain loss presented. The total loss function is

(4)

3.4 Model Inference

A practical application of such a system is to use the first few frames at any operating sessions to extract “calibration” features using the DCM model. Assuming a slowly changing environment, the extracted calibration features are then re-used by the prediction model until the end of the particular deployment session. However, by the design of our training procedure as described in Section 3.3, our system should work equally well with out-of-order stream of inputs. It does not rely on the particular ordering of frames as long the inputs to the DCM and the prediction network are in the same domain. To confirm this conjecture, in our experiments we evaluate our system in both cases: (1) Feeding the DCM model with randomly selected inputs from the same domain (2) Feed the DCM model with the first few frames within the video clip. In both cases, our system demonstrates similarly strong improvements over the baselines methods.

An interesting observation from our empirical study is that if the domain prediction has high entropy, it strongly indicates a reduction in final test accuracy using this particular image for calibration. This could be caused by model failure, changes in environmental factors or a frame being not representational for a particular domain. In view of this, we propose a robust version of our naive testing procedure. In this alternative entropy-based testing, we perform a rejection sampling. If an incoming candidate input to DCM results in high entropy in domain prediction, we disqualify this candidate and sample another example. Our testing procedure can further improve average and worst-case performance of our system while using only 1-2 additional samples for the DCM, which is only a small increase in complexity.

Complexity at Inference We conclude this section with details in the computation of complexity of our testing procedure. Assuming that the DCM needs to process images before extracting the final calibration features and a particular operation session (video clip) with frames. Denote the computational cost per frame as for the prediction network and for the DCM. The average computational cost per frame () is given by

(5)

In practical applications, in Equation 5. In such cases, our framework does not bring in much increase in average complexity. In our experiment sections, the complexity metrics reported are numbers of multiply-adds.

4 Experiments

To validate our design and test its applicability in real-world scenarios, we evaluate our framework on CamVid [3, 4] dataset. We test the robustness of our approach under a variety of combinations of popular ConvNet architectures. In all test cases we observe a consistent accuracy gain with negligible increase in complexity against baseline methods. This suggests our method can be applied in a wide variety of settings. Through extensive ablation studies, we conclude that the gain from our approach is not a trivial result of naively adding parameters. Nor does it result from learning the dataset average. Our analysis also shows that the proposed rejection sampling using entropy further improves the robustness of the system.

In the remainder of this section we will first discuss the choice of the dataset and data preprocessing details. We then discuss the details of our training and testing procedures and the exact modulation mechanisms used for different architectures and problem setups. It is followed by our main results on a variety of architectures, comparing our results against baselines available in the literature and our own replications. This section is concluded with ablation studies that sheds lights on how our system improves the performance and its most salient failure modes.

4.1 Dataset and Preprocessing

CamVid [3, 4] is a segmentation dataset with 11 ground truth classes including sky, building, pole, road, pavement, tree, sign-symbol, fence, car, pedestrian, bicyclist. The images are all taken at street-level. It consists of four video sequences taken in different locations and times. We use the same training, testing and validation split as in [20]. We use the training split for training and the testing split for evaluation.

This dataset is ideally suited for evaluating our method: (1) It is separated into a few videos, ideally simulating the scenario in which environmental factors are persistent within each video clip. (2) It has full annotations of every frames of the videos, making it suitable for performing extensive ablation studies of our proposed framework. While there are other large-scale datasets in similar applications, their configurations are not suitable for testing our particular framework. However, conclusions drawn from CamVid should still be informative for future works on large-scale evaluations.

Baseline methods [20, 19] processes images at and . In our evaluations both settings are tested. In training time, we apply random crops of for images, and for images, respectively. Random horizontal flip is used as in standard practices. Inputs to DCM are scaled to .

Figure 4: The modified convolution layer from AlexNet (left) and modified inverted residual unit from MobileNet V2 (right).
Backbone Img. Size Pretrained mIOU() Eval Img. Mult-Adds / Frame
AlexNet(baseline)
AlexNet+DCM(Ours)
AlexNet+DCM+Entropy(Ours)
AlexNet(baseline)
AlexNet+DCM(Ours)
AlexNet+DCM+Entropy(Ours)
AlexNet(baseline) [20]
AlexNet(baseline, Ours)
AlexNet+DCM(Ours)
AlexNet+DCM+Entropy(Ours)
AlexNet(baseline) [20]
AlexNet(baseline, Ours)
AlexNet+DCM(Ours)
AlexNet+DCM+Entropy(Ours)
Table 1: Result for AlexNet-FCN32s experiment. Eval Img. denotes to average number of images the DCM processed.
Backbone Img. Size Pretrained mIOU() Eval Img. Mult-Adds / Frame
MobileNet-1.0(baseline)
MobileNet-1.0+DCM(Ours)
MobileNet-1.0+DCM+Entropy(Ours)
MobileNet-0.75(baseline)
MobileNet-0.75+DCM(Ours)
MobileNet-0.75+DCM+Entropy(Ours)
MobileNet-0.5(baseline)
MobileNet-0.5+DCM(Ours)
MobileNet-0.5+DCM+Entropy(Ours)
MobileNet-0.35(baseline)
MobileNet-0.35+DCM(Ours)
MobileNet-0.35+DCM+Entropy(Ours)
Table 2: Result for MobileNet-FCN32s experiment. Eval Img. denotes to average number of images the DCM processed.

4.2 Network Architectures

In experiments on CamVid, the DCM backbones are either ResNet50 [13] or MobileNet V2-1.0 [37]. We perform global average pooling at the top convolution layer to extract calibration features, in a manner described in Section 3.2 and Figure 1.

The prediction networks use fully convolution networks (FCNs) [26] decoders. The decoders follow the FCN32s configuration. To test performance of compact networks, the backbone architectures are AlexNet [38] and MobileNet V2 with different width factor. For AlexNet backbones, channel-wise modulation is applied after every convolution layers. For MobileNet V2 backbones, by default DCN modulates every BN layers in the inverted residual blocks. However, for MobileNet V2-1.0 we omit modulation for the last convolution layer in each inverted residual block. Figure 4 summarizes the modifications.

4.3 Training and Testing Procedures

Training Procedure and Hyperparameters

We train all models with a batch size of on Nvidia GTX 1080Ti GPUs. We use Adam optimizer [21] with weight decay of . Unless specified otherwise, we train for epochs. When the DCM model uses ResNet50 backbones, we use a step-wise learning rate schedule with initial learning rate of and reduces it to at epoch . When the DCM model uses MobileNet v2-1.0 backbone, the initial learning rate is with reduction to . The training mini-batches are sampled according to the procedure described in Section 3.3.

The scale prediction layer of the DCM () is a fully connected layer initialized with all-zero weights and the bias is set to . This ensure that the initial output of the DCM is always . In MobileNet based prediction networks, if a pretrained model is used, the scaling factor in the BN layers are subtracted by at initialization. This modification ensures the BN layers are not changed initially. We find it important to fix the scaling factor term in BN layer during training or the DCM could learn trivial solutions.

Testing Procedure As discussed in Section 3.4, we use random as well as the first few images from the same video clip as input to the DCM model. For random sampling the procedure we report both the mean and the std of the mIOU from 20 repetitions. When rejection sampling with entropy is used, the number of DCM evaluations is dynamic. In those cases, we also report the average number of evaluations and computational complexity (in number of Multiply-Adds). Although both testing procedures are evaluated, we report the result from random shuffling by default as it results in a larger test set, making the accuracy numbers more robust. However, our ablation study shows that as expected, there is no significant difference in the two testing procedures.

4.4 Comparison with Baselines

AlexNet FCN32s AlexNet is used to build baseline methods on CamVid segmentation [20]

. In this set of experiments, we use a DCM model based on ResNet-50 backbones. The prediction network is AlexNet FCN32s. The DCM model is always initialized from weights pretrained on ImageNet. For our experiments using the entropy trick, the threshold for rejecting a DCM input is set to

.

Table 1 summarizes our results. We carefully compare against best available baseline results reported in the literature. For pretrained AlexNet FCN32s model on images, our baseline is comparable to the reported number in [20]. When training from scratch, our baseline is better than their reported number in the corresponding setting. The proposed method outperforms the baselines by 2-3% with negligible increase in average complexity in all settings. Large gains are observed for both small picture input as well as large picture input. Although we use ImageNet pretrained models in DCM, we observe that the gain is similar regardless of the initialization method used in the AlexNet backbone. This suggests that the gains are not the result of feature transfer from ImageNet.

In this experimental setting, the quality of calibration features extracted by DCM is high. As long as the DCM input is from the correct domain, the modulation process almost always leads to improvements in testing accuracy. For this reason, the entropy trick for DCM input selection is not effective in improving the testing accuracy. This is in contrast in our findings from using MobileNet V2 backbones, in which case the entropy brings in significant gains.

MobileNet FCN32s To further evaluate our method in mobile applications, we experiment with models using MobileNet V2 [37] as backbones. MobileNet V2 is a recently proposed light-weight architecture designed for mobile applications. It significantly reduces model complexity by adoption of depth-wise convolution and inverted residual units. In our experiments, we use a MobileNet V2-1.0 model as the backbone network of DCM. The prediction networks at FCN32s models using MobileNet V2 models with different width factors. The DCM model is initialized using weights pretrained on CamVid, while the prediction network model uses weights pretrained on ImageNet.

Table 2 compares our algorithm against baselines. Notably, MobileNet V2 baseline models out-performs AlexNet models despite its much smaller complexity. Our approach further improves the mIOU by 1-2% with insignificant increase in complexity. The gain seems to increase when the backbone network has smaller width. In particular, the gain using are 1.0%, 1.4%, 2.5% and 1.2% respectively. Intuitively, as the prediction model becomes smaller, it should be more difficult for the model to generalize to different domains, thus the benefit from using the DCM model is larger. Our result suggests that this is the general trend. However, when the model is too small (in the case of MobileNet V2-0.35), the benefit starts to diminish. The authors conjectures that when the prediction network is too small, our channel-wise feature modulation mechanism is not powerful enough to significantly improve the feature quality.

Another interesting observation for is that in experiments using MobileNet V2 backbones, the standard deviations in the prediction accuracy is larger than those in AlexNet. In particular, the standard deviation in prediction accuracy reaches

for the model based on MobileNet V2-0.35. This is likely caused by the fact that MobileNet V2-0.35 is a smaller architecture. Thus, an incorrect modulation signal from DCM could have a greater impact to its prediction accuracy. When sub-optimal DCM inputs are used, modulating the prediction networks leads to accuracy numbers that are below the baselines. In this context, we find that high entropy of the domain classifier ( in Figure 1) can reliably indicate a non-ideal input to DCM. We test the rejection sampling procedure using an entropy threshold of . This improves accuracy in all settings, but the gain for MobileNet V2-0.35 is a particularly large at . It also leads to a more predictable algorithm at test time as can be concluded from the largely reduced standard deviation in mIOU numbers.

4.5 Ablation Studies

To further understand the proposed method, we use ablation studies to answer the following questions.

Backbone Img. Size Pretrained Eval Img. mIOU()
AlexNet
AlexNet
AlexNet
AlexNet
MobileV2-1.0
MobileV2-0.75
MobileV2-0.5
MobileV2-0.35
Table 3: Use starting frames in a video instead of randomly selected images for DCM input. The numbers enclosed in parenthesis show the relative change in numbers against the random selection counterparts. Eval Img. denotes to number of images the DCM processed.
Backbone Img. Size Pretrained mIOU()
AlexNet
AlexNet
AlexNet
AlexNet
MobileV2-1.0
MobileV2-0.75
MobileV2-0.5
MobileV2-0.35
Table 4: Effects of inputs with wrong domains. denotes to the difference between ablation study result and our method with using backbone Network+DCM+entropy.

Can DCM leads to performance gain if the input are the first few frames? To answer this question, we compare the two types of inputs (first frames versus random frames). Table 3 summarizes the comparison. It is clear that the choice of input type does not result in significantly different accuracy or complexity.

What happens if the DCM input is from the wrong domain? This is an interesting sanity check: If wrong inputs to the DCM does not lead to significant reduction in accuracy, then DCM might be learning producing trivial modulation signals. From Table 4, using input images with wrong domain ids results in up to 10% drop in mIOU, dispriving this possibility.

What happens if we add additional scaling parameters on AlexNet? Since AlexNet does not have BN layers, our modulation mechanism effectively adds new parameters to the network. To rule out a trivial gain resultant from added parameters, we perform a comparison. As can be seen in Table 5, adding parameters alone does not improve accuracy significantly.

What happens if there is domain mismatches in training? It is reasonable to suspect that the system is simply benefiting from added parameters from the DCM model (although the inputs are out-of-sync to the current frame). To rule out this trivial case, we purposely create mismatches in domain ids between the input to DCM and the prediction network. Our experiment summarized in 6 shows that our method significantly outperforms models trained with domain mismatches, disproving another trivial case.

The answer to the last three questions strongly suggests that our method is indeed using the domain information in a non-trivial manner. Based on these results, we conclude that: (1) Gains from our approach are not a trivial result of naively adding parameters. (2) Nor does it result from learning the degenerate solutions such as dataset means.

Backbone Img. Size Pretrained mIOU()
AlexNet+param
AlexNet+param
AlexNet+param
AlexNet+param
Table 5: Adding channel-wise multiplication parameters in the AlexNet. denotes to the difference between ablation study result and our method with AlexNet+DCM+entropy.
Backbone Img. Size Pretrained mIOU()
AlexNet
AlexNet
MobileV2-1.0
MobileV2-0.75
MobileV2-0.5
MobileV2-0.35
Table 6: Effect of domain mismatches in DCM training. denotes to the difference between ablation study result and our method with using backbone Network+DCM+entropy.

5 Conclusion and Future Directions

In this work, we propose and empirically investigate a novel dual frame-rate architecture for efficient video understanding. This strategy has demonstrated consistent gains over baselines, over a wide variety of settings. Through ablation studies, we show that the success is due to accurate modeling of the environment. We also propose practical solutions to improve the robustness of our algorithm when the environmental modeling is inaccurate.

The current work is limited by the size of the dataset used for evaluation. An important future work is to curate a large-scale dataset to evaluate similar design principles. It is also interesting to test its applicability to a wider variety of applications. In this work we use semantic segmentation on video clips as an example application. The authors expect the same strategy would lead to improvements in related applications such as object detection and instance level segmentation, as the problem structures and constraints are similar. Another interesting direction is to find the “optimal” modulation strategy and a potential generalization of the two-stream design. In fact, temporally visual signals usually exhibits multi-scale structures, just as they do spatially. It would be interesting to go beyond the hand-crafted dual frame-rate design to a truly adaptive multi frame-rate system.

References

  • [1] G. Bertasius, L. Torresani, and J. Shi. Object detection in video with spatiotemporal sampling networks. In The European Conference on Computer Vision (ECCV), September 2018.
  • [2] K. Bousmalis, N. Silberman, D. Dohan, D. Erhan, and D. Krishnan. Unsupervised pixel-level domain adaptation with generative adversarial networks. In CVPR, 2017.
  • [3] G. J. Brostow, J. Fauqueur, and R. Cipolla. Semantic object classes in video: A high-definition ground truth database. Pattern Recognition Letters, 2008.
  • [4] G. J. Brostow, J. Shotton, J. Fauqueur, and R. Cipolla. Segmentation and recognition using structure from motion point clouds. In ECCV, pages 44–57, 2008.
  • [5] C. Chen, F. Tung, N. Vedula, and G. Mori. Constraint-aware deep neural network compression. In The European Conference on Computer Vision (ECCV), September 2018.
  • [6] L. C. Chen, A. Hermans, G. Papandreou, F. Schroff, P. Wang, and H. Adam. Masklab: Instance segmentation by refining object detection with semantic and direction features. In CVPR, 2018.
  • [7] L. C. Chen, Y. Zhu, G. Papandreou, F. Schroff, and H. Adam. Encoder-decoder with atrous separable convolution for semantic image segmentation. arXiv preprint arXiv:1802.02611, 2018.
  • [8] Y. Chen, W. Li, C. Sakaridis, D. Dai, and L. V. Gool. Domain adaptive faster r-cnn for object detection in the wild. In CVPR, 2018.
  • [9] H. de Vries, F. Strub, J. Mary, H. Larochelle, O.Pietquin, and A. C. Courville. Modulating early visual processing by language. In NIPS, 2017.
  • [10] M. Figurnov, M. D. Collins, Y. Zhu, L. Zhang, J. Huang, D. Vetrov, and R. Salakhutdinov. Spatially adaptive computation time for residual networks. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), July 2017.
  • [11] Y. Ganin and V. Lempitsky.

    Unsupervised domain adaptation by backpropagation.

    In ICML, 2015.
  • [12] K. He, G. Gkioxari, P. Dollar, and R. Girshick. Mask r-cnn. In ICCV, 2017.
  • [13] K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In CVPR, 2016.
  • [14] Y. He, J. Lin, Z. Liu, H. Wang, L.-J. Li, and S. Han. Amc: Automl for model compression and acceleration on mobile devices. In The European Conference on Computer Vision (ECCV), September 2018.
  • [15] A. G. Howard, M. Zhu, B. Chen, D. Kalenichenko, W. Wang, T. Weyand, M. Andreetto, and H. Adam. Mobilenets: Efficient convolutional neural networks for mobile vision applications. CoRR, abs/1704.04861, 2017.
  • [16] J. Hu, L. Shen, and G. Sun. Squeeze-and-excitation networks. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2018.
  • [17] G. Huang, Z. Liu, and K. Q. Weinberger. Densely connected convolutional networks. In CVPR, 2017.
  • [18] X. Huang and S. J. Belongie. Arbitrary style transfer in real-time with adaptive instance normalization. In ICCV, 2017.
  • [19] S. Jegou, M. Drozdzal, D. Vazquez, A. Romero, and Y. Bengio. The one hundred layers tiramisu: Fully convolutional densenets for semantic segmentation. arXiv preprint arXiv:1611.09326, 2016.
  • [20] H. Jiang, G. Larsson, M. Maire, G. Shakhnarovich, and E. Learned-Miller.

    Self-supervised relative depth learning for urban scene understanding.

    In ECCV, 2018.
  • [21] D. Kingma and J. Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations (ICLR), 2015.
  • [22] T. Lin, P. Dollar, R. Girshick, K. He, B. Hariharan, and S. Belongie. Feature pyramid networks for object detection. In CVPR, 2017.
  • [23] C. Liu, B. Zoph, M. Neumann, J. Shlens, W. Hua, L.-J. Li, L. Fei-Fei, A. Yuille, J. Huang, and K. Murphy. Progressive neural architecture search. In The European Conference on Computer Vision (ECCV), September 2018.
  • [24] S. Liu, J. Jia, S. Fidler, and R. Urtasun. Sgn: Sequential grouping networks for instance segmentation. In ICCV, 2017.
  • [25] S. Liu, L. Qi, H. Qin, J. Shi, and J. Jia. Path aggregation network for instance segmentation,. In CVPR, 2018.
  • [26] J. Long, E. Shelhamer, and T. Darrell. Fully convolutional networks for semantic segmentation. In CVPR, 2015.
  • [27] M. Long, Y. Cao, J. Wang, and M. I. Jordan. Learning transferable features with deep adaptation networks. In ICML, 2015.
  • [28] M. Long, H. Zhu, J. Wang, and M. I. Jordan. Unsupervised domain adaptation with residual transfer networks. In NIPS, 2016.
  • [29] Y. Lu, T. Javidi, and S. Lazebnik. Adaptive object detection using adjacency and zoom prediction. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 2351–2359, 2016.
  • [30] Y. Lu, A. Kumar, S. Zhai, Y. Cheng, T. Javidi, and R. S. Feris. Fully-adaptive feature sharing in multi-task networks with applications in person attribute classification. 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 1131–1140, 2017.
  • [31] M. Mancini, L. Porzi, S. R. Bulò, B. Caputo, and E. Ricci. Boosting domain adaptation by discovering latent domains. In CVPR, 2018.
  • [32] S. Motiian, M. Piccirilli, D. A. Adjeroh, and G. Doretto. Unified deep supervised domain adaptation and generalization. In ICCV, 2017.
  • [33] B. Peng, W. Tan, Z. Li, S. Zhang, D. Xie, and S. Pu. Extreme network compression via filter group approximation. In The European Conference on Computer Vision (ECCV), September 2018.
  • [34] E. Perez, F. Strub, H. Vries, V. Dumoulin, and A. C. Courville. Film: Visual reasoning with a general conditioning layer. In AAAI, 2018.
  • [35] H. Pham, M. Y. Guan, B. Zoph, Q. V. Le, and J. Dean. Efficient neural architecture search via parameter sharing. In ICML, 2018.
  • [36] S. Ren, K. He, R. Girshick, and J. Sun. Faster r-cnn: Towards real-time object detection with region proposal networks. In NIPS, 2015.
  • [37] M. Sandler, A. Howard, M. Zhu, A. Zhmoginov, and L. C. Chen. Mobilenetv2: Inverted residuals and linear bottlenecks. arXiv preprint arXiv:1801.04381, 2018.
  • [38] K. Simonyan and A. Zisserman. Imagenet classification with deep convolutional neural networks. In NIPS, 2012.
  • [39] K. Simonyan and A. Zisserman. Very deep convolutional networks for large-scale image recognition. In ICLR, 2015.
  • [40] C. Szegedy, S. Ioffe, and V. Vanhoucke. Inception-v4, inception-resnet and the impact of residual connections on learning. arXiv preprint arXiv:1602.07261, 2016.
  • [41] E. Tzeng, J. Hoffman, K. Saenko, and T. Darrell. Adversarial discriminative domain adaptation. In CVPR, 2017.
  • [42] A. Veit and S. J. Belongie. Convolutional networks with adaptive computation graphs. CoRR, abs/1711.11503, 2017.
  • [43] F. Wang, M. Jiang, C. Qian, S. Yang, C. Li, H. Zhang, X. Wang, and X. Tang. Residual attention network for image classification. 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 6450–6458, 2017.
  • [44] X. Wang, F. Yu, Z.-Y. Dou, and J. Gonzalez. Skipnet: Learning dynamic routing in convolutional networks. CoRR, abs/1711.09485, 2017.
  • [45] Z. Wu, T. Nagarajan, A. Kumar, S. Rennie, L. S. Davis, K. Grauman, and R. Feris. Blockdrop: Dynamic inference paths in residual networks. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2018.
  • [46] M. Wulfmeier, A. Bewley, and I. Posner. Incremental adversarial domain adaptation for continually changing environments. In ICRA, 2018.
  • [47] L. Yang, Y. Wang, X. Xiong, J. Yang, and A. K. Katsaggelos. Efficient video object segmentation via network modulation. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2018.
  • [48] X. Zhang, X. Zhou, M. Lin, and J. Sun. Shufflenet: An extremely efficient convolutional neural network for mobile devices. CoRR, abs/1707.01083, 2017.
  • [49] Y. Zhang, P. David, and B. Gong. Curriculum domain adaptation for semantic segmentation of urban scenes. In ICCV, 2017.
  • [50] H. Zhao, J. Shi, X. Qi, X. Wang, and J. Jia. Pyramid scene parsing network. In CVPR, 2017.
  • [51] H. Zhao, S. Zhang, G. Wu, J. Moura, J. P. Costeira, and G. J. Gordon. Adversarial multiple source domain adaptation. In NIPS, 2018.
  • [52] Z. Zhong, J. Yan, W. Wu, J. Shao, and C.-L. Liu. Practical block-wise neural network architecture generation. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2018.
  • [53] B. Zoph and Q. V. Le. Neural architecture search with reinforcement learning. CoRR, abs/1611.01578, 2016.
  • [54] B. Zoph, V. Vasudevan, J. Shlens, and Q. V. Le. Learning transferable architectures for scalable image recognition. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2018.