Papers › Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks

Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks

29 Mar 2018CVPR 2018 6arXiv:1803.10892archive 2025-07-28

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

Understanding human motion behavior is critical for autonomous moving platforms (like self-driving cars and social robots) if they are to navigate human-centric environments. This is challenging because human motion is inherently multimodal: given a history of human motion paths, there are many socially plausible ways that people could move in the future. We tackle this problem by combining tools from sequence prediction and generative adversarial networks: a recurrent sequence-to-sequence model observes motion histories and predicts future behavior, using a novel pooling mechanism to aggregate information across people. We predict socially plausible futures by training adversarially against a recurrent discriminator, and encourage diverse predictions with a novel variety loss. Through experiments on several datasets we demonstrate that our approach outperforms prior work in terms of accuracy, variety, collision avoidance, and computational complexity.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1803.10892")

Code

Syntology Ran 4 of 10 code samples harvested from 3 repositories linked to this paper; 6 have no recorded run. Of those that ran: 3 ran · our draft was wrong; 1 ran · fixture could not drive it.

By repository: official repository: 6 samples from 1 repository, 0 ran; community (archive-listed): 4 samples from 2 repositories, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

agrimgupta92/sgan officialmentioned on GitHubpytorchMIT report
amiryanj/socialways mentioned on GitHubpytorch report
cmubig/SPEC mentioned on GitHubpytorch report
huang-xx/STGAT mentioned on GitHubpytorch report
m-hasan-n/pooling mentioned on GitHubpytorchMIT report
mirkozaff/aa-sgan mentioned on GitHubpytorch report
rohanchandra30/TrackNPred mentioned on GitHubpytorch report
romi514/TLSGAN mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 4 ran; 0 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · our draft was wrong
1ran · fixture could not drive it
6unverified

Licence: 4 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

bce_loss agrimgupta92/sgan/sgan/losses.py official repository unverified MIT (permissive) · e953c2a70a67444a · report
bool_flag agrimgupta92/sgan/sgan/utils.py official repository unverified MIT (permissive) · 533a2b4e2af6948c · report
gan_d_loss agrimgupta92/sgan/sgan/losses.py official repository unverified MIT (permissive) · a896ec1008736cfb · report
gan_g_loss agrimgupta92/sgan/sgan/losses.py official repository unverified MIT (permissive) · 9895ef20982713d2 · report
get_total_norm agrimgupta92/sgan/sgan/utils.py official repository unverified MIT (permissive) · 86ef0f4c4c0c2702 · report
int_tuple agrimgupta92/sgan/sgan/utils.py official repository unverified MIT (permissive) · c7a0b110ef7c5e03 · report
evaluate_helper mirkozaff/aa-sgan/src/evaluate_model.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 55df9dc702dcf13c · report
get_dtypes rohanchandra30/TrackNPred/model/Prediction/sganTrain.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 396bc31e5aa3e580 · report
get_noise rohanchandra30/TrackNPred/model/Prediction/sgan/models.py community (archive-listed) ran · fixture could not drive it no licence file found · pointer only · cc7ee43eadf25dac · report
make_mlp rohanchandra30/TrackNPred/model/Prediction/sgan/models.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 367e08507e69216f · report

Tasks

Collision AvoidanceMotion ForecastingMulti-future Trajectory PredictionNavigateSelf-Driving CarsTrajectory ForecastingTrajectory Prediction

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Trajectory Prediction ETH Social-GAN Avg AMD/AMV 8/12 1.42 #4 of 5 Archive leaderboard report
Trajectory Prediction Stanford Drone Social GAN ADE (8/12) @K=5 27.25 #18 of 24 Archive leaderboard report
Trajectory Prediction Stanford Drone Social GAN ADE-8/12 @K = 20 27.23 #18 of 24 Archive leaderboard report
Trajectory Prediction Stanford Drone Social GAN FDE(8/12) @K=5 41.44 #18 of 24 Archive leaderboard report
Trajectory Prediction Stanford Drone Social GAN FDE-8/12 @K= 20 41.44 #18 of 24 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections