A Deep Bi-directional Attention Network for Human Motion Recovery
Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence. Main track. Pages 701-707.
https://doi.org/10.24963/ijcai.2019/99
Keywords
- Computer Vision: 2D and 3D Computer Vision
- Machine Learning: Deep Learning
- Computer Vision: Motion and Tracking
- Humans and AI: Human-Computer Interaction
- Computer Vision: Computer Vision
Abstract
Human motion capture (mocap) data, recording the movement of markers attached to specific joints, has gradually become the most popular solution of animation production. However, the raw motion data are often corrupted due to joint occlusion, marker shedding and the lack of equipment precision, which severely limits the performance in real-world applications. Since human motion is essentially a sequential data, the latest methods resort to variants of long short-time memory network (LSTM) to solve related problems, but most of them tend to obtain visually unreasonable results. This is mainly because these methods hardly capture long-term dependencies and cannot explicitly utilize relevant context, especially in long sequences. To address these issues, we propose a deep bi-directional attention network (BAN) which can not only capture the long-term dependencies but also adaptively extract relevant information at each time step. Moreover, the proposed model, embedded attention mechanism in the bi-directional LSTM (BLSTM) structure at the encoding and decoding stages, can decide where to borrow information and use it to recover corrupted frame effectively. Extensive experiments on CMU database demonstrate that the proposed model consistently outperforms other state-of-the-art methods in terms of recovery accuracy and visualization.
- [Bahdanau et al., 2014] Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine transla- tion by jointly learning to align and translate. CoRR, abs/1409.0473, 2014.
- [Bütepage et al., 2017] Judith Bütepage, Michael J. Black, Danica Kragic, and Hedvig Kjellström. Deep represen- tation learning for human motion prediction and classifi- cation. 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 1591-1599, 2017.
- [Cui et al., 2019] Qiongjie Cui, Beijia Chen, and Huaijiang Sun. Nonlocal low-rank regularization for human motion recovery based on similarity analysis. Information Sci- ences, 2019.
- [Fragkiadaki et al., 2015] Katerina Fragkiadaki, Sergey Levine, Panna Felsen, and Jitendra Malik. Recurrent network models for human dynamics. 2015 IEEE Inter- national Conference on Computer Vision (ICCV), pages 4346-4354, 2015.
- [Gui et al., 2018] Liang-Yan Gui, Yu-Xiong Wang, Xiaodan Liang, and José M. F. Moura. Adversarial geometry-aware human motion prediction. In ECCV, 2018.
- [Hochreiter and Schmidhuber, 1997] Sepp Hochreiter and Jürgen Schmidhuber. Long short-term memory. Neural computation, 9(8):1735-1780, 1997.
- [Holden et al., 2017] Daniel Holden, Taku Komura, and Jun Saito. Phase-functioned neural networks for character con- trol. ACM Trans. Graph., 36:42:1-42:13, 2017.
- [Holden, 2018] Daniel Holden. Robust solving of optical motion capture data by denoising. ACM Trans. Graph., 37:165:1-165:12, 2018.
- [Hu et al., 2018] Wenyu Hu, Zhao Wang, Shuang Liu, Xi- aosong Yang, Gaohang Yu, and Jian Jun Zhang. Motion capture data completion via truncated nuclear norm regu- larization. IEEE Signal Processing Letters, 25:258-262, 2018.
- [Kingma and Ba, 2014] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. CoRR, abs/1412.6980, 2014.
- [Kucherenko and Kjellström, 2018] Taras Kucherenko and Hedvig Kjellström. A neural network approach to miss- ing marker reconstruction. CoRR, abs/1803.02665, 2018.
- [Lai et al., 2011] R. Y. Q. Lai, P. C. Yuen, and K. K. W. Lee. Motion capture data completion and denoising by singu- lar value thresholding. Proc Eurographics Association, 11(3):924-929, 2011.
- [Lu et al., 2018] Xuequan Lu, Honghua Chen, Sai-Kit Ye- ung, Zhigang Deng, and Wenzhi Chen. Unsupervised ar- ticulated skeleton extraction from point set sequences cap- tured by a single depth camera. In AAAI, 2018.
- [Mall et al., 2017] Utkarsh Mall, G Roshan Lal, Siddhartha Chaudhuri, and Parag Chaudhuri. A deep recurrent frame- work for cleaning motion capture data. arXiv preprint arXiv:1712.03380, 2017.
- [Martinez et al., 2017] Julieta Martinez, Michael J. Black, and Javier Romero. On human motion prediction us- ing recurrent neural networks. 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 4674-4683, 2017.
- [Qin et al., 2017] Yao Qin, Dongjin Song, Haifeng Cheng, Wei Cheng, Guofei Jiang, and Garrison W. Cottrell. A dual-stage attention-based recurrent neural network for time series prediction. In IJCAI, 2017. IJCAI
- [Ruiz et al., 2018] Alejandro Hernandez Ruiz, Juergen Gall, and Francesc Moreno-Noguer. Human motion pre- diction via spatio-temporal inpainting. arXiv preprint arXiv:1812.05478, 2018.
- [Rumelhart et al., 1986] David E. Rumelhart, Geoffrey E. Hinton, and Ronald J. Williams. Learning representations by back-propagating errors. Nature, 323:533-536, 1986.
- [Srivastava et al., 2014] Nitish Srivastava, Geoffrey E. Hin- ton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: a simple way to prevent neural networks from overfitting. Journal of Machine Learning Research, 15:1929-1958, 2014.
- [Tan et al., 2013] Cheen-Hau Tan, Junhui Hou, and Lap- Pui Chau. Human motion capture data recovery using trajectory-based matrix completion. Electronics Letters, 49(12):752-754, 2013.
- [Xia et al., 2018] Guiyu Xia, Huaijiang Sun, Beijia Chen, Qingshan Liu, Lei Feng, Guoqing Zhang, and Renlong Hang. Nonlinear low-rank matrix completion for human motion recovery. IEEE Transactions on Image Processing, 27:3011-3024, 2018.
- [Xiao et al., 2011] Jun Xiao, Yinfu Feng, and Wenyuan Hu. Predicting missing markers in human motion capture using l1-sparse representation. Computer Animation and Virtual Worlds, 22(2-3):221-228, 2011.
- [Yang et al., 2016] Zichao Yang, Diyi Yang, Chris Dyer, Xi- aodong He, Alexander J. Smola, and Eduard H. Hovy. Hi- erarchical attention networks for document classification. In HLT-NAACL, 2016.
- [You et al., 2016] Quanzeng You, Hailin Jin, Zhaowen Wang, Chen Fang, and Jiebo Luo. Image captioning with semantic attention. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 4651- 4659, 2016.
- [Zhou et al., 2016] Peng Zhou, Wei Shi, Jun Tian, Zhenyu Qi, Bingchen Li, Hongwei Hao, and Bo Xu. Attention- based bidirectional long short-term memory networks for relation classification. In ACL, 2016.
- [Zhou et al., 2018] Xiaowei Zhou, Sikang Liu, Georgios Pavlakos, Vijay Kumar, and Kostas Daniilidis. Human mo- tion capture using a drone. 2018 IEEE International Con- ference on Robotics and Automation (ICRA), pages 2027- 2033, 2018.
References were extracted automatically from the PDF and may contain errors.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
1 Introduction
Human motion capture has gradually become the most popular motion storage technology in the industry, attracting a large number of scholars' interest in research [Zhou et al., 2018; B¨utepage et al., 2017; Mall et al., 2017]. It can be used in virtual reality, special effects movies, electronic games, and other related fields[Lu et al., 2018]. However, the raw mocap data may fail in completely recording the movement of all joints (including missing joint) due to inevitable reasons, such as marker falling off or joint occlusion. This inaccuracy and incompleteness of the captured data are often encountered even by professional motion capture equipment[Cui et al., 2019]. Further, corrupted motion sequences usually reveal a complex pattern in following aspects. First , the distribution of missing joints is unknown and arbitrary. Second, if the missing trajectory is too long, the information that can be used to repair the damaged motion will be insufficient. Third, the recovery accuracy will decrease rapidly in the case of large-scale movement (e.g., dancing, boxing). These factors present a major challenge for recovering the missing joints effectively.
∗Corresponding author

