arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2503.02650cs.AIcs.CL
收藏

大型语言模型在将非结构化文本转换为标准化格式方面的有效性

The Effectiveness of Large Language Models in Transforming Unstructured Text to Standardized Formats

Slovak Technical University(斯洛伐克技术大学)

William Brach, Kristián Košťál, Michal Ries

AI总结:

该研究系统评估了四种LLM将非结构化食谱文本转换为Cooklang格式的能力,发现GPT-4o结合少样本提示可取得突破性性能,证明LLM无需大量训练即可实现领域文本结构化转换,为多领域自动化数据生成开辟了新路径。

摘要:

非结构化文本数据的指数级增长给现代数据管理和信息检索带来了根本性挑战。尽管大型语言模型(LLMs)在自然语言处理方面展现出卓越能力,但它们在将非结构化文本转换为标准化、结构化格式方面的潜力仍未得到充分探索——这一能力可能彻底改变各行业的数据处理工作流。本研究开辟了新领域,系统评估了LLMs将非结构化食谱文本转换为结构化Cooklang格式的能力。通过对四个模型(GPT-4o、GPT-4o-mini、Llama3.1:70b和Llama3.1:8b)进行全面测试,引入了一种创新的评估方法,该方法将传统指标(WER、ROUGE-L、TER)与用于语义元素识别的专门指标相结合。我们的实验表明,采用少样本提示的GPT-4o取得了突破性性能(ROUGE-L:0.9722,WER:0.0730),首次证明LLMs无需大量训练即可可靠地将特定领域的非结构化文本转换为结构化格式。尽管模型性能通常随规模增大而提升,但我们发现像Llama3.1:8b这样较小的模型通过有针对性的微调进行优化具有令人惊讶的潜力。这些发现为从医疗记录到技术文档等各个领域的自动化结构化数据生成开辟了新的可能性,有可能改变组织处理和使用非结构化信息的方式。

英文摘要:

The exponential growth of unstructured text data presents a fundamental challenge in modern data management and information retrieval. While Large Language Models (LLMs) have shown remarkable capabilities in natural language processing, their potential to transform unstructured text into standardized, structured formats remains largely unexplored - a capability that could revolutionize data processing workflows across industries. This study breaks new ground by systematically evaluating LLMs' ability to convert unstructured recipe text into the structured Cooklang format. Through comprehensive testing of four models (GPT-4o, GPT-4o-mini, Llama3.1:70b, and Llama3.1:8b), an innovative evaluation approach is introduced that combines traditional metrics (WER, ROUGE-L, TER) with specialized metrics for semantic element identification. Our experiments reveal that GPT-4o with few-shot prompting achieves breakthrough performance (ROUGE-L: 0.9722, WER: 0.0730), demonstrating for the first time that LLMs can reliably transform domain-specific unstructured text into structured formats without extensive training. Although model performance generally scales with size, we uncover surprising potential in smaller models like Llama3.1:8b for optimization through targeted fine-tuning. These findings open new possibilities for automated structured data generation across various domains, from medical records to technical documentation, potentially transforming the way organizations process and utilize unstructured information.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