mlsanityData to 7 Oct 2026

An LLM Agent for Automatic Geospatial Data Analysis

arXiv 2410.18792 ↗First posted 24 Oct 2024cs.CY cs.CLcited by 21

On the map: LLM agents and tool use → Multimodal and embodied agents

Abstract (arXiv)

Large language models (LLMs) are being used in data science code generation tasks, but they often struggle with complex sequential tasks, leading to logical errors. Their application to geospatial data processing is particularly challenging due to difficulties in incorporating complex data structures and spatial constraints, effectively utilizing diverse function calls, and the tendency to hallucinate less-used geospatial libraries. To tackle these problems, we introduce GeoAgent, a new interactive framework designed to help LLMs handle geospatial data processing more effectively. GeoAgent pioneers the integration of a code interpreter, static analysis, and Retrieval-Augmented Generation (RAG) techniques within a Monte Carlo Tree Search (MCTS) algorithm, offering a novel approach to geospatial data processing. In addition, we contribute a new benchmark specifically designed to evaluate the LLM-based approach in geospatial tasks. This benchmark leverages a variety of Python libraries and includes both single-turn and multi-turn tasks such as data acquisition, data analysis, and visualization. By offering a comprehensive evaluation among diverse geospatial contexts, this benchmark sets a new standard for developing LLM-based approaches in geospatial data analysis tasks. Our findings suggest that relying solely on knowledge of LLM is insufficient for accurate geospatial task programming, which requires coherent multi-step processes and multiple function calls. Compared to the baseline LLMs, the proposed GeoAgent has demonstrated superior performance, yielding notable improvements in function calls and task completion. In addition, these results offer valuable insights for the future development of LLM agents in automatic geospatial data analysis task programming.

Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). Placed in Multimodal and embodied agents, one of 16 directions in LLM agents and tool use. Builds on 44 of its 53 references that are in the map. First posted on arXiv 24 Oct 2024.

Builds on

44 of 53 references.

Closest ancestors · 2

Same direction, newest first

  1. 2024An Autonomous GIS Agent Framework for Geospatial Data Retrieval13 Jul
  2. 2024RS-Agent: Automating Remote Sensing Tasks through Intelligent Agent11 Jun

Other references · 42

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  3. 2023Improved Baselines with Visual Instruction Tuningcited by 4,362
  4. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  5. 2023Qwen Technical Reportcited by 3,273
  6. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  7. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
  8. 2024Qwen2 Technical Reportcited by 2,076
  9. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
  10. 2023Teaching Large Language Models to Self-Debugcited by 963
  11. 2024Executable Code Actions Elicit Better LLM Agentscited by 537
  12. 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
30 more
  1. 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 442
  2. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 357
  3. 2023GeoChat: Grounded Large Vision-Language Model for Remote Sensingcited by 320
  4. 2024Long-context LLMs Struggle with Long In-context Learningcited by 285
  5. 2023RSGPT: A Remote Sensing Vision Language Model and Benchmarkcited by 204
  6. 2024EarthGPT: A Universal Multi-modal Large Language Model for Multi-sensor Image Comprehension in Remote Sensing Domaincited by 181
  7. 2023Planning with Large Language Models for Code Generationcited by 179
  8. 2023OctoPack: Instruction Tuning Code Large Language Modelscited by 178
  9. 2024Accessing GPT-4 level Mathematical Olympiad Solutions via Monte Carlo Tree Self-refine with LLaMa-3 8Bcited by 156
  10. 2024CodeGemma: Open Code Models Based on Gemmacited by 145
  11. 2024SkyEyeGPT: Unifying Remote Sensing Vision-Language Tasks via Instruction Tuning with Large Language Modelcited by 112
  12. 2024Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Codecited by 106
  13. 2023Vision-Language Models in Remote Sensing: Current Progress and Future Trendscited by 93
  14. 2024CodeRAG-Bench: Can Retrieval Augment Code Generation?cited by 89
  15. 2024MARIO: MAth Reasoning with code Interpreter Output -- A Reproducible Pipelinecited by 81
  16. 2023K2: A Foundation Language Model for Geoscience Knowledge Understanding and Utilizationcited by 69
  17. 2023GeoLLM: Extracting Geospatial Knowledge from Large Language Modelscited by 62
  18. 2024Change-Agent: Towards Interactive Comprehensive Remote Sensing Change Interpretation and Analysiscited by 60
  19. 2023Autonomous GIS: the next-generation AI-powered GIScited by 52
  20. 2023Large Language Model-Aware In-Context Learning for Code Generationcited by 42
  21. 2024LeDex: Training LLMs to Better Self-Debug and Explain Codecited by 39
  22. 2023ToolCoder: Teach Code Generation Models to use API search toolscited by 37
  23. 2023GeoGalactica: A Scientific Large Language Model in Geosciencecited by 32
  24. 2024Remote Sensing ChatGPT: Solving Remote Sensing Tasks with ChatGPT and Visual Modelscited by 30
  25. 2024GeoLLM-Engine: A Realistic Environment for Building Geospatial Copilotscited by 27
  26. 2024STALL+: Boosting LLM-based Repository-level Code Completion with Static Analysiscited by 21
  27. 2024On Mitigating Code LLM Hallucinations with API Documentationcited by 21
  28. 2024Geospatial Big Data: Survey and Challengescited by 5
  29. 2024CIBench: Evaluating Your LLMs with a Code Interpreter Plugincited by 5
  30. 2024AICoderEval: Improving AI Domain Code Generation of Large Language Modelscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 10; 2026: 11.

