Skip to main content
QUICK REVIEW

[Paper Review] Text2LIVE: Text-Driven Layered Image and Video Editing

Omer Bar-Tal, Dolev Ofri-Amar|arXiv (Cornell University)|Apr 5, 2022
Generative Adversarial Networks and Image SynthesisComputer Science27 citations
TL;DR

Text2LIVE learns to perform zero-shot, text-guided, localized edits by generating an edit layer (RGBA) that is composited over the input image or video, trained on an internal image-text dataset without masks or pre-trained generators, and extended to temporally consistent video edits via neural layered atlases.

ABSTRACT

We present a method for zero-shot, text-driven appearance manipulation in natural images and videos. Given an input image or video and a target text prompt, our goal is to edit the appearance of existing objects (e.g., object's texture) or augment the scene with visual effects (e.g., smoke, fire) in a semantically meaningful manner. We train a generator using an internal dataset of training examples, extracted from a single input (image or video and target text prompt), while leveraging an external pre-trained CLIP model to establish our losses. Rather than directly generating the edited output, our key idea is to generate an edit layer (color+opacity) that is composited over the original input. This allows us to constrain the generation process and maintain high fidelity to the original input via novel text-driven losses that are applied directly to the edit layer. Our method neither relies on a pre-trained generator nor requires user-provided edit masks. We demonstrate localized, semantic edits on high-resolution natural images and videos across a variety of objects and scenes.

Motivation & Objective

  • Motivate and enable semantic, localized appearance edits of real-world images and videos using simple text prompts.
  • Develop a layered editing framework that generates an RGBA edit layer to composite over the input, preserving content fidelity.
  • Leverage internal learning with a single input and CLIP-based losses to avoid reliance on pre-trained generators.
  • Extend the approach to video using neural layered atlases to ensure temporal consistency.
  • Demonstrate diverse edits (textures and translucent effects) across objects and scenes.

Proposed method

  • Introduce a generator Gθ that outputs an edit layer E = {C, α} (color C and opacity α) which is composited over the source I_s to produce I_o = α·C + (1−α)·I_s.
  • Use three CLIP-based losses to guide editing: L_comp (final image matches target text T), L_screen (edit layer matches a screen-based prompt T_screen for green-screen supervision), and L_structure (preserve content structure via CLIP feature self-similarity).
  • Apply a sparsity regularization L_reg to encourage a sparse α, controlling edit extent.
  • Bootstrap α with a relevancy map R(I_s) from a text ROI prompt T_ROI to initialize localization, annealed during training.
  • Train Gθ from scratch on an internal dataset formed by augmenting the single input image (I_s) and target text (T) to create diverse training pairs.
  • Extend to video by adopting Neural Layered Atlases (NLA); train a generator to edit atlas-level layers E_A and map them to frames via a fixed UV-mapping M, ensuring temporal consistency.

Experimental results

Research questions

  • RQ1Can a text-driven, localized edit be generated for real-world images without masks or pre-trained generators?
  • RQ2Does generating an RGBA edit layer provide better control and fidelity for CLIP-guided edits than direct image generation?
  • RQ3Can the method be extended to video with temporal consistency using a layered atlas representation?
  • RQ4How effective are internal (single-input) training and text-based losses in constraining edits to desired regions and semantics?

Key findings

  • The method enables semantic, localized edits across a wide range of objects and scenes, including texture changes and semi-transparent effects.
  • An edit layer (RGBA) allows precise control over localization and content via dedicated CLIP-based losses, improving fidelity to the target prompt.
  • Internal learning from a single input with augmented text-image pairs yields high-quality edits without external generators or masks.
  • Video extension using Neural Layered Atlases achieves temporally consistent edits mapped from atlas edits to frames.
  • Subjective AMT evaluations show competitive or superior performance against mask-free baselines across image and video tasks.

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.