arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.08623cs.CLcs.LG
收藏

PARSE:面向可靠实体抽取的LLM驱动的模式优化

PARSE: LLM Driven Schema Optimization for Reliable Entity Extraction

RBS Tech Sciences, Amazon(RBS科技科学,亚马逊)

Anubhav Shrimal, Aryan Jain, Soumyajit Chowdhury, Promod Yenigalla

AI总结:

PARSE系统通过ARCHITECT自动优化JSON模式并借助SCOPE实现反思式抽取,显著提升LLM在实体抽取中的准确率,在SWDE上最高提升64.7%,错误减少92%。

摘要:

从非结构化文本中进行结构化信息抽取对于新兴的Software 3.0系统至关重要,在这些系统中,LLM智能体自主地与API和工具交互。近期的方法直接使用现有的JSON模式将大型语言模型应用于抽取任务,通常采用约束解码或强化学习方法以确保语法有效性,但这些方法将JSON模式视为为人类开发者设计的静态契约,导致当模式包含模糊或不完整的规范时,抽取性能欠佳、幻觉频繁出现以及智能体行为不可靠。我们认识到JSON模式本身是一种自然语言理解契约,它编码了关于数据结构契约的规则、关系和期望,而LLM应当能够解释并系统地改进这些契约。因此,我们开发了PARSE(参数自动精炼与模式抽取),一个具有两个协同组件的新颖系统:ARCHITECT,它自主优化供LLM使用的JSON模式,同时通过RELAY(一个集成的代码生成系统)保持向后兼容性;以及SCOPE,它实现基于反思的抽取,并结合静态和基于LLM的护栏。我们在三个数据集上对PARSE进行了定性和定量评估,包括Schema-Guided Dialogue (SGD)、Structured Web Data Extraction (SWDE)以及内部零售对话数据,发现它在SWDE上实现了高达64.7%的抽取准确率提升,跨模型的综合框架改进达到10%,同时在首次重试内将抽取错误减少了92%,并保持了实用的延迟。

英文摘要:

Structured information extraction from unstructured text is critical for emerging Software 3.0 systems where LLM agents autonomously interact with APIs and tools. Recent approaches apply large language models directly to extraction tasks using existing JSON schemas, often with constraint decoding or reinforcement learning approaches to ensure syntactic validity, but treat JSON schemas as static contracts designed for human developers, leading to suboptimal extraction performance, frequent hallucinations, and unreliable agent behavior when schemas contain ambiguous or incomplete specifications. We recognize that JSON schemas themselves are a form of natural language understanding contract that encodes rules, relationships, and expectations about data structure contracts that LLMs should be able to both interpret and systematically improve. Consequently, we develop PARSE (Parameter Automated Refinement and Schema Extraction), a novel system with two synergistic components: ARCHITECT, which autonomously optimizes JSON schemas for LLM consumption while maintaining backward compatibility through RELAY (an integrated code generation system), and SCOPE, which implements reflection-based extraction with combined static and LLM-based guardrails. We evaluate PARSE qualitatively and quantitatively on three datasets including Schema-Guided Dialogue (SGD), Structured Web Data Extraction (SWDE), and internal retail conversation data, and find that it achieves up to 64.7% improvement in extraction accuracy on SWDE with combined framework improvements reaching 10% across models, while reducing extraction errors by 92% within the first retry and and maintaining practical latency.

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

↑