🤖 AI Summary
This work addresses the limitations of current large language model (LLM) agents in geospatial reasoning, which often rely on web search or pattern matching due to a lack of genuine computational capabilities, leading to spatial relational hallucinations. The authors frame geospatial question answering as a conceptual transformation problem and propose GeoFlow—a framework that constructs executable directed acyclic graphs through spatial concept extraction, functional role assignment, and ordered constraint template generation. By grounding reasoning in core theories from spatial information science, GeoFlow enables principled, interpretable, and reliable geospatial inference. This approach represents the first integration of foundational spatial information science principles into AI agents, significantly enhancing both explainability and correctness. Evaluated on the MapEval-API and MapQA benchmarks, GeoFlow outperforms established baselines such as ReAct and Reflexion, generating executable and semantically consistent geospatial workflows.
📝 Abstract
Geospatial reasoning is essential for real-world applications such as urban analytics, transportation planning, and disaster response. However, existing LLM-based agents often fail at genuine geospatial computation, relying instead on web search or pattern matching while hallucinating spatial relationships. We present Spatial-Agent, an AI agent grounded in foundational theories of spatial information science. Our approach formalizes geo-analytical question answering as a concept transformation problem, where natural-language questions are parsed into executable workflows represented as GeoFlow Graphs -- directed acyclic graphs with nodes corresponding to spatial concepts and edges representing transformations. Drawing on spatial information theory, Spatial-Agent extracts spatial concepts, assigns functional roles with principled ordering constraints, and composes transformation sequences through template-based generation. Extensive experiments on MapEval-API and MapQA benchmarks demonstrate that Spatial-Agent significantly outperforms existing baselines including ReAct and Reflexion, while producing interpretable and executable geospatial workflows.