Conditional LoRA Parameter Generation

Xiaolong Jin, Kai Wang, Dongwen Tang, Wangbo Zhao, Yukun Zhou +2 more
8/2/2024
cs.AIcs.LG

No official code found. Best implementation: MTDoven/Conditional-Parameter-Diffusion (1 star, last commit 2025-01-21).

Abstract

Generative models have achieved remarkable success in image, video, and text domains. Inspired by this, researchers have explored utilizing generative models to generate neural network parameters. However, these efforts have been limited by the parameter size and the practicality of generating high-performance parameters. In this paper, we propose COND P-DIFF, a novel approach that demonstrates the feasibility of controllable high-performance parameter generation, particularly for LoRA (Low-Rank Adaptation) weights, during the fine-tuning process. Specifically, we employ an autoencoder to extract efficient latent representations for parameters. We then train a conditional latent diffusion model to synthesize high-performing model parameters from random noise based on specific task conditions. Experimental results in both computer vision and natural language processing domains consistently demonstrate that COND P-DIFF can generate high-performance parameters conditioned on the given task. Moreover, we observe that the parameter distribution generated by COND P-DIFF exhibits differences compared to the distribution obtained through normal optimization methods, indicating a certain level of generalization capability. Our work paves the way for further exploration of condition-driven parameter generation, offering a promising direction for task-specific adaptation of neural networks.

View on arXivView PDF

Code Implementations(1)

Codes of vision parts in Conditional LoRA Parameter Generation.

10Shell, PythonMar 30, 20241 years ago

Similar Papers

Cite this paper

@article{jin2024conditional,
  title  = {Conditional LoRA Parameter Generation},
  author = {Xiaolong Jin and Kai Wang and Dongwen Tang and Wangbo Zhao and Yukun Zhou and Junshu Tang and Yang You},
  year   = {2024},
  eprint = {2408.01415},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.01415v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.01415.svg)](https://codeofpaper.com/paper/2408.01415)

Discussion