Source-linked AI summary

CollectionLoRA: Collecting 50 Effects in 1 LoRA via Multi-Teacher On-Policy Distillation

Fangtai Wu, Hailong Guo, Shijie Huang, Jiayi Song, Yubo Huang, Mushui Liu, Zhao Wang, Yunlong Yu, Jiaming Liu, Ruihua Huang

arXiv:2605.25378v2cs.CVcs.AI

TL;DR

Customized image editing pipelines face storage, routing, and parameter-conflict costs when deploying many effect LoRAs with acceleration modules. CollectionLoRA distills up to 50 effects and few-step generation into one LoRA, with experiments showing comparable or superior concept fidelity while reducing deployment overhead.

  • Problem

    Deploying many effect LoRAs with acceleration modules creates storage overhead, routing latency and errors, and parameter conflicts that cause concept bleeding and style degradation.

  • Method

    CollectionLoRA uses multi-teacher on-policy distillation with probabilistic routing, orthogonal prompting, and coarse-to-fine objectives to consolidate effects and few-step generation in one LoRA.

  • Results

    CollectionLoRA distills 50 visual effects and few-step generation into one LoRA, surpassing independent teachers in concept fidelity while reducing deployment costs.

  • Takeaways & Limitations

    A single LoRA can consolidate diverse customized effects and few-step inference while reducing the deployment overhead of conventional multi-LoRA pipelines.

  • Takeaways & Limitations

    The formulation assumes conditioning inputs comprise an editing instruction and a source reference image.

Abstract

from arXiv · show

Customized image editing aims to equip pre-trained diffusion models with specific visual effects using limited paired data, typically via Low-Rank Adaptation (LoRA). As the number of desired effects grows, storing and dynamically loading numerous these effect LoRAs significantly increases deployment overhead. Furthermore, current pipelines typically cascade these effect LoRAs with acceleration modules for fast generation, which triggers severe parameter interference and results in concept bleeding and style degradation. We propose CollectionLoRA, a multi-teacher on-policy distillation framework capable of distilling the concepts of up to 50 different effect LoRAs along with few-step generation capabilities into a single LoRA. This fundamentally resolves the feature interference issue and significantly reduces deployment costs. Specifically, the method introduces (i) a Probabilistic Dual-Stream Routing mechanism that enables the model to randomly switch between data sources during training, effectively enhancing its generalization in unseen scenarios; (ii) an Asymmetric Orthogonal Prompting strategy to achieve concept isolation within the prompt space; (iii) a Coarse-to-Fine Distillation Objective to mitigate the distribution gap between the teacher and student models. Extensive evaluations show that CollectionLoRA distills all customized effects and few-step generation into a single LoRA, reducing deployment overhead while achieving concept fidelity comparable to or better than independently trained teacher models. Code: https://github.com/Qwen-Applications/CollectionLoRA

1 Introduction

CollectionLoRA consolidates diverse visual effects and few-step generation into a single LoRA through multi-teacher on-policy distillation, addressing storage overhead, routing latency, and parameter conflicts. Its components isolate concepts, preserve generalization, stabilize distillation, and enable scaling to 180 effects with substantially lower deployment overhead.

  • Deployment paradigm: CollectionLoRA consolidates diverse visual effects and few-step generation into a single LoRA, replacing conventional pipelines that separately store and sequentially compose task-specific and acceleration LoRAs.The conventional paradigm incurs storage overhead, routing latency, and parameter conflicts.
  • Distillation framework: Probabilistic Dual-Stream Routing, Asymmetric Orthogonal Prompting, and Coarse-to-Fine Distillation stabilize training, preserve generalization, and isolate concepts in the prompt space.C2F-DO combines trajectory anchoring with distribution matching to restore high-frequency details.
  • Performance: 50 visual effects are distilled alongside few-step generation into a single LoRA, surpassing independent single-task teachers in concept fidelity while reducing deployment costs.This result is reported on EffectBench.
  • Scalability: 180 effects are supported with deployment overhead reduced to 0.5% of the conventional paradigm without catastrophic quality degradation.The framework also exhibits zero-shot composition of multiple effects.

2 Related Work

Related work spans customized image generation, few-step diffusion distillation, and on-policy teacher correction. CollectionLoRA extends these directions through large-scale multi-teacher consolidation of diverse effects and few-step generation in one module.

  • Customized Image Generation: Customized image generation adapts pretrained diffusion models to learn specific concepts from limited data and re-render them across diverse contexts.The field includes optimization-based methods, specialized adapters, and vision-conditioned generation approaches.
  • Customized Image Generation: Early methods learn specific tokens or fine-tune models for single subjects, while later approaches use specialized adapters for vision-conditioned personalization.Examples include Textual Inversion, DreamBooth, ELITE, IP-Adapter, InstantID, and MoMA.
  • Few-Step Distillation: Consistency Models enable few-step generation through trajectory self-consistency, while DMD directly minimizes divergence between teacher and student distributions.Decoupled-DMD improves fine details using independent noise schedules, with DMDR and related methods extending DMD.
  • On-Policy Distillation: On-policy distillation addresses exposure bias and compounding errors by applying teacher feedback to states visited during the student’s own rollouts.The framework conceptually unifies transition-level OPD and marginal-distribution DMD because both correct student-explored states with teacher signals.

