Style Composition within Distinct LoRA modules for Traditional Art

Jaehyun Lee, Wonhark Park, Wonsik Shin, Hyunho Lee, Hyoung Min Na, Nojun Kwak

TL;DR

Traditional art often relies on combining distinct brushwork techniques, but modern diffusion models struggle to apply multiple artistic styles to specific image regions without one dominating or blurring into the other. This paper introduces a training-free, zero-shot sampling pipeline for Flow Matching models that predicts clean latents from separately trained style LoRAs and merges them via spatial masks. Conditioned on depth maps for geometric alignment, the approach cleanly renders different artistic styles across user-specified regions within a single, coherent artwork.

What Problem Does This Paper Address?

While text-to-image diffusion models excel at style transfer via lightweight adapters like LoRA, their latent spaces are entangled and lack smooth interpolation. Naively blending styles—such as averaging LoRA weights or concatenating prompts—frequently leads to style collapse, where one dominant aesthetic overpowers the other, or to messy transitions.

In traditional art (such as Korean ink and wash painting), artists deliberately contrast techniques within a single piece (e.g., bold ink washes for mountains alongside fine, meticulous outlines for architecture). Enabling artists to assign distinct, high-fidelity painting styles to designated spatial regions without retraining a multi-style model remains an open challenge.

Methods

The authors propose Clean Latent Fusion, a zero-shot compositing pipeline built atop the Flux-dev.1 transformer (DiT) architecture with Flow Matching and ControlNet:

  1. One-Style-per-LoRA Training: Rather than forcing a single adapter to learn multiple styles (which degrades quality), a dedicated LoRA is trained for each style using a unique DreamBooth-style placeholder token.
  2. Structural Conditioning via Depth: To ensure heterogeneous diffusion pipelines generate structurally matched geometry, both pipelines share a ControlNet conditioned on a single depth map. Binary masks ($M^{s_1}, M^{s_2}$) designating style regions are derived directly by thresholding this depth map.
  3. Two-Stage Sampling Schedule:
  4. Simple Updates (Coarse Layout): From noise $t = T$ down to a threshold timestep $\tau$, each style pipeline denoises independently to build coarse geometric layout without interference.
  5. Merging Updates (Clean Latent Fusion): From timestep $\tau - 1$ down to 0, style information emerges strongly. At each step, the model predicts the clean endpoint latent $\hat{z}_0^{s_i}$ using Flow Matching ODE velocity. These clean latents are composited across space using the binary masks: $$\hat{z}_0 = \sum_i \hat{z}_0^{s_i} \cdot M^{s_i}$$
  6. Unconditional Return Step: To project the merged clean latent $\hat{z}_0$ back into noisy latent space at $t$, the pipeline propagates it using the unconditional velocity ($v_\theta(z_t, \emptyset)$). This prevents visual artifacts that occur when conditioning a multi-style latent on single-style prompts.
Initial Noise z_T
       │
       ▼ (Independent Denoising / Simple Updates: t = T → τ)
Style 1 Latent ───► Predict Clean Endpoint ──┐
                                             ├──► Spatial Masking (Depth) ──► Re-inject via Unconditional ODE ──► Image
Style 2 Latent ───► Predict Clean Endpoint ──┘

Datasets

The authors introduce and evaluate on a Korean Traditional Art Technique Dataset consisting of 250 images across five distinct painting techniques (50 images per style):

  • Ink Painting:
  • Baekmyo: Fine, monochrome contour line drawing without shading or color fills.
  • Gureuk: Sharp ink outlines filled with subtle color or gray wash.
  • Molgol: "Boneless" painting using direct, spontaneous ink washes without outlines.
  • Color Painting:
  • Ilpil: Expressive, spontaneous paintings executed with rapid, single brushstrokes.
  • Gongpil: Highly meticulous, detailed brushwork commonly used in royal court art.

Key Insights and Ideas

  • Style Emerges at Low Noise: High-noise steps establish geometry, whereas low-noise steps inject texture, color palettes, and brushwork. Delaying latent composition until timestep $\tau$ prevents chaotic early interference while allowing fine stylistic features to fuse cleanly.
  • Why Unconditional Velocity Matters: When a latent contains two distinct styles, feeding it back into a style-specific text prompt creates a semantic mismatch. Steering the blended latent backward using the unconditional velocity field ($v_{t, uc}$) maintains stylistic boundaries without guidance artifacts.
  • Binary vs. Soft Masks: Cross-attention layers naturally produce smooth latent interactions across timesteps. Soft masks exacerbate bleeding and cause unwanted style mixing; strict binary masks yield sharper, higher-fidelity stylistic boundaries.

Key Results

The authors evaluated their pipeline against LoRA Fusion (a standard baseline that linearly averages trained LoRA adapter weights) across four style pairs (Baekmyo–Molgol, Baekmyo–Ilpil, Molgol–Gongpil, and Ilpil–Gongpil):

  • Quantitative (CLIP-I Score): Style similarity was measured against reference style images over the masked regions.
  • Single Style 1 baseline: 0.673
  • Single Style 2 baseline: 0.676
  • LoRA Fusion: 0.692
  • Proposed Clean Latent Fusion: 0.697
  • Qualitative Comparison: LoRA Fusion routinely suffered from style imbalance—often letting monochromatic styles (like Molgol) wash out delicate colored styles (Gongpil). In contrast, the proposed method strictly localized distinct brushstroke physics and color palettes to their respective foreground/background regions while maintaining seamless depth-aligned scene geometry.

Limitations and Future Work

  • Reliance on Depth Maps: The pipeline depends on ControlNet depth conditioning to keep parallel diffusion streams structurally aligned. In settings where high-quality depth maps cannot be generated or extracted, the framework's flexibility is constrained.
  • Manual Masking: Regional boundaries currently rely on depth thresholding or pre-computed masks; extending the framework toward interactive brush interfaces or semantic text-driven spatial segmentations represents a logical next step.

Summary updated

BibTeX
@inproceedings{lee2025style,
  author = {Jaehyun Lee and Wonhark Park and Wonsik Shin and Hyunho Lee and Hyoung Min Na and Nojun Kwak},
  title = {{Style Composition within Distinct LoRA modules for Traditional Art}},
  booktitle = {WCCA @ ICCV},
  year = {2025},
  url = {https://openreview.net/forum?id=gTzi5qEVMX},
}
Figure