Skip to main content
QUICK REVIEW

[Paper Review] Multiresolution Textual Inversion

Giannis Daras, Alexandros G. Dimakis|arXiv (Cornell University)|Nov 30, 2022
Natural Language Processing TechniquesComputer Science7 citations
TL;DR

This paper introduces Multiresolution Textual Inversion, a method that extends Textual Inversion to learn multiple pseudo-words representing a concept at varying levels of detail by conditioning on diffusion time. It enables controlled image generation with language, allowing users to generate images with different resolutions of the same concept—e.g., from rough outlines to full details—using prompts like 'A photo of $S^{*}(0.8)$' for low-detail and '$S^{*}(0.0)$' for high-detail outputs.

ABSTRACT

We extend Textual Inversion to learn pseudo-words that represent a concept at different resolutions. This allows us to generate images that use the concept with different levels of detail and also to manipulate different resolutions using language. Once learned, the user can generate images at different levels of agreement to the original concept; "A photo of $S^*(0)$" produces the exact object while the prompt "A photo of $S^*(0.8)$" only matches the rough outlines and colors. Our framework allows us to generate images that use different resolutions of an image (e.g. details, textures, styles) as separate pseudo-words that can be composed in various ways. We open-soure our code in the following URL: https://github.com/giannisdaras/multires_textual_inversion

Motivation & Objective

  • Extend Textual Inversion to learn multiple pseudo-words representing a concept at different resolutions.
  • Enable users to control the level of detail in generated images using natural language prompts.
  • Decouple image generation resolution from the fixed embedding used in standard Textual Inversion.
  • Support flexible composition of different resolution components across concepts for creative image synthesis.
  • Maintain compatibility with pre-trained text-to-image diffusion models and existing methods like DreamBooth.

Proposed method

  • Condition the text embedding on the diffusion time $t$, using $\mathrm{emb}_{\lfloor t/T \rfloor}$ to represent different resolution levels of the input concept.
  • Optimize a set of embeddings $\mathrm{Emb}^{*} = \{\mathrm{emb}_0, \dots, \mathrm{emb}_{T-1}\}$ via a denoising objective that depends on the diffusion step.
  • Use three sampling strategies: Fixed Resolution, Semi Resolution-Dependent, and Fully Resolution-Dependent, to control how resolution is applied during generation.
  • Enable interpolation between learned embeddings for continuous resolution control using linear interpolation.
  • Decompose the conditioning network as $c_\theta(y) = \mathrm{enc}_\theta(\mathrm{emb}_\theta(y))$, with the embedding layer adapted to support time-dependent resolution indexing.
  • Train using the standard diffusion objective: $\min_{\mathrm{emb}} \mathbb{E}_{t,x,z_t} \left|\left| \hat{\epsilon}_\theta(z_t(x), t, \mathrm{enc}_\theta(\mathrm{emb}_{\lfloor t/T \rfloor})) - \epsilon(z_0, z_t) \right|\right|^2$.

Experimental results

Research questions

  • RQ1Can we learn multiple pseudo-words for a single concept that represent different levels of detail?
  • RQ2Can language prompts control the resolution of generated images by selecting different resolution-specific embeddings?
  • RQ3Does the proposed method maintain high image quality and semantic consistency across varying resolution levels?
  • RQ4Can the learned resolution-specific embeddings be composed across different concepts and prompts?
  • RQ5How does Multiresolution Textual Inversion compare to standard Textual Inversion in terms of generation quality and flexibility?

Key findings

  • The method successfully learns multiple resolution-specific embeddings for a single concept, enabling control over image detail via language.
  • Fixed Resolution Sampling allows selective extraction of fine details, such as buttons in the input image, by using $S^{*}|0.0|$.
  • Semi Resolution-Dependent Sampling enables high-level variations at high noise levels, e.g., $S^{*}(0.8)$ generates a photorealistic image that only roughly matches the input’s color and pose.
  • Fully Resolution-Dependent Sampling maintains strong agreement with the input concept across all diffusion steps, preserving structural consistency.
  • The method supports arbitrary composition of resolution components across concepts, such as using the detailed structure of a plastic object to generate a dog or cat in a new shape.
  • Multiresolution Textual Inversion performs on par or better than standard Textual Inversion in personalized image generation tasks, as shown in qualitative comparisons with the original method.

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.