Recently, some researchers have attempted to model human motion using deep neural networks [Mall et al., 2017; Holden, 2018]. They present various structures to solve related problems of recovering missing joints, which adequately analyze and utilize the spatio-temporal correlation of human motion[Gui et al., 2018]. Especially, the BLSTMbased recurrent autoencoder[Mall et al., 2017] pave a golden path for modeling human motion. Although these models have made tangible progress, the performance may degrade rapidly over a long motion sequence because recurrent networks hardly capture the long-term temporal dependency and overcome the error accumulation problem. Besides, different motion frames should contribute unequally to the network while the previous models cannot consciously treat the context differently.
To address these aforementioned issues,we propose a deep bi-directional attention network (BAN) for motion recovery which leverages the attention mechanism and bi-directional long short-time memory network (BLSTM). Our inspiration comes from the recent theories of human attention which posit that human behavior can be efficiently modeled by the attention mechanism [Bahdanau et al., 2014; Zhou et al., 2016; Yang et al., 2016]. Specifically, the structure of our model consists of two components, encoder, and decoder, in which the attention mechanism is embedded to efficiently capture long-term temporal dependencies. In contrast to traditional attention, the proposed method adaptively calculates the relevant inputs of the forward and backward directions of BLSTM at the current time according to the correlation between the previous hidden state in both directions and all inputs. The long-term temporal dependencies are learned from chronologically arranged data and also from the reverse-chronological ordered data, which takes into account both forward and backward dependencies simultaneously. For human motion recovery, our BAN network explicitly selects the relevant context and selectively introduces the information from specific positions of the motion sequence to repair the damaged motion frame.
The specific contributions of this paper are summarized as follows: 1) We propose a novel bi-directional recurrent autoencoder for human motion recovery using attention mechanism. To our best knowledge, this is the first research attempt to exploit attention mechanism of BLSTM structure for human motion recovery. 2) We introduce the attention mechanism to efficiently capture long-term dependency and focus on the most important semantic information. 3) The experimental results demonstrate that the BAN achieves superior recovery accuracy and higher-quality visual results even for long-term motion sequences.
2 RelatedWork
Human motion recovery. Because of the inherent properties and structural constraints of human motion, the repair of missing joints cannot be simply regarded as data filling [Xia et al., 2018]. Many researchers have developed various methods to solve the problem of human motion recovery based upon the statistical properties (i.e., sparsity) of human motion [Lai et al., 2011]. Xiao et al.consider motion recovery from the perspective of sparse representation and propose a novel method named l1 -sparse representation (SR-L1) of missing markers prediction [Xiao et al., 2011]. Low-rank matrix completion [Tan et al., 2013; Hu et al., 2018], which usually seeks to find the lowest rank matrix for observed data, has been widely used for motion recovery. [Lai et al., 2011] first propose that damaged human motion can be efficiently recovered based on the low-rank prior, in which they use the singular value threshold method to solve the rank minimization problem. [Tan et al., 2013] suggest that mocap data based on trajectory representation can be used instead of frame representation, and the rank of this representation can be reduced because the lower rank is more suitable for the low-rank model. Nevertheless, these prior-based methods tend to yield unreasonable results for severely corrupted motion sequences. Because if the missing ratio is too large or the missing time is too long, the statistical property of low rank will no longer be satisfied.
Deep learning for human motion. Human motion is essentially a sequential data, which is naturally suitable for the sequential model in deep learning [Ruiz et al., 2018; Holden et al., 2017; Martinez et al., 2017]. Holden et al.develop various networks for human motion denoising and editing [Holden, 2018], but these structures abandon the temporal aspect of motion data. Alternatively, [Mall et al., 2017] propose a deep bi-directional recurrent network to clean up incomplete motion data wherein they use fully connected network to capture the joint correlation and temporal consistency of the human skeleton. [Fragkiadaki et al., 2015] present a recurrent autoencoder structure named EncoderRecurrent-Decoder (ERD) to predict human body pose, in which they use LSTM [Hochreiter and Schmidhuber, 1997; Rumelhart et al., 1986] layer to learn temporal-spatial correlation of motion sequence. These structures achieve excellent results only in short-term sequences and cannot be directly used for recovering missing joints. For motion recovery, [Kucherenko and Kjellstr ¨om, 2018] use a standard LSTM structure to recover motion sequence with missing markers in a short period of time.
Attentionmodeling. The seq2seq networks have produced stellar results, but one of the most challenging problems is the performance decline rapidly with the increase of sequence length [Bahdanau et al., 2014; Zhou et al., 2016; Yang et al., 2016]. To solve this problem, Bahdanau et al.adaptively select the relevant partially hidden state into the decoder at each time step using the attention mechanism [Bahdanau et al., 2014]. Yang et al., propose a hierarchical attention network for text classification using stacked recurrent layers, with each layer utilizing attention mechanism [Yang et al., 2016]. You et al., build an attention variant to learn to selectively tend to semantic concept proposals and integrate them into the recurrent neural network [You et al., 2016], which has achieved great success in the image caption. More recently, a dual-stage attention mechanism is proposed by [Qin et al., 2017] for time series prediction. In the first stage, the attention mechanism is equipped on a standard LSTM encoder to select the relevant inputs, while in the second stage the feature representation is also adaptively selected for decoding.
3 Methodology
3.1 ProblemFormulation and Notation
In our work, a mocap matrix consists of a sequence of frames (poses), where each frame records 3D position of every joint and we formulate mocap data as X =

