Papers › Spatiotemporal Multi-Task Graph Transformer for Trip-Level Transit Prediction

Spatiotemporal Multi-Task Graph Transformer for Trip-Level Transit Prediction

30 May 2026arXiv:2606.00572added by Syntology

Oluwaleke Yusuf, Adil Rasheed, Frank Lindseth

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Passenger count data from public transit systems reveals urban mobility patterns and is essential for planning, operation, and optimisation. However, non-linear spatiotemporal interdependencies across stops and lines make modelling and prediction challenging. Existing approaches often rely on fixed temporal, spatial, or stop-level formulations, limiting their ability to capture within-trip evolution and network context. This study proposes SMT-GraphFormer, a spatiotemporal multi-task graph transformer that frames trip-level transit prediction as sequence-to-sequence modelling. Given a line's stop sequence and trip-level context, the model predicts successive boarding and alighting counts, with delay and dwell time treated as encoder-side surrogate tasks. Key components include graph embeddings for multi-relational stop similarity, a context encoder for weather and temporal information, and a multi-gate mixture-of-experts module that produces task-specific decoder representations for boarding and alighting predictions. Evaluation on public bus transit data from Trondheim, Norway, shows that SMT-GraphFormer outperforms stop-level tabular benchmarks, with ablation studies examining each component's contribution. The sequential formulation yields substantial gains on alighting prediction ($+$0.24 in R²) and consistent improvements on boarding, delay, and dwell, confirming the value of explicit trip-level sequential bias and inter-target dependencies. These findings demonstrate the potential of transformer-based sequence modelling for capturing complex spatiotemporal dynamics in public transit and underscore the value of architectures tailored to transit data rather than off-the-shelf tabular models. The proposed framework provides a horizon-agnostic basis for scenario analysis in digital twin environments, supporting informed decision-making by planners and transit operators.

PaperPDFCode 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="2606.00572")

Code

Syntology Ran 9 of 14 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 9 ran with no contract checked.

By repository: found in paper text by Syntology: 14 samples from 1 repository, 9 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Outsiders17711/SMTGraphFormer found in paper text by Syntology report

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

14 samples harvested; 9 ran; 0 honoured the contract we drafted; 5 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.

9ran
5unverified

Licence: 14 of the 14 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 Outsiders17711/SMTGraphFormer. “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.

cleanLogText Outsiders17711/SMTGraphFormer/src/smtgraphformer/utils/logCleanup.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 2e69b569b134d787 · report
estimateSMTLoss Outsiders17711/SMTGraphFormer/src/smtgraphformer/smtGraphFormer.py found in paper text by Syntology ran no licence file found · pointer only · 4c2d52b4de4e5e0f · report
hf_rawname Outsiders17711/SMTGraphFormer/src/smtgraphformer/contextEncoding.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · cc7cc8eb5897e612 · report
hf_tfmname Outsiders17711/SMTGraphFormer/src/smtgraphformer/contextEncoding.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 04b8b7d9b32e9ac6 · report
isArtifact Outsiders17711/SMTGraphFormer/src/smtgraphformer/utils/logCleanup.py found in paper text by Syntology ran no licence file found · pointer only · 27f2887ee3afc8cb · report
isProgress Outsiders17711/SMTGraphFormer/src/smtgraphformer/utils/logCleanup.py found in paper text by Syntology ran no licence file found · pointer only · 5408281c1555a4fb · report
nextAlignedSize Outsiders17711/SMTGraphFormer/src/smtgraphformer/utils/modelling.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 7c02cb7a74134234 · report
pklLoader Outsiders17711/SMTGraphFormer/src/smtgraphformer/utils/helpers.py found in paper text by Syntology ran no licence file found · pointer only · 0b1c8378588f48fe · report
sanityCheck Outsiders17711/SMTGraphFormer/src/smtgraphformer/utils/dataloading.py found in paper text by Syntology ran no licence file found · pointer only · 05e5ba772204f314 · report
autoProjectCoordinates Outsiders17711/SMTGraphFormer/src/smtgraphformer/dataIntegration.py found in paper text by Syntology unverified no licence file found · pointer only · ab644aad33595aa9 · report
hf_dnative Outsiders17711/SMTGraphFormer/src/smtgraphformer/contextEncoding.py found in paper text by Syntology unverified no licence file found · pointer only · 11354266e2de217c · report
jsonLoader Outsiders17711/SMTGraphFormer/src/smtgraphformer/utils/helpers.py found in paper text by Syntology unverified no licence file found · pointer only · 1808725a680fdb87 · report
setReproducibility Outsiders17711/SMTGraphFormer/src/smtgraphformer/utils/modelling.py found in paper text by Syntology unverified no licence file found · pointer only · f12c1745eed636d3 · report
yamlLoader Outsiders17711/SMTGraphFormer/src/smtgraphformer/utils/helpers.py found in paper text by Syntology unverified no licence file found · pointer only · 77aa6a20e859c28a · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2606.00572, was issued in June 2026, after that date, so the archive has no leaderboard rows for it.

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