Large Language Model-Driven Structured Output: A Comprehensive Benchmark and Spatial Data Generation Framework

Bewaard in:
Bibliografische gegevens
Gepubliceerd in:ISPRS International Journal of Geo-Information vol. 13, no. 11 (2024), p. 405
Hoofdauteur: Li, Diya
Andere auteurs: Zhao, Yue, Wang, Zhifang, Jung, Calvin, Zhang, Zhe
Gepubliceerd in:
MDPI AG
Onderwerpen:
Online toegang:Citation/Abstract
Full Text + Graphics
Full Text - PDF
Tags: Voeg label toe
Geen labels, Wees de eerste die dit record labelt!
Omschrijving
Samenvatting:Large language models (LLMs) have demonstrated remarkable capabilities in document processing, data analysis, and code generation. However, the generation of spatial information in a structured and unified format remains a challenge, limiting their integration into production environments. In this paper, we introduce a benchmark for generating structured and formatted spatial outputs from LLMs with a focus on enhancing spatial information generation. We present a multi-step workflow designed to improve the accuracy and efficiency of spatial data generation. The steps include generating spatial data (e.g., GeoJSON) and implementing a novel method for indexing R-tree structures. In addition, we explore and compare a series of methods commonly used by developers and researchers to enable LLMs to produce structured outputs, including fine-tuning, prompt engineering, and retrieval-augmented generation (RAG). We propose new metrics and datasets along with a new method for evaluating the quality and consistency of these outputs. Our findings offer valuable insights into the strengths and limitations of each approach, guiding practitioners in selecting the most suitable method for their specific use cases. This work advances the field of LLM-based structured spatial data output generation and supports the seamless integration of LLMs into real-world applications.
ISSN:2220-9964
DOI:10.3390/ijgi13110405
Bron:Advanced Technologies & Aerospace Database