Skip to main content
QUICK REVIEW

[Paper Review] A Neural Space-Time Representation for Text-to-Image Personalization

Yuval Alaluf, Elad Richardson|arXiv (Cornell University)|May 24, 2023
Computer Graphics and Visualization TechniquesComputer Science6 citations
TL;DR

This paper proposes NeTI, a neural space-time representation for text-to-image personalization that implicitly models concept embeddings across denoising timesteps and U-Net layers using a small neural mapper. By conditioning on both time and space, and introducing a textual bypass, NeTI achieves high-fidelity, editable generations without fine-tuning the generative model, outperforming prior methods in visual quality and editability control.

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.

Motivation & Objective

  • To address the limitations of existing text-to-image personalization methods that represent concepts in static, low-dimensional spaces like $\mathcal{P}$ or $\mathcal{P}^+$, which restrict visual fidelity and editability.
  • To explore a richer, time- and layer-dependent conditioning space $\mathcal{P}^*$ that captures the dynamic nature of the denoising process in diffusion models.
  • To develop an implicit neural representation (NeTI) that compactly encodes concepts in $\mathcal{P}^*$ using a small mapper network, avoiding direct optimization of hundreds of vectors.
  • To improve convergence and visual fidelity by introducing a textual bypass that adds residual vectors to the text encoder output, enhancing representation capacity.
  • To enable dynamic control over the reconstruction-editability tradeoff at inference time through importance-based ordering and dropout scheduling.

Proposed method

  • Introduces $\mathcal{P}^*$, a space-time conditioning space where each concept embedding is defined by a vector for every combination of denoising timestep $t$ and U-Net layer $\ell$.
  • Proposes NeTI, a neural mapper network that takes $t$ and $\ell$ as input and outputs a corresponding embedding in $\mathcal{P}$, implicitly representing the entire $\mathcal{P}^*$ space.
  • Employs a textual bypass mechanism where the mapper also outputs a residual vector added to the text encoder’s output, improving representation capacity without altering the encoder’s structure.
  • Uses a dropout-based importance ordering over the mapper’s hidden representation to allow dynamic control of reconstruction quality and editability at inference time.
  • Trains the mapper via standard optimization, similar to Textual Inversion, but in the richer $\mathcal{P}^*$ space, enabling high-fidelity concept injection.
  • Performs ablation studies to validate the necessity of joint time and space conditioning, and analyzes concept learning progression across timesteps.

Experimental results

Research questions

  • RQ1Can a joint space-time representation ($\mathcal{P}^*$) that depends on both denoising timestep and U-Net layer improve visual fidelity and editability in text-to-image personalization?
  • RQ2Is it feasible to implicitly represent the high-dimensional $\mathcal{P}^*$ space using a small neural mapper, avoiding direct optimization of hundreds of vectors?
  • RQ3Does introducing a textual bypass—adding a residual to the text encoder output—significantly improve convergence speed and visual quality?
  • RQ4Can importance-based ordering over the mapper’s hidden representation enable dynamic control of the reconstruction-editability tradeoff at inference time?
  • RQ5How do concept-specific details emerge across different denoising timesteps in the NeTI framework?

Key findings

  • NeTI achieves a mean user rating of 3.97 on a 5-point scale for faithfulness and prompt adherence, significantly outperforming Textual Inversion (2.77), XTI (3.15), and DreamBooth (3.71).
  • The combination of time and space conditioning is essential: ablation studies show that models conditioned on only one or neither factor produce significantly lower visual fidelity.
  • The textual bypass mechanism improves convergence speed and visual quality, enabling NeTI to achieve fidelity competitive with fine-tuning methods like DreamBooth without tuning the generative model.
  • Per-timestep analysis reveals that early denoising steps ($t=999$) capture coarse features like structure and color, while later steps ($t=50$) add fine-grained details such as textures and engravings.
  • Importance-based dropout scheduling at inference allows users to control the tradeoff between reconstruction quality and editability, with stronger dropout yielding more abstract, edit-friendly representations.
  • NeTI enables high-quality, controllable compositions of personalized concepts across diverse prompts, including complex styles like 'a painting of a medieval castle in the style of $S_*$' and 'a Pokemon in the style of $S_*$'.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.