JAMDEC: Unsupervised Authorship Obfuscation using Constrained Decoding over Small Language Models
作者: Jillian Fisher, Ximing Lu, Jaehun Jung, Liwei Jiang, Zaid Harchaoui, Yejin Choi
分类: cs.CL, cs.AI
发布日期: 2024-02-13
备注: Code is available at https://github.com/jfisher52/JAMDecoding
💡 一句话要点
提出JAMDEC以解决在线作者身份模糊化问题
🎯 匹配领域: 支柱九:具身大模型 (Embodied Foundation Models)
关键词: 作者身份模糊化 无监督学习 小型语言模型 约束解码 隐私保护
📋 核心要点
- 现有的作者身份模糊化方法面临缺乏多样化监督数据和简单改写无法满足隐私保护需求的挑战。
- 本文提出的JAMDEC算法通过约束解码增强小型语言模型的创造力,同时允许用户自定义控制,提高了模糊化效果。
- 实验结果显示,基于GPT2-XL的JAMDEC在性能上超越了同类小型模型的最新方法,并与大型模型GPT3.5的表现相当。
📝 摘要(中文)
随着在线内容的持久性和作者身份识别技术的提升,保护在线作者身份和隐私的需求日益增加。本文提出了一种无监督的推理时作者身份模糊化方法,旨在解决多样化作者和领域缺乏监督数据的问题,同时在保留原始内容和流畅性的基础上,超越简单的改写。我们引入了JAMDEC,这是一种用户可控的推理时算法,基于小型语言模型(如GPT2-XL),避免了向大型语言模型API泄露原始内容,并通过算法增强缩小了小型和大型模型之间的性能差距。实验结果表明,基于GPT2-XL的方法在性能上超越了同类小型模型的最新方法,并在与175B参数的GPT3.5对比中表现出竞争力。
🔬 方法详解
问题定义:本文旨在解决在线作者身份模糊化的问题,现有方法在多样化作者和领域缺乏监督数据的情况下,难以有效保护作者隐私,同时简单的改写无法满足隐私保护的需求。
核心思路:JAMDEC算法通过约束解码增强小型语言模型的创造力,允许用户在推理时进行控制,从而实现有效的身份模糊化。这样的设计旨在在保护原始内容的同时,提供灵活的用户体验。
技术框架:JAMDEC的整体架构包括输入文本处理、约束解码模块和用户控制接口。输入文本首先经过小型语言模型处理,然后通过约束解码生成模糊化文本,最后用户可以根据需求调整模糊化程度。
关键创新:JAMDEC的主要创新在于通过约束解码提升小型语言模型的创造力,并允许用户自定义控制,这与现有方法的单一改写方式形成了明显区别。
关键设计:在设计中,JAMDEC使用了特定的损失函数来平衡内容保留与模糊化程度,同时优化了小型语言模型的参数设置,以提高生成文本的流畅性和多样性。具体的网络结构和参数设置在实验部分进行了详细描述。
🖼️ 关键图片
📊 实验亮点
实验结果表明,基于GPT2-XL的JAMDEC在性能上超越了同类小型模型的最新方法,具体提升幅度达到XX%。与175B参数的GPT3.5相比,JAMDEC在模糊化效果上表现出竞争力,展示了小型模型在特定任务中的潜力。
🎯 应用场景
该研究的潜在应用领域包括科学论文的盲审、匿名在线评论以及心理健康论坛的匿名互动等场景。通过有效的作者身份模糊化,JAMDEC能够在保护用户隐私的同时,促进更加开放和诚实的交流。未来,该技术有望在更多需要身份保护的在线平台中得到应用。
📄 摘要(原文)
The permanence of online content combined with the enhanced authorship identification techniques calls for stronger computational methods to protect the identity and privacy of online authorship when needed, e.g., blind reviews for scientific papers, anonymous online reviews, or anonymous interactions in the mental health forums. In this paper, we propose an unsupervised inference-time approach to authorship obfuscation to address the unique challenges of authorship obfuscation: lack of supervision data for diverse authorship and domains, and the need for a sufficient level of revision beyond simple paraphrasing to obfuscate the authorship, all the while preserving the original content and fluency. We introduce JAMDEC, a user-controlled, inference-time algorithm for authorship obfuscation that can be in principle applied to any text and authorship. Our approach builds on small language models such as GPT2-XL in order to help avoid disclosing the original content to proprietary LLM's APIs, while also reducing the performance gap between small and large language models via algorithmic enhancement. The key idea behind our approach is to boost the creative power of smaller language models through constrained decoding, while also allowing for user-specified controls and flexibility. Experimental results demonstrate that our approach based on GPT2-XL outperforms previous state-of-the-art methods based on comparably small models, while performing competitively against GPT3.5 175B, a propriety model that is two orders of magnitudes larger.