3 Preliminaries: Distribution Matching Distillation

Distribution Matching Distillation trains an efficient student generator to approximate a pretrained diffusion teacher’s target distribution, using backward simulation to align few-step training with inference. It updates the generator by matching real and fake score functions, with scores supplied by a frozen teacher and an updated critic.

  • Distribution Matching Distillation: DMD trains an efficient student generator Gθ whose generated distribution pfake approximates the target real distribution preal defined by a pretrained diffusion teacher.The target distribution is established by the teacher model.
  • Backward Simulation: DMD2 uses Backward Simulation to reproduce the inference process for few-step synthesis, beginning with pure noise z ∼ N(0, I) and iteratively denoising and re-noising.This procedure is used to improve consistency between training and inference.
  • Training Target: The simulated image replaces conventional real data, and Gθ denoises a noisy version of it to produce the generated sample xg.The resulting sample is used as the training target before score matching.
  • Score Matching Objective: The generator update uses ∇θ L_DMD = E_z,t,ε[(sfake(xt,t) − sreal(xt,t))∇θxg] to match the real and fake score functions.Here xt is the diffused state of xg; sreal comes from the frozen teacher, while sfake is estimated by a critic trained with standard denoising loss.

4 Method

CollectionLoRA distills heterogeneous effect LoRAs and few-step generation into one student LoRA, avoiding runtime composition conflicts through probabilistic routing, asymmetric prompting, and coarse-to-fine distillation.

  • Dilemma of Multi-Module Composition: Multi-LoRA deployment incurs routing latency and matching errors as the effect bank scales, while interactions with acceleration LoRAs cause concept bleeding, semantic drift, and style-fidelity degradation.These deployment and composition failures motivate consolidating effect capabilities and acceleration into one student LoRA.
  • Proposed Paradigm: CollectionLoRA: CollectionLoRA distills N heterogeneous visual effects and few-step acceleration into a single student LoRA, eliminating dynamic multi-LoRA loading and composition conflicts at deployment.The student generator fits target distributions produced by multiple effect teachers while using θbase + Δθstudent for inference.
  • Probabilistic Dual-Stream Routing: Probabilistic Dual-Stream Routing randomly switches each training step between a general stream and an effect stream using a preset switching rate pswitch.The general stream uses unlabeled general-domain images and the frozen base model as teacher; the effect stream loads a specific effect LoRA teacher and applies C2F-DO.
  • Asymmetric Orthogonal Prompting: Asymmetric Orthogonal Prompting isolates effect concepts by pairing teacher-original prompts with VLM-generated student captions and unique orthogonal trigger words.The strategy removes manual prompt engineering while reducing semantic confusion during multi-effect distillation.
  • Coarse-to-Fine Distillation Objective: Coarse-to-Fine Distillation Objective combines trajectory anchoring and distribution matching to bridge early teacher–student gaps without losing high-frequency details.Trajectory anchoring stabilizes early optimization, while Target Simulation restores statistical variance and fine image features that regression alone can smooth.

5 Experiment

Experiments show that CollectionLoRA achieves strong quality and style alignment while preserving generalization, enabling zero-shot effect composition and efficient scaling, extension, and training. Ablations attribute these gains to complementary mechanisms that reduce concept bleeding, oversmoothing, optimization instability, and forgetting.

  • Quantitative Comparison with Baselines: CollectionLoRA achieves CLIP 0.727, DreamSim 0.425, and EditReward 1.052 with 50 effects in one LoRA at NFE=8.It outperforms independent single-effect teachers at NFE=80 and the FM + Lightning multi-task baseline.
  • Qualitative Comparison: CollectionLoRA preserves fine-grained textures, structural fidelity, and out-of-distribution generalization better than accelerated and joint-distillation baselines.Target Simulation restores high-frequency detail, while dual-stream routing regularizes structure on rare subjects such as flying cats.
  • Zero-Shot Inference of Effects Combinations: CollectionLoRA composes two independently learned effects in one forward pass from chained descriptors, without additional training or fine-tuning.The composed outputs inherit both effects’ visual characteristics while preserving crosstalk-free styles.
  • Quantitative Performance Analysis: AOP reduces BCR from 0.378 to 0.207, TS achieves CLIP 0.736 and DreamSim 0.420, TA-FM raises VSA to 4.380, and PDSR restores EditReward to 1.052.The ablation links each component to concept isolation, oversmoothing reduction, optimization stability, and prevention of catastrophic forgetting.
  • Lora Scaling & Upper Bound: CollectionLoRA consistently outperforms All-in-1 (FM) + Lightning from 10 to 180 effects and surpasses all baselines at 10–50 effects.The results indicate that hybrid distillation mitigates quality degradation from naive multi-concept fusion.
  • Incremental Effect Extension: Adding effects 51st–54th through 100 generator steps maintains CLIP scores at 0.725–0.728 and avoids catastrophic forgetting without retraining from scratch.The incremental model consistently outperforms Base+Lightning across all tested settings.
  • Training Dynamics and Stability: TS accelerates early convergence, while TA-FM smooths optimization oscillations, producing the most stable training trajectory under complex multi-task distributions.Their combination improves fitting efficiency and convergence stability relative to the fluctuating baseline.

