Papers › Goal-driven Self-Attentive Recurrent Networks for Trajectory Prediction

Goal-driven Self-Attentive Recurrent Networks for Trajectory Prediction

25 Apr 2022arXiv:2204.11561archive 2025-07-28

Luigi Filippo Chiara, Pasquale Coscia, Sourav Das, Simone Calderara, Rita Cucchiara, Lamberto Ballan

Human trajectory forecasting is a key component of autonomous vehicles, social-aware robots and advanced video-surveillance applications. This challenging task typically requires knowledge about past motion, the environment and likely destination areas. In this context, multi-modality is a fundamental aspect and its effective modeling can be beneficial to any architecture. Inferring accurate trajectories is nevertheless challenging, due to the inherently uncertain nature of the future. To overcome these difficulties, recent models use different inputs and propose to model human intentions using complex fusion mechanisms. In this respect, we propose a lightweight attention-based recurrent backbone that acts solely on past observed positions. Although this backbone already provides promising results, we demonstrate that its prediction accuracy can be improved considerably when combined with a scene-aware goal-estimation module. To this end, we employ a common goal module, based on a U-Net architecture, which additionally extracts semantic information to predict scene-compliant destinations. We conduct extensive experiments on publicly-available datasets (i.e. SDD, inD, ETH/UCY) and show that our approach performs on par with state-of-the-art techniques while reducing model complexity.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 17 code samples harvested from 1 repository linked to this paper: 16 ran (of which 0 constructed an object rather than computing a result; 16 with no instrument failure: 0 honoured, 0 violated, 16 with no contract checked; 0 where Syntology's instrument failed) · 1 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code; here there are none.

By repository: official repository: 17 samples from 1 repository, 16 ran (16 with no instrument failure; 0 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written on 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

luigifilippochiara/Goal-SAR officialmentioned in papermentioned on GitHubpytorchMITSyntology: 17 samples, 16 ran (0 instrument-failed) · 1 unverified 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

17 samples harvested: 16 ran (of which 0 constructed an object rather than computing a result; 16 with no instrument failure: 0 honoured, 0 violated, 16 with no contract checked; 0 where Syntology's instrument failed) · 1 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

16ran
1unverified

Licence: 0 of the 17 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 luigifilippochiara/Goal-SAR. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.

luigifilippochiara/Goal-SAR official repository 17 samples, 16 ran (0 instrument-failed) · 1 unverified
ADE_best_of src/metrics.py ran MIT (permissive) · 2b4360c86f098dbe · report fixture: signature predictions:Tensor/4/float, ground_truth:Tensor/3/float, metric_mask:Tensor/1/bool, obs_length:int/0/int · returned list · level recorded 2026-09-24
BCE_loss_sample src/losses.py ran MIT (permissive) · aaa355270e781d8a · report fixture: signature logit_map:Tensor/4/float, goal_map_GT:Tensor/4/float, loss_mask:Tensor/2/float · returned Tensor · level recorded 2026-09-24
FDE_best_of src/metrics.py ran MIT (permissive) · 7715545c03b6e0dd · report fixture: signature predictions:Tensor/4/float, ground_truth:Tensor/3/float, metric_mask:Tensor/1/bool, obs_length:int/0/int · returned list · level recorded 2026-09-24
Goal_BCE_loss src/losses.py ran MIT (permissive) · 45fd898892ba2496 · report fixture: signature logit_map:list/1/Tensor, goal_map_GT:Tensor/4/float, loss_mask:list/1/Tensor · returned Tensor · level recorded 2026-09-24
MSE_loss src/losses.py ran MIT (permissive) · 5dd5988bfbd47cc3 · report fixture: signature outputs:Tensor/4/float, ground_truth:Tensor/4/float, loss_mask:Tensor/3/bool · returned Tensor · level recorded 2026-09-24
check_and_add_additional_args src/parser.py ran MIT (permissive) · 2eb7cc0d4aca658a · report fixture: signature args:Args/0/? · returned Args · level recorded 2026-09-24
compute_metric_mask src/metrics.py ran fingerprinted MIT (permissive) · daac15363c345ceb · report fixture: signature seq_list:Tensor/2/float · returned Tensor · level recorded 2026-09-24
compute_term src/parser.py ran MIT (permissive) · 81236cafc46b4e11 · report fixture: signature args:Args/0/? · returned Args · level recorded 2026-09-24
get_dataloader in 111 papers src/data_loader.py ran MIT (permissive) · d3f3d5f739da0c8f · report fixture: signature args:Args/0/?, set_name:str/0/str · returned DataLoader · level recorded 2026-09-24
is_legitimate_traj src/data_pre_process.py ran MIT (permissive) · b7c2f3ef3135a983 · report fixture: signature traj_df:DataFrame/0/?, step:int/0/int · returned bool · level recorded 2026-09-24
is_power_of_two in 15 papers src/utils.py ran fingerprinted MIT (permissive) · fba0e99a69709c33 · report fixture: signature n:int/0/int · returned bool · level recorded 2026-09-24
pixel2world_numpy src/data_src/data_utils.py ran MIT (permissive) · 665b9e99a83e511e · report fixture: signature pixel_coord:ndarray/2/float, H:ndarray/2/float · returned ndarray · level recorded 2026-09-24
split_at_fragment_lambda src/data_src/data_utils.py ran MIT (permissive) · ed295e9fe1e58373 · report fixture: signature x:DataFrame/0/?, frag_idx:dict/0/?, gb_frag:MockGroupBy/0/? · returned DataFrame · level recorded 2026-09-24
str2bool in 533 papers src/utils.py ran MIT (permissive) · e7d27a57b83c42b8 · report fixture: signature v:str/0/str · returned bool · level recorded 2026-09-24
strOrNone src/utils.py ran fingerprinted MIT (permissive) · c8eca73e83667851 · report fixture: signature v:str/0/str · returned str · level recorded 2026-09-24
world2pixel_numpy src/data_src/data_utils.py ran MIT (permissive) · e122daf238c6c1d4 · report fixture: signature world_coord:ndarray/2/float, H_inv:ndarray/2/float · returned ndarray · level recorded 2026-09-24
load_args in 25 papers src/parser.py unverified MIT (permissive) · 2a6d9ff5181be851 · report

Tasks

Autonomous VehiclesPredictionTrajectory ForecastingTrajectory Prediction

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Concatenated Skip ConnectionConvolutionMax PoolingReLUU-Net

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