Social GAN: Socially Acceptable Trajectories with Generative … · 2018. 12. 5. · Social GAN:...

17
Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks Agrim Gupta, Justin Johnson, Li Fei-Fei, Silvio Savarese, Alexandre Alahi Stanford University, EPFL CVPR 2018 Poster 2018/12/4 Xu Gao, Peking University, [email protected] 1

Transcript of Social GAN: Socially Acceptable Trajectories with Generative … · 2018. 12. 5. · Social GAN:...

Page 1: Social GAN: Socially Acceptable Trajectories with Generative … · 2018. 12. 5. · Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks AgrimGupta,

Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks

Agrim Gupta, Justin Johnson, Li Fei-Fei, Silvio Savarese, Alexandre Alahi

Stanford University, EPFL

CVPR 2018 Poster

2018/12/4 Xu Gao, Peking University, [email protected] 1

Page 2: Social GAN: Socially Acceptable Trajectories with Generative … · 2018. 12. 5. · Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks AgrimGupta,

Problem

• Given the spatial coordinates of each pedestrian from frame 1 to 𝑡 , trajectory prediction aims at predicting the coordinates in the future time period from 𝑡 + 1 to 𝑡 + 𝑇.

2018/12/4 Xu Gao, Peking University, [email protected] 2

Page 3: Social GAN: Socially Acceptable Trajectories with Generative … · 2018. 12. 5. · Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks AgrimGupta,

Previous Method

Yanyu Xu, Zhixin Piao, Shenghua Gao. Encoding Crowd Interaction with Deep Neural Network for Pedestrian Trajectory Prediction. CVPR 2018 Poster.

2018/12/4 Xu Gao, Peking University, [email protected] 3

Page 4: Social GAN: Socially Acceptable Trajectories with Generative … · 2018. 12. 5. · Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks AgrimGupta,

Inherent Properties of Human Motion

• Interpersonal. The motion of each person depends on the people around them.• Socially Acceptable. Some trajectories are physically possible but

socially unacceptable. (Right-of-way or respecting personal space)• Multimodal. Given a partial history, there is no single correct

future prediction.

2018/12/4 Xu Gao, Peking University, [email protected] 4

Page 5: Social GAN: Socially Acceptable Trajectories with Generative … · 2018. 12. 5. · Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks AgrimGupta,

Drawbacks of Existing Methods

• No capacity to model interactions between all people. Existing methods model a local neighborhood around each person when making the prediction.• “Average Behavior”. Existing methods commonly use the loss

function that minimize the euclidean distance between the ground truth and forecasted outputs.

2018/12/4 Xu Gao, Peking University, [email protected] 5

Page 6: Social GAN: Socially Acceptable Trajectories with Generative … · 2018. 12. 5. · Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks AgrimGupta,

Pipeline

𝜙(𝑋()ℎ+(, 𝑃( ℎ.(,

Initialization: ℎ.(, = [𝑀𝐿𝑃 𝑃(, ℎ+(, , 𝑧]

• Input trajectories: 𝑋 = {𝑋7, 𝑋8, … , 𝑋:}, 𝑋( = (𝑥(,, 𝑦(,).

• Predicted future trajectories: 𝑌? = {𝑌?7, 𝑌?8, … , 𝑌?:}, 𝑌?( = 𝑥(,, 𝑦(, .

• Latent variable 𝑧, randomly sampled from 𝒩(0,1).

𝑌?( [𝑋(, 𝑌?(]

2018/12/4 Xu Gao, Peking University, [email protected] 6

Page 7: Social GAN: Socially Acceptable Trajectories with Generative … · 2018. 12. 5. · Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks AgrimGupta,

Pooling Module

ℎ+(,

2018/12/4 Xu Gao, Peking University, [email protected] 7

Page 8: Social GAN: Socially Acceptable Trajectories with Generative … · 2018. 12. 5. · Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks AgrimGupta,

Reference: PointNet

Charles R. Qi, Hao Su, Kaichun Mo, and Leonidas J. Guibas. PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation. CVPR 2017.

2018/12/4 Xu Gao, Peking University, [email protected] 8

Page 9: Social GAN: Socially Acceptable Trajectories with Generative … · 2018. 12. 5. · Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks AgrimGupta,

Loss Function

• Adversarial loss:• Variety loss:• For each scene, generate k possible output predictions by

randomly sampling z, and choose the best prediction in L2.2018/12/4 Xu Gao, Peking University, [email protected] 9

Page 10: Social GAN: Socially Acceptable Trajectories with Generative … · 2018. 12. 5. · Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks AgrimGupta,

Experiments

• Datasets: ETH & UCY.• Metrics:• ADE: The average L2 distance between the ground truth and the

prediction.• FDE: The distance between the predicted final destination and the true

final destination at the end of the prediction.

• Baselines:• Linear: A linear regressor to estimate by minimizing the least square error.• LSTM: A simple LSTM with no pooling mechanism• S-LSTM: Social-LSTM (2016, CVPR).

2018/12/4 Xu Gao, Peking University, [email protected] 10

Page 11: Social GAN: Socially Acceptable Trajectories with Generative … · 2018. 12. 5. · Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks AgrimGupta,

Experiments

• Name of this method: SGAN-kVP-N• k is the parameter in the variety loss.• N is the number of time which this paper sample from the model.• P means the usage of the pooling module.• Strategy:• Observe 8 timesteps and predict 8/12 timesteps.

2018/12/4 Xu Gao, Peking University, [email protected] 11

Page 12: Social GAN: Socially Acceptable Trajectories with Generative … · 2018. 12. 5. · Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks AgrimGupta,

Experiments

2018/12/4 Xu Gao, Peking University, [email protected] 12

Page 13: Social GAN: Socially Acceptable Trajectories with Generative … · 2018. 12. 5. · Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks AgrimGupta,

Experiments

2018/12/4 Xu Gao, Peking University, [email protected] 13

Page 14: Social GAN: Socially Acceptable Trajectories with Generative … · 2018. 12. 5. · Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks AgrimGupta,

Experiments

2018/12/4 Xu Gao, Peking University, [email protected] 14

Page 15: Social GAN: Socially Acceptable Trajectories with Generative … · 2018. 12. 5. · Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks AgrimGupta,

Experiments

2018/12/4 Xu Gao, Peking University, [email protected] 15

Page 16: Social GAN: Socially Acceptable Trajectories with Generative … · 2018. 12. 5. · Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks AgrimGupta,

Experiments

2018/12/4 Xu Gao, Peking University, [email protected] 16

Page 17: Social GAN: Socially Acceptable Trajectories with Generative … · 2018. 12. 5. · Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks AgrimGupta,

Conclusion

• + Merge many methods from other areas into trajectory prediction.• + Generate multiple predictions with “good behavior”.• + Good introduction.

• - Experiment comparison is tricky.• - Bad Writing.

2018/12/4 Xu Gao, Peking University, [email protected] 17