Papers › LibCity: A Unified Library Towards Efficient and Comprehensive Urban Spatial-Temporal...

LibCity: A Unified Library Towards Efficient and Comprehensive Urban Spatial-Temporal Prediction

27 Apr 2023arXiv:2304.14343archive 2025-07-28

Jiawei Jiang, Chengkai Han, Wenjun Jiang, Wayne Xin Zhao, Jingyuan Wang

As deep learning technology advances and more urban spatial-temporal data accumulates, an increasing number of deep learning models are being proposed to solve urban spatial-temporal prediction problems. However, there are limitations in the existing field, including open-source data being in various formats and difficult to use, few papers making their code and data openly available, and open-source models often using different frameworks and platforms, making comparisons challenging. A standardized framework is urgently needed to implement and evaluate these methods. To address these issues, we propose LibCity, an open-source library that offers researchers a credible experimental tool and a convenient development framework. In this library, we have reproduced 65 spatial-temporal prediction models and collected 55 spatial-temporal datasets, allowing researchers to conduct comprehensive experiments conveniently. By enabling fair model comparisons, designing a unified data storage format, and simplifying the process of developing new models, LibCity is poised to make significant contributions to the spatial-temporal prediction field.

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

Code

Syntology Ran 2 of 25 code samples harvested from 2 repositories linked to this paper; 23 have no recorded run. Of those that ran: 2 ran with no contract checked.

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

libcity/bigscity-libcity-datasets officialmentioned in papermentioned on GitHubApache-2.0 report
libcity/bigscity-libcity officialmentioned on GitHubpytorchApache-2.0 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

25 samples harvested; 2 ran; 0 honoured the contract we drafted; 23 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.

2ran
23unverified

Licence: 0 of the 25 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 2 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.

log_cosh_loss libcity/bigscity-libcity/libcity/model/loss.py official repository ran fingerprinted Apache-2.0 (permissive) · 8b1fe12a843654ca · report
masked_mae_loss libcity/bigscity-libcity/libcity/model/loss.py official repository ran fingerprinted Apache-2.0 (permissive) · 2a82a90d91ced4b6 · report
build_sparse_matrix libcity/bigscity-libcity/libcity/model/utils.py official repository unverified Apache-2.0 (permissive) · c7bc684a945c2719 · report
convert libcity/bigscity-libcity-datasets/bj_traj.py official repository unverified Apache-2.0 (permissive) · 6484aba9db44e9b8 · report
find_useful_features libcity/bigscity-libcity-datasets/bj_roadmap_edge.py official repository unverified Apache-2.0 (permissive) · c7a399cba0192196 · report
get_cheb_polynomial libcity/bigscity-libcity/libcity/model/utils.py official repository unverified Apache-2.0 (permissive) · 0366ff346b2936b5 · report
get_data_url_Q libcity/bigscity-libcity-datasets/bikedc.py official repository unverified Apache-2.0 (permissive) · 0099f47352ee0476 · report
get_data_url_month libcity/bigscity-libcity-datasets/bikedc.py official repository unverified Apache-2.0 (permissive) · 2ee61bfad6b79126 · report
get_data_url_year libcity/bigscity-libcity-datasets/bikedc.py official repository unverified Apache-2.0 (permissive) · 20f504432fc2ee4f · report
get_highway_to_num libcity/bigscity-libcity-datasets/bj_roadmap_edge.py official repository unverified Apache-2.0 (permissive) · 57cbd8e62f2e6798 · report
get_supports_matrix libcity/bigscity-libcity/libcity/model/utils.py official repository unverified Apache-2.0 (permissive) · 45ca7fb0a42154d5 · report
handle_point_geo libcity/bigscity-libcity-datasets/austinride.py official repository unverified Apache-2.0 (permissive) · 728037670d07ddc5 · report
handle_point_geo libcity/bigscity-libcity-datasets/bikechi.py official repository unverified Apache-2.0 (permissive) · 58d371f7e8a73575 · report
id_to_time_10min libcity/bigscity-libcity-datasets/beijing_subway.py official repository unverified Apache-2.0 (permissive) · bf191031adaca863 · report
id_to_time_15min libcity/bigscity-libcity-datasets/beijing_subway.py official repository unverified Apache-2.0 (permissive) · 4c7e781473ac2c4a · report
id_to_time_30min libcity/bigscity-libcity-datasets/beijing_subway.py official repository unverified Apache-2.0 (permissive) · f24dac473bb249f5 · report
judge_id libcity/bigscity-libcity-datasets/austinride.py official repository unverified Apache-2.0 (permissive) · 608e6aa23b74f163 · report
mae libcity/bigscity-libcity/libcity/evaluator/eval_funcs.py official repository unverified Apache-2.0 (permissive) · dd2102b030c94016 · report
masked_mae_torch libcity/bigscity-libcity/libcity/model/loss.py official repository unverified Apache-2.0 (permissive) · 6c16b4c86ecbcba3 · report
mse libcity/bigscity-libcity/libcity/evaluator/eval_funcs.py official repository unverified Apache-2.0 (permissive) · 96dff086a8a8530c · report
partition_to_grid libcity/bigscity-libcity-datasets/austinride.py official repository unverified Apache-2.0 (permissive) · 3ca0474dd60a6501 · report
rmse libcity/bigscity-libcity/libcity/evaluator/eval_funcs.py official repository unverified Apache-2.0 (permissive) · 39ddf715e408db82 · report
select_lat libcity/bigscity-libcity-datasets/bikechi.py official repository unverified Apache-2.0 (permissive) · 7259fe4aed6651ee · report
select_lon libcity/bigscity-libcity-datasets/bikechi.py official repository unverified Apache-2.0 (permissive) · 33a5b720eef76c68 · report
weight_matrix libcity/bigscity-libcity-datasets/Multi_Graph_Demand.py official repository unverified Apache-2.0 (permissive) · cf6259ac473d9fe0 · report

Tasks

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