FreeFuse: Multi-Subject LoRA Fusion via Auto Masking at Test Time

Yaoli Liu, Yao-Xiang Ding, Kun Zhou · DOI

Abstract

Personalized image generation using multiple Low-Rank Adaptation (LoRA) modules often suffers from feature interference and concept bleeding. We present FreeFuse, a training-free framework that enables high-fidelity multi-subject generation by dynamically routing LoRA updates based on internal semantic maps. By leveraging the inherent spatial locality in Diffusion Transformer (DiT) architectures and refining attention-based masks through token similarity, FreeFuse achieves superior identity preservation and spatial accuracy without requiring external segmentation models or manual masking.

1. Introduction

Large-scale Text-to-Image (T2I) models have revolutionized content creation, yet personalizing them for multiple specific subjects remains a challenge. Standard naive fusion of LoRAs—adding weights together—leads to global parameter updates that cause "feature bleeding," where attributes of one subject leak into another or the background. Existing solutions often necessitate retraining, manual masking, or heavy external models like SAM. FreeFuse addresses these issues as a "plug-and-play" inference-time solution.

2. Methodology

FreeFuse operates in a two-stage pipeline during the denoising process:

2.1 FreeFuseAttn: Subject Region Prediction

Instead of external segmentors, FreeFuse utilizes the model's internal cross-attention maps. To overcome the "holey" nature of raw attention, the framework fuses semantic cross-attention with cohesion-driven token similarity. By identifying "anchor" tokens for each subject and propagating information to adjacent pixels, it generates clean, contiguous masks.

2.2 Adaptive Token-Level Routing and Attention Bias

Once masks are established (typically at denoising step 5), a Router ensures each pixel (token) is modified only by its relevant LoRA. Furthermore, a spatial attention bias is introduced to encourage tokens to attend primarily to their corresponding text descriptions, suppressing inter-subject interference.

3. Experimental Evaluation

The authors evaluated FreeFuse using a Multi-Subject Benchmark comprising 15 LoRAs, including photorealistic humans and anime characters.

Example of an anime character LoRA (Luffy) from the Multi-Subject Benchmark.

4. Key Insights

  • Spatial Locality: In DiT architectures, deeper layers exhibit spatial locality, meaning masking LoRA outputs is sufficient to isolate their effects.
  • Temporal Sweet Spot: Mask extraction at Step 5 provides the optimal balance between layout clarity and texture flexibility.
  • Mask Refinement: Using latent similarity prevents the "hole" phenomenon common in standard attention-based masking.

5. Results and Compatibility

FreeFuse demonstrates significant improvements in identity preservation, achieving an ArcFace score of 0.4275, outperforming LoRAShop (0.3886). Additionally, it is 1.8x to 2.1x faster than training-free alternatives. The method is architecture-agnostic and compatible with external modules like ControlNet.

Visualization of pose estimation, demonstrating FreeFuse's compatibility with external modules like ControlNet.

6. Conclusion and Future Work

FreeFuse provides a robust solution for multi-subject personalization. Future work will focus on extending these dynamics to video generation and improving mask delineation for highly overlapping subjects.

Summary updated

BibTeX
@misc{liu2025freefuse,
  author = {Yaoli Liu and Yao-Xiang Ding and Kun Zhou},
  title = {{FreeFuse: Multi-Subject LoRA Fusion via Auto Masking at Test Time}},
  year = {2025},
  eprint = {2510.23515},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.23515},
}
Figure