paper-with-me

홈 › Papers

Evaluation of Code LLMs on Geospatial Code Generation

2024-10-06 · Piotr Gramacki, Bruno Martins, Piotr Szymański

Software development support tools have been studied for a long time, with recent approaches using Large Language Models (LLMs) for code generation. These models can generate Python code for data science and machine learning applications. LLMs are helpful for software engineers because they increase productivity in daily work. An LLM can also serve as a "mentor" for inexperienced software developers, and be a viable learning support. High-quality code generation with LLMs can also be beneficial in geospatial data science. However, this domain poses different challenges, and code generation LLMs are typically not evaluated on geospatial tasks. Here, we show how we constructed an evaluation benchmark for code generation models, based on a selection of geospatial tasks. We categorised geospatial tasks based on their complexity and required tools. Then, we created a dataset with tasks that test model capabilities in spatial reasoning, spatial data processing, and geospatial tools usage. The dataset consists of specific coding problems that were manually created for high quality. For every problem, we proposed a set of test scenarios that make it possible to automatically check the generated code for correctness. In addition, we tested a selection of existing code generation LLMs for code generation in the geospatial domain. We share our dataset and reproducible evaluation code on a public GitHub repository, arguing that this can serve as an evaluation benchmark for new LLMs in the future. Our dataset will hopefully contribute to the development new models capable of solving geospatial coding tasks with high accuracy. These models will enable the creation of coding assistants tailored for geospatial applications.

📄 PDF Abstract BibTeX arXiv:2410.04617

Code (1)

kraina-ai/geospatial-code-llms-dataset 공식 구현

Tasks

Code GenerationSpatial Reasoning

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

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

2024-10-22 · Shuyang Hou, Zhangxiao Shen, Anqi Zhao, Jianyuan Liang 외

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 demon…

Code GenerationCode SummarizationHallucinationLanguage Modeling+4

Chain-of-Programming (CoP) : Empowering Large Language Models for Geospatial Code Generation

2024-11-16 · Shuyang Hou, Haoyue Jiao, Zhangxiao Shen, Jianyuan Liang 외

With the rapid growth of interdisciplinary demands for geospatial modeling and the rise of large language models (LLMs), geospatial code generation technology has seen significant advancements. However, existing LLMs oft…

Code GenerationData VisualizationHallucination

AutoGEEval: A Multimodal and Automated Framework for Geospatial Code Generation on GEE with Large Language Models

2025-05-19 · Shuyang Hou, Zhangxiao Shen, Huayi Wu, Jianyuan Liang 외

Geospatial code generation is emerging as a key direction in the integration of artificial intelligence and geoscientific analysis. However, there remains a lack of standardized tools for automatic evaluation in this dom…

Code GenerationCode TranslationQuestion GenerationQuestion-Generation

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

2024-10-28 · Shuyang Hou, Anqi Zhao, Jianyuan Liang, Zhangxiao Shen 외

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 GenerationRAGRetrieval-augmented Generation

TurnBack: A Geospatial Route Cognition Benchmark for Large Language Models through Reverse Route

2025-09-17 · Hongyi Luo, Qing Cheng, Daniel Matos, Hari Krishna Gadi 외 arxiv

Humans can interpret geospatial information through natural language, while the geospatial cognition capabilities of Large Language Models (LLMs) remain underexplored. Prior research in this domain has been constrained b…