SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.30399 · 2026

SemPOI-RL: Aligning LLM Semantic Reasoning for Interpretable Out-of-Town POI Sequential Generation

Yang Zhang, Leilei Sun, Tongyu Zhu, Yunqi Liu, Liangzhe Han, Ruixing Zhang, Yi Qiao

arXiv · PDF · Open in the Atlas

Code that ran

8 of 12 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; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 6 failures of our instrument; 4 no recorded run), measured 2026-11-23; 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/2608.30399.json · badge: /api/ran/2608.30399.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
Wind-Flipped/SemPOI-RL canonical (classifier label)
classifier basis: census
8 ran · 4 no recorded run
FunctionStatusWhere it lives
collate_fn Ran
ran; our contract draft was wrong, not the code
Wind-Flipped/SemPOI-RL/code/utils.py
pointer only (licence: NONE) · get_code("57a8d6752075da4a")
How it ran

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

count_repetition_percentage Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Wind-Flipped/SemPOI-RL/code/metrics.py
pointer only (licence: NONE) · get_code("285797e49d40b212")
How it ran

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

f1_score Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Wind-Flipped/SemPOI-RL/code/metrics.py
pointer only (licence: NONE) · get_code("49807bc3c4da0a97")
How it ran

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

filt_params Ran
ran; our contract draft was wrong, not the code
Wind-Flipped/SemPOI-RL/code/utils.py
pointer only (licence: NONE) · get_code("8feab5efeacd194d")
How it ran

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

pairs_f1_score Ran
ran; our contract draft was wrong, not the code
Wind-Flipped/SemPOI-RL/code/metrics.py
pointer only (licence: NONE) · get_code("545a3b4cc140e32c")
How it ran

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

t2v Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Wind-Flipped/SemPOI-RL/code/ARmodel.py
pointer only (licence: NONE) · get_code("e9f89fa9674bbe4e")
How it ran

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

travel_style_length_reward_func Ran
ran, honoured the contract we drafted
Wind-Flipped/SemPOI-RL/code/LLMs.py
pointer only (licence: NONE) · get_code("7d5b342b449538c2")
How it ran

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

travel_style_similarity_reward_func Ran
ran, honoured the contract we drafted
Wind-Flipped/SemPOI-RL/code/LLMs.py
pointer only (licence: NONE) · get_code("72daef44c9b956d8")
How it ran

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

random_choice_by_probability Not yet run
unverified (harvested, no recorded run)
Wind-Flipped/SemPOI-RL/code/trainer.py
pointer only (licence: NONE) · get_code("779a4ee0a33d4cdd")
How it ran

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

random_split Not yet run
unverified (harvested, no recorded run)
Wind-Flipped/SemPOI-RL/code/data.py
pointer only (licence: NONE) · get_code("d926128d27dcb127")
How it ran

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

select_top_p_indices Not yet run
unverified (harvested, no recorded run)
Wind-Flipped/SemPOI-RL/code/trainer.py
pointer only (licence: NONE) · get_code("91a741202461da7b")
How it ran

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

top_n_recommendation Not yet run
unverified (harvested, no recorded run)
Wind-Flipped/SemPOI-RL/code/trainer.py
pointer only (licence: NONE) · get_code("3de9b9547d8e26e8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Wind-Flipped/SemPOI-RL 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 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 12 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.

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

Repositories linked to this paper

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

Abstract

Large language models (LLMs) exhibit strong semantic reasoning and open-ended generation abilities, but aligning these abilities with structured sequential generation remains challenging. This challenge is particularly evident in out-of-town (OOT) POI sequence generation, where a model must infer transferable travel intent from a user's hometown behaviors, adapt to cross-city interest drift, and generate a coherent destination trajectory under structural constraints. Existing approaches either rely on latent ID-based transfer with limited interpretability or directly use LLMs for sequence generation without explicitly grounding inferred semantics into position-aware predictions. To address this gap, we propose SemPOI-RL, a framework that aligns LLM semantic reasoning with structured sequence generation for interpretable OOT recommendation. Specifically, we first fine-tune an LLM to infer destination-oriented travel styles from users' hometown trajectories, using natural language as an interpretable semantic intermediate. We then introduce a Semantic POI Alignment Module (SPAM) to ground these inferred styles into a style-conditioned masked autoencoder for position-aware trajectory generation. Finally, we apply reinforcement learning with recommendation-oriented rewards to align LLM-generated styles with downstream sequence quality. Experiments on two real-world datasets show that SemPOI-RL consistently outperforms both traditional recommenders and direct LLM baselines, while providing interpretable style attribution across different phases of a trip. The code is available at https://github.com/Wind-Flipped/SemPOI-RL .

For agents

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

get_harvested_code_for_paper("2608.30399")
get_code_for_paper("2608.30399")
have("2608.30399")

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

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

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

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

Connect an agent — have() is free.