IterIS: Iterative Inference-Solving Alignment for LoRA Merging

Hongxu Chen, Zhen Wang, Runshi Li, Bowei Zhu, Long Chen

Abstract

Low-Rank Adaptation (LoRA) has become a cornerstone for fine-tuning large-scale models for specialized tasks. However, the practical challenge of managing multiple task-specific adapters has led to a growing interest in LoRA merging. We introduce IterIS (Iterative Inference-Solving), a novel optimization-based framework that merges multiple LoRAs into a single, unified adapter without gradient-based retraining. IterIS addresses the "rough assumption" of feature identity in previous methods by iteratively refining the merging objective using actual inference features. With the addition of few-sample regularization and adaptive weight balancing, IterIS achieves state-of-the-art performance across diverse modalities using minimal unlabeled data.

Introduction

While LoRA is efficient for individual tasks, deploying dozens of adapters in a multi-task environment is computationally burdensome. Merging these adapters into one is a logical solution, but existing distribution-based methods like RegMean often fail due to three primary issues: the compounding error of assuming identical input features across layers (the "Rough Assumption"), high data requirements for distribution estimation, and unbalanced optimization across tasks with varying feature magnitudes. IterIS is designed to overcome these hurdles through a progressively refined alignment process.

Methodology

The core of IterIS is the Iterative Inference-Solving loop. Unlike one-shot merging techniques, IterIS alternates between an "Inference Step"—where actual input features are extracted from the current merged model—and a "Solving Step"—where a closed-form linear regression update is applied to the adapter weights. This iterative process ensures the merged adapter aligns with the true feature distribution of the unified model.

To enhance robustness, we implement Few-Sample Regularization, adding a regularization term to the inner product matrices. This allows the model to converge effectively with as few as 50 samples, a 95-99% reduction in data compared to previous approaches. Furthermore, Adaptive Weight Balancing automatically scales task contributions based on the Frobenius norm of weights and features, preventing any single task from dominating the optimization objective.

Results and Discussion

Multi-Concept Customization in Text-to-Image Models

In Stable Diffusion tasks, IterIS significantly outperforms linear merging and specialized methods like Custom Diffusion. It maintains high fidelity for individual concepts while enabling complex multi-concept generation.

IterIS successfully merges distinct visual concepts (cat and barn) into a single adapter without concept bleeding.

As shown above, IterIS avoids the common "concept bleeding" or disappearance seen in simpler merging methods, successfully placing a specific cat concept next to a specific barn concept.

Style Control in Vision-Language Models

For VLMs, IterIS achieved a style accuracy of 83.1% for positive captions and 78.1% for negative captions. This represents a substantial improvement over RegMean (62.4% and 69.2%, respectively).

Merging positive and negative captioning styles using IterIS allows for flexible style control in vision-language tasks.

The iterative alignment allows the model to capture the nuances of different styles even when merged into a single set of weights, as illustrated by the successful application of styles to varied image contexts.

NLP Performance

On the GLUE benchmark, IterIS consistently outperformed both linear merging and RegMean. It showed particular strength in tasks like MNLI and MRPC, improving scores by 1-2%, demonstrating that feature alignment is critical for maintaining performance in deep language architectures where approximation errors typically compound.

Conclusion

IterIS provides a highly efficient and effective path for LoRA merging, proving that iterative inference-based alignment can replace expensive retraining. While it currently requires a small amount of unlabeled data (50 samples), it sets a new standard for zero-shot adapter integration. Future work will explore extending this logic to other parameter-efficient fine-tuning methods and developing completely data-free variants.

Summary updated

BibTeX
@inproceedings{chen2025iteris,
  author = {Hongxu Chen and Zhen Wang and Runshi Li and Bowei Zhu and Long Chen},
  title = {{IterIS: Iterative Inference-Solving Alignment for LoRA Merging}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00455},
}
Figure