Spanning the Visual Analogy Space with a Weight Basis of LoRAs
Abstract
Visual analogy learning enables image manipulation through demonstration rather than textual description, allowing users to specify complex transformations difficult to articulate in words. Given a triplet , , , the goal is to generate such that . Recent methods adapt text-to-image models to this task using a single Low-Rank Adaptation (LoRA) module, but they face a fundamental limitation: attempting to capture the diverse space of visual transformations within a fixed adaptation module constrains generalization capabilities. Inspired by recent work showing that LoRAs in constrained domains span meaningful, interpolatable semantic spaces, we propose LoRWeB, a novel approach that specializes the model for each analogy task at inference time through dynamic composition of learned transformation primitives, informally, choosing a point in a "space of LoRAs". We introduce two key components: (1) a learnable basis of LoRA modules, to span the space of different visual transformations, and (2) a lightweight encoder that dynamically selects and weighs these basis LoRAs based on the input analogy pair. Comprehensive evaluations demonstrate our approach achieves state-of-the-art performance and significantly improves generalization to unseen visual transformations. Our findings suggest that LoRA basis decompositions are a promising direction for flexible visual manipulation. Code and data are in https://research.nvidia.com/labs/par/lorweb
Cite
@article{arxiv.2602.15727,
title = {Spanning the Visual Analogy Space with a Weight Basis of LoRAs},
author = {Hila Manor and Rinon Gal and Haggai Maron and Tomer Michaeli and Gal Chechik},
journal= {arXiv preprint arXiv:2602.15727},
year = {2026}
}
Comments
Code and data are in https://research.nvidia.com/labs/par/lorweb