- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 2
Read review
Summary
The paper introduces UNIVL, an inpainting-oriented image generation framework for spatially grounded contextual generation. The key idea is to combine visual context and textual intent into a single visual condition: the user-provided label is rendered as pixels inside the masked region, and an OCR-pretrained vision backbone encodes this unified input instead of using a separate text encoder. The UNIVL encoder combines frozen VAE features, intended to preserve visual context outside the mask, with OCR/CLIP-derived semantic features inside the mask through a mask-aware fusion mechanism.
The method is trained in two stages. First, the UNIVL encoder is aligned to the target image’s VAE latent representation using a feature-alignment loss. Second, the diffusion transformer backbone is fine-tuned with UNIVL conditioning, while keeping auxiliary alignment and CLIP-based losses to regularize the unified embedding. The authors train and evaluate on a newly constructed UNIVL-ImgGen benchmark, containing mask-text records derived from LAION-5B/Grounding DINO filtering and ImgEdit-style add, replace, and extract data.
Experiments compare UNIVL against controllable generation and inpainting baselines, including OminiControl, ControlNet variants, BrushNet, PowerPaint, and FLUX.1 Fill, using image-quality and alignment metrics such as FID, SSIM, PSNR, MUSIQ, and CLIP-based global and region-level scores. The reported results show improved performance over no-text-encoder baselines and competitive performance with text-prompted baselines, while reducing inference computation by removing the standalone text encoder. Ablation studies examine the effects of OCR pretraining, feature alignment, encoder design, and auxiliary losses.
Strengths and weaknesses
Strengths
-
The paper proposes a simple and interesting conditioning interface for spatially grounded inpainting: rendering the desired label directly inside the mask provides an explicit way to bind what should be generated with where it should appear. Using an OCR-pretrained visual encoder to read this rendered condition is a plausible and original alternative to a separate text encoder, especially for short-label object-level editing.
-
The mask-aware fusion mechanism is also well motivated. Combining VAE features outside the mask with OCR/CLIP-derived semantic features inside the mask is a sensible design for inpainting, since the model should preserve background context while injecting semantic information only in the edited region.
-
Empirically, the reported results are reasonably strong. Table 1 shows consistent gains over no-text-encoder baselines across image-quality metrics, CLIP-based metrics, and region-level alignment metrics. The efficiency motivation is also meaningful: removing the T5 encoder reduces encoder parameters, token size, FLOPs, and runtime, with especially large gains at lower resolutions.
-
The paper also includes useful ablations. Table 3 suggests that OCR pretraining, the UNIVL encoder design, and the Stage-1 feature alignment each contribute to performance, supporting the claim that the method is not only a trivial modification of the baseline.
Weaknesses
-
A major technical clarity issue concerns the training objective. The method is built on FLUX.1-dev, which is a rectified-flow/flow-matching transformer, but the paper repeatedly describes Stage 2 using a standard DDPM-style -prediction objective, $ \mathcal{L} = |\epsilon - \epsilon_\theta(z_t,t,c)|^2. $ If this is only simplified notation, the authors should state the actual FLUX/flow-matching objective used in implementation. If it is literal, then the paper needs to justify how this objective is compatible with fine-tuning a pretrained rectified-flow backbone. As written, this substantially affects reproducibility and confidence in the methodological description.
-
The baseline protocol is under-specified. The paper clearly states that OminiControl and FLUX.1 Fill are fine-tuned on the same data, but it is less clear whether ControlNet-FLUX, ControlNet, BrushNet, and PowerPaint are fine-tuned or used off-the-shelf. This makes Table 1 harder to interpret, since the comparison may mix fine-tuned and non-fine-tuned baselines.
-
The UNIVL-ImgGen benchmark relies substantially on automatically generated annotations. The mask category is built using Grounding DINO detections followed by CLIP-similarity filtering, and the editing categories are derived from ImgEdit-style generated add/replace/extract data. This makes the dataset scalable, but also introduces possible pseudo-label noise, detector bias, CLIP-filtering bias, and synthetic-data artifacts. Since both training and held-out evaluation are drawn from this automatically constructed pipeline, the reported performance may partly reflect adaptation to the pseudo-label/data-generation process rather than robust performance on human-specified real editing tasks. The paper would be stronger with human validation of label/mask correctness, quality statistics for the pseudo labels, or evaluation on an independently annotated benchmark.
-
The paper also contains confusing statements about classifier-free guidance. In Section 5.1, the authors write that they use guidance scale 1.0 with “no classifier-free guidance, since no text prompt is used.” However, CFG is not specific to text conditioning and can be applied to any conditioning modality. Appendix B partially clarifies that the authors tried varying image_guidance_scale and clip_guidance_scale but found no significant improvement, so they report results with both set to 1.0 . However, the paper does not provide the tested scale ranges or quantitative ablations, and the main-text explanation (Section 5.1) remains conceptually imprecise, especially since the model is trained with condition dropout.
-
There are several clarity issues in the architecture description. For example, Fig. 2 is described using “top/bottom” language (page 2, line 54-55) despite being visually organized more like left/right. More importantly, Fig. 2 appears to mark the UNIVL block as frozen in Stage 2, while the text says that the UNIVL encoder’s CLIP-LoRA and linear adapter remain trainable.
-
Finally, the scope of the method is narrower than the framing suggests. The current setup mainly supports short object-level labels rendered with a fixed font inside mostly rectangular, non-overlapping masks. At high resolution, the runtime advantage also becomes modest because the DiT dominates compute, while removing T5 sacrifices richer natural-language conditioning. Thus the method seems most useful for short-label spatial inpainting rather than broad vision-language contextual generation.
Questions
- What is the exact Stage-2 training objective used with FLUX.1-dev?
- Can the authors clarify the baseline training protocol for all methods in Table 1?
- How reliable are the pseudo-labels in UNIVL-ImgGen?
- Can the authors better justify the use of condition dropout and guidance scale 1.0?
Limitations
The authors discuss some limitations, including rectangular masks, short labels, fixed text rendering, and limited backbone coverage. However, I do not think the limitations are fully addressed.
Additional limitations that should be discussed include: reliance on pseudo-labeled and partly synthetic benchmark data; lack of human validation of mask-label correctness; unclear generalization to real user-specified editing instructions; limited support for overlapping masks and depth/order ambiguity; and the loss of rich natural-language conditioning when T5 is removed.
A stronger limitations section would distinguish the method’s demonstrated scope—short-label, object-level spatial inpainting—from the broader framing of unified vision-language contextual generation.
Paper formatting concerns
no problem observed.
Final justification
The authors have provided convincing new empirical results and helpful clarifications in their rebuttal. These additions address most of my concerns and strengthen the quality and clarity of the paper. I am therefore raising my score to Borderline Accept.
We thank the reviewer for the insightful feedback. Below we address the major concerns, including the Stage-2 flow-matching objective (W1/Q1), the baseline fine-tuning protocol (W2/Q2), pseudo-label reliability (W3/Q3: 5-rater audit + independent-benchmark evidence), CFG terminology and sweep (W4/Q4), Figure 2 (W5), and scope-of-framing (W6: pushback + high-resolution efficiency clarification).
W1 / Q1. Stage-2 training objective. Thank you for catching! FLUX.1-dev is a flow-matching model, and our ε−εθ notation is a DDPM-style stand-in, which is a typo. The actual implementation uses the FLUX flow-matching loss, inherited unchanged from diffusers
FluxPipeline:Lflow=Ez0∼N(0,I),z1=E(X),t[∥vθ(zt,t,c)−(z1−z0)∥2].
where zt=(1−t)z0+tz1 and t is sampled from a logit-normal distribution. This is the same objective used to fine-tune the OminiControl and FLUX.1 Fill baselines. Our contribution is the conditioning interface c=fVL (replacing T5 embeddings), not the loss, so other parts remain correct. We will fix §3 preliminary and §4.3 Stage 2 in revision, and cite Esser et al. 2024 (SD3/rectified flow) and Lipman et al. 2022 (flow matching).
W2 / Q2. Baseline protocol. All Table 1 baselines (OminiControl both variants, ControlNet, ControlNet-FLUX, BrushNet, PowerPaint, FLUX.1 Fill) are fine-tuned on the same UniVL-ImgGen training split with the same 40K steps, for fairness. In §5.1 we will add explicit clarification in the Table 1 caption ("all baselines fine-tuned on UniVL-ImgGen train split").
W3 / Q3. Pseudo-label reliability. Pseudo labels are acceptable via human validation, and our UniVL is also evaluated on independently annotated benchmarks.
We audited a 400-triple stratified sample with 2 independent human annotators plus 3 VLM raters (GPT-4o, GPT-5-mini, Qwen3-VL) as automated second opinions. Each triple was rated on Q1 (mask covers labeled object?, tertiary: Yes/No/Partial), Q2 (label matches masked region?, tertiary: Yes/No/Partial), and Q3 (overall pair quality, 1–5 Likert). Note "partial choice" in Q1/Q2 is discouraged in instruction.
Inter-annotator agreement (2 human raters): 85.6% on Q1, 81.2% on Q2, 65.8% exact / 84.7% within ±1 on Q3, which is substantial for the objective correctness questions (Q1/Q2) and the expected pattern for the finer-grained Likert (Q3). Both humans place quality means at 4.0–4.25/5. All three independent VLM raters produce scores close to the human means on every question, corroborating the human ratings. This gives a five-way triangulated pseudo-label quality check comparable to (or stricter than) LAION / SA-1B validation practice.
W3. Evaluation on independently annotated benchmarks. We also add zero-shot COCO + ADE20K as independent-benchmark evidence that the results are not adaptation to our pseudo-label pipeline:
COCO val2017 zero-shot (both settings, condensed):
On COCO, UniVL wins on pixel-level quality metrics by clear margins vs all baselines (Δ FID ≥ 4). The model generalizes to independent human-annotated benchmarks without further fine-tuning.
W4 / Q4. Classifier-free guidance statement + sweep numbers. Thanks for catching: the §5.1 phrasing "no classifier-free guidance, since no text prompt is used" is imprecise, since CFG applies to any conditioning modality. We use guidance scale 1.0 on all three conditioning channels (text / image / CLIP), i.e., a single conditional forward pass per denoising step. Below is the full sweep from App B (previously stated qualitatively; we now surface the numbers to address the "quantitative ablations" concern):
Δ FID < 0.3 and Δ region-FID < 0.9 across the entire sweep; none of the higher scales beat the default within noise, so we keep 1.0 to preserve the single-forward-pass inference cost reported in Table 2 (raising either scale doubles per-step compute). We will rewrite §5.1 with the correct terminology and add this sweep to App B. If the reviewer would like additional scale ranges tested (e.g. text-CFG > 1.0 in the UniVL+T5 hybrid setting), we're happy to include them.
W5. Figure 2 clarity. Thanks for catching the error in Fig.2: UniVL encoder's CLIP-LoRA + linear adapter are trainable in stage 2 (initialized from Stage 1, continued in Stage 2). This is an error from not updating the figure to reflect a design change (empirically we find unfreezing the UniVL encoder in Stage 2 leads to a slight performance gain). We will fix the figure marker and relabel "top / bottom" → "Stage 1 / Stage 2" to match the physical layout.
W6. Scope of framing. We agree with reviewer on the scope claim and will tighten it and revise as follows:
(1) Short labels are the natural first attempt and satisfy the contextual image generation and editing goal. The task the paper defines — condition specifies what content should appear at which region — is inherently short-label-friendly: once the where is fixed by a mask, the what reduces to the semantic label ("dog", "red car") without spatial-locator language. Short region labels are therefore the natural conditioning unit for this task, not a partial solution. UniVL is, to our knowledge, the first cross-modal unified encoder for this task; using short labels for the first-work demonstration matches both the task definition and the available training data (LAION/ImgEdit annotations, short by construction).
(2) Long-text UniVL is a natural and promising extension. DeepSeek-OCR (the same backbone we adapt) already handles long-text reading (multi-paragraph document parsing, chart/formula parsing), so extending UniVL to per-region long prompts is a natural extension: with more paired long-prompt training data (VLM-auto-captioned) and modest additional compute, retraining Stage 2 is sufficient. No architecture change. Given DeepSeek-OCR's success on long text, we consider this one of the most practical near-term extensions.
(3) Efficiency claim at high resolution. The runtime advantage is nontrivial across the practical operating range. At 512×512, the most common inference resolution for open editors, and the setting most users actually deploy, UniVL still delivers a meaningful runtime saving (Table 2). At 1024×1024 the DiT does dominate, but the token-count and encoder-parameter reductions remain intact and the setting is less common in interactive editing use cases. Removing T5 also does not sacrifice richer language for users who need it: the UniVL+T5 hybrid (last row of Table 1) restores T5 conditioning and still wins/ties 7/8 metrics vs text-prompted baselines, at a larger, slower configuration that trades some efficiency for language richness. We will clarify in the intro that the efficiency claim is most impactful at the widely-used 512² regime and honestly note the diminishing returns at 1024².
We will narrow the abstract and intro to short-label, object-level spatial contextual generation and add explicit scope conditions to the limitations, positioning UniVL as the first-in-class controllable-editing tool for regions with short semantic labels and long-text extension as the natural next step.
Limitations to expand in revision. We will add: (i) small-mask legibility threshold (~0.5% mask area), (ii) relational-phrase limitation (mask footprint bounds rendered-text length), (iii) single-backbone demonstration, (v) standardized text rendering, (iv) reliance on pseudo-labels (mitigated by the audit above and the extended independent-benchmark evaluation). Given limitations are either addressed or discussed, we sincerely hope the reviewer considers raising their score.