[Paper Review] ZipLoRA: Any Subject in Any Style by Effectively Merging LoRAs
ZipLoRA proposes a hyperparameter-free, optimization-based method to seamlessly merge independently trained subject and style LoRAs in diffusion models, enabling any subject to be generated in any style with superior fidelity. By leveraging weight matrix sparsity and column-wise alignment to avoid destructive merging, ZipLoRA achieves state-of-the-art performance in subject and style fidelity without manual tuning.
Methods for finetuning generative models for concept-driven personalization generally achieve strong results for subject-driven or style-driven generation. Recently, low-rank adaptations (LoRA) have been proposed as a parameter-efficient way of achieving concept-driven personalization. While recent work explores the combination of separate LoRAs to achieve joint generation of learned styles and subjects, existing techniques do not reliably address the problem; they often compromise either subject fidelity or style fidelity. We propose ZipLoRA, a method to cheaply and effectively merge independently trained style and subject LoRAs in order to achieve generation of any user-provided subject in any user-provided style. Experiments on a wide range of subject and style combinations show that ZipLoRA can generate compelling results with meaningful improvements over baselines in subject and style fidelity while preserving the ability to recontextualize. Project page: https://ziplora.github.io
Motivation & Objective
- To address the open problem of generating any user-provided subject in any user-provided style using diffusion models.
- To overcome the limitations of existing LoRA merging methods, which often compromise subject or style fidelity and require extensive hyperparameter tuning.
- To enable robust, consistent merging of independently trained subject and style LoRAs without constraints on training methods.
- To preserve the individual generation capabilities of both LoRAs post-merge, enabling use as a Mixture-of-Experts.
- To provide a lightweight, scalable solution for creative applications requiring dynamic subject-style composition.
Proposed method
- ZipLoRA uses an optimization-based approach to compute merger coefficients for each column of the LoRA weight matrices, avoiding direct summation of highly aligned columns.
- The method identifies disjoint sets of columns between subject and style LoRAs based on cosine similarity, minimizing destructive interference.
- It exploits the sparsity of LoRA weight matrices—where most elements have negligible magnitude—focusing optimization on meaningful parameter updates.
- The optimization process is lightweight and hyperparameter-free, ensuring consistent performance across diverse subject-style combinations.
- The merged LoRA retains the ability to recontextualize the subject in new prompts and maintain stylization quality.
- An optional scalar multiplier allows users to control the strength of stylization without retraining.

Experimental results
Research questions
- RQ1Can independently trained subject and style LoRAs be merged effectively without compromising either subject or style fidelity?
- RQ2Can a hyperparameter-free method achieve consistent, high-quality merging across diverse subject and style combinations?
- RQ3Does the optimization-based merging strategy outperform direct linear combination in preserving both content and style?
- RQ4Can the merged LoRA maintain the individual generation capabilities of the original LoRAs?
- RQ5Can the method enable smooth, controllable stylization through a single scalar weight adjustment?
Key findings
- ZipLoRA outperformed all baselines in user preference studies, receiving higher approval rates than direct merge and joint training in all three comparison cases.
- In quantitative metrics, ZipLoRA achieved significantly better subject-alignment scores than direct merge and competitive style-alignment scores, indicating superior subject fidelity.
- The method maintained strong text-alignment scores, showing that it preserves the base model’s prompt-following capability while enhancing style and subject representation.
- ZipLoRA successfully preserved the ability to generate the original subject and style independently, unlike direct merge, which failed to do so.
- The optimization-based approach enabled smooth stylization control via a single scalar multiplier, allowing users to vary the strength of stylization from 0 to 1 without retraining.
- Experiments on SDXL demonstrated that ZipLoRA enables high-quality, generalizable personalization across a wide range of subject and style combinations.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.