ReFACT: Updating Text-to-Image Models by Editing the Text Encoder

06/01/2023
by   Dana Arad, et al.
0

Text-to-image models are trained on extensive amounts of data, leading them to implicitly encode factual knowledge within their parameters. While some facts are useful, others may be incorrect or become outdated (e.g., the current President of the United States). We introduce ReFACT, a novel approach for editing factual knowledge in text-to-image generative models. ReFACT updates the weights of a specific layer in the text encoder, only modifying a tiny portion of the model's parameters, and leaving the rest of the model unaffected. We empirically evaluate ReFACT on an existing benchmark, alongside RoAD, a newly curated dataset. ReFACT achieves superior performance in terms of generalization to related concepts while preserving unrelated concepts. Furthermore, ReFACT maintains image generation quality, making it a valuable tool for updating and correcting factual information in text-to-image models.

READ FULL TEXT

page 1

page 6

page 9

page 15

page 17

page 18

page 19

page 20

research
07/02/2020

Fact-based Text Editing

We propose a novel text editing task, referred to as fact-based text edi...
research
11/04/2022

Rickrolling the Artist: Injecting Invisible Backdoors into Text-Guided Image Generation Models

While text-to-image synthesis currently enjoys great popularity among re...
research
09/18/2017

Non-Linear Editor for Text-Based Screencast

Screencasts, where computer screen is broadcast to a large audience on t...
research
07/24/2023

Evaluating the Ripple Effects of Knowledge Editing in Language Models

Modern language models capture a large body of factual knowledge. Howeve...
research
05/27/2023

Text-to-image Editing by Image Information Removal

Diffusion models have demonstrated impressive performance in text-guided...
research
12/07/2021

A Generic Approach for Enhancing GANs by Regularized Latent Optimization

With the rapidly growing model complexity and data volume, training deep...
research
08/18/2022

Discovering Bugs in Vision Models using Off-the-shelf Image Generation and Captioning

Automatically discovering failures in vision models under real-world set...

Please sign up or login with your details

Forgot password? Click here to reset