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

评估基于大语言模型的个人信息提取及应对措施

Evaluating LLM-based Personal Information Extraction and Countermeasures

The Pennsylvania State University(宾夕法尼亚州立大学);Duke University(杜克大学)

Yupei Liu, Yuqi Jia, Jinyuan Jia, Neil Zhenqiang Gong

AI总结:

研究评估了基于大语言模型的个人信息提取技术及防御策略,通过系统测量研究对比了多种方法的性能,发现大语言模型在提取个人信息上表现优异,但通过提示注入可有效防御其攻击。

摘要:

自动从公开资料中大规模提取个人信息(如姓名、电话号码、电子邮件地址)是许多安全攻击(包括钓鱼攻击)的关键步骤。传统方法(如正则表达式、关键词搜索和实体检测)在提取个人信息方面效果有限。本文通过系统测量研究,评估了基于大语言模型(LLM)的个人信息提取及防御措施。我们提出了一种基于LLM的提取攻击框架,收集了四个数据集(包括由GPT-4生成的合成数据集和三个包含手动标注的八类个人信息的真实数据集),引入了一种基于提示注入的新型缓解策略,并系统地使用十个LLM和五个数据集对比了LLM攻击与防御措施。我们的关键发现包括:攻击者可以利用LLM准确从个人资料中提取各种个人信息;LLM在提取个人信息方面优于传统方法;提示注入能有效防御强LLM攻击,将攻击效果降低到传统方法的水平。

英文摘要:

Automatically extracting personal information -- such as name, phone number, and email address -- from publicly available profiles at a large scale is a stepstone to many other security attacks including spear phishing. Traditional methods -- such as regular expression, keyword search, and entity detection -- achieve limited success at such personal information extraction. In this work, we perform a systematic measurement study to benchmark large language model (LLM) based personal information extraction and countermeasures. Towards this goal, we present a framework for LLM-based extraction attacks; collect four datasets including a synthetic dataset generated by GPT-4 and three real-world datasets with manually labeled eight categories of personal information; introduce a novel mitigation strategy based on prompt injection; and systematically benchmark LLM-based attacks and countermeasures using ten LLMs and five datasets. Our key findings include: LLM can be misused by attackers to accurately extract various personal information from personal profiles; LLM outperforms traditional methods; and prompt injection can defend against strong LLM-based attacks, reducing the attack to less effective traditional ones.

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

↑