Editing Images into Reusable Layers via Compositional Edit‑Prior Distillation

Wen Xue, Yong Liu, Xueheng Li, Si Wu, Yong Xu, Yipeng Sun, Yan Li, Simiu Gu

LayerEditor jointly performs instruction-driven image editing and RGBA layer decomposition using on-policy distillation.

How can we modify an image while simultaneously decomposing it into reusable, editable RGBA layers?

Existing image editing models produce flattened outputs, forcing users to perform separate, error-prone decomposition steps to isolate objects or text for reuse. LayerEditor introduces a unified framework that generates an edited canvas and an ordered stack of RGBA layers simultaneously, using a shared token sequence and a dedicated Alpha decoder to manage transparency. On the Crello-Testset, this approach reduces composite FID by 38.8% compared to joint-generation baselines while maintaining high editing fidelity.

Paper Primer

The core mechanism, In-Context RGB–Alpha Token Modeling, represents the edited canvas and the layer stack as a single sequence of tokens. To prevent the model from losing its original editing capability during this adaptation, the authors use Compositional Edit-Prior Distillation (C-EPD): a teacher-student setup where a frozen, pretrained editor guides the student's layered output by supervising both the direct canvas and the recomposed layer stack.

LayerEditor improves layered editing fidelity and recomposition quality over existing joint-generation methods.

Composite SSIM scores on the Crello-Testset and ScaleEdit-Testset benchmarks. A 5.7% increase in Composite SSIM and a 38.8% reduction in Composite FID compared to the Seedream5-Pro joint-generation baseline.

The model effectively transfers editing priors to layered outputs without degrading visual quality.

Ablation studies comparing the full model against variants without C-EPD. Removing C-EPD drops edit consistency scores from 6.14 to 4.67 and layer segmentation scores from 6.83 to 5.01.

Why is a unified model necessary instead of just running an editor followed by a decomposition tool?

Cascaded workflows often fail to coordinate the edit with the target layer structure, leading to incomplete layers or artifacts that require manual refinement. A unified model optimizes both objectives simultaneously, ensuring the generated layers are semantically meaningful and reusable.

What is the scope of the layer-count control?

The model supports variable layer counts (2–10 layers) and user-specified content for individual layers, allowing the same edited image to be reorganized into different granularities based on the user's downstream needs.

Introduction: The Need for Layered Editing

LayerEditor unifies editing and layer generation, enabling controllable RGBA outputs.

Existing image‑editing models emit a single flattened pixel canvas, which makes it hard to edit fine‑grained regions or to reuse parts of the result for later edits.

Separately applying a decomposition step after editing often yields poorly organized layers, forcing users to run the model multiple times to correct layer‑level errors.

LayerEditor generates both the edited image and an ordered stack of reusable RGBA layers in a single forward pass, letting users tweak individual layers afterward.

How does LayerEditor differ from a standard editing model followed by a separate decomposition step?

Standard models treat editing and layer recovery as independent stages, so the edit is optimized without regard to layer structure. LayerEditor optimizes them jointly: the token sequence encodes both the final canvas and the layer stack, and C‑EPD ensures the pretrained edit quality is retained while the layers are learned simultaneously.

To train and evaluate this capability we built LayerEditor‑100K, a large‑scale dataset containing source images, edit instructions, target results, and ordered RGBA layer annotations.

We also introduce Crello‑Testset and ScaleEdit‑Testset, benchmarks that measure editing fidelity, layer quality, and controllable layer manipulation such as layer‑count control and user‑specified content.

**Figure 1.** LayerEditor edits images into reusable RGBA layers with user-specified layer content. The predicted layers can be independently manipulated for subsequent edits.

The shift from pixel‑based editing to layer‑based editing unlocks precise local control and reusable components for downstream design tasks.

Related Work

We survey prior conditional editing, layered generation, and distillation approaches.

