arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.23054cs.LGcs.AIcs.CLcs.CV
收藏

通过激活传输控制语言与扩散模型

Controlling Language and Diffusion Models by Transporting Activations

Apple(苹果公司)

Pau Rodriguez, Arno Blaas, Michal Klein, Luca Zappella, Nicholas Apostoloff, Marco Cuturi, Xavier Suau

AI总结:

本文提出基于最优传输理论的通用激活引导框架AcT,以可忽略的计算开销实现对大型语言模型和文本到图像扩散模型的细粒度控制,并在毒性缓解、概念诱导、真实性提升、风格控制与概念否定等任务中验证其有效性。

摘要:

大型生成模型能力的不断增强及其日益广泛的部署,引发了人们对其可靠性、安全性和潜在滥用的担忧。为解决这些问题,近期工作提出通过引导模型激活来控制模型生成,从而有效地诱导或阻止生成输出中概念或行为的出现。本文提出Activation Transport (AcT),这是一个以最优传输理论为指导的通用激活引导框架,推广了许多先前的激活引导工作。AcT与模态无关,能够以可忽略的计算开销对模型行为进行细粒度控制,同时对模型能力的影响极小。我们通过解决大型语言模型(LLMs)和文本到图像扩散模型(T2Is)中的关键挑战,实验证明了该方法的有效性和通用性。对于LLMs,我们表明AcT可以有效减轻毒性、诱导任意概念并提高其真实性。在T2Is中,我们展示了AcT如何实现细粒度风格控制和概念否定。

英文摘要:

The increasing capabilities of large generative models and their ever more widespread deployment have raised concerns about their reliability, safety, and potential misuse. To address these issues, recent works have proposed to control model generation by steering model activations in order to effectively induce or prevent the emergence of concepts or behaviors in the generated output. In this paper we introduce Activation Transport (AcT), a general framework to steer activations guided by optimal transport theory that generalizes many previous activation-steering works. AcT is modality-agnostic and provides fine-grained control over the model behavior with negligible computational overhead, while minimally impacting model abilities. We experimentally show the effectiveness and versatility of our approach by addressing key challenges in large language models (LLMs) and text-to-image diffusion models (T2Is). For LLMs, we show that AcT can effectively mitigate toxicity, induce arbitrary concepts, and increase their truthfulness. In T2Is, we show how AcT enables fine-grained style control and concept negation.

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

↑