21 papers.

Sort:

By area:

  1. 2025Large Language Model-based Data Science Agent: A Surveycited by 22
  2. 2025Multi-Agent Geospatial Copilots for Remote Sensing Workflowscited by 20
  3. 2025Accelerating Earth Science Discovery via Multi-Agent LLM Systemscited by 13
  4. 2025Generalizability of Large Language Model-Based Agents: A Comprehensive Surveycited by 10
  5. 2025GeoFlow: Agentic Workflow Automation for Geospatial Taskscited by 7
  6. 2025CangLing-KnowFlow: A Unified Knowledge-and-Flow-fused Agent for Comprehensive Remote Sensing Applicationscited by 7
  7. 2026TerraScope: Pixel-Grounded Visual Reasoning for Earth Observationcited by 7
  8. 2025Instructor-Worker Large Language Model System for Policy Recommendation: a Case Study on Air Quality Analysis of the January 2025 Los Angeles Wildfirescited by 6
  9. 2026Spatial-Agent: Agentic Geo-spatial Reasoning with Scientific Core Conceptscited by 5
  10. 2026A Hierarchical Multi-Agent System for Autonomous Discovery in Geoscientific Data Archivescited by 4
  11. 2026Agentic AI in Remote Sensing: Foundations, Taxonomy, and Emerging Systemscited by 3
  12. 2025Multimodal Behavioral Patterns Analysis with Eye-Tracking and LLM-Based Reasoningcited by 1
9 more
  1. 2025GeoEvolve: Automating Geospatial Model Discovery via Multi-Agent Large Language Modelscited by 1
  2. 2025Sensorium Arc: AI Agent System for Oceanic Data Exploration and Interactive Eco-Artcited by 0
  3. 2026EVE: A Domain-Specific LLM Framework for Earth Intelligencecited by 0
  4. 2026Medoid Prototype Alignment for Cross-Plant Unknown Attack Detection in Industrial Control Systemscited by 0
  5. 2026CMIP-Forge: An Agentic System that Retrieves, Computes, and Self-Reviews Climate Sciencecited by 0
  6. 2026A Task-Driven and Quality-Assured Agent Framework for SAR Data Generationcited by 0
  7. 2026An Agentic Interface for End-to-End Probabilistic Seismic Hazard and Risk Analysiscited by 0
  8. 2026GISAgentBench: A Practitioner-Sourced Benchmark for Evaluating LLM Agents on GIS Taskscited by 0
  9. 2026RingMoClaw: An Experience-Inspired Multi-Agent Framework for Self-Evolving Research in Remote Sensingcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025GeoJSON Agents:A Multi-Agent LLM Architecture for Geospatial Analysis-Function Calling vs Code Generation
  2. 2025GeoBenchX: Benchmarking LLMs in Agent Solving Multistep Geospatial Tasks
  3. 2024Evaluation of Code LLMs on Geospatial Code Generation
  4. 2025GeoAnalystBench: A GeoAI benchmark for assessing large language models for spatial analysis workflow and code generation
  5. 2026GISclaw: A Comprehensive Open-Source LLM Agent System for Realistic Multi-Step Geospatial Analysis
  6. 2025AutoGEEval: A Multimodal and Automated Framework for Geospatial Code Generation on GEE with Large Language Models
  7. 2026GeoAgentBench: A Dynamic Execution Benchmark for Tool-Augmented Agents in Spatial Analysis
  8. 2024ShapefileGPT: A Multi-Agent Large Language Model Framework for Automated Shapefile Processing