InstructPix2Pix introduced paired image–instruction supervision for conditional editing, and later works such as Qwen-Image and FireRed-Image-Edit improved fidelity and instruction adherence with stronger generative priors. Subsequent studies explored selective reconstruction, interactive control, and agentic pipelines (Visual ChatGPT, PhotoAgent, Agent Banana), yet they either output flattened images or rely on cascaded workflows to retrieve editable layers.

Layered visual modeling has produced a variety of generation and decomposition methods, including LayerDiff, PSDiffusion, LayeringDiff, LASAGNA, COLE, CreatiPoster, Editable Visual Design, MiLDEdit, MRT, LaDe, and UniWorld‑Design for coordinated layer creation. Decomposition approaches such as Qwen-Image-Layered, LiWi, and earlier transparency‑aware techniques (Rhemann et al., 2009; Zhang & Agrawala, 2024; Yu et al., 2026) recover editable components after rendering, but they are typically optimized separately from instruction‑driven editing.

On‑policy distillation (OPD) aligns a student model with a teacher by supervising on states actually visited by the student, reducing distribution mismatch. Recent extensions such as Flow‑OPD, DiffusionOPD, and STEP‑OPD apply this principle to flow‑based and diffusion generative models, while progressive distillation and consistency models focus on reducing sampling steps rather than preserving layered editing capabilities.

LayerEditor Architecture and C-EPD

Jointly generate an edited canvas and reusable RGBA layers via a new distillation trick.

Standard image‑editing models emit a single flattened pixel canvas, which makes localized edits impossible; the model must instead produce a reusable stack of RGBA layers to enable per‑object manipulation.

An RGBA Stack is an ordered list of layer pairs ($R_i$, $A_i$) where each $R_i$ holds RGB colors and each $A_i$ holds opacity, and the stack is composited back‑to‑front to form the final image.

Why not just predict a single RGBA image instead of a stack?

Predicting a single RGBA image collapses all objects into one layer, losing the ability to edit or replace individual elements later. The stack preserves per‑object semantics, enabling downstream compositional edits.

The model treats the canvas and every layer as a sequence of tokens, each token carrying a field identifier (canvas, RGB, or Alpha) and a spatial coordinate, so a single transformer can attend across all fields jointly.

How does this token scheme differ from naïvely concatenating separate RGB and Alpha streams?

Naïve concatenation would treat each field as an independent sequence, losing the ability for the transformer to jointly reason about cross‑field interactions. By embedding the field identifier into the rotary coordinate, the model can attend across canvas, RGB, and Alpha tokens in a single pass, enabling coherent compositional reasoning.

LayerEditor extends a pretrained multimodal diffusion transformer (MMDiT) to output both a direct edited canvas D and an ordered RGBA stack S in one forward pass, then uses on‑policy distillation (C‑EPD) to keep the original editing behavior.

Why not train a separate model for layers after the base model is fine‑tuned?

Training a separate model would discard the pretrained editing prior, leading to the text corruption and structural distortions observed in ablations. Joint generation plus on‑policy distillation preserves the original prior while adding layer capability.

C‑EPD uses the frozen pretrained editor as a teacher that supplies on‑policy targets for both the direct canvas prediction and the composited image reconstructed from the predicted layers, ensuring the layered model retains the original editing behavior.

How does C‑EPD differ from naïve layer‑wise supervision?

Naïve supervision would train each layer independently, ignoring the interaction that produces the final composited image. C‑EPD instead supervises the whole composition against the teacher’s canvas, ensuring that the layers jointly reproduce the intended edit.

Layer 0 RGB $R_0$ is set to a red patch: all pixels = $(1,0,0)$. Alpha $A_0$ is $0.6$ everywhere.

Layer 1 RGB $R_1$ is a blue patch: all pixels = $(0,0,1)$. Alpha $A_1$ is $0.4$ everywhere.

Composite starts from white background $b_{C_{-1}} = (1,1,1)$. After layer 0: $b_{C_0}=0.6\cdot(1,0,0)+(0.4)\cdot(1,1,1)=(0.8,0.4,0.4)$.

