paper-with-me

Papers

When MOE Meets LLMs: Parameter Efficient Fine-tuning for Multi-task Medical Applications

2023-10-21 · Qidong Liu, Xian Wu, Xiangyu Zhao, Yuanshao Zhu, Derong Xu, Feng Tian, Yefeng Zheng

The recent surge in Large Language Models (LLMs) has garnered significant attention across numerous fields. Fine-tuning is often required to fit general LLMs for a specific domain, like the web-based healthcare system. However, two problems arise during fine-tuning LLMs for medical applications. One is the task variety problem, which involves distinct tasks in real-world medical scenarios. The variety often leads to sub-optimal fine-tuning for data imbalance and seesaw problems. Besides, the large amount of parameters in LLMs leads to huge time and computation consumption by fine-tuning. To address these two problems, we propose a novel parameter efficient fine-tuning framework for multi-task medical applications, dubbed as MOELoRA. The designed framework aims to absorb both the benefits of mixture-of-expert (MOE) for multi-task learning and low-rank adaptation (LoRA) for parameter efficient fine-tuning. For unifying MOE and LoRA, we devise multiple experts as the trainable parameters, where each expert consists of a pair of low-rank matrices to retain the small size of trainable parameters. Then, a task-motivated gate function for all MOELoRA layers is proposed, which can control the contributions of each expert and produce distinct parameters for various tasks. We conduct experiments on a multi-task medical dataset, indicating MOELoRA outperforms the existing parameter efficient fine-tuning methods. The code is available online.

📄 PDF Abstract BibTeX arXiv:2310.18339

Code (3)

applied-machine-learning-lab/moelora-peft 공식 구현 pytorch
liuqidong07/moelora-peft 공식 구현 pytorch
Leeroo-AI/mergoo pytorch

Tasks

Multi-Task Learningparameter-efficient fine-tuning

Similar Papers 제목 키워드 기반

When Scaling Meets LLM Finetuning: The Effect of Data, Model and Finetuning Method

2024-02-27 · Biao Zhang, Zhongtao Liu, Colin Cherry, Orhan Firat

While large language models (LLMs) often adopt finetuning to unlock their capabilities for downstream applications, our understanding on the inductive biases (especially the scaling properties) of different finetuning me…

Machine Translation

LoRA Meets Dropout under a Unified Framework

2024-02-25 · Sheng Wang, Liheng Chen, Jiyue Jiang, Boyang Xue 외

With the remarkable capabilities, large language models (LLMs) have emerged as essential elements in numerous NLP applications, while parameter-efficient finetuning, especially LoRA, has gained popularity as a lightweigh…

Mixture-of-Experts Meets Instruction Tuning:A Winning Combination for Large Language Models

2023-05-24 · Sheng Shen, Le Hou, Yanqi Zhou, Nan Du 외

Sparse Mixture-of-Experts (MoE) is a neural architecture design that can be utilized to add learnable parameters to Large Language Models (LLMs) without increasing inference cost. Instruction tuning is a technique for tr…

Mixture-of-ExpertsZero-shot Generalization

GenQA: Generating Millions of Instructions from a Handful of Prompts

2024-06-14 · Jiuhai Chen, Rifaa Qadri, Yuxin Wen, Neel Jain 외

Most public instruction finetuning datasets are relatively small compared to the closed source datasets used to train industry models. To study questions about finetuning at scale, such as curricula and learning rate coo…

SplitFT: An Adaptive Federated Split Learning System For LLMs Fine-Tuning

2026-04-29 · Yimeng Shan, Zhaorui Zhang, Sheng Di, Yu Liu 외 arxiv

Federated Split Learning has been identified as an efficient approach to address the computational resource constraints of clients in classical federated learning, while guaranteeing data privacy for distributed model tr…

Federated Learning