CompassLLM: A Multi-Agent Approach toward Geo-Spatial Reasoning for Popular Path Query

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ananto, Md. Nazmul Islam, Fatin, Shamit, Ali, Mohammed Eunus, Parvez, Md Rizwan
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914535964672000
author Ananto, Md. Nazmul Islam
Fatin, Shamit
Ali, Mohammed Eunus
Parvez, Md Rizwan
author_facet Ananto, Md. Nazmul Islam
Fatin, Shamit
Ali, Mohammed Eunus
Parvez, Md Rizwan
contents The popular path query - identifying the most frequented routes between locations from historical trajectory data - has important applications in urban planning, navigation optimization, and travel recommendations. While traditional algorithms and machine learning approaches have achieved success in this domain, they typically require model training, parameter tuning, and retraining when accommodating data updates. As Large Language Models (LLMs) demonstrate increasing capabilities in spatial and graph-based reasoning, there is growing interest in exploring how these models can be applied to geo-spatial problems. We introduce CompassLLM, a novel multi-agent framework that intelligently leverages the reasoning capabilities of LLMs into the geo-spatial domain to solve the popular path query. CompassLLM employs its agents in a two-stage pipeline: the SEARCH stage that identifies popular paths, and a GENERATE stage that synthesizes novel paths in the absence of an existing one in the historical trajectory data. Experiments on real and synthetic datasets show that CompassLLM demonstrates superior accuracy in SEARCH and competitive performance in GENERATE while being cost-effective.
format Preprint
id arxiv_https___arxiv_org_abs_2510_07516
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle CompassLLM: A Multi-Agent Approach toward Geo-Spatial Reasoning for Popular Path Query
Ananto, Md. Nazmul Islam
Fatin, Shamit
Ali, Mohammed Eunus
Parvez, Md Rizwan
Artificial Intelligence
Computation and Language
The popular path query - identifying the most frequented routes between locations from historical trajectory data - has important applications in urban planning, navigation optimization, and travel recommendations. While traditional algorithms and machine learning approaches have achieved success in this domain, they typically require model training, parameter tuning, and retraining when accommodating data updates. As Large Language Models (LLMs) demonstrate increasing capabilities in spatial and graph-based reasoning, there is growing interest in exploring how these models can be applied to geo-spatial problems. We introduce CompassLLM, a novel multi-agent framework that intelligently leverages the reasoning capabilities of LLMs into the geo-spatial domain to solve the popular path query. CompassLLM employs its agents in a two-stage pipeline: the SEARCH stage that identifies popular paths, and a GENERATE stage that synthesizes novel paths in the absence of an existing one in the historical trajectory data. Experiments on real and synthetic datasets show that CompassLLM demonstrates superior accuracy in SEARCH and competitive performance in GENERATE while being cost-effective.
title CompassLLM: A Multi-Agent Approach toward Geo-Spatial Reasoning for Popular Path Query
topic Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2510.07516