paper-with-me

Papers

LoRA ensembles for large language model fine-tuning

2023-09-29 · Xi Wang, Laurence Aitchison, Maja Rudolph

Finetuned LLMs often exhibit poor uncertainty quantification, manifesting as overconfidence, poor calibration, and unreliable prediction results on test data or out-of-distribution samples. One approach commonly used in vision for alleviating this issue is a deep ensemble, which constructs an ensemble by training the same model multiple times using different random initializations. However, there is a huge challenge to ensembling LLMs: the most effective LLMs are very, very large. Keeping a single LLM in memory is already challenging enough: keeping an ensemble of e.g. 5 LLMs in memory is impossible in many settings. To address these issues, we propose an ensemble approach using Low-Rank Adapters (LoRA), a parameter-efficient fine-tuning technique. Critically, these low-rank adapters represent a very small number of parameters, orders of magnitude less than the underlying pre-trained model. Thus, it is possible to construct large ensembles of LoRA adapters with almost the same computational overhead as using the original model. We find that LoRA ensembles, applied on its own or on top of pre-existing regularization techniques, gives consistent improvements in predictive accuracy and uncertainty quantification.

📄 PDF Abstract BibTeX arXiv:2310.00035

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingLarge Language Modelmodelparameter-efficient fine-tuningUncertainty Quantification

Similar Papers 제목 키워드 기반

Uncertainty quantification in fine-tuned LLMs using LoRA ensembles

2024-02-19 · Oleksandr Balabanov, Hampus Linander

Fine-tuning large language models can improve task specific performance, although a general understanding of what the fine-tuned model has learned, forgotten and how to trust its predictions is still missing. We derive p…

Multiple-choiceUncertainty Quantification

Uncertainty-Penalized Reinforcement Learning from Human Feedback with Diverse Reward LoRA Ensembles

2023-12-30 · Yuanzhao Zhai, Han Zhang, Yu Lei, Yue Yu 외

Reinforcement learning from human feedback (RLHF) emerges as a promising paradigm for aligning large language models (LLMs). However, a notable challenge in RLHF is overoptimization, where beyond a certain threshold, the…

Uncertainty Quantification

QDyLoRA: Quantized Dynamic Low-Rank Adaptation for Efficient Large Language Model Tuning

2024-02-16 · Hossein Rajabzadeh, Mojtaba Valipour, Tianshu Zhu, Marzieh Tahaei 외

Finetuning large language models requires huge GPU memory, restricting the choice to acquire Larger models. While the quantized version of the Low-Rank Adaptation technique, named QLoRA, significantly alleviates this iss…

GPULanguage ModelingLanguage ModellingLarge Language Model+1

LoRA-FA: Memory-efficient Low-rank Adaptation for Large Language Models Fine-tuning

2023-08-07 · Longteng Zhang, Lin Zhang, Shaohuai Shi, Xiaowen Chu 외

The low-rank adaptation (LoRA) method can largely reduce the amount of trainable parameters for fine-tuning large language models (LLMs), however, it still requires expensive activation memory to update low-rank weights.…

GradientSpace: Unsupervised Data Clustering for Improved Instruction Tuning

2025-12-07 · Shrihari Sridharan, Deepak Ravikumar, Anand Raghunathan, Kaushik Roy arxiv

Instruction tuning is one of the key steps required for adapting large language models (LLMs) to a broad spectrum of downstream applications. However, this procedure is difficult because real-world datasets are rarely ho…

Mathematical ReasoningCode Generation