CLeaR: A Unified Framework for Resolving the Leakage–Degradation Dilemma in Style Transfer

Teng Zhou, Yunhao ChenNeurIPS 2026

TL;DR

Ask an AI to paint a motorcycle in the style of Van Gogh’s The Starry Night, and you’ll likely get a motorcycle with a random cypress tree or village church photobombing the background. Push the model to ignore those objects, and the iconic swirling brushstrokes often wash out into blandness. CLeaR solves this tug-of-war without any model training—distilling pure, object-free "style anchors" in pixel space by uniting a committee of vision models, then gently steering the diffusion generator so the style stays sharp and the unwanted objects stay gone.

What Problem Does This Paper Address?

In diffusion-based style transfer, separating how something is painted (style) from what is painted (content) is notoriously slippery. When residual semantics from the style reference sneak into the generated output, it’s called content leakage.

Existing fixes—whether training custom adapters or performing training-free feature surgery—usually run headfirst into what the authors call the leakage–degradation dilemma. Turn the dial toward rich style preservation, and reference objects leak through; crank up content suppression, and you scrub away the delicate textures and brushstrokes you wanted in the first place.

Crucially, the authors recognize that this isn't a single-point failure. It happens across three distinct stages of the pipeline:

  1. Feature separation: Heuristic feature subtraction or masking leaves residual content or accidentally amputates correlated style cues.
  2. Feature-space grounding: Relying on a single Vision Foundation Model (VFM) like CLIP is fragile because every encoder has blind spots in how it entangles content and style.
  3. Diffusion generation: Off-the-shelf conditioning tools (like IP-Adapter) are trained on normal images, so feeding them stripped-down style features causes the denoising trajectory to drift.

Methods

CLeaR (Content Leakage Resistant) is a training-free framework that tackles each of the three failure stages with a dedicated mathematical or optimization tool:

Figure 1: Overview of the CLeaR framework. The three components target the three failure sources in the entire style transfer process: Orthogonal Subspace Projection (feature separation), Ensemble Inversion (feature-space grounding), and Energy-Guided Calibration (diffusion generation).
  1. Orthogonal Subspace Projection (OSP): Given a style reference image and a text description of its content (e.g., "Sky, big tree, church, hills"), CLeaR first generates a synthetic "content proxy" image using a text-to-image model. Inside a VFM’s feature space, instead of just subtracting the proxy feature from the reference feature, CLeaR projects the difference onto the subspace orthogonal to the content direction. Geometrically, this zeroes out any lingering alignment with the unwanted objects.
  2. Ensemble Inversion (EI): Rather than trusting one encoder, CLeaR recruits five diverse VFMs (CLIP, CSD-CLIP, DINO, VGG, and Inception). You can’t directly average their feature spaces—their dimensions and geometries don't match. Instead, CLeaR realizes that image pixel space is a universal shared domain. Starting from random noise, it optimizes a single pixel-space image—a style anchor—via gradient descent until its features simultaneously satisfy the orthogonal style targets of all five VFMs (plus a total variation smoothness regularizer).
  3. Energy-Guided Calibration (EGC): The resulting style anchor is fed into a standard IP-Adapter alongside the target text prompt. To keep the diffusion trajectory from drifting, CLeaR applies test-time gradient guidance during the final 10% of denoising steps (the texture-refinement phase), nudging the latent variables to minimize feature distance to the ensemble's style targets.

Datasets

Because CLeaR is entirely training-free, no training datasets are used. For evaluation, the authors use StyleBench, a benchmark featuring 490 style images across 73 distinct styles and 40 target content prompts. Selecting one representative image per style (captioned via Qwen3) paired with all 40 content prompts yields 2,920 style-content evaluation pairs. No new datasets are introduced.

Key Insights and Ideas

  • Pixel space is the ultimate translator: Aligning heterogeneous neural representations normally requires training projection layers. Optimizing an actual RGB image via model inversion neatly bypasses this, turning incompatible VFM feature spaces into cooperative constraints on a single canvas.
  • Complementary encoder biases: Ablations reveal why an ensemble works—CLIP, DINO, and Inception do the heavy lifting in suppressing semantic content leakage, while VGG and CSD-CLIP preserve fine-grained textures and brushstrokes. Furthermore, the authors prove theoretically that the style-anchor estimation error scales down roughly as $1/K$ with $K$ weakly correlated models.
  • Surgical control via plain English: Because content removal is driven by the caption of the style image, users get fine-grained control for free. Delete "tree" from your description of Starry Night, and the cypress tree reappears in the style anchor while the church steeple stays erased.

Key Results

Tested against eight recent baselines (including InstantStyle, StyleAligned, RB-Modulation, and StyleShot), CLeaR takes the top spot across nearly all disentanglement metrics:

  • Style Alignment: Boosts CSD-CLIP cosine similarity by 8.3% (0.682 vs. 0.630) and slashes VGG Style Loss by 64.9% (0.034 vs. 0.097) compared to the strongest respective baselines.
  • Content Leakage Suppression: Cuts unwanted DINO structural similarity by 60.7% (down to 0.066), improves KID divergence by 51.1%, and raises Qwen3 LLM-as-Judge leakage resistance scores by 8.05% (4.16 / 5.0).
  • Content Alignment: Achieves the second-highest CLIP text alignment score (0.238, just behind StyleAligned’s 0.241), showing it renders the requested prompt faithfully. Qualitatively, extracted style anchors look like pure abstract Swirls and palettes—all vibe, zero objects.

Limitations and Future Work

  • Test-time compute overhead: Running 300 iterations of pixel-space gradient descent across five VFMs plus test-time diffusion guidance isn't free. While runtime is comparable to other optimization-heavy training-free methods, it is noticeably slower than single-pass feed-forward adapters.
  • Failure modes: If the text description of the style reference is vague or misses an object, that content won't be projected out and can leak through. Additionally, inversion artifacts or high-frequency optimization noise in degenerate style anchors can occasionally confuse the downstream IP-Adapter—areas the authors flag for future refinement.

Summary updated

Abstract

Style transfer aims to render target content in the style of a reference image, but existing methods often suffer from content leakage, where objects, layouts, or semantics from the style reference appear in the generated output. Although prior data-driven and training-free methods can reduce leakage, they often face a leakage-degradation dilemma: stronger content suppression may weaken style fidelity, while richer style preservation may reintroduce unwanted reference content. We identify this dilemma across the full style-transfer pipeline, including feature separation, feature-space grounding, and diffusion generation. To address these issues, we propose CLeaR, a training-free framework for content-leakage-resistant style transfer. CLeaR first uses Orthogonal Subspace Projection to define content-reduced style targets in each vision foundation model (VFM) feature space. It then performs Ensemble Inversion, which optimizes a shared pixel-space style anchor satisfying style constraints across multiple VFMs. Finally, Energy-Guided Calibration maintains style alignment during diffusion sampling by steering the denoising trajectory toward the ensemble-defined style manifold. We further provide a theoretical analysis showing that the style-anchor estimation error decreases with the number of VFMs. Experiments on StyleBench demonstrate that CLeaR improves style alignment, reduces content leakage, and achieves better LLM-as-Judge evaluation compared with existing methods.
BibTeX
@inproceedings{zhou2026clear,
  author = {Teng Zhou and Yunhao Chen},
  title = {{CLeaR: A Unified Framework for Resolving the Leakage–Degradation Dilemma in Style Transfer}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=XYaKipdytC},
}
Figure