cs.CLMar 16, 2026

A Comparative Study of Demonstration Selection for Practical Large Language Models-based Next POI Prediction

Authors: Ryo Nishida, Masayuki Kawarada, Tatsuya Ishigaki, Hiroya Takamura, Masaki Onishi

Organizations: National Institute of Advanced Industrial Science and Technology, Japan

Abstract

This paper investigates demonstration selection strategies for predicting a user's next point-of-interest (POI) using large language models (LLMs), aiming to accurately forecast a user's subsequent location based on historical check-in data. While in-context learning (ICL) with LLMs has recently gained attention as a promising alternative to traditional supervised approaches, the effectiveness of ICL significantly depends on the selected demonstration. Although previous studies have examined methods such as random selection, embedding-based selection, and task-specific selection, there remains a lack of comprehensive comparative analysis among these strategies. To bridge this gap and clarify the best practices for real-world applications, we comprehensively evaluate existing demonstration selection methods alongside simpler heuristic approaches such as geographical proximity, temporal ordering, and sequential patterns. Extensive experiments conducted on three real-world datasets indicate that these heuristic methods consistently outperform more complex and computationally demanding embedding-based methods, both in terms of computational cost and prediction accuracy. Notably, in certain scenarios, LLMs using demonstrations selected by these simpler heuristic methods even outperform existing fine-tuned models, without requiring further training. Our source code is available at: https://github.com/ryonsd/DS-LLM4POI.

Figures & tables

Explore similar work

CardsList
  1. Think Before You Act: Intention-Guided Reasoning for LLM-Based Location Prediction

    Jun 6, 2026Qingxiang Liu, Anqi Liang, Zhuoyang Jiang +5Sequential RecommendationUser Modeling

  2. Enhancing Human Mobility Prediction with Spatially Aware LLM-based Multi-Agent Systems

    Sep 13, 2026Shangyu Lou, Ziqi CuiTrajectory PredictionSpatial Reasoning

  3. Why Users Go There: World Knowledge-Augmented Generative Next POI Recommendation

    May 12, 2026Qiuyu Ding, Heng-Da Xu, Wei Zhang +4Sequential RecommendationKnowledge Augmentation for Language Models