[关闭]
@ArrowLLL 2017-11-30T13:19:33.000000Z 字数 8321 阅读 2247

Study Note : Pedestrian Behavior Understanding and Prediction with Deep Neural Networks

Study-Note 机器学习 OPTIMAL


原文 : Pedestrian Behavior Understanding and Prediction with Deep Neural Networks


建立了一种Behavior-CNN模型,将一个场景中行人的前一半路径作为输入,输出(预测)其后一半的路径

Pedestrian Behavior Modeling and Prediction Framework

如上图, 其路径信息用一种特殊的编码方式将固定场景内所有人在一段时间内的运动轨迹信息集成到一个 的volume当中,传入Behavior-CNN, 输出预测的volume, 再 decoding出预测的未来的路径信息。

重点有两个,一是路径的编码方式, 如下 :

Pedestrian Walking Behavior Encoding Scheme

  1. 首先提取先前连续的M个时间点路径信息
  2. 得到第i个行人在第m个时间点的空间位置信息

    • 假设 是场景中的N个人
    • 是M个均匀采样的时间点, 是当前时间点
    • 在时间点的归一化的空间位置信息为 ,其中在时间点的空间坐标, 是数据帧的大小。
  3. 对每个行人的空间位置信息处理得到出一个2M维的位移向量

    行人基于时间点在过去的M帧里的位移向量(displcement vector)为:

  4. 将场景内N个人的位移向量集成到一个volume 中。 ,使得转移到 的范围。

第二个重点是Behavior-CNN的investigations :

419956_1_En_16_Fig4_HTML.png-28.6kB

  1. 输入和输出均为displacement volume (a, f)

    输入集成了前半段总共M个时间场景中行人的运动轨迹信息,输出是后半段 的预测轨迹运动信息

  2. 3个底层的卷积层(b)

    conv1 有64个大小为 的filter , 而 conv2 and conv3 各有64个大小为 的filter.

    bottom convolution layers的作用是,提取输入的信息根据行人行为将不同的行人分成多个类。假设训练后的conv1的某一个filter对输入的信息有很高的response,则当前volume中的新人可能会倾向于向场景的左下部分移动,对另外某一个filter有response,则会倾向于向场景的右上方移动

  3. 一个max-pooling层引入对少量平移的不变性, 感受野(receptive field)的范围也会加倍

  4. location bias map用于自动学习场景的布局信息,如障碍等
  5. 3个高层的卷积层,用于编码更加复杂的行人行为

实验比较了Behavior-CNN和一系列其他算法,效果均比其他模型更好。


Contribution

  1. Longterm pedestrian behaviors is modeled with deep CNN. In-depth investigations on the proposed Behavior-CNN is conducted on
    • the learned location map
    • the location awareness property
    • semantic meaning of learned filters
    • the influence of receptive fields on behavior modeling
  2. A pedestrian behavior encoding scheme is proposed to encode pedestrian walking paths into sparse displacement volumes, which can be directly used as input/output for deep networks without association ambiguities.
  3. The effectivencess of Behavior-CNN is demonstrated through applications on path prediction, destination prediction, and tracking.

Pedestrian Behavior Modeling and Prediction

Overall Framework

Pedestrian Behavior Modeling and Prediction Framework

(a). Pedestrian walking paths in previous frames.
(b). Displacement volume encoded from pedestrians' past walking path in (a)
(c). Behavior-CNN
(d). The predicted displacement volume by Behavior-CNN
(e). Predicted future pedestrian walking path decoded form (d)

Pedestrian Walking Behavior Encoding

Pedestrian Walking Behavior Encoding Scheme

(a). Pedestrian walking paths in the previous time points,
(b). Spatial locations of each person at these time piunts, and for

  • let be pedestrians in a scene
  • be uniformly sampled time points to be used as input for behavior encoding, and be the current time point.
  • The normalized spatial location of at time point is denoted as , where are the spatial coordiate of at time , and is the spatial size of the input frame.

(c). Computed -dimensional displacement vector and for pedestrians and .

