用多智能体系统把自然语言自动转成精准的数据权限规则
AgentODRL: A Large Language Model-based Multi-agent System for ODRL Generation
- 设计智能体协作架构,分解复杂规则并生成合规的ODRL策略
- 在770个数据空间场景用例上测试,语法和语义得分均优于现有方法
- 适合需要自动化数据授权管理的研究与企业用户
开放数字权利语言(ODRL)是实现数据权利自动化管理的关键标准。然而,授权策略固有的逻辑复杂性,以及高质量‘自然语言到ODRL’训练数据的稀缺,制约了现有方法在将复杂规则从自然语言准确转换为ODRL格式方面的效率与精度。为此,本研究利用大语言模型(LLM)强大的理解与生成能力,实现该转换过程的自动化与高保真。我们提出AgentODRL,一个基于协调者-工作者架构的多智能体系统。该架构包含专用工作者:策略生成器、用例分解器和嵌套逻辑简化器。协调者智能体根据输入用例的复杂度动态调度这些工作者,构建最优处理路径。特别地,我们通过引入基于验证器的语法策略和由LoRA微调模型驱动的语义反思机制,显著提升了生成策略的质量。在新构建的包含770个不同复杂度用例的数据集上进行了大量实验,所有用例均位于数据空间背景下。评估结果显示,结合上述策略的协调者-工作者系统在ODRL生成任务中表现优异,其语法与语义评分均达到领先水平。
原文摘要 · Abstract (English)
The Open Digital Rights Language (ODRL) is a pivotal standard for automating data rights management. However, the inherent logical complexity of authorization policies, combined with the scarcity of high-quality "Natural Language-to-ODRL" training datasets, impedes the ability of current methods to efficiently and accurately translate complex rules from natural language into the ODRL format. To address this challenge, this research leverages the potent comprehension and generation capabilities of Large Language Models (LLMs) to achieve both automation and high fidelity in this translation process. We introduce AgentODRL, a multi-agent system based on an Orchestrator-Workers architecture. The architecture consists of specialized Workers, including a Generator for ODRL policy creation, a Decomposer for breaking down complex use cases, and a Rewriter for simplifying nested logical relationships. The Orchestrator agent dynamically coordinates these Workers, assembling an optimal pathway based on the complexity of the input use case. Specifically, we enhance the ODRL Generator by incorporating a validator-based syntax strategy and a semantic reflection mechanism powered by a LoRA-finetuned model, significantly elevating the quality of the generated policies. Extensive experiments were conducted on a newly constructed dataset comprising 770 use cases of varying complexity, all situated within the context of data spaces. The results, evaluated using ODRL syntax and semantic scores, demonstrate that our proposed Orchestrator-Workers system, enhanced with these strategies, achieves superior performance on the ODRL generation task.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。