A Neural Space-Time Representation for Text-to-Image Personalization

Yuval Alaluf, Elad Richardson, Gal Metzer, Daniel Cohen-Or
5/24/2023
cs.CV

No official code found. Best implementation: NeuralTextualInversion/NeTI (182 stars, MIT, last commit 2023-09-19).

Abstract

A key aspect of text-to-image personalization methods is the manner in which the target concept is represented within the generative process. This choice greatly affects the visual fidelity, downstream editability, and disk space needed to store the learned concept. In this paper, we explore a new text-conditioning space that is dependent on both the denoising process timestep (time) and the denoising U-Net layers (space) and showcase its compelling properties. A single concept in the space-time representation is composed of hundreds of vectors, one for each combination of time and space, making this space challenging to optimize directly. Instead, we propose to implicitly represent a concept in this space by optimizing a small neural mapper that receives the current time and space parameters and outputs the matching token embedding. In doing so, the entire personalized concept is represented by the parameters of the learned mapper, resulting in a compact, yet expressive, representation. Similarly to other personalization methods, the output of our neural mapper resides in the input space of the text encoder. We observe that one can significantly improve the convergence and visual fidelity of the concept by introducing a textual bypass, where our neural mapper additionally outputs a residual that is added to the output of the text encoder. Finally, we show how one can impose an importance-based ordering over our implicit representation, providing users control over the reconstruction and editability of the learned concept using a single trained model. We demonstrate the effectiveness of our approach over a range of concepts and prompts, showing our method's ability to generate high-quality and controllable compositions without fine-tuning any parameters of the generative model itself.

View on arXivView PDF

Code Implementations(1)

MIT

Official Implementation for "A Neural Space-Time Representation for Text-to-Image Personalization" (SIGGRAPH Asia 2023)

18215PythonMay 24, 20233 years agoMIT
diffusion-modelspersonalizationstable-diffusiontextual-inversion

Similar Papers

Cite this paper

@article{alaluf2023neural,
  title  = {A Neural Space-Time Representation for Text-to-Image Personalization},
  author = {Yuval Alaluf and Elad Richardson and Gal Metzer and Daniel Cohen-Or},
  year   = {2023},
  eprint = {2305.15391},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.15391v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.15391.svg)](https://codeofpaper.com/paper/2305.15391)

Discussion