6 Conclusion

CollectionLoRA unifies diverse customized visual effects and few-step inference in a single module through multi-teacher distillation. It targets the storage overhead and concept interference of traditional multi-LoRA deployments while addressing few-shot multi-concept training instability.

  • Unified framework: CollectionLoRA integrates diverse customized visual effects and few-step inference into a single module.The framework is described as a unified multi-teacher distillation approach.
  • Deployment benefits: The unified module eliminates storage overhead and concept interference, including semantic drift, inherent in traditional multi-LoRA deployments.These deployment problems motivate consolidating multiple effects and inference capabilities.
  • Training stability: Probabilistic Dual-Stream Routing provides structural regularization to address training instability in few-shot multi-concept distillation.The passage identifies PDSR as one of the framework’s three components.

Overview of Supplementary Material

The supplementary document provides technical details, theoretical analyses, and visual results supporting the main manuscript, organized into four appendices covering evaluation, experiments, implementation, and user studies.

  • Supplementary purpose: The supplement provides comprehensive technical details, in-depth theoretical analyses, and extensive visual results supporting the main manuscript.These materials are intended to fully support the paper’s claims.
  • Supplementary organization: Appendix 7 covers the dataset and evaluation protocols, while Appendix 8 presents extended empirical analyses.
  • Supplementary organization: Appendices 9 and 10 provide implementation details, user-study findings, and additional qualitative results.

7 Dataset and Evaluation Protocols

The evaluation uses internally constructed special-effect image pairs spanning 180 effects, with approximately 20 training pairs per effect. An MLLM-based protocol applies Qwen-VL-Max-Latest to assess VSA and BCR on test samples.

  • Dataset: The dataset contains 180 distinct effects, with approximately 20 internally constructed training pairs for each effect.
  • Evaluation Protocols: Qwen-VL-Max-Latest evaluates all test samples for the VSA and BCR metrics.The protocol uses an MLLM for evaluation.
  • Evaluation Protocols: For BCR, evaluation applies the prompt detailed in Figure 11.
  • Evaluation Protocols: For VSA, Figure 11 first identifies bad cases, then Figure 12 evaluates the consistency score.

8 Extended Empirical Analyses

Extended analyses identify vanishing gradients as a consequence of severe student–teacher domain deviation in heterogeneous distillation and show that Target Simulation with a time-step constraint restores stronger, more informative gradients.

  • Vanishing Gradient Problem: Heterogeneous distillation causes vanishing gradients when student-generated samples deviate excessively from the teacher’s domain.The problem arises because the student learns novel capabilities, creating misaligned student and teacher distributions during training.
  • Target Simulation: Target Simulation produces distinct real and fake representations, unlike Backward Simulation’s nearly identical predictions, enabling informative student gradients.The comparison attributes Backward Simulation’s failure to severe domain deviation in heterogeneous distillation.
  • Time-Step Constraint: A time-step constraint amplifies Target Simulation’s prediction discrepancy and provides more robust gradient signals for effective training.Without the constraint, Target Simulation avoids absolute gradient disappearance but yields substantially smaller gradient updates.

9 Implementation Details

CollectionLoRA automates student-prompt generation with Qwen-VL-Max-Latest by refining generic effect descriptions from sampled visual editing pairs. The refinement process aims to preserve generality while better describing each transformation and reducing prompt conflicts.

  • Student Prompt Generation: Qwen-VL-Max-Latest generates refined student prompts from two randomly sampled training pairs and their corresponding teacher prompt.This automates prompt engineering, leverages existing teacher models, and mitigates potential prompt conflicts in all-in-one special-effect scenarios.
  • Prompt Template: The prompt-refinement input contains four images from two editing pairs, with each pair showing an original image and its generated result.The model receives these visual samples alongside a generic prompt describing the training setup.
  • Prompt Template: The refinement task enriches the generic prompt to describe the applied transformation more accurately while maintaining generality.Figure 15 presents the template used to refine and enrich the editing prompt from visual samples and a baseline description.

10 User Study and Additional Qualitative Results

The paper evaluates CollectionLoRA through a blind professional user study comparing four generation settings across image quality, consistency, and style alignment. It also provides additional qualitative visualizations across Figures 17–22.

  • User Study: A blind user study involved 10 professional evaluators who assessed 50 randomly sampled test sets.Each set contained an original reference image and four candidates: Base, Base+Lightning, 50 in 1 (FM) + Lightning, and Ours.
  • User Study: Evaluators selected the best candidate using image quality, consistency, and style alignment as criteria.The four candidate methods were Base, Base+Lightning, 50 in 1 (FM) + Lightning, and Ours.
  • Additional Qualitative Results: Additional qualitative evaluation results are presented in Figures 17, 18, 19, 20, 21, and 22.The figures provide further visual comparisons of the evaluated image-generation settings.
Loading 2605.25378v2…