1 Make it possible to calculate model similarity even without metadata or output samples! Need to manage a large number of LoRA models !! Logo LoRA Brand Logo Design own image-genAI Manual Creation Illustrated Guide LoRA Practical applications of generative AI rely on LoRA. While managing a large collection of LoRAs, If we discover of similar LoRAs, what kind of LoRA it is! LoRA ? is similaer to Logo LoRA Metadata Output None None LoRA ? what this LoRA is for! aims to apply it to a variety of business Tasks! use LoRA to perform tasks. we can understand
a Style-Transfer LoRA 2 Input LoRA Weight Parameters Proposed Method Vector that Reflect the Characteristics of LoRA Output ≈ A meaningful sequence of hundreds of dimensions. ≈ tens of millions of parameters. Even without detailed information such as , Metadata Output Examples LoRA models can be represented directly from their weight parameters. Existing Approaches Depend on external information Require metadata or output To represent the LoRA models,
Weight Parameters Transform LoRA parameters into a compact representation. NN–based Metric Learning LoRA Vector Dimensionality Reduction ・ ・ ・ Represent each LoRA as a sequence of compressed vectors. Embeds LoRA models by applying to their weight parameters. Preprocessing Learning relative similarities among LoRA models. Main component Input Output ・Dimensionality Reduction ・ Metric Learning Overview of the Proposed Method
Main Learning Stage Overview of the Proposed Method ➀ Flatten LoRA Parameters from Multiple Layers and Apply PCA-Based Dimensionality Reduction on a Per-Layer Basis
from Multiple Layers and Apply PCA-Based Dimensionality Reduction on a Per-Layer Basis ➁ Metric Learning with a Transformer-Based Triplet Network. Preprocessing Main Learning Stage
from multiple layers and apply PCA-based dimensionality reduction on a per-layer basis. ➁ Metric Learning with a Transformer-Based Triplet Network Preprocessing Main Learning Stage
Human-perceived similarity between LoRA models is relative rather than absolute. Purpose To learn parameter features based on relative similarities among models. When humans assess the similarity between LoRA models, Van Gogh LoRA LoRA A LoRA B How similar a LoRA model is to a Van Gogh LoRA? Which is more similar to Van Gogh LoRA? Learn LoRA similarities by mimicking human judgments. Goal of Metric Learning Absolute Relative Difficult Easy
Outputs in Training LoRA1 Transformer Encoder Proposed Encoder Per-Layer Proposed Encoder Proposed Encoder LoRA2 LoRA3 Embedding Space After Triplet-Loss Training anchor positive negative Triplet Loss Enables Relative Similarity Learning Learn model similarities in a manner closer to human perception. Pull similar pairs closer Push dissimilar pairs farther apart Triplet Loss Shered weight ➁ Metric Learning with a Transformer-Based Triplet Network To achieve this goal, we adopt a Triplet Network, which processes three inputs using weight-shared encoders. Shered weight MLPs
Validity Evaluate how well the embeddings agree with human-labeled triplets. Assess retrieval rankings using human-labeled relevance derived from LoRA output examples. ➁Alignment with Human Similarity Judgments ③LoRA Retrieval Performance Automatic Evaluation Human Evaluation Assess the validity of the proposed framework using prediction accuracy on evaluation triplets. Human Evaluation As parameter-based LoRA retrieval is a new task. Evaluate the proposed components through ablation studies.
Training and Evaluation Data Construction Triplets are constructed based on output similarity. LoRA Dataset Triplets for Training and Evaluation Ground-truth construction based on the assumption that humans judge LoRA similarity from output examples. Sim ≥ 0.6 Anchor LoRA Output Positive LoRA output Negative LoRA output *Thresholds determined from similarity distributions. LoRAs producing similar outputs are treated as similar. Sim ≤ 0.5 Define Training : 549 LoRAs / 464K Triplets Evaluation : 150 LoRAs / 49K Triplets
retrieval of previously unseen LoRA models. The proposed method with positional encoding learns similarity relationships consistent with human perception. The proposed framework effectively learns model similarities from LoRA weight parameters. ➀Evaluation of Learning Method Validity ➁Alignment with Human Similarity Judgments ③LoRA Retrieval Performance
retrieval of previously unseen LoRA models. The proposed method with positional encoding learns similarity relationships consistent with human perception. The proposed framework effectively learns model similarities from LoRA weight parameters. ➀Evaluation of Learning Method Validity ➁Alignment with Human Similarity Judgments ③LoRA Retrieval Performance Why is this Brave New Ideas? A new direction for retrieval: from retrieving multimedia to retrieving multimedia-generating models.