SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.00397 · 2024

Multi-scale Traffic Pattern Bank for Cross-city Few-shot Traffic Forecasting

arXiv · PDF · Open in the Atlas

Code that ran

2 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 4 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2402.00397.json · badge: /api/ran/2402.00397.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
zhyliu00/mtpb canonical (classifier label)
classifier basis: census
2 ran · 4 no recorded run
FunctionStatusWhere it lives
get_data_list Ran
ran; our contract draft was wrong, not the code
zhyliu00/mtpb/utils.py
pointer only (licence: NONE) · get_code("bc9550e57ffa3e81")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhyliu00/mtpb when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

unshuffle Ran
ran; our contract draft was wrong, not the code
zhyliu00/mtpb/model/TSFormer/TSmodel.py
pointer only (licence: NONE) · get_code("e5b3304974a09d99")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhyliu00/mtpb when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_pickle Not yet run
unverified (harvested, no recorded run)
zhyliu00/mtpb/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from cy07gn/TeltoMob, is pointer only (licence: NONE) · get_code("a39b607775d33946")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhyliu00/mtpb when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

set_seed Not yet run
unverified (harvested, no recorded run)
zhyliu00/mtpb/utils.py
pointer only (licence: NONE) · get_code("ebaa8b93ad440e45")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhyliu00/mtpb when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

test_batch Not yet run
unverified (harvested, no recorded run)
zhyliu00/mtpb/pretrain.py
pointer only (licence: NONE) · get_code("9f831f20d2bd7f32")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhyliu00/mtpb when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

train_batch Not yet run
unverified (harvested, no recorded run)
zhyliu00/mtpb/pretrain.py
pointer only (licence: NONE) · get_code("12c9df8e41b3d3e2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhyliu00/mtpb when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 2 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 1 the same month, 2 later) and 4 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
load_pickle 7 other papers
2 dated earlier, 1 the same month, 4 later
aaai_25976 (2023 (year only))
Spatio-Temporal Meta-Graph Learning for Traffic Forecasting
2401.03138 (2024-01)
TelTrans: Applying Multi-Type Telecom Data to Transportation Evaluation and Prediction via Multifaceted Graph Modeling
2402.02005 (2024-02)
Topology-Informed Graph Transformer
and 4 more not named here
set_seed 1 other paper
1 later
2403.07245 (2024-03)
Dataset Condensation for Time Series Classification via Dual Domain Matching

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Traffic forecasting is crucial for intelligent transportation systems (ITS), aiding in efficient resource allocation and effective traffic control. However, its effectiveness often relies heavily on abundant traffic data, while many cities lack sufficient data due to limited device support, posing a significant challenge for traffic forecasting. Recognizing this challenge, we have made a noteworthy observation: traffic patterns exhibit similarities across diverse cities. Building on this key insight, we propose a solution for the cross-city few-shot traffic forecasting problem called Multi-scale Traffic Pattern Bank (MTPB). Primarily, MTPB initiates its learning process by leveraging data-rich source cities, effectively acquiring comprehensive traffic knowledge through a spatial-temporal-aware pre-training process. Subsequently, the framework employs advanced clustering techniques to systematically generate a multi-scale traffic pattern bank derived from the learned knowledge. Next, the traffic data of the data-scarce target city could query the traffic pattern bank, facilitating the aggregation of meta-knowledge. This meta-knowledge, in turn, assumes a pivotal role as a robust guide in subsequent processes involving graph reconstruction and forecasting. Empirical assessments conducted on real-world traffic datasets affirm the superior performance of MTPB, surpassing existing methods across various categories and exhibiting numerous attributes conducive to the advancement of cross-city few-shot forecasting methodologies. The code is available in https://github.com/zhyliu00/MTPB.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2402.00397")
get_code_for_paper("2402.00397")
have("2402.00397")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2402.00397.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2402.00397.svg)](https://syntology.ai/paper/2402.00397)

Connect an agent — have() is free.