After layer 1: $b_{C_1}=0.4\cdot(0,0,1)+(0.6)\cdot(0.8,0.4,0.4)=(0.48,0.24,0.64)$.

The final composited image $C$ thus blends red and blue with the background, demonstrating how the Alpha masks control contribution.

The example shows that even with overlapping colors, the per‑pixel contribution is a weighted blend determined solely by the Alpha values; changing an Alpha mask directly changes the visual influence of its layer without altering the RGB content.

LayerEditor‑100K provides 100 K editing pairs with full RGBA stacks, covering 48 329 text edits, 36 858 object edits, and 14 813 poster‑level appearance edits, enabling thorough evaluation of both instruction fidelity and layer isolation.

**Figure 2.** Overview of LayerEditor. LayerEditor jointly generates the edited canvas $D$ and ordered RGBA stack $S$. C-EPD uses the frozen teacher to supervise both the Direct prediction and the decoded composition reconstructed from the predicted layers.

Training Data and Benchmarks

Describes how the model is trained and the layered benchmarks used for evaluation.

Layered editing models need supervision not only for the final image but also for the intermediate RGBA layers. Existing image‑editing benchmarks provide only flattened outputs, making it impossible to measure layer controllability. This section introduces the data and training pipeline that enable supervision of both canvas and layers.

**Figure 1.** Overview of the data construction pipeline. The pipeline consists of two main routes: (A) Route A, which processes native layered designs, and (B) Route B, which generates flattened editing pairs. Both routes converge at (C) Unified checks and validation to produce the final LayerEditor-100K dataset.

**Figure 3.** Overview of LayerEditor-100K. Paired editing examples and ordered RGBA annotations cover text, object, and poster-level appearance edits with 2–10 layers, providing supervision across diverse editing tasks and layer structures.

Two disjoint benchmark suites evaluate how well a model can generate and manipulate reusable RGBA layers: Crello‑Testset uses native layered designs, while ScaleEdit‑Testset starts from flattened edits and recovers the underlying layers.

Layer 1 (Background) remains unchanged – pixel values identical to the source.

Layer 2 (Text) renders the word “SALE” at coordinates (x=30, y=20) with opacity 0.9.

Layer 3 (Object) places a red star at (x=70, y=50) with opacity 1.0.

Compositing the three layers with standard “over” alpha blending yields the target image.

Metric computation: SSIM between target and composited image = 0.99, RGBA L1 = 0.04, Alpha IoU = 0.92.

This concrete example shows how the benchmark quantifies both visual fidelity (SSIM) and the correctness of individual layer masks (Alpha IoU), which are invisible in flattened‑only evaluations.

How do these benchmarks differ from standard image‑editing benchmarks?

Standard benchmarks score only the final rendered image (e.g., using PSNR or FID). Crello/ScaleEdit benchmarks additionally require the model to output a reusable RGBA stack and evaluate each layer separately (RGBA L1, Alpha IoU), thus measuring controllability and compositional correctness.

Sample a source image $I_{\text{src}}$ and an edit instruction $u$.

Generate a canvas $D$ and an ordered RGBA stack $S$ using the model $G$ (Equation [F1]).

Render $D$ from $S$ via standard “over” compositing to obtain a predicted edited image.

Compute a reconstruction loss between the predicted image and the teacher model’s target.

Apply the C‑EPD loss, which compares the reconstructed composition against the teacher’s layered output.

Back‑propagate the combined loss and update model parameters with Adam.

Experimental Results

LayerEditor outperforms baselines on fidelity, layer quality, and controllability across benchmarks.

LayerEditor jointly generates an edited canvas and a reusable RGBA stack, enabling precise post‑edit revisions.

LayerEditor attains the highest Composite SSIM and Alpha IoU on both Crello‑Testset and ScaleEdit‑Testset.

Table 1 shows a 5.7 % SSIM gain over Seedream5‑Pro (Joint) and a 38.8 % FID reduction.

