FREE-Switch: Frequency-based Dynamic LoRA Switch for Style Transfer
Organizations: Harbin Institute of Technology
Abstract
With the growing availability of open-sourced adapters trained on the same diffusion backbone for diverse scenes and objects, combining these pretrained weights enables low-cost customized generation. However, most existing model merging methods are designed for classification or text generation, and when applied to image generation, they suffer from content drift due to error accumulation across multiple diffusion steps. For image-oriented methods, training-based approaches are computationally expensive and unsuitable for edge deployment, while training-free ones use uniform fusion strategies that ignore inter-adapter differences, leading to detail degradation. We find that since different adapters are specialized for generating different types of content, the contribution of each diffusion step carries different significance for each adapter. Accordingly, we propose a frequency-domain importance-driven dynamic LoRA switch method. Furthermore, we observe that maintaining semantic consistency across adapters effectively mitigates detail loss; thus, we design an automatic Generation Alignment mechanism to align generation intents at the semantic level. Experiments demonstrate that our FREE-Switch (Frequency-based Efficient and Dynamic LoRA Switch) framework efficiently combines adapters for different objects and styles, substantially reducing the training cost of high-quality customized generation.
Figures & tables
| CLIP Score (Style) | DINO Score (Content) | Gemini Feedback | Speed (s/pair) | |
| Direct Generation (Refine Prompt) | 58.62 | 36.01 | 6.67% | 150 |
| ZipLoRA [ 26 ] | 53.93 | 69.18 | 3.33% | 550 |
| Joint Train | 60.56 | 27.15 | 6.67% | 589 |
| Merge | 60.56 | 41.44 | 16.67% | 150 |
| K-LoRA [ 19 ] | 54.17 | 61.32 | 13.33% | 290 |
| FREE-Switch | 61.59 | 68.57 | 53.33% | 320 |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| Notations | Descriptions |
| Pre-trained diffusion model. | |
| Fine-tuning parameters for content. | |
| Fine-tuning parameters for style. | |
| The output of -th diffuison step. | |
| The denoising process of -th step using base model. | |
| The denoising process of -th step with LoRA . |
| Parameter | Value |
| rank | 64 |
| resolution | 1024 |
| train_batch_size | 1 |
| learning_rate | 5.00E-05 |
| lr_scheduler | constant |
| lr_warmup_steps | 0 |
Diffusion-Based Image Generation
Diffusion-based image generation creates images by progressively denoising noise, with controls for content, style, and structure.
See all 312 papers