arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.14879cs.CLcs.CYcs.SE
收藏

通过面向LLM的提示工程进行隐私政策分析

Privacy Policy Analysis through Prompt Engineering for LLMs

SINTEF(辛泰夫研究院)

Arda Goknil, Femke B. Gelderblom, Simeon Tverdal, Shukun Tokas, Hui Song

AI总结:

本文提出PAPEL框架,利用LLMs和提示工程自动化分析隐私政策,通过零样本、少样本及思维链提示实现信息提取、标注与摘要,在OPP-115基准上F1达0.8以上,减少训练需求并提升适应性。

摘要:

隐私政策常常因其复杂性而变得晦涩难懂,这阻碍了透明度和知情同意。用于自动分析这些政策的传统机器学习方法需要大量资源和特定领域的训练,导致适应性差。此外,它们依赖于庞大数据集,而由于隐私关注点的不断变化,这些数据集可能需要定期维护。在本文中,我们提出、应用并评估了PAPEL(Privacy Policy Analysis through Prompt Engineering for LLMs,通过面向LLM的提示工程进行隐私政策分析),这是一个通过提示工程利用大型语言模型(LLMs)力量来自动化分析隐私政策的框架。PAPEL旨在简化从这些政策中提取、标注和总结信息的过程,在无需额外模型训练的情况下增强其可访问性和可理解性。通过整合零样本、单样本和少样本学习方法以及思维链提示来创建预定义提示和提示模板,PAPEL引导LLMs高效地剖析、解释和综合隐私政策的关键方面,将其转化为用户友好的摘要。我们通过两个应用展示了PAPEL的有效性:标注和矛盾分析。我们评估了多个LLaMa和GPT模型识别和表述数据处理实践的能力,其提供的洞察力与现有的自动化分析方法相当,同时减少了训练工作量并提高了对新分析需求的适应性。实验表明,PAPEL利用的LLMs(LLaMA和Chat GPT模型)在隐私政策标注方面取得了稳健的性能,F1分数达到0.8及以上(使用OPP-115黄金标准),这突显了更简单的提示在各种先进语言模型中的有效性。

英文摘要:

Privacy policies are often obfuscated by their complexity, which impedes transparency and informed consent. Conventional machine learning approaches for automatically analyzing these policies demand significant resources and substantial domain-specific training, causing adaptability issues. Moreover, they depend on extensive datasets that may require regular maintenance due to changing privacy concerns. In this paper, we propose, apply, and assess PAPEL (Privacy Policy Analysis through Prompt Engineering for LLMs), a framework harnessing the power of Large Language Models (LLMs) through prompt engineering to automate the analysis of privacy policies. PAPEL aims to streamline the extraction, annotation, and summarization of information from these policies, enhancing their accessibility and comprehensibility without requiring additional model training. By integrating zero-shot, one-shot, and few-shot learning approaches and the chain-of-thought prompting in creating predefined prompts and prompt templates, PAPEL guides LLMs to efficiently dissect, interpret, and synthesize the critical aspects of privacy policies into user-friendly summaries. We demonstrate the effectiveness of PAPEL with two applications: (i) annotation and (ii) contradiction analysis. We assess the ability of several LLaMa and GPT models to identify and articulate data handling practices, offering insights comparable to existing automated analysis approaches while reducing training efforts and increasing the adaptability to new analytical needs. The experiments demonstrate that the LLMs PAPEL utilizes (LLaMA and Chat GPT models) achieve robust performance in privacy policy annotation, with F1 scores reaching 0.8 and above (using the OPP-115 gold standard), underscoring the effectiveness of simpler prompts across various advanced language models.

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

↑