arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.12308cs.CL
收藏

ContextLens:建模不完美隐私和安全上下文以满足法律合规

ContextLens: Modeling Imperfect Privacy and Safety Context for Legal Compliance

Beihang University(北京航空航天大学);HKUST(香港科技大学);National University of Singapore(新加坡国立大学);Faculty of Law, University of Macau(澳门大学法学院)

Haoran Li, Yulin Chen, Huihao Jing, Wenbin Hu, Tsz Ho Li, Chanhou Lou, Hong Ting Tsang, Sirui Han, Yangqiu Song

AI总结:

本文提出ContextLens框架,利用LLM建模法律领域上下文,识别已知和未知因素以提升合规评估,实验表明其能有效提升LLM合规性评估性能。

摘要:

个体对数据隐私和AI安全的担忧高度情境化,超越敏感模式。解决这些问题需要推理上下文以识别和缓解潜在风险。尽管研究人员广泛探索使用大语言模型(LLMs)作为评估者,但通常假设上下文完整清晰,而现实上下文常模糊不完整。本文提出ContextLens,一种半规则框架,利用LLM将输入上下文 grounded 在法律领域,显式识别法律合规的已知和未知因素。而非直接评估安全结果,我们的ContextLens指导LLM回答一系列精心设计的问题,涵盖适用性、一般原则和详细条款,以评估与预定义优先级和规则的合规性。我们在现有合规基准上进行广泛实验,涵盖通用数据保护条例(GDPR)和欧盟人工智能法案。结果表明,我们的ContextLens能显著提升LLM的合规评估性能,并超越无训练的现有基线。此外,我们的ContextLens还能进一步识别模糊和缺失因素。

英文摘要:

Individuals' concerns about data privacy and AI safety are highly contextualized and extend beyond sensitive patterns. Addressing these issues requires reasoning about the context to identify and mitigate potential risks. Though researchers have widely explored using large language models (LLMs) as evaluators for contextualized safety and privacy assessments, these efforts typically assume the availability of complete and clear context, whereas real-world contexts tend to be ambiguous and incomplete. In this paper, we propose ContextLens, a semi-rule-based framework that leverages LLMs to ground the input context in the legal domain and explicitly identify both known and unknown factors for legal compliance. Instead of directly assessing safety outcomes, our ContextLens instructs LLMs to answer a set of crafted questions that span over applicability, general principles and detailed provisions to assess compliance with pre-defined priorities and rules. We conduct extensive experiments on existing compliance benchmarks that cover the General Data Protection Regulation (GDPR) and the EU AI Act. The results suggest that our ContextLens can significantly improve LLMs' compliance assessment and surpass existing baselines without any training. Additionally, our ContextLens can further identify the ambiguous and missing factors.

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

↑