RALLM-POI: Retrieval-Augmented LLM for Zero-shot Next POI Recommendation with Geographical Reranking

Kunrong Li, Kwan Hui Lim
9/21/2025
cs.AIcs.IR

Official code: LKRcrocodile/RALLM-POI (7 stars, MIT, last commit 2025-10-05).

Abstract

Next point-of-interest (POI) recommendation predicts a user's next destination from historical movements. Traditional models require intensive training, while LLMs offer flexible and generalizable zero-shot solutions but often generate generic or geographically irrelevant results due to missing trajectory and spatial context. To address these issues, we propose RALLM-POI, a framework that couples LLMs with retrieval-augmented generation and self-rectification. We first propose a Historical Trajectory Retriever (HTR) that retrieves relevant past trajectories to serve as contextual references, which are then reranked by a Geographical Distance Reranker (GDR) for prioritizing spatially relevant trajectories. Lastly, an Agentic LLM Rectifier (ALR) is designed to refine outputs through self-reflection. Without additional training, RALLM-POI achieves substantial accuracy gains across three real-world Foursquare datasets, outperforming both conventional and LLM-based baselines. Code is released at https://github.com/LKRcrocodile/RALLM-POI.

View on arXivView PDF

Code Implementations(1)

MIT
73PythonOct 5, 20251 years agoMIT

Similar Papers

Cite this paper

@article{li2025rallmpoi,
  title  = {RALLM-POI: Retrieval-Augmented LLM for Zero-shot Next POI Recommendation with Geographical Reranking},
  author = {Kunrong Li and Kwan Hui Lim},
  year   = {2025},
  eprint = {2509.17066},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.17066v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.17066.svg)](https://codeofpaper.com/paper/2509.17066)

Discussion