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

局部语言模型用于上下文感知的敏感文本自适应匿名化

Local Language Models for Context-Aware Adaptive Anonymization of Sensitive Text

Department of Computing, University of Turku(计算机系,图尔库大学)

Aisvarya Adeseye, Jouni Isoaho, Seppo Virtanen, Mohammad Tahir

AI总结:

本文提出利用局部语言模型构建上下文感知的敏感文本自适应匿名化框架,通过四种策略有效识别并处理敏感信息,实验表明Phi模型在敏感数据识别和情感保留方面表现优异。

摘要:

定性研究经常包含个人、情境和组织细节,如果不妥善处理,可能会带来隐私风险。手动匿名化是耗时的、不一致的,并且经常遗漏关键标识符。现有的自动化工具往往依赖于模式匹配或固定规则,这无法捕捉上下文并可能导致数据意义的改变。本研究利用本地大语言模型(LLM)构建一个可靠、可重复且具有上下文感知能力的匿名化过程,用于检测和匿名化定性转录中的敏感数据。我们引入了一个自适应匿名器的结构框架(SFAA),包括三个步骤:检测、分类和自适应匿名化。SFAA集成了四种匿名化策略:基于规则的替换、上下文感知重写、泛化和抑制。这些策略根据标识符类型和风险等级进行应用。SFAA处理的标识符受到主要国际隐私和研究伦理标准的指导,包括GDPR、HIPAA和OECD指南。本研究采用了双方法评估,结合手动和LLM辅助处理。两个案例研究用于支持评估。第一个包括82次关于组织中游戏化的人脸访谈。第二个涉及93次由AI驱动的访谈,使用AI驱动的面试官来测试LLM意识和工作场所隐私。两个本地模型,LLaMA和Phi被用来评估所提出框架的性能。结果表明,LLM发现了比人工审核员更多的敏感数据。Phi在发现敏感数据方面优于LLaMA,但犯了略微更多的错误。Phi能够发现超过91%的敏感数据,并且94.8%的文本保持与原文相同的情感,这意味着它非常准确,因此不影响定性数据的分析。

英文摘要:

Qualitative research often contains personal, contextual, and organizational details that pose privacy risks if not handled appropriately. Manual anonymization is time-consuming, inconsistent, and frequently omits critical identifiers. Existing automated tools tend to rely on pattern matching or fixed rules, which fail to capture context and may alter the meaning of the data. This study uses local LLMs to build a reliable, repeatable, and context-aware anonymization process for detecting and anonymizing sensitive data in qualitative transcripts. We introduce a Structured Framework for Adaptive Anonymizer (SFAA) that includes three steps: detection, classification, and adaptive anonymization. The SFAA incorporates four anonymization strategies: rule-based substitution, context-aware rewriting, generalization, and suppression. These strategies are applied based on the identifier type and the risk level. The identifiers handled by the SFAA are guided by major international privacy and research ethics standards, including the GDPR, HIPAA, and OECD guidelines. This study followed a dual-method evaluation that combined manual and LLM-assisted processing. Two case studies were used to support the evaluation. The first includes 82 face-to-face interviews on gamification in organizations. The second involves 93 machine-led interviews using an AI-powered interviewer to test LLM awareness and workplace privacy. Two local models, LLaMA and Phi were used to evaluate the performance of the proposed framework. The results indicate that the LLMs found more sensitive data than a human reviewer. Phi outperformed LLaMA in finding sensitive data, but made slightly more errors. Phi was able to find over 91% of the sensitive data and 94.8% kept the same sentiment as the original text, which means it was very accurate, hence, it does not affect the analysis of the qualitative data.

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

↑