**Figure 11.** Rubric score examples. For the same editing request, progressively improved outputs receive higher scores across editing fidelity, layer separation, composition, and Alpha quality. The examples illustrate the rubric's discriminative behavior rather than agreement with human ratings.

**Figure 12.** Instruction-following editing and controllable layer decomposition on Crello-Testset. Prompts specify the edit and layer count. Large output images show recompositions, and checkerboard panels show individual RGBA layers.

**Figure 13.** Instruction-following editing and content-controlled layer decomposition on ScaleEdit-Testset. Prompts specify the edit, layer count, and desired content separation. Large output images show recompositions, and checkerboard panels show individual RGBA layers.

**Figure 4.** Qualitative comparison of layered editing. All method outputs are rendered from the predicted RGBA stacks rather than the independently generated canvases. LayerEditor follows the editing instructions while producing coherent recompositions and reusable layers.

**Figure 5.** Prompt-conditioned layer-content control. Both examples request six RGBA layers with specified layer content. LayerEditor performs the requested edits while assigning text rows and birds to the corresponding reusable layers.

**Figure 6.** Image-to-layer decomposition on Crello test set.

**Figure 7.** Effect of C-EPD on recomposed outputs.

Table 1 aggregates quantitative comparisons; LayerEditor leads on Composite SSIM/FID and Alpha IoU across both benchmarks, outperforming the nearest baseline by up to 5.7 % in SSIM.

Removing C‑EPD reduces edit consistency from 6.14 to 4.67, a 24 % decline.

Table 3 ablation study on Crello‑Testset.

Table 3 confirms that each C‑EPD sub‑component improves edit consistency and reduces RGBA L1, with the full model achieving the best overall scores.

Ablation Studies and Limitations

Ablation studies quantify how opacity training and instruction control affect LayerEditor’s layered editing performance.

Opacity reconstruction ablations reveal that training the opacity channel improves boundary fidelity but does not isolate the decoder architecture from the added supervision. No off‑policy query control is provided, so the effect of on‑policy selection remains entangled with teacher supervision.

Rubric‑based evaluation (Section C.3) scores edit consistency, visual quality, layer segmentation, layer composition, and Alpha accuracy on a 1–10 scale anchored at 1, 3, 5, 7, 10. The Direct canvas is excluded; all metrics are computed on the recomputed composite $C$.

Instruction controllability (Section D.1) tests whether LayerEditor adapts both the edited appearance and the generated RGBA stack when the instruction changes. Table 6 shows LayerEditor achieving the highest Direct/Composite SSIM and lowest RGBA L1 among eight methods.

Implementation Details

Implementation specifics, training setup, and Alpha decoder details.

LayerEditor builds on the FireRed-Image-Edit-1.1 codebase, adding a rank‑256 LoRA adapter to the DiT backbone while keeping the image and text encoders and the pretrained RGB decoder frozen.

Training begins with two epochs of flow‑matching, then proceeds with joint flow‑matching and C‑EPD optimization; at inference a single denoising trajectory conditioned on $(I_{\text{src}}, u, N)$ yields the edited canvas and ordered RGBA fields without any teacher calls.

**Table.** Training and inference hyperparameters.

The Alpha decoder follows a VAE architecture with a single‑channel Alpha‑logit head initialized at zero weights and bias $-3.5$, producing opacity maps via a sigmoid after decoding latent $z_A$.

**Table 5.** Alpha-decoder configuration. Values separated by slashes follow stage order.

During rendering, layers are composited back‑to‑front using the formula $C_i = A_i \odot R_i + (1 - A_i) \odot C_{i-1}$, starting from a white background canvas $B$.

Training Configuration

Training loop details for C‑EPD, loss schedule, and local decoding.

The on‑policy rollout samples ten nodes from the thirty‑step inference sigma grid, taking two nodes from each of five temporal segments. For every active C‑EPD update we draw two queries from high‑, medium‑, and low‑noise bands with probabilities 0.2, 0.5, 0.3 respectively, and detach the rollout states.

