arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2506.20151cs.CVcs.AI
收藏

EAR:从统一自回归模型中擦除概念

EAR: Erasing Concepts from Unified Autoregressive Models

Inner Mongolia University(内蒙古大学)

Haipeng Fan, Shiyuan Zhang, Baohunesitu, Zihang Guo, Huaiwen Zhang

AI总结:

本文提出EAR微调方法,通过WGA和TLM策略在统一自回归模型中实现有效且保持效用的概念擦除,并构建ECGVF基准,实验证明其在擦除效果与模型效用上均获显著提升。

摘要:

自回归(AR)模型在视觉理解和图像生成任务中均取得了统一且强大的性能。然而,在保持整体生成质量的同时从AR模型中移除不需要的概念仍然是一个开放性挑战。在本文中,我们提出了 Erasure Autoregressive Model (EAR),这是一种用于在AR模型中实现有效且保持效用的概念擦除的微调方法。具体而言,我们引入了 Windowed Gradient Accumulation (WGA) 策略,以将补丁级解码与擦除目标对齐,并引入了 Thresholded Loss Masking (TLM) 策略,以在微调期间保护与目标概念无关的内容。此外,我们提出了一个新颖的基准 Erase Concept Generator and Visual Filter (ECGVF),旨在为评估AR模型中的概念擦除提供更严格和全面的基础。具体而言,我们首先跨不同的大型语言模型(LLMs)采用结构化模板,预生成大规模的目标-替换概念提示对语料库。随后,我们根据这些提示生成图像,并通过视觉分类器对其进行严格过滤,以确保概念保真度和对齐。在 ECGVF 基准上使用 AR 模型 Janus-Pro 进行的广泛实验结果表明,EAR 在擦除有效性和模型效用保持方面均取得了显著改进。代码获取地址:https://github.com/immc-lab/ear/

英文摘要:

Autoregressive (AR) models have achieved unified and strong performance across both visual understanding and image generation tasks. However, removing undesired concepts from AR models while maintaining overall generation quality remains an open challenge. In this paper, we propose Erasure Autoregressive Model (EAR), a fine-tuning method for effective and utility-preserving concept erasure in AR models. Specifically, we introduce Windowed Gradient Accumulation (WGA) strategy to align patch-level decoding with erasure objectives, and Thresholded Loss Masking (TLM) strategy to protect content unrelated to the target concept during fine-tuning. Furthermore, we propose a novel benchmark, Erase Concept Generator and Visual Filter (ECGVF), aim at provide a more rigorous and comprehensive foundation for evaluating concept erasure in AR models. Specifically, we first employ structured templates across diverse large language models (LLMs) to pre-generate a large-scale corpus of target-replacement concept prompt pairs. Subsequently, we generate images from these prompts and subject them to rigorous filtering via a visual classifier to ensure concept fidelity and alignment. Extensive experimental results conducted on the ECGVF benchmark with the AR model Janus-Pro demonstrate that EAR achieves marked improvements in both erasure effectiveness and model utility preservation. Code is available at: https://github.com/immc-lab/ear/

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

↑