{x1, x2, ..., xt, ..., xn} ∈ R3d×n with 1 ≤ t ≤ n. A frame at time step t is expressed as xt ∈ R3d , where d is the number of markers in a human skeleton. We plan to solve the problem of motion recovery from the corrupted observation with missing markers. Assuming that X ∈ R3d×n is the underlying complete mocap data, and let Xcor ∈ R3d×n denotes a corrupted motion sequence. The values of the missing markers are recorded in the mocap data as 0 by the binary mask M ∈ R3d×n , i.e., Xcor = X ⊙M, where the symbol ⊙ denotes element-wise product. Then we transform the motion recovery task into optimizing a function g and f to minimize the difference between the recovered motion f (g (Xcor )) and the complete motion sequence X:
Then we use the autoencoder to fit the function f and g. The encoder Y = g(Xcor ) maps the observation Xcor in to a low-dimensional representation, and then the decoder Xrec = f(Y ) maps back into the input manifold to reconstruct the original signal.
3.2 Encoder with Bi-directional Attention
Our inspiration comes from human visual attention and BLSTM [Zhou et al., 2016; Qin et al., 2017; Bahdanau et al., 2014]. When humans receive a signal, they selectively receive stimulation as input in early stage. BLSTM, modeling sequential data from both forward and backward directions, has achieved superior performance. For motion encoder, not all frames contribute equally to the representation of BLSTM in the forward and backward directions. Therefore, we consider introducing attention mechanism into BLSTM to select the relevant input from two directions adaptively. The overall architecture of BAN is illustrated in Figure 2.
Assuming that the input sequence of the encoder is X = [x1, x2, xt, ..., xT ], the bi-directional attention embedded in BLSTM includes forward and backward directions which can be built through a multi-layer perceptron. The calculation for the forward direction of BLSTM is formulated as:
where Wef ∈ RT×2m and Uef ∈ RT×3d are the weight matrix, and vef is a parameter to learn. αitf is the attention weight vector, which determines the importance of all inputs at time step t. -→h t-1 and -→s t-1 are the hidden state and the cell state of forward BLSTM, respectively. With this process, we can extract the relevant input ˜ xtf as the input of forward LSTM at each time step t. Then, we can get -→h t by newly weighted ˜ xtf , -→h t = ----→ LSTM (˜ xtf ) . Similarly, the hidden state of backward LSTM can be calculated via ←- h t = ←---- LSTM (˜ xtb) .
Finally, we obtain the hidden state at time step t by concatenating the forward hidden state -→h t and backward hidden state←- h t, i.e.,
When we use the bi-directional attention mechanism to process the motion sequence, the encoder will adaptively select input frame through the importance of each frame for each direction of the bi-directional LSTM, instead of treating all frames equally.
3.3 Decoder with Bi-directional Attention
After all the frames are encoded, we will obtain a representation h of the corrupted motion. Then, the decoder maps the learned representation back into a recovered human motion.