At each selected noisy state the student recomputes velocities for the Direct, RGB, and Alpha fields with gradients, while the frozen teacher predicts its image‑level velocity from the same canvas state, source image, instruction, and noise level (no gradients). The student’s local clean RGB–Alpha estimates are decoded and composited on a white background; the teacher’s Direct prediction provides a detached target for the composite pixel loss (Eq 4).

The first two epochs use flow‑matching only. After the warm‑up phase (two epochs) a local counter k increments on every active update; every five updates C‑EPD is enabled and weighted by $\lambda_{C}$(k)=0.1 min(k/500, 1). The composite pixel term receives a fixed weight $\lambda_{S}$=0.05. On active updates the weighted C‑EPD loss is added to the flow‑matching loss (Eq 6); otherwise training proceeds with flow‑matching alone.

Initialize LoRA parameters $\theta$, frozen editor $\theta$₀, and frozen Alpha decoder $\phi$; set local counter k←0 after the warm‑up epochs.

For each training sample (`I_src`, u, N, Z*) drawn from `D_train`:

Iterate over epochs e=1…E:

Sample a diffusion time t and noise $\epsilon$∼𝒩(0, I); construct the noisy latent $Z_t$=(1−$\sigma_{t}$)Z*+$\sigma_{t}$ $\epsilon$ and the target velocity v* = $\epsilon$−Z*.

Predict velocities {$v_X$}_{X∈$\Omega$} from the joint noisy state and (`I_src`, u, N); compute the joint flow‑matching loss (Eq 5) and set L_$\theta$←`L_flow`.

If e > `E_warm`, increment k; if k mod 5 = 0, perform a C‑EPD update:

Sample two queries from the detached student rollout, recompute student velocities with gradients, and query the frozen teacher on the corresponding Direct state.

Decode RGB and Alpha from the student’s latent estimates, compose the clean stack on white (Eq 3), and decode the teacher’s Direct canvas $I_T$.

Average the two query losses (Eq 4) to obtain $L_{C-EPD}$ and update L_$\theta$←`L_flow`+$\lambda_{C}$(k) $L_{C-EPD}$.

After all epochs, return the trained LoRA parameters $\theta$ and Alpha decoder $\phi$.

Local decoding (A.4) operates on a selected denoising state z_$\sigma$=(1−$\sigma$)z₀+$\sigma$ $\epsilon$, where the clean latent z₀ is recovered as z_$\sigma$−$\sigma$ v*. The student’s latent estimates for each RGB and Alpha layer are decoded by the frozen decoders, yielding continuous RGB values in [0,1] and Alpha opacities via a sigmoid. Composition follows the source‑over formula: the visible contribution of layer i is weighted by the product of (1−$\alpha_{j}$) for all higher layers j, and the uncovered background contributes the remaining opacity.

Questions & answers

What is the main contribution of the LayerEditor paper?

LayerEditor introduces a unified framework that jointly generates an edited image canvas and an ordered stack of RGBA layers in a single forward pass, eliminating the need for separate post-hoc decomposition steps. It achieves this through In-Context RGB–Alpha Token Modeling and Compositional Edit-Prior Distillation (C-EPD).

What problem does LayerEditor address?

Existing image-editing models produce a single flattened pixel canvas, making it difficult to isolate objects or text for reuse or further editing. Separately applying a decomposition tool after editing often yields poorly organized layers with artifacts that require manual correction.

Why is a unified model necessary instead of running an editor followed by a decomposition tool?

Cascaded workflows fail to coordinate the edit with the target layer structure, leading to incomplete layers or artifacts requiring manual refinement. A unified model optimizes both the editing and layer-generation objectives simultaneously, ensuring semantically meaningful and reusable layers.

How does In-Context RGB–Alpha Token Modeling work?

The edited canvas and the full layer stack are represented as a single shared token sequence, with a field identifier embedded into the rotary positional coordinate so the transformer can attend across canvas, RGB, and Alpha tokens in one pass. A dedicated Alpha decoder with a single-channel Alpha-logit head (initialized at zero weights and bias −3.5) produces per-layer opacity maps via a sigmoid.

