mlsanityData to 7 Oct 2026

Geo-FuB: A Method for Constructing an Operator-Function Knowledge Base for Geospatial Code Generation Tasks Using Large Language Models

arXiv 2410.20975 ↗First posted 28 Oct 2024cs.SE cs.AI cs.DBcited by 1

Not on the map. Why?

Abstract (arXiv)

The rise of spatiotemporal data and the need for efficient geospatial modeling have spurred interest in automating these tasks with large language models (LLMs). However, general LLMs often generate errors in geospatial code due to a lack of domain-specific knowledge on functions and operators. To address this, a retrieval-augmented generation (RAG) approach, utilizing an external knowledge base of geospatial functions and operators, is proposed. This study introduces a framework to construct such a knowledge base, leveraging geospatial script semantics. The framework includes: Function Semantic Framework Construction (Geo-FuSE), Frequent Operator Combination Statistics (Geo-FuST), and Semantic Mapping (Geo-FuM). Techniques like Chain-of-Thought, TF-IDF, and the APRIORI algorithm are utilized to derive and align geospatial functions. An example knowledge base, Geo-FuB, built from 154,075 Google Earth Engine scripts, is available on GitHub. Evaluation metrics show a high accuracy, reaching 88.89% overall, with structural and semantic accuracies of 92.03% and 86.79% respectively. Geo-FuB's potential to optimize geospatial code generation through the RAG and fine-tuning paradigms is highlighted.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 11 of its 44 references that are in the map. First posted on arXiv 28 Oct 2024.

Builds on

11 of 44 references.

References · 11

  1. 2022Large Language Models Encode Clinical Knowledgecited by 1,807
  2. 2022BioGPT: Generative Pre-trained Transformer for Biomedical Text Generation and Miningcited by 531
  3. 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
  4. 2023Software Testing with Large Language Models: Survey, Landscape, and Visioncited by 163
  5. 2023Large Language Models in Law: A Surveycited by 128
  6. 2021Lawformer: A Pre-trained Language Model for Chinese Legal Long Documentscited by 115
  7. 2024LEVA: Using Large Language Models to Enhance Visual Analyticscited by 24
  8. 2024GeoCode-GPT: A Large Language Model for Geospatial Code Generation Taskscited by 11
  9. 2024Evaluation of Code LLMs on Geospatial Code Generationcited by 8
  10. 2014An Improved Apriori Algorithm for Association Rulescited by 5
  11. 2022PCAE: A Framework of Plug-in Conditional Auto-Encoder for Controllable Text Generationcited by 4

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024GEE-OPs: An Operator Knowledge Base for Geospatial Code Generation on the Google Earth Engine Platform Powered by Large Language Models
  2. 2024Can Large Language Models Generate Geospatial Code?
  3. 2025AutoGEEval: A Multimodal and Automated Framework for Geospatial Code Generation on GEE with Large Language Models
  4. 2025GeoAnalystBench: A GeoAI benchmark for assessing large language models for spatial analysis workflow and code generation
  5. 2024An LLM Agent for Automatic Geospatial Data Analysis
  6. 2025GeoJSON Agents:A Multi-Agent LLM Architecture for Geospatial Analysis-Function Calling vs Code Generation
  7. 2023Are Large Language Models Geospatially Knowledgeable?
  8. 2025Coordinates from Context: Using LLMs to Ground Complex Location References