paper-with-me

홈 › Papers

LoRA-Flow: Dynamic LoRA Fusion for Large Language Models in Generative Tasks

2024-02-18 · Hanqing Wang, Bowen Ping, Shuo Wang, Xu Han, Yun Chen, Zhiyuan Liu, Maosong Sun

LoRA employs lightweight modules to customize large language models (LLMs) for each downstream task or domain, where different learned additional modules represent diverse skills. Combining existing LoRAs to address new tasks can enhance the reusability of learned LoRAs, particularly beneficial for tasks with limited annotated data. Most prior works on LoRA combination primarily rely on task-level weights for each involved LoRA, making different examples and tokens share the same LoRA weights. However, in generative tasks, different tokens may necessitate diverse skills to manage. Taking the Chinese math task as an example, understanding the problem description may depend more on the Chinese LoRA, while the calculation part may rely more on the math LoRA. To this end, we propose LoRA-Flow, which utilizes dynamic weights to adjust the impact of different LoRAs. The weights at each step are determined by a fusion gate with extremely few parameters, which can be learned with only 200 training examples. Experiments across six generative tasks demonstrate that our method consistently outperforms baselines with task-level fusion weights. This underscores the necessity of introducing dynamic fusion weights for LoRA combination.

📄 PDF Abstract BibTeX arXiv:2402.11455

Code (0)

등록된 구현이 없습니다.

Tasks

Math

Similar Papers 제목 키워드 기반

MetaGFN: Exploring Distant Modes with Adapted Metadynamics for Continuous GFlowNets

2024-08-28 · Dominic Phillips, Flaviu Cipcigan

Generative Flow Networks (GFlowNets) are a class of generative models that sample objects in proportion to a specified reward function through a learned policy. They can be trained either on-policy or off-policy, needing…

DLP-LoRA: Efficient Task-Specific LoRA Fusion with a Dynamic, Lightweight Plugin for Large Language Models

2024-10-02 · Yuxuan Zhang, Ruizhe Li

Recent advancements in Large Language Models (LLMs) have achieved robust performance across diverse tasks, but fine-tuning these models for specific domains remains resource-intensive. Parameter-Efficient Fine-Tuning (PE…

Multiple-choiceparameter-efficient fine-tuningQuestion AnsweringSentence

Rank-Accuracy Trade-off for LoRA: A Gradient-Flow Analysis

2026-02-10 · Michael Rushka, Diego Klabjan arxiv

Previous empirical studies have shown that LoRA achieves accuracy comparable to full-parameter methods on downstream fine-tuning tasks, even for rank-1 updates. By contrast, the theoretical underpinnings of the dependenc…

CameraCtrl II: Dynamic Scene Exploration via Camera-controlled Video Diffusion Models

2025-03-13 · Hao He, Ceyuan Yang, Shanchuan Lin, Yinghao Xu 외

This paper introduces CameraCtrl II, a framework that enables large-scale dynamic scene exploration through a camera-controlled video diffusion model. Previous camera-conditioned video generative models suffer from dimin…

UnHype: CLIP-Guided Hypernetworks for Dynamic LoRA Unlearning

2026-02-03 · Piotr Wójcik, Maksym Petrenko, Wojciech Gromski, Przemysław Spurek 외 arxiv

Recent advances in large-scale diffusion models have intensified concerns about their potential misuse, particularly in generating realistic yet harmful or socially disruptive content. This challenge has spurred growing …