返回
Can large language models generate geospatial code?
DOI:10.1080/10095020.2025.2535523.png)
摘要
En 中文
随着大型语言模型越来越多地表现出诸如拒绝响应,生成不可执行代码以及地理空间代码生成任务中可读性差的幻觉,建立系统且可量化的评估框架对于推进其在GIS中的应用至关重要。本文介绍了geocode-eval框架,这是地理空间代码生成中LLMs的第一个综合评估框架。该框架基于三个维度-认知和记忆,理解和解释以及创新和创造-涉及八个能力级别,包括平台和工具认知,功能知识,数据集识别,信息提取以及各种与代码相关的任务。为了支持这一点,开发了GeoCode-Bench基准测试,包括5,000个多项选择题,1,500个对/错问题,1,500个填空问题和1,000个编码任务。该研究使用六个指标,即可执行性,准确性,可读性,位置正确性,内容正确性和摘要完整性,评估了涵盖四个类别的十二个代表性模型,包括DeepSeek-Coder-V2和地理编码GPT (7B)。结合分析方法,包括熵加权,变异系数,偏度和峰度,用于检查模型能力分布,指标分布,代码类型特征和错误类型模式。结果显示在工具认知和代码摘要方面的性能一致,而在代码生成、完成和纠正方面仍然存在显著的性能差距。常见错误包括数据类型和语法问题。这项研究为评估地理空间代码生成中的LLM的功能和未来优化提供了可量化的基础,从而扩展了GIS中LLM的应用范围,并为其他垂直领域中LLM应用的评估方法的开发提供了宝贵的见解。
Keyword:
Geospatial code generation
large language models
GIS
DeepSeek
LLM evaluation
期刊
G
IF:
5.5
论文数:
890
被引数:
3.3K
机构
引用论文
Banerjee, I., B. Nguyen, V. Garousi, and A. Memon. 2013. “Graphical User Interface (GUI) Testing: Systematic Mapping and Repository.” Information and Software Technology 55 (10): 1679–1694. https://doi.org/10.1016/j.infsof.2013.03.004. (Open in a new window)Web of Science ®(Open in a new window)Google Scholar班纳吉,I.,B.阮,V.加鲁西,和A.梅蒙。2013年。“图形用户界面(GUI)测试:系统化映射和仓库。”《信息和软件技术》55(10):1679-1694。https://doi.org/10.1016/j.infsof.2013.03.004.(在新窗口中打开)Web of Science ®(在新窗口中打开)谷歌学术
Kempeneers, P., O. Pesek, D. De Marchi, and P. Soille. 2019. “Pyjeo: A Python Package for the Analysis of Geospatial Data.” ISPRS International Journal of geo-Information 8 (10): 461. https://doi.org/10.3390/ijgi8100461. (Open in a new window)Web of Science ®(Open in a new window)Google ScholarKempeneers, P., O. Pesek, D. De Marchi, and P. Soille. 2019. “Pyjeo: 一个用于地理空间数据分析的Python软件包。” 国际摄影测量与遥感学会地理信息国际期刊 8 (10): 461. https://doi.org/10.3390/ijgi8100461. (在新窗口中打开)Web of Science ®(在新窗口中打开)谷歌学术
Liang, M., L. Liu, W. Liang, W. Mi, K. Ye, and J. Gao. 2024. “Intelligentization Helps the Green and energy-Saving Transformation of Power industry-Evidence from Substation Engineering in China.” Scientific Reports 14 (1): 8698. https://doi.org/10.1038/s41598-024-59271-5. (Open in a new window)PubMed (Open in a new window)Web of Science ®(Open in a new window)Google Scholar梁, M., 刘, L., 梁文, W., 米, W., 叶, K., 高, J. 2024. “智能化助力电力工业的绿色与节能转型——来自中国变电站工程的证据。” 科学报告 14 (1): 8698. https://doi.org/10.1038/s41598-024-59271-5. (在新窗口中打开)PubMed (在新窗口中打开)Web of Science ®(在新窗口中打开)谷歌学术
Varma, J. R., and V. Virmani. 2016. “Computational Finance Using Quantlib-Python.” Computing in Science & Engineering 18 (2): 78–88. https://doi.org/10.1109/MCSE.2016.28. (Open in a new window)Web of Science ®(Open in a new window)Google ScholarVarma, J. R., 和 V. Virmani. 2016. “使用Quantlib-Python的计算金融学。” 《科学与工程计算》18 (2): 78–88. https://doi.org/10.1109/MCSE.2016.28. (在新窗口中打开)Web of Science ®(在新窗口中打开)谷歌学术
Xu, L., S. Zhao, Q. Lin, L. Chen, Q. Luo, S. Wu, X. Ye, H. Feng, and Z. Du. 2025. “Evaluating Large Language Models on Geospatial Tasks: A Multiple Geospatial Task Benchmarking Study.” International Journal of Digital Earth 18 (1): 2480268. https://doi.org/10.1080/17538947.2025.2480268. (Open in a new window)Web of Science ®(Open in a new window)Google Scholar徐磊, 赵思, 林秋, 陈磊, 罗强, 吴硕, 叶欣, 冯海, 杜振. 2025. “大型语言模型在地理空间任务中的评估:一项多地理空间任务基准测试研究.” 国际数字地球杂志 18 (1): 2480268. https://doi.org/10.1080/17538947.2025.2480268. (在新窗口中打开)Web of Science ®(在新窗口中打开)谷歌学术
Han, K., Y. Wang, H. Chen, X. Chen, J. Guo, Z. Liu, Y. Tang, et al. 2022. “A Survey on Vision Transformer.” IEEE Transactions on Pattern Analysis and Machine Intelligence 45 (1): 87–110. https://doi.org/10.1109/TPAMI.2022.3152247. (Open in a new window)PubMed (Open in a new window)Web of Science ®(Open in a new window)Google Scholar韩, K., 王Y., 陈H., 陈X., 郭J., 刘Z., 唐Y., 等. 2022. “视觉变换器的综述.” IEEE模式分析与机器智能汇刊 45 (1): 87–110. https://doi.org/10.1109/TPAMI.2022.3152247. (在新窗口中打开)PubMed (在新窗口中打开)Web of Science ®(在新窗口中打开)谷歌学术
Balanda, K. P., and H. L. MacGillivray. 1988. “Kurtosis: A Critical Review.” The American Statistician 42 (2): 111–119. https://doi.org/10.1080/00031305.1988.10475539. (Open in a new window)Web of Science ®(Open in a new window)Google Scholar巴尔兰达, K. P., 和 H. L. 麦吉里维. 1988. “峰度: 一篇批判性综述.” 美国统计学家 42 (2): 111–119. https://doi.org/10.1080/00031305.1988.10475539. (在新窗口中打开). Web of Science ®(在新窗口中打开). Google Scholar
Devillers, R., Y. Bédard, R. Jeansoulin, and B. Moulin. 2007. “Towards Spatial Data Quality Information Analysis Tools for Experts Assessing the Fitness for Use of Spatial Data.” International Journal of Geographical Information Science 21 (3): 261–282. https://doi.org/10.1080/13658810600911879. (Open in a new window)Web of Science ®(Open in a new window)Google ScholarDevillers, R., Y. Bédard, R. Jeansoulin, and B. Moulin. 2007. “面向评估空间数据适用性的专家空间数据质量信息分析工具。” 国际地理信息科学杂志 21 (3): 261–282. https://doi.org/10.1080/13658810600911879. (在新窗口中打开)Web of Science ®(在新窗口中打开)谷歌学术
Ding, N., Y. Qin, G. Yang, F. Wei, Z. Yang, Y. Su, S. Hu, Y. Chen, C.-M. Chan, and W. Chen. 2023. “parameter-Efficient fine-Tuning of large-Scale pre-Trained Language Models.” Nature Machine Intelligence 5 (3): 220–235. https://doi.org/10.1038/s42256-023-00626-4. (Open in a new window)Web of Science ®(Open in a new window)Google Scholar丁宁,秦宇,杨国,魏方,杨哲,苏勇,胡胜,陈宇,陈-明·陈,陈伟. 2023. “大规模预训练语言模型的参数高效微调.” 《自然·机器智能》5(3): 220–235. https://doi.org/10.1038/s42256-023-00626-4. (在新窗口中打开)Web of Science ®(在新窗口中打开)Google Scholar
Gao, S., S. Zhang, Y. Huang, J. Han, H. Luo, Y. Zhang, and G. Wang. 2022. “A New seq2seq Architecture for Hourly Runoff Prediction Using Historical Rainfall and Runoff as Input.” Journal of Hydrology 612:128099. https://doi.org/10.1016/j.jhydrol.2022.128099. (Open in a new window)Web of Science ®(Open in a new window)Google Scholar高, S., 张, S., 黄, Y., 韩, J., 罗H., 张, Y., 王G. 2022. “一种利用历史降雨和径流作为输入的小时径流预测新seq2seq架构。” 水文学杂志 612:128099. https://doi.org/10.1016/j.jhydrol.2022.128099. (在新窗口中打开)Web of Science ®(在新窗口中打开)谷歌学术

