Imagine you’ve found the perfect reference image—a beautiful, intricate papercraft sculpture. You want to generate a new image of a red fox in that exact same style. You type your prompt, hit enter, and... you get a red fox holding a papercraft guitar. Or worse, a yellow fox because the original sculpture was yellow.
This is the "tug-of-war" of reference-guided stylization: how do you borrow the vibe (the texture, the brushwork, the lighting) without accidentally kidnapping the objects from the source image?
TL;DR
ProStyle is a new framework that masters this balancing act by separating "style" from "content" through a clever two-pathway architecture. By training on pairs of images that share a style but depict completely different things, it learns to ignore the "what" and focus entirely on the "how," resulting in images that follow your text prompts faithfully while looking exactly like the reference.
What Problem Does This Paper Address?
In the world of AI art, "content leakage" is a persistent ghost. When you provide a reference image to a model like Stable Diffusion, the model often struggles to distinguish between stylistic choices (like "layered paper texture") and semantic content (like "a guitar").
Existing tools often try to fix this by turning down the "strength" of the reference, but as shown in the figure below, this is a blunt instrument. Turn it up, and the reference objects start leaking in; turn it down, and the style vanishes.
The authors identify a fundamental tension: if you suppress the reference content too much, you lose the rich, fine-grained textures that make the style unique.
Methods
The researchers introduced ProStyle, which uses a "progressive" approach to solve this. Instead of one path for everything, it uses two:
- The Content-Suppressed Style Pathway: This path uses a "bottleneck" of just 16 tokens. It’s trained using cross-content supervision—the model is shown two different images (e.g., a papercraft bird and a papercraft house) and told that the "style" of the bird must be used to help generate the house. Since the subjects are different, the model is forced to ignore the bird and learn only the papercraft "prior."
- The Native Reference Pathway: Because a 16-token bottleneck might lose some "soul," this second path looks at the full, uncompressed patches of the reference image. It learns to fill in the missing stylistic details as "residuals" (corrections) to the first path.
To make this work, they use Hierarchical Asymmetric Injection. They inject the style strongly into the "primary" layers of the U-Net (which handle layout and style) and very weakly into the "auxiliary" layers (which handle fine details), ensuring the style spreads throughout the image without overriding the text prompt.
Datasets
To train and test this, the authors built ReConStyle, a massive benchmark:
- Training Set: 134,000 "cross-content" pairs (same style, different subject).
- Source Images: Generated using high-end models like FLUX.1-dev and SD3.5-Large across 50 distinct visual styles.
- Evaluation: They introduced two new object-level metrics: Target-Content Fidelity (TCF) to see if the fox is actually a fox, and Reference-Object Overlap (ROO) to catch any "leaked" guitars.
Key Insights and Ideas
- The Power of Differentness: The most elegant idea here is using different subjects to teach style. If the reference is a boat and the target is a stag, the model cannot use the boat to succeed. It has to find the common denominator: the artistic technique.
- Progressive Refinement: They don't train everything at once. They learn the style prior first, then the "native" corrections, and finally refine them together. This "staged" learning prevents the pathways from fighting each other early on.
- Weak Auxiliary Conditioning: By applying style very faintly to certain layers, they found they could strengthen the overall "feel" of the image without the reference content "breaking through" and ruining the prompt adherence.
Key Results
ProStyle effectively ended the tug-of-war. In comparisons against popular baselines like IP-Adapter and DEADiff:
- Human Preference: In a user study, ProStyle was selected for "combined suitability" (style + prompt following) 50.90% of the time, dwarfing the next best model (InstantStyle at 14.87%).
- Text Alignment: It achieved an 84.36% selection rate for text alignment, meaning it almost never loses track of what you actually asked it to draw.
- Efficiency: Despite the dual pathways, it remains fast, with an inference time of about 2.15 seconds per image on a modern GPU.
Limitations and Future Work
Even with these advances, the "ghosts" aren't entirely gone. The authors note two main failure modes:
- Residual Leakage: Occasionally, if a reference object is very prominent, it can still leak through (e.g., turning a requested guitar into a lamp because the reference had a lamp).
- Subject Omission: Sometimes the model gets so focused on the style that it forgets to render a specific part of the prompt.
The team suggests that future work could involve more granular analysis of how individual layers in newer, larger backbones (like SD3.5) encode style versus content to make the injection even more precise.
Summary updated