Exploring Domain Robust Lightweight Reward Models based on Router Mechanism
Preprint
Abstract
Recent advancements in large language models have heavily relied on the large reward model from reinforcement learning from human feedback for fine-tuning. However, the use of a single reward model across various domains may not always be optimal, often requiring retraining from scratch when new domain data is introduced. To address these challenges, we explore the utilization of small language models operating in a domain-specific manner based on router mechanisms. Our three approaches are: 1) utilize mixture of experts to form a single reward model by modularizing an internal router and experts, 2) employing external router to select the appropriate reward model from multiple domain-specific models, and 3) the framework reduces parameter size by loading reward models and router adapters onto a single small language model using adapters. Experimental validation underscores the effectiveness of our approach, demonstrating performance comparable to baseline methods while also reducing the total parameter size.Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- QDyLoRA: Quantized Dynamic Low-Rank Adaptation for Efficient Large Language Model Tuning2024
- On the Benefits of Learning to Route in Mixture-of-Experts Models2023
- Machine Translation with Large Language Models: Prompting, Few-shot Learning, and Fine-tuning with QLoRA2023
- LLM-Blender: Ensembling Large Language Models with Pairwise Ranking and Generative Fusion2023
- SummaReranker: A Multi-Task Mixture-of-Experts Re-ranking Framework for Abstractive Summarization2022
- Generalization in NLI: Ways (Not) To Go Beyond Simple Heuristics2021
- SimCLS: A Simple Framework for Contrastive Learning of Abstractive Summarization2021
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding2019