跳到正文
返回论文列表
cs.CL提交于 已译

TextCloak: 通过强化学习驱动的不可学习样本防止 LLM 未授权微调

TextCloak: Safeguarding Data from Unauthorized LLM Fine-Tuning via RL-Driven Unlearnable Examples

Chengshuai Zhao · Pingchuan Ma · Dawei Li · Bohan Jiang · Zhiyuan Yu · Zhen Tan · et al.

中文摘要

大语言模型(LLM)的发展引发了对数据滥用和隐私泄露的担忧。不可学习样本(Unlearnable Examples, UEs)通过注入扰动降低模型效用,但现有文本保护方法主要局限于分类任务和判别式模型,难以应用于 LLM 的指令遵循或推理任务。TextCloak 提出一种基于强化学习的数据合成框架,利用 UE 生成策略将干净文本转化为不可学习样本,同时保持语义保真度和语言自然性。为优化该策略,引入 GRPO-UE,通过模拟攻击者的 LLM 微调过程,利用组相对策略优化(GRPO)奖励下游性能下降。该过程构成双层优化循环,使生成器发现有效的保护模式。在六个公开数据集和九个 SOTA LLM 上的实验表明,TextCloak 在保持合法使用文本效用的同时,一致地破坏了未授权 LLM 微调。进一步分析确认了其在不同模型架构、训练配置和自适应攻击下的可迁移性和鲁棒性,证明了其作为在线内容实际防御的广泛适用性。

关键要点

  1. 01现有文本保护方法主要面向分类任务,难以适用于 LLM 的指令遵循和推理等复杂场景。
  2. 02提出 TextCloak 框架,利用强化学习驱动的生成策略将文本转化为不可学习样本,保持语义和自然度。
  3. 03引入 GRPO-UE 算法,通过模拟攻击者微调过程并优化下游性能下降奖励,实现双层优化。
  4. 04在六个数据集和九个 SOTA LLM 上验证,TextCloak 有效阻碍未授权微调且保持文本合法效用。
  5. 05分析显示该方法在不同模型架构、训练配置及自适应攻击下具有可迁移性和鲁棒性。

解读

尚无解读。

原始英文摘要

arXiv:2607.28862v2 Announce Type: replace Abstract: The development of Large Language Models (LLMs) has led to significant advances across a wide range of language tasks, while simultaneously raising growing concerns about unauthorized online data exploitation and privacy leakage. Unlearnable examples (UEs) emerge as a promising defense by injecting crafted perturbations into data such that models trained on them exhibit degraded utility. However, existing methods for text protection are primarily designed for classification tasks and discriminative language models, which limits their broad applicability (e.g., instruction following or reasoning) in LLMs. In this work, we propose **TextCloak**, an RL-driven data synthesis framework that safeguards textual data against unauthorized LLM fine-tuning. TextCloak employs a *UE generative policy* that transforms clean text into unlearnable examples while preserving semantic fidelity and linguistic naturalness. To optimize the policy, we introduce **GRPO-UE**, which simulates the attacker's LLM fine-tuning and rewards downstream degradation via group-relative policy optimization. This overall formulates a bi-level optimization loop, allowing the generator to discover effective protective patterns. Comprehensive experiments on six publicly available datasets and nine state-of-the-art LLMs demonstrate that TextCloak consistently impairs unauthorized LLM fine-tuning while maintaining text utility for legitimate use. Further analyses confirm its transferability and robustness across model architectures, training configurations, and adaptive attacks, highlighting its broad applicability as a practical defense for online content.

同方向论文 · cs.CL

查看全部 →