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

搜索提示词:从合同中生成结构化答案

A Search for Prompts: Generating Structured Answers from Contracts

Zuva Inc.(祖瓦公司)

Adam Roegiest, Radha Chitta, Jonathan Donnelly, Maya Lash, Alexandra Vtyurina, François Longtin

AI总结:

针对法律合同条款问答,提出用GPT-3.5-Turbo生成结构化固定答案的提示词模板,经比较优于语义匹配,并通过调整和上下文学习提升准确性与可靠性。

摘要:

在许多法律流程中,能够针对法律问题的具体含义采取行动,对于自动化人工审查或发出特定条件信号(例如,围绕自动续约的提醒)可能非常有价值。为了支持此类任务,我们提出了一种法律问题解答形式,旨在针对有关合同条款的问题返回一个(或多个)固定答案。在表明非结构化生成式问题解答在此类任务中可能产生可疑结果之后,我们讨论了使用OpenAI的\textit{GPT-3.5-Turbo}进行法律问题解答提示词的探索方法论,并提供了见解总结。利用从我们的定性经验中获得的见解,我们将我们提出的模板提示词与一种常见的语义匹配方法进行比较,发现尽管在精确响应返回方面可靠性较低,但我们的提示词模板准确度远高。通过对提示词进行一些额外调整并使用上下文学习,我们能够进一步提高我们提出策略的性能,同时尽可能最大化响应的可靠性。

英文摘要:

In many legal processes being able to action on the concrete implication of a legal question can be valuable to automating human review or signalling certain conditions (e.g., alerts around automatic renewal). To support such tasks, we present a form of legal question answering that seeks to return one (or more) fixed answers for a question about a contract clause. After showing that unstructured generative question answering can have questionable outcomes for such a task, we discuss our exploration methodology for legal question answering prompts using OpenAI's \textit{GPT-3.5-Turbo} and provide a summary of insights. Using insights gleaned from our qualitative experiences, we compare our proposed template prompts against a common semantic matching approach and find that our prompt templates are far more accurate despite being less reliable in the exact response return. With some additional tweaks to prompts and the use of in-context learning, we are able to further improve the performance of our proposed strategy while maximizing the reliability of responses as best we can.

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

↑