Cycle-Consistent Tuning for Layered Image Decomposition

Zheng Gu, Min Lu, Zhida Sun, Dani Lischinski, Daniel Cohen-Or, Hui Huang

TL;DR

This paper introduces a novel in-context image decomposition framework that leverages large diffusion foundation models to cleanly separate overlaid logos from complex surfaces. By jointly training decomposition and composition modules via a cycle-consistency loss and employing a self-improving data loop, the method achieves robust, non-linear layer separation and generalizes effectively to other decomposition tasks like intrinsic and foreground-background separation.

What Problem Does This Paper Address?

Traditional image decomposition methods typically assume that image layers interact linearly (e.g., through standard alpha blending). However, real-world images are rarely that simple. Isolating a logo from a product photographed in the wild involves highly non-linear, globally coupled interactions driven by complex geometry, shading, perspective distortion, and surface reflectance.

Prior data-driven methods or asset-extraction tools often rely on rigid, handcrafted priors or local patch-based analysis, which fail to capture the broader semantic context. They frequently leave behind visual artifacts or fail to reconstruct the clean underlying object surface. This paper tackles the challenge of logo-object decomposition: completely disentangling an overlaid logo from its supporting surface while faithfully preserving the integrity of both layers.

Methods

The authors propose an in-context image decomposition framework built on top of a pretrained Diffusion Transformer model, specifically FLUX.1-Fill-dev.

   +-------------------------------------------------------+
   |                  Cycle Consistency                    |
   v                                                       |
Composite (I) ---> Decompose (Fd) ---> Logo (A) & Object (B)
   ^                                                       |
   |                  Compose (Fc) <-----------------------+

The core methodology consists of three key pillars:

  1. Visual In-Context Learning (ICL): Instead of modifying the model architecture to output multiple images, the task is framed as a single three-panel grid image containing the [Composite Input], [Isolated Logo], and [Clean Object]. The model is fine-tuned using lightweight Low-Rank Adaptation (LoRA) to internalize the concept of layer separation.
  2. Cycle-Consistent Decomposition: Image decomposition is inherently ill-posed because the number of unknowns exceeds the inputs. To regularize this, the authors jointly train a decomposition module ($\mathcal{F}_D$) and a composition module ($\mathcal{F}_C$) sharing the same LoRA parameter space. As illustrated in Figure 3, the model is trained on two parallel tracks—decomposing a composite and recomposing it, and vice versa—enforcing a cycle-consistency loss ($\mathcal{L}_{cyc}$) to ensure mutual correspondence between layers.
  3. Progressive Self-Improving Data Loop: To overcome the scarcity of paired training data, the authors design a bootstrapping loop (Figure 4). Starting from a tiny seed dataset of 100 samples, they iteratively generate candidate triplets, filter them using a Vision-Language Model (Qwen-VL) for visual plausibility, and feed the high-quality pseudo-samples back into the training pool.
Illustration of the cycle-consistent training framework.

Datasets

  • Seed Dataset: 100 manually curated triplets of ⟨Composite, Logo, Object⟩ generated with the assistance of GPT-4o.
  • Synthetic Test Set: 1.5K synthetic test samples used for comprehensive quantitative evaluation.
  • Generalization Datasets: The model was also trained on the Hypersim dataset and evaluated on the MAW dataset to test its performance on intrinsic image decomposition.

Key Insights and Ideas

  • Composition as a Regularizer: While breaking an image apart (decomposition) is ambiguous, putting it back together (composition) is deterministic and well-defined. Leveraging composition to supervise decomposition via cycle consistency drastically stabilizes training and reduces geometric ambiguity.
  • Generative Models as Disassemblers: Large foundation models trained to generate or edit images possess deep, latent structural understandings of scenes. This work proves that these synthesis models can be effectively inverted to act as highly accurate layer "disassemblers."
  • VLM-in-the-Loop Curation: Instead of relying on expensive human annotation for complex layer data, leveraging the critique of a separate VLM (like Qwen-VL) allows a weak initial model to iteratively bootstrap its own high-quality training dataset.

Key Results

The proposed method was evaluated against several strong baselines, including AssetDropper, ICEdit, Flux-Kontext, and Gemini.

Quantitative Performance

Evaluated using text-image alignment (VQAScore) and multi-aspect VLM scoring (1-5 scale), the method achieved top-tier performance:

  • Logo VQAScore: Achieved the highest score of 0.43.
  • VLMScore Average: Tied for the highest overall score of 4.22 alongside Gemini, but significantly outperformed Gemini in specific logo isolation metrics (4.50 vs 4.39).

Qualitative Performance

As shown in Figure 5, across challenging scenarios like illumination variation, perspective distortion, and curved 3D surfaces, the method consistently produces cleaner isolated logos and more coherent, artifact-free background objects than instruction-based editing models.

Qualitative comparison against baseline methods across various challenging scenarios.

Furthermore, the framework demonstrated impressive zero-shot-style generalization by successfully tackling intrinsic image decomposition (separating albedo from shading) and foreground-background separation.

Limitations and Future Work

Despite its strengths, the authors note a few key limitations:

  • Dominant Overlays: The model struggles with out-of-domain cases where the overlay dominates the entire scene, such as a massive brand logo covering a large billboard or wall.
  • Two-Layer Constraint: The current framework is restricted to separating up to two layers. It cannot easily handle multi-layer compositions, such as a poster containing multiple distinct text and logo layers, due to the grid-size limitations of visual in-context learning.

Future Directions: The authors suggest extending this dual decomposition-composition paradigm to handle motion, complex illumination, and multi-modal data like audio and 3D structures.

Summary updated

BibTeX
@inproceedings{gu2026cycle,
  author = {Zheng Gu and Min Lu and Zhida Sun and Dani Lischinski and Daniel Cohen-Or and Hui Huang},
  title = {{Cycle-Consistent Tuning for Layered Image Decomposition}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=u89xVCZPqC},
}
Figure