We propose an adaptive input using bi-directional attention mechanism for correlation coding so that the decoder can pay attention to the most useful context in both directions along time step. As shown in Figure 2, the attention weight of each time step t is calculated by the hidden state and the cell state of the previous time with:
where the -→c and the -→e denote the hidden state and cell state in forward LSTM of the decoder. Udf ∈ RT×2m and Wdf ∈ RT×2m is the learnable weight matrix. vT df is a parameter vector that needs to be learn. We use the following formula to simply express this forward and backward process, i.e., -→c t = ←---- LSTM(˜htf), ←-c t = ←---- LSTM(˜htd). Then, the hidden state of the decoder can be determined by concatenating -→c t and ←-c t, i.e.,
Finally, given the corrupted motion Xcor = X⊙M, the recovered motion sequence is obtained by feeding the semantic context ct into the time-distributed fully connected network. During training, our BAN takes Xcor and M as inputs, and then outputs the restored motion Xrec at the same size as the input motion. Finally, we use the following formula to get the recovered motion:
In particular, ˜X is the weighted sum of Xcor and Xrec . Notice that only the missing joint is reconstructed and the other parts are equal to the input.
3.4 Optimization
Let X be the original motion sequence, Xcor be corrupted motion, M be the mask matrix, Xrec be the recovered motion. We use two main losses to train our network.
Reconstruction loss, that encourage the generator to preserve the information form the visible part of the sequence:
Bone length loss, which enforce constant bone length of the whole generated sequence:
where the li,j denotes the j-th bone length of i-th frame of complete sequence, lrec i,j is the corresponding segment of the recovered motion. The joint loss function is then formulated as:
where the λrec = 0.95 and λbone = 0.05 are the trade-off hyperparameters to fine-tune the importance of each loss term. They are determined by 10-fold cross validation.
4 Experiments
4.1 Dataset and Preprocessing
In this paper, we use CMU mocap database with 31 joint markers for the human body. Therefore, each frame can be represented as Xt ∈ R3×31 . We adopt the following methods to preprocess the mocap data.
(a) Uniform height. Before training, we scale all mocap data to achieve a uniform height. According to previous work [Holden, 2018], an appropriate scaling factor can be calculated by the average of all the bones of the actor.

