TensorX
返回文献探索

Paper · arXiv 2410.23054

Controlling Language and Diffusion Models by Transporting Activations

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

18 upvotesOctober 30, 2024arXiv 预印本
AI 摘要

Activation Transport (AcT) is a framework that uses optimal transport theory to control model activations, effectively addressing challenges in large language models and text-to-image diffusion models.

Activation TransportAcToptimal transport theorymodality-agnosticfine-grained controlcomputational overheadtoxicitytruthfulnessfine-grained style controlconcept negation

Abstract

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.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
Controlling Language and Diffusion Models by Transporting Activations | TensorX