What is Compositional Edit-Prior Distillation (C-EPD) and why is it needed?

C-EPD is a teacher-student training scheme in which a frozen, pretrained image editor supervises the student's layered output by comparing the student's composited RGB result against the teacher's canvas prediction, rather than supervising each layer independently. It is needed to prevent the model from losing its original editing capability—specifically the text rendering and structural fidelity—when the layer-generation objective is added.

How does C-EPD differ from naïve layer-wise supervision?

Naïve supervision trains each layer independently, ignoring the interactions that produce the final composited image. C-EPD supervises the whole composition against the teacher's canvas, ensuring that the layers jointly reproduce the intended edit.

What datasets and benchmarks does the paper introduce?

The paper introduces LayerEditor-100K, a training dataset of 100,000 editing pairs with full RGBA stack annotations covering 48,329 text edits, 36,858 object edits, and 14,813 poster-level appearance edits. For evaluation it introduces Crello-Testset and ScaleEdit-Testset, which measure editing fidelity, layer quality (RGBA L1, Alpha IoU), and controllable layer manipulation.

How do the Crello-Testset and ScaleEdit-Testset benchmarks differ from standard image-editing benchmarks?

Standard benchmarks score only the final rendered image using metrics such as PSNR or FID. The Crello and ScaleEdit benchmarks additionally require the model to output a reusable RGBA stack and evaluate each layer separately using RGBA L1 and Alpha IoU, measuring controllability and compositional correctness.

What are the key quantitative results reported in the paper?

On Crello-Testset, LayerEditor reduces composite FID by 38.8% compared to joint-generation baselines. Across both benchmarks, LayerEditor leads on Composite SSIM/FID and Alpha IoU, outperforming the nearest baseline by up to 5.7% in SSIM. In instruction-controllability experiments (Table 6), LayerEditor achieves the highest Direct/Composite SSIM and lowest RGBA L1 among eight compared methods.

What layer-count control does LayerEditor support?

LayerEditor supports variable layer counts ranging from 2 to 10 layers and allows users to specify content for individual layers, enabling the same edited image to be reorganized at different granularities depending on downstream needs.

What are the limitations acknowledged by the paper?

Opacity reconstruction ablations show that training the opacity channel improves boundary fidelity but does not isolate the decoder architecture from the added supervision. No off-policy query control is provided, so the effect of on-policy selection remains entangled with teacher supervision. The paper does not report limitations related to generalization beyond the evaluated benchmarks.

How does LayerEditor compare to prior layered generation and decomposition methods?

Prior layered methods such as LayerDiff, PSDiffusion, LASAGNA, COLE, and decomposition approaches like Qwen-Image-Layered and LiWi either generate layers without an editing prior or decompose a pre-edited flat image without joint optimization. LayerEditor is the first to jointly optimize editing fidelity and layer structure within a single model using C-EPD to preserve the pretrained editing prior.

What is the architecture and training setup of LayerEditor?

LayerEditor builds on the FireRed-Image-Edit-1.1 codebase, adding a rank-256 LoRA adapter to the DiT backbone while keeping the image and text encoders and the pretrained RGB decoder frozen. Training proceeds in two phases: two warm-up epochs of flow-matching only, followed by joint flow-matching and C-EPD optimization with a ramp-up weight λ_C(k) = 0.1 min(k/500, 1) and a fixed composite pixel weight λ_S = 0.05.

How are layers composited during inference?

Layers are composited back-to-front using the formula C_i = A_i ⊙ R_i + (1 − A_i) ⊙ C_{i−1}, starting from a white background canvas B, where A_i is the alpha map and R_i is the RGB content of layer i.

How does the on-policy rollout work in C-EPD training?