(b) Local reference system. We transform all the poses into the coordinate system with its root joint as the origin and use the y-axis in the world coordinate system as our y-axis. The x-axis is the horizontal direction from the left shoulder joint to the right shoulder joint. Then, the z-axis is produced by calculating the cross product between x-axis and y-axis.
(c) Normalization. We normalize the mocap data into the range [-1,1] by subtracting mean pose over the whole dataset and dividing into the absolute maximal value in the dataset.
The proposed model and other competitive methods are evaluated over the same configuration. During the training and testing, we randomly remove a certain number of active joints (10%, 20%, 30%, 40%), which is consistent with the situation of missing joints randomly. To simulate continuous missing of joint, we use gaps with a length of 60 frames where the total length of these gaps is 80% of the sequence, and randomly insert them into the mocap matrix. Such processing makes the position of the missing joint in the sequence random, while the length of the missing joint is 60 frames at the minimum and 80% of the sequence at the maximum, and concentrated at 40%, thus ensuring the randomness of the missing position and the continuous missing length simultaneously.
4.2 Implementation and Baselines
Our network uses BLSTM as decoder and encoder where each LSTM has 512 hidden units. The BAN model is trained using Adam [Kingma and Ba, 2014] with a learning rate of 0.001, and a more efficient mini-batch size 128 is applied to optimize the network. In our work, we use dropout [Srivastava et al., 2014] as the regularization method on the LSTM layer and the penultimate layer. With the dropout rate setting to 0.4, the model has better generalization performance. Note that the weights in our model are initialized randomly. The code will be aviliable on the page: http://mocap.ai.
To better verify the performance of our model, we chose various methods for comparison, i.e., l1 sparse representation (SR-L1) [Xiao et al., 2011], Low-rank matrix completion (LRMC) [Tan et al., 2013], long short-time memory network(LSTM) and window-based fully connected neural network (FCNN)[Kucherenko and Kjellstr¨om, 2018]. The hyperparameters are set to be consistent with those mentioned in their papers. Following the previous literature, the root means squared error (RMSE) measurement is adapted to quantify the recovered results:
where Xi is the complete pose, ˜Xi is the recovered pose, and np is the total number of imperfect entries (i.e., missing entries). Mi is the degradation operator which removes all of the non-missing joints. Also, the bone-length error is an important criterion to determine whether the recovered motion sequence is visually reasonable and natural, i.e.,
where the Li and ˜Li are the sum of all bone length of i-th frame of recovered and corrupted motion, respectively.
4.3 Comparisons of Recovery Results
We first animate the comparison between our method and the competitive methods when the various type of motion sequences randomly lose 40% joints, such as, running, basketball, dancing, and boxing. In this case, both the missing markers and missing time are random. For each type of motion, we also pick out the character animation by visual recovery results corresponding to the five different moments of our method and the baseline methods. In Figure 3, the green segment is the recovered joint, and the blue part is the original joint position. In each sub-figure, the first row is the original motion, the second row is the corrupted motion, and the other rows are the recovery results of different methods. It is noteworthy that the recovered frame by the BAN is very similar to the original frame in most motion types, and the results obtained by our model are still robust even in the case of large-scale movements (e.g., boxing). However, the motion recovered by other methods is more or less unnatural and lacks visibility, which may lead to a failure of the recovery.
In the practical motion capture process, it is frequent for a certain joint to be lost continuously over a period, and the gap caused by this situation is difficult to handle. To simulate this situation, we continuously remove several active joints for each sequence. In Figure 4, we find that our method is more accurate than other methods regarding recovery error. Besides, as the missing time increases, the recovery accuracy of our method is more stable because bi-directional attention makes better use of the time context which allows the BAN to consciously determine where to borrow relevant information and use it reasonably. However, other competitive methods are susceptible to the number of missing frames.
As shown in Figure 3, there are many unreasonable bone lengths in the recovery results of the baseline methods under strenuous exercise, i.e., dancing, boxing. Specifically, we mark out unreasonable bone fragments in the animation with small circle in Figure 3. The motion recovered by our method is more accurate, and the bone length is more natural, which makes the recovery result more in line with the real visual pose. We also measure the average bone-length error (BLE) for each motion sequence with 40% number continue frame having missing joints. From the quantitative comparison in Table 2, we can see that the bone-length error recovered by BAN is very small, and such a small error is difficult to observe in the actual animation. This means that under such a bi-directional attention mechanism, our model can find the most relevant context from the motion sequence to repair the damaged frame.
| Motion | Running | Climbing | Basketball | Boxing | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| short-term | long-term | short-term | long-term | short-term | long-term | short-term | long-term | |||||||||
| missing time | 500 | 1000 | 1500 | 2000 | 500 | 1000 | 1500 | 2000 | 500 | 1000 | 1500 | 2000 | 500 | 1000 | 1500 | 2000 |
| SR-L1 | 2.73 | 2.98 | 3.32 | 3.35 | 2.24 | 2.32 | 2.89 | 3.68 | 2.79 | 2.68 | 3.18 | 4.77 | 2.34 | 4.83 | 5.79 | 6.55 |
| LRMC | 2.17 | 2.89 | 2.69 | 3.53 | 1.78 | 2.23 | 2.78 | 3.27 | 1.12 | 2.54 | 2.87 | 5.13 | 1.46 | 2.34 | 4.12 | 4.31 |
| LSTM | 0.68 | 0.85 | 0.92 | 0.78 | 2.24 | 2.54 | 1.37 | 2.43 | 1.87 | 1.99 | 1.78 | 1.97 | 1.24 | 1.56 | 1.44 | 1.67 |
| FCNN | 0.98 | 1.11 | 1.15 | 1.09 | 1.71 | 1.86 | 2.12 | 2.94 | 2.27 | 2.67 | 2.76 | 2.37 | 2.92 | 2.96 | 3.15 | 3.19 |
| BAN | 0.43 | 0.47 | 0.39 | 0.45 | 0.76 | 0.74 | 1.21 | 1.29 | 0.97 | 1.11 | 1.15 | 1.14 | 1.97 | 1.54 | 1.88 | 1.89 |
| Motion | Tai chi | Dancing | Swordplay | Gymnastics | ||||||||||||
| short-term | long-term | short-term | long-term | short-term | long-term | short-term | long-term | |||||||||
| missing time | 500 | 1000 | 1500 | 2000 | 500 | 1000 | 1500 | 2000 | 500 | 1000 | 1500 | 2000 | 500 | 1000 | 1500 | 2000 |
| SR-L1 | 1.93 | 1.98 | 2.23 | 2.47 | 3.84 | 3.54 | 4.89 | 6.26 | 2.33 | 2.79 | 3.15 | 3.58 | 3.36 | 3.94 | 4.99 | 5.89 |
| LRMC | 0.87 | 1.19 | 2.29 | 2.83 | 1.53 | 2.43 | 4.28 | 4.77 | 2.32 | 2.85 | 3.78 | 4.24 | 2.46 | 4.78 | 5.02 | 6.76 |
| LSTM | 1.35 | 1.45 | 1.28 | 1.34 | 1.23 | 1.16 | 1.49 | 1.36 | 3.09 | 2.89 | 3.01 | 3.17 | 3.18 | 2.94 | 3.13 | 3.27 |
| FCNN | 2.77 | 2.31 | 2.28 | 2.32 | 2.42 | 2.98 | 2.64 | 2.42 | 2.69 | 3.28 | 3.36 | 3.42 | 3.52 | 3.77 | 3.43 | 3.49 |
| BAN | 0.44 | 0.64 | 0.59 | 0.73 | 1.36 | 1.44 | 1.31 | 1.42 | 1.17 | 1.11 | 1.15 | 1.34 | 1.57 | 1.84 | 1.78 | 1.91 |
| SR-L1 | LRMC | LSTM | FCNN | BAN | |
|---|---|---|---|---|---|
| Running | 0.412 | 0.541 | 0.632 | 0.265 | 0.075 |
| Dancing | 1.289 | 0.857 | 1.062 | 1.185 | 0.036 |
| Basketball | 1.375 | 0.946 | 0.632 | 1.087 | 0.128 |
| Boxing | 1.012 | 0.763 | 0.422 | 0.545 | 0.117 |
| Tai chi | 0.411 | 0.421 | 0.489 | 0.321 | 0.066 |
| Climbing | 1.212 | 0.431 | 0.542 | 0.873 | 0.217 |
| Swordplay | 1.321 | 0.772 | 0.989 | 1.245 | 0.223 |
| Gymnastics | 1.652 | 1.763 | 1.322 | 1.745 | 0.307 |
Due to the uncertainty and diversity of human motion, long-term human motion recovery is a challenging problem. To examine the limits of our method, we conduct a set of stress experiments to test recovery error in longer missing time, though occurring less frequently. We select 8 motion with a length of 2500 and divide all the sequences into several categories: periodic (running, climbing), non-periodic (basketball, boxing, tai chi) and large-scale (dancing, swordplay, gymnastics). Then, we remove all information about a particular joint (e.g., thigh, forearm) for each group of motion with 500 ms missing time intervals. Note that the longest missing time is 2000 ms (80%), which has never been evaluated in previous literature. The quantitative comparison is shown in Table 1. We observe that our method is superior to the competitive methods in all scenarios. With the increase of motion duration, the advantages of the proposed method gradually appear, while the performance of other methods drops sharply. In particular, our method is still robust on long-term motion recovery because bi-directional attention can adaptively learn the feature representation of different motion sequences. This indicates that the proposed method is efficient for capturing long-term dependencies and explicitly utilizing relevant semantic information. However, when too many consecutive frames are damaged, our method also becomes slightly worse. One possible reason for this is that the missing trajectories are too long, making it difficult for the network to borrow information from the appropriate location, thus pay attention to other suboptimal location.
5 Conclusion
In this work, we have proposed the bi-directional attention network, which can capture long-term dependency and motion correlation from forward and backward directions. This method effectively utilizes the spatio-temporal information of human motion by learning the relevant feature representation of each pose, which dramatically expands the performance of motion modeling. We demonstrate that our model significantly improves the performance of human motion recovery concerning accuracy and visualization results, even in the case of long sequences or different missing distributions. However, there are still two defects that cannot be ignored: High time consumption, because the LSTM encoding and attention weight computation are non-parallel; Performance degradation for handling high missing ratio (> 80%). Fortunately, the cases of high missing ratio rarely occur in realworld applications. In the future work, we plan to use the idea of the generative model to further expand the scope of application of the proposed model and consider applying it to other tasks of human motion.
Acknowledgements
This work was supported by the National Natural Science Foundation of China (NO. 61772272) and the Project of Science and Technology of Jiangsu Province of China under Grant BE2017031.
@inproceedings{ijcai2019p99,
title = {A Deep Bi-directional Attention Network for Human Motion Recovery},
author = {Cui, Qiongjie and Sun, Huaijiang and Li, Yupeng and Kong, Yue},
booktitle = {Proceedings of the Twenty-Eighth International Joint Conference on
Artificial Intelligence, {IJCAI-19}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {Sarit Kraus},
pages = {701--707},
year = {2019},
month = {8},
note = {Main track},
doi = {10.24963/ijcai.2019/99},
url = {https://doi.org/10.24963/ijcai.2019/99},
}
TY - CPAPER TI - A Deep Bi-directional Attention Network for Human Motion Recovery AU - Cui, Qiongjie AU - Sun, Huaijiang AU - Li, Yupeng AU - Kong, Yue T2 - Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence, IJCAI-19 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2019 SP - 701 EP - 707 DO - 10.24963/ijcai.2019/99 UR - https://doi.org/10.24963/ijcai.2019/99 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: