Pith. sign in

REVIEW 2 cited by

GeoCode-GPT: A Large Language Model for Geospatial Code Generation Tasks

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2410.17031 v2 pith:OKA6PWDC submitted 2024-10-22 cs.SE cs.AI

classification cs.SEcs.AI
keywords codegenerationgeospatialllmstaskscorporadatasetdomain-specific
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

The increasing demand for spatiotemporal data and modeling tasks in geosciences has made geospatial code generation technology a critical factor in enhancing productivity. Although large language models (LLMs) have demonstrated potential in code generation tasks, they often encounter issues such as refusal to code or hallucination in geospatial code generation due to a lack of domain-specific knowledge and code corpora. To address these challenges, this paper presents and open-sources the GeoCode-PT and GeoCode-SFT corpora, along with the GeoCode-Eval evaluation dataset. Additionally, by leveraging QLoRA and LoRA for pretraining and fine-tuning, we introduce GeoCode-GPT-7B, the first LLM focused on geospatial code generation, fine-tuned from Code Llama-7B. Furthermore, we establish a comprehensive geospatial code evaluation framework, incorporating option matching, expert validation, and prompt engineering scoring for LLMs, and systematically evaluate GeoCode-GPT-7B using the GeoCode-Eval dataset. Experimental results show that GeoCode-GPT outperforms other models in multiple-choice accuracy by 9.1% to 32.1%, in code summarization ability by 1.7% to 25.4%, and in code generation capability by 1.2% to 25.1%. This paper provides a solution and empirical validation for enhancing LLMs' performance in geospatial code generation, extends the boundaries of domain-specific model applications, and offers valuable insights into unlocking their potential in geospatial code generation.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. From PowerPoint UI Sketches to Web-Based Applications: Pattern-Driven Code Generation for GIS Dashboard Development Using Knowledge-Augmented LLMs, Context-Aware Visual Prompting, and the React Framework

    cs.AI 2025-02 conditional novelty 6.0 of 10

    A knowledge-augmented LLM pipeline converts user-sketched UI wireframes from PowerPoint into modular React-based GIS dashboards, demonstrated on two environmental data applications.

  2. GeoPandas-AI: A Smart Class Bringing LLM as Stateful AI Code Assistant

    cs.HC 2025-06 conditional novelty 4.0 of 10

    A new open-source Python class, GeoDataFrameAI, adds a stateful LLM chat interface directly to GeoPandas data frames for geospatial code generation and analysis.

Pith tools