This is the authors' abstract. We don't add key points for this paper.
Large language models (LLMs) have demonstrated potential in generating Google Earth Engine (GEE) JavaScript code, but they still suffer from issues such as mismatches between generated code and user intent in complex tasks and a lack of transparency in the generation process, which hinder their trustworthy application in geospatial analysis. To improve the accuracy and interpretability of GEE JavaScript code generation, this study proposes CodeGEEnius, an interpretable reasoning large language model specifically designed for GEE JavaScript code generation. By integrating a Chain-of-Programming mechanism with a code distillation strategy, this study distills 198,122 reasoning-oriented fine-tuning samples from DeepSeek-R1 and constructs an additional 200,264 supervised fine-tuning samples. On this basis, the Qwen-2.5-14B model is fine-tuned using a combination of Low-Rank Adaptation (LoRA) and a staged fine-tuning strategy. Based on the AutoGEEval++ evaluation frameworks, the proposed model is assessed from two perspectives: code generation performance and reasoning interpretability. The results indicate that on the Atomic, Combined, and Theme benchmark sets of AutoGEEval++, CodeGEEnius achieves pass@5 scores of 94.15 %, 89.24 %, and 73.56 %, respectively, outperforming all nine comparative models. In terms of interpretability, the generated reasoning content of CodeGEEnius attains an overall completeness rate of 99.50 %. Furthermore, this study introduces an LLM-as-a-Judge evaluation paradigm to assess the relevance between the model-generated reasoning, the task requirements, and the resulting code. The results show that the relevance between the reasoning process and the final code generated by CodeGEEnius reaches up to 93.20 %, providing empirical evidence for the interpretability of its code generation. The proposed CodeGEEnius offers an integrated solution that combines efficient and accurate GEE JavaScript code generation with transparent and interpretable reasoning, thereby advancing the trustworthy application of LLMs in geospatial intelligence. The model is publicly available at https://huggingface.co/lzq677/CodeGEEnius .
Answers are grounded in this paper and cite their sources.
No takes yet. Share an insight, caveat, or question.
Liu et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: