Papers › MGF: Mixed Gaussian Flow for Diverse Trajectory Prediction

MGF: Mixed Gaussian Flow for Diverse Trajectory Prediction

19 Feb 2024arXiv:2402.12238archive 2025-07-28

Jiahe Chen, Jinkun Cao, Dahua Lin, Kris Kitani, Jiangmiao Pang

To predict future trajectories, the normalizing flow with a standard Gaussian prior suffers from weak diversity. The ineffectiveness comes from the conflict between the fact of asymmetric and multi-modal distribution of likely outcomes and symmetric and single-modal original distribution and supervision losses. Instead, we propose constructing a mixed Gaussian prior for a normalizing flow model for trajectory prediction. The prior is constructed by analyzing the trajectory patterns in the training samples without requiring extra annotations while showing better expressiveness and being multi-modal and asymmetric. Besides diversity, it also provides better controllability for probabilistic trajectory generation. We name our method Mixed Gaussian Flow (MGF). It achieves state-of-the-art performance in the evaluation of both trajectory alignment and diversity on the popular UCY/ETH and SDD datasets. Code is available at https://github.com/mulplue/MGF.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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="2402.12238")

Code

Syntology Ran 21 of 30 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 5 ran · our draft was wrong; 16 ran with no contract checked.

By repository: official repository: 30 samples from 1 repository, 21 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

mulplue/mgf officialmentioned in papermentioned on GitHubpytorchMIT 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

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

5ran · our draft was wrong
16ran
9unverified

Licence: 0 of the 30 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 mulplue/mgf. “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.

BatchNorm mulplue/mgf/src/models/TP/fastpredNF.py official repository ran fingerprinted MIT (permissive) · 5b716a5982a339d2 · report
Build_TP_model mulplue/MGF/src/models/TP/TP_models.py official repository ran MIT (permissive) · 2826248c43f41a45 · report
CIF_step mulplue/mgf/src/models/TP/fastpredNF.py official repository ran MIT (permissive) · a0ca33c8b6e66193 · report
DiagonalGaussianConditionalDensity mulplue/mgf/src/models/TP/fastpredNF.py official repository ran MIT (permissive) · b9e0ff9a558438e1 · report
LinearMaskedCoupling mulplue/mgf/src/models/TP/fastpredNF.py official repository ran MIT (permissive) · 4d0d2d2745b54b63 · report
MADE mulplue/mgf/src/models/TP/fastpredNF.py official repository ran fingerprinted MIT (permissive) · 26209689fe626f49 · report
MaskedLinear mulplue/mgf/src/models/TP/fastpredNF.py official repository ran fingerprinted MIT (permissive) · ca93d4c44305509b · report
cluster_GMM_Dist mulplue/mgf/src/models/TP/fastpredNF.py official repository ran MIT (permissive) · 90c765ce469cc84d · report
create_RealNVP_step mulplue/mgf/src/models/TP/fastpredNF.py official repository ran · our draft was wrong MIT (permissive) · 920ca1a223d05c89 · report
create_masks mulplue/MGF/src/models/TP/TFCondARFlow.py official repository ran · our draft was wrong MIT (permissive) · 5a2e1cee97642f25 · report
cyclical_lr mulplue/MGF/src/models/TP/model_utils.py official repository ran MIT (permissive) · ff1848a826b358a0 · report
diagonal_gaussian_log_prob mulplue/mgf/src/models/TP/fastpredNF.py official repository ran · our draft was wrong MIT (permissive) · 507ad74b8141f11f · report
diagonal_gaussian_sample mulplue/mgf/src/models/TP/fastpredNF.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 9b77c0354d2d0aaa · report
displacement_error mulplue/MGF/src/metrics/TP_metrics.py official repository ran fingerprinted MIT (permissive) · 283aa4275dc465c0 · report
evaluate_helper mulplue/MGF/src/metrics/TP_metrics.py official repository ran MIT (permissive) · 9bb40f2536a46a93 · report
evaluate_helper_mean mulplue/MGF/src/metrics/TP_metrics.py official repository ran MIT (permissive) · ddbf6d5de516a0dc · report
exp_anneal mulplue/MGF/src/models/TP/model_utils.py official repository ran MIT (permissive) · 6b2d284bebc1dc60 · report
get_mlp mulplue/mgf/src/models/TP/fastpredNF.py official repository ran · our draft was wrong MIT (permissive) · 3508c00acbc73d66 · report
get_model_device mulplue/MGF/src/models/TP/Trajectron.py official repository ran MIT (permissive) · 5a0beb315ee2d6b3 · report
load_tuned mulplue/MGF/src/utils/common.py official repository ran MIT (permissive) · 92dfbf360b9c387e · report
to_one_hot mulplue/MGF/src/models/TP/model_utils.py official repository ran MIT (permissive) · 8f0b65c232680906 · report
Build_Metrics mulplue/MGF/src/metrics/build_metrics.py official repository unverified MIT (permissive) · 6ebdf632e0a6ad62 · report
FlowSequential mulplue/mgf/src/models/TP/fastpredNF.py official repository unverified MIT (permissive) · f8f3b999a11d5d3e · report
create_MAF_step mulplue/mgf/src/models/TP/fastpredNF.py official repository unverified MIT (permissive) · 70f0ce27583cb926 · report
fastpredNF mulplue/mgf/src/models/TP/fastpredNF.py official repository unverified MIT (permissive) · 53b654d10ae7d946 · report
fastpredNF_CIF_separate_cond mulplue/mgf/src/models/TP/fastpredNF.py official repository unverified MIT (permissive) · e762f39de147d718 · report
fastpredNF_CIF_separate_cond_clusterGMM mulplue/mgf/src/models/TP/fastpredNF.py official repository unverified MIT (permissive) · 4effd10a00bbdc37 · report
fastpredNF_separate mulplue/mgf/src/models/TP/fastpredNF.py official repository unverified MIT (permissive) · ef3d886fa6434784 · report
fastpredNF_separate_cond mulplue/mgf/src/models/TP/fastpredNF.py official repository unverified MIT (permissive) · 8f74fa4acbfdec65 · report
load_config mulplue/MGF/src/utils/common.py official repository unverified MIT (permissive) · e158e0cb62772b3d · report

Tasks

DiversityPredictionTrajectory Prediction

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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