arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.25927cs.CL
收藏

从电力账单中提取信息:通用大型语言模型

Information Extraction from Electricity Invoices with General-Purpose Large Language Models

Centro de Tecnologías de la Imagen (CTIM)(图像技术中心);Instituto Universitario de Cibernética, Empresas y Sociedad (IUCES)(大学网络研究所、企业与社会);University of Las Palmas de Gran Canaria(大加那利岛大学)

Javier Gómez, Javier Sánchez

AI总结:

研究评估通用大型语言模型在无需特定任务微调的情况下从西班牙电力账单中提取结构化信息的能力,发现提示质量对提取精度影响显著。

摘要:

从半结构化商业文档中提取信息仍然是企业管理工作中的关键挑战。本研究评估了通用大型语言模型在无需特定任务微调的情况下从西班牙电力账单中提取结构化信息的能力。使用IDSEM数据集的子集,我们跨19种参数配置和6种提示策略评估了两种架构不同的模型,Gemini 1.5 Pro和Mistral-small。我们的实验框架将提示工程作为主要实验变量,比较零样本基线与日益复杂的少样本方法和迭代提取策略。结果表明,提示质量优于超参数调整:所有参数配置下的F1分数变化微小,而零样本与最佳少样本策略之间的差距超过19个百分点。最佳配置(少样本加交叉验证)在Gemini上达到97.61%的F1分数,在Mistral-small上达到96.11%的F1分数,文档模板结构成为提取难度的主要决定因素。这些发现表明,提示设计是最大化基于LLM文档处理精度的关键杠杆,从而为将通用LLM整合到商业文档自动化中提供了实证框架。

英文摘要:

Information extraction from semi-structured business documents remains a critical challenge for enterprise management. This study evaluates the capability of general-purpose Large Language Models to extract structured information from Spanish electricity invoices without task-specific fine-tuning. Using a subset of the IDSEM dataset, we benchmark two architecturally distinct models, Gemini 1.5 Pro and Mistral-small, across 19 parameter configurations and 6 prompting strategies. Our experimental framework treats prompt engineering as the primary experimental variable, comparing zero-shot baselines against increasingly sophisticated few-shot approaches and iterative extraction strategies. Results demonstrate that prompt quality dominates over hyperparameter tuning: the F1-score variation across all parameter configurations is marginal, while the gap between zero-shot and the best few-shot strategy exceeds 19 percentage points. The best configuration (few-shot with cross-validation) achieves an F1-score of 97.61% for Gemini and 96.11% for Mistral-small, with document template structure emerging as the primary determinant of extraction difficulty. These findings establish that prompt design is the critical lever for maximizing extraction fidelity in LLM-based document processing, thereby providing an empirical framework for integrating general-purpose LLMs into business document automation.

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

↑