A 2M-dimensional displacement vector is used to describe pedestrian 's walking path in the past frames with respect to

(d). Encoded displacement volume combined from displacement vectors of all pedestrians in the scene.

The input of CNN is constracted as a 3D displacement volume based on .

For each pedestrian , all the 2M channels of at 's current location are assigned with the displacement vector .

, where represents a all-one vector. All the remaining entries of are set as zeros.

Behavior-CNN

419956_1_En_16_Fig4_HTML.png-28.6kB

(a). An input displacement volume
(f). An output displacement volume

Behavior-CNN takes the displacement volume as input, and predict future displacement volume () as output. are previous time points, and are future time points to predict.

(b). Three bottom convolution layers

conv1 contains 64 filters of size , while both conv2 and conv3 contain64 filters of size

(c). A max-pooling layer and an elementwise addition layer that adds a learnable bias to each location of the feature maps.

The three bottom convolution layers are followed by max pooling layer max-pool with stride 2.

A learnable location bias map of size is channel-wisely added to each of the pooled feature maps. Every location has one independent bias value shared across channels. With the bias map, location information fo the scene can be automatically learned by the proposed Behavior-CNN.

(d). Three top convolution layers.

As for the three top convolution layers, conv4 and conv5 contain 64 filters of size , while conv6 contains 2M* filters of size to output the predicted displacement volume.

(e). A deconvolution layer.

A deconvolution layer is used to upsample the output prediction of conv6 to the same spatial size as the input displacement volume.

Loss Function

the loss function of Behavior-CNN is defined as the averaged squared distance between the predicted displacement volume and the ground truth output displacement volume on all the valid (non-zero) entries of .

  • is the Hadamard product operator
  • is a binary mask. is for the entries where is non-zero, while is 0 for the entires where is zero.
  • counts the total number of non-zeros entries of for normalization.

Trianing Schemes

Two strategies to obtain the training sample of pedestrian walking paths.

  • The annotated pedestrian locations are first used for both model training and evalution to investigate the propeties of learne behavior-CNN.
  • in order to handle real-world scenarios, our model is also trained with keypoint tracking results by the KLT tracker while the human annotations are only used for evaluation.

Due to the high sparsity, we prefer a layer-by-layer training strategy to training all the parameters together.
A simpler network with three convolution layers is first randomly initialized and trained until convergence.
Afterwards, the trained convolution layers are used as the bottom layers of Behavior-CNN.The following layers are then appended and parameters of the newly added layers are trained from random initialization.Lastly, all the layers are jointly fine-tuned.

Stochasic gradient descent is adopted for training and the model converged at around 10k iterations.

Data and Evaluation

Data

Evaluation Metric

Mean squared error(MSE) is adopted as the evaluation metric for the task of pedestrian walking path prediction.

is the normalized location of p_i at time t_{M + m} with respect to the size of the scene.

Investigations on Behavior-CNN

Investigation on location awareness of Behavior-CNN.

With the learned locaiton bias map, our learned model is able to capture the location information and scene layout from the input pedestrian walking paths.

Learned Feature Filters of Behavior-CNN

The three bottom convolution layers conv1-3) takes all the pedestrian behaviors as input and gradually classify them into finer and finer categories according to various criteria. In top layers, the influences of all different categories are combined together to generate the prediction.

Receptive Fields

Pedestrian walking behaviors are significantly influenced by nearby pedestrians. By increasing the size of the receptive field, the sensing range of the network can be increased and the pedictions are more reliable.

Application

Pedestrian Destination Prediction

By encoding the output displacement volume and re-encoding the prediction results, the predicted walking paths can be fed back into Behavior-CNN as input. In this way, long-term walking paths can be recurrently preficted. The long-term prediction results can be used for destination prediction.

Predictions as Tracking Prior

Using KLT tracker as a basline tracking algorithm to be improved.

Given successfully tracked locations(up to the failing time) as input, future location (4s) can be predicted by Behavior-CNN. Then the tracklet that baset matches prediction is selected to be connected with the fragmented tracklet.

拓展阅读

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注