arXiv:2411.03205cs.AIcs.ET2024-11被引 75

用自然语言让GIS软件自动完成空间分析,降低专业门槛。

GIS Copilot: Towards an Autonomous GIS Agent for Spatial Analysis

  • 用大模型理解用户指令,自动生成地理分析流程和代码。
  • 基础与中等任务成功率高,复杂任务仍需人工干预。
  • 适合无地理信息背景的用户快速上手空间分析。

生成式AI为空间分析带来新可能,但其与传统GIS平台的融合仍不充分。本文提出将大语言模型(LLM)直接集成至现有GIS平台(以QGIS为例)的框架,通过具备完整工具文档的智能代理,利用LLM的推理与编程能力,自主生成空间分析工作流和代码。由此开发的“GIS Copilot”支持用户以自然语言指令操作QGIS。评估涵盖100多个空间分析任务,分为三类:基础任务(单工具、单数据层)、中等任务(多步骤、有用户指引)、高级任务(多步骤、无指引,需自主决策)。结果显示,该系统在基础与中等任务中工具选择与代码生成准确率高,但在复杂任务中尚未实现完全自主。本研究推动了自主地理信息系统的发展,使非专业人士也能低门槛参与空间分析,显著简化工作流并提升决策效率。

原文摘要 · Abstract (English)

Recent advancements in Generative AI offer promising capabilities for spatial analysis. Despite their potential, the integration of generative AI with established GIS platforms remains underexplored. In this study, we propose a framework for integrating LLMs directly into existing GIS platforms, using QGIS as an example. Our approach leverages the reasoning and programming capabilities of LLMs to autonomously generate spatial analysis workflows and code through an informed agent that has comprehensive documentation of key GIS tools and parameters. The implementation of this framework resulted in the development of a "GIS Copilot" that allows GIS users to interact with QGIS using natural language commands for spatial analysis. The GIS Copilot was evaluated with over 100 spatial analysis tasks with three complexity levels: basic tasks that require one GIS tool and typically involve one data layer to perform simple operations; intermediate tasks involving multi-step processes with multiple tools, guided by user instructions; and advanced tasks which involve multi-step processes that require multiple tools but not guided by user instructions, necessitating the agent to independently decide on and executes the necessary steps. The evaluation reveals that the GIS Copilot demonstrates strong potential in automating foundational GIS operations, with a high success rate in tool selection and code generation for basic and intermediate tasks, while challenges remain in achieving full autonomy for more complex tasks. This study contributes to the emerging vision of Autonomous GIS, providing a pathway for non-experts to engage with geospatial analysis with minimal prior expertise. While full autonomy is yet to be achieved, the GIS Copilot demonstrates significant potential for simplifying GIS workflows and enhancing decision-making processes.

GIS自动化大模型空间分析自然语言交互

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。