HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Social NCE: Contrastive Learning of Socially-aware Motion Representations

Yuejiang Liu Qi Yan Alexandre Alahi

Social NCE: Contrastive Learning of Socially-aware Motion Representations

Abstract

Learning socially-aware motion representations is at the core of recent advances in multi-agent problems, such as human motion forecasting and robot navigation in crowds. Despite promising progress, existing representations learned with neural networks still struggle to generalize in closed-loop predictions (e.g., output colliding trajectories). This issue largely arises from the non-i.i.d. nature of sequential prediction in conjunction with ill-distributed training data. Intuitively, if the training data only comes from human behaviors in safe spaces, i.e., from "positive" examples, it is difficult for learning algorithms to capture the notion of "negative" examples like collisions. In this work, we aim to address this issue by explicitly modeling negative examples through self-supervision: (i) we introduce a social contrastive loss that regularizes the extracted motion representation by discerning the ground-truth positive events from synthetic negative ones; (ii) we construct informative negative samples based on our prior knowledge of rare but dangerous circumstances. Our method substantially reduces the collision rates of recent trajectory forecasting, behavioral cloning and reinforcement learning algorithms, outperforming state-of-the-art methods on several benchmarks. Our code is available at https://github.com/vita-epfl/social-nce.

Code Repositories

vita-epfl/social-nce
Official
pytorch
Mentioned in GitHub
qiyan98/social-nce-stgcnn
pytorch
Mentioned in GitHub
vita-epfl/social-nce-crowdnav
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
trajectory-forecasting-on-trajnetSocial NCE + Social LSTM
COL: 5.31
FDE: 1.14
trajectory-prediction-on-ethucySocial-NCE + Trajectron++
ADE-8/12: 0.19
FDE-8/12: 0.40
trajectory-prediction-on-trajnetSocial-NCE + Social-LSTM
COL: 5.31
FDE: 1.14

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Social NCE: Contrastive Learning of Socially-aware Motion Representations | Papers | HyperAI