The on-policy rollout samples ten nodes from a thirty-step inference sigma grid, taking two nodes from each of five temporal segments. For every active C-EPD update, two queries are drawn from high-, medium-, and low-noise bands with probabilities 0.2, 0.5, and 0.3 respectively, and the rollout states are detached before computing gradients.

How is the rubric-based evaluation structured?

Rubric-based evaluation scores five dimensions—edit consistency, visual quality, layer segmentation, layer composition, and Alpha accuracy—on a 1–10 scale anchored at 1, 3, 5, 7, and 10. All metrics are computed on the recomposited canvas C rather than the direct canvas output.

What prior editing models does LayerEditor build upon or relate to?

LayerEditor builds directly on the FireRed-Image-Edit-1.1 codebase and is conceptually related to InstructPix2Pix, Qwen-Image, and FireRed-Image-Edit as pretrained editing priors. Its distillation approach draws on on-policy distillation (OPD) methods including Flow-OPD, DiffusionOPD, and STEP-OPD.

Does the paper specify author names or publication venue?

The paper does not specify author names or a publication venue in the provided text.

Key terms

RGBA layer
An image layer that stores red, green, and blue color channels plus an alpha (transparency) channel, allowing objects to be composited over other layers with per-pixel opacity control.
Compositional Edit-Prior Distillation (C-EPD)
A teacher-student training method in which a frozen pretrained image editor supervises the student model's composited layer output, preserving editing quality while the student learns to generate reusable RGBA layers.
In-Context RGB–Alpha Token Modeling
A token representation scheme that encodes the edited canvas and all RGBA layers as a single shared sequence, with field identifiers embedded in rotary positional coordinates so the model can jointly reason about canvas, RGB, and Alpha information.
LayerEditor-100K
A training dataset of 100,000 image-editing pairs with full RGBA layer stack annotations, covering text edits, object edits, and poster-level appearance edits.
Crello-Testset
An evaluation benchmark introduced in the paper that measures editing fidelity and layer quality metrics including RGBA L1 and Alpha IoU on layered image editing tasks.
ScaleEdit-Testset
A second evaluation benchmark introduced in the paper, alongside Crello-Testset, for measuring editing fidelity, layer quality, and controllable layer manipulation.
Alpha decoder
A VAE-based decoder module with a single-channel Alpha-logit head that produces per-layer opacity maps via a sigmoid activation, enabling transparent layer generation.
DiT (Diffusion Transformer)
A transformer-based neural network architecture used as the backbone for diffusion-based image generation and editing models.
LoRA (Low-Rank Adaptation)
A parameter-efficient fine-tuning technique that adds small trainable low-rank matrices to a frozen pretrained model, here applied at rank 256 to the DiT backbone.
Flow-matching
A generative modeling training objective that trains a neural network to predict the velocity field of a continuous normalizing flow between noise and data distributions.
On-policy distillation (OPD)
A distillation strategy in which the student model is supervised on states it actually visits during its own inference trajectory, reducing the distribution mismatch between training and inference.
Alpha IoU
An evaluation metric that measures the intersection-over-union between predicted and ground-truth alpha (transparency) masks, assessing how accurately a model isolates individual layers.
RGBA L1
An evaluation metric that computes the mean absolute difference between predicted and ground-truth RGBA layer values, measuring per-layer reconstruction accuracy.
Composite FID (Fréchet Inception Distance)
A metric that measures the statistical similarity between the distribution of composited generated images and real images, where lower values indicate higher image quality.
Composite SSIM (Structural Similarity Index Measure)
A perceptual metric that evaluates the structural similarity between the composited generated image and the reference image, where higher values indicate better fidelity.
Source-over compositing
A standard alpha compositing formula that blends a foreground layer over a background using the formula C_i = A_i ⊙ R_i + (1 − A_i) ⊙ C_{i−1}, applied back-to-front across layers.
FireRed-Image-Edit
A pretrained image-editing model whose codebase and weights serve as the foundation for LayerEditor, providing the editing prior that C-EPD aims to preserve.

Read the original paper

Open the simplified reader on Paperglide

Browse all simplified papers