SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2201.10489 · 2022

Sphere2Vec: Multi-Scale Representation Learning over a Spherical Surface for Geospatial Predictions

arXiv · PDF · Open in the Atlas

Code that ran

3 of 4 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; 3 failures of our instrument; 1 no recorded run), measured 2026-11-21; 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/2201.10489.json · badge: /api/ran/2201.10489.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
gengchenmai/sphere2vec canonical (classifier label)
classifier basis: classifier_2025
3 ran · 1 no recorded run
FunctionStatusWhere it lives
compute_mrr_by_lat Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
gengchenmai/sphere2vec/main/eval_analysis.py
pointer only (licence: NONE) · get_code("eccb2504e6bf75c5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gengchenmai/sphere2vec 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.

compute_mrr_by_latlongrid Ran
ran; our contract draft was wrong, not the code
gengchenmai/sphere2vec/main/eval_analysis.py
pointer only (licence: NONE) · get_code("f0c8a19e7f1331fe")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gengchenmai/sphere2vec 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.

plot_locs Ran
ran; our contract draft was wrong, not the code
gengchenmai/sphere2vec/main/eval_analysis.py
pointer only (licence: NONE) · get_code("b6dbb6a8dbe80516")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gengchenmai/sphere2vec 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.

test Not yet run
unverified (harvested, no recorded run)
gengchenmai/sphere2vec/main/train_tang_baseline.py
pointer only (licence: NONE) · get_code("0e60fa29baf88f8c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gengchenmai/sphere2vec 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 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 4 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 4 later) and 0 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
compute_mrr_by_lat 2 other papers
2 later
2306.17624 (2023-06)
Sphere2Vec: A General-Purpose Location Representation Learning over a Spherical Surface for Large-Scale Geospatial Predictions
2406.15658 (2024-06)
TorchSpatial: A Location Encoding Framework and Benchmark for Spatial Representation Learning
compute_mrr_by_latlongrid 2 other papers
2 later
2306.17624 (2023-06)
Sphere2Vec: A General-Purpose Location Representation Learning over a Spherical Surface for Large-Scale Geospatial Predictions
2406.15658 (2024-06)
TorchSpatial: A Location Encoding Framework and Benchmark for Spatial Representation Learning
plot_locs 2 other papers
2 later
2306.17624 (2023-06)
Sphere2Vec: A General-Purpose Location Representation Learning over a Spherical Surface for Large-Scale Geospatial Predictions
2406.15658 (2024-06)
TorchSpatial: A Location Encoding Framework and Benchmark for Spatial Representation Learning
test 1 other paper
1 later
2306.17624 (2023-06)
Sphere2Vec: A General-Purpose Location Representation Learning over a Spherical Surface for Large-Scale Geospatial Predictions

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-21.

Repositories linked to this paper

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

Abstract

Generating learning-friendly representations for points in a 2D space is a fundamental and long-standing problem in machine learning. Recently, multi-scale encoding schemes (such as Space2Vec) were proposed to directly encode any point in 2D space as a high-dimensional vector, and has been successfully applied to various (geo)spatial prediction tasks. However, a map projection distortion problem rises when applying location encoding models to large-scale real-world GPS coordinate datasets (e.g., species images taken all over the world) - all current location encoding models are designed for encoding points in a 2D (Euclidean) space but not on a spherical surface, e.g., earth surface. To solve this problem, we propose a multi-scale location encoding model called Sphere2V ec which directly encodes point coordinates on a spherical surface while avoiding the mapprojection distortion problem. We provide theoretical proof that the Sphere2Vec encoding preserves the spherical surface distance between any two points. We also developed a unified view of distance-reserving encoding on spheres based on the Double Fourier Sphere (DFS). We apply Sphere2V ec to the geo-aware image classification task. Our analysis shows that Sphere2V ec outperforms other 2D space location encoder models especially on the polar regions and data-sparse areas for image classification tasks because of its nature for spherical surface distance preservation.

For agents

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

get_harvested_code_for_paper("2201.10489")
get_code_for_paper("2201.10489")
have("2201.10489")

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

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

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

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

Connect an agent — have() is free.