LIONs: An Empirically Optimized Approach to Align Language Models
Xiao Yu, Qingyang Wu, Yu Li, Zhou Yu

TL;DR
This paper systematically analyzes and optimizes the training pipeline for aligning language models, demonstrating significant performance improvements through specific techniques and training strategies.
Contribution
It provides a comprehensive study of training choices and introduces empirically optimized methods that outperform existing instruct models.
Findings
Sequence packing and loss masking improve fine-tuning.
Increasing preference dataset size enhances alignment.
Online DPO training yields better model performance.
Abstract
Alignment is a crucial step to enhance the instruction-following and conversational abilities of language models. Despite many recent work proposing new algorithms, datasets, and training pipelines, there is a lack of comprehensive studies measuring the impact of various design choices throughout the whole training process. We first conduct a rigorous analysis over a three-stage training pipeline consisting of supervised fine-tuning, offline preference learning, and online preference learning. We have found that using techniques like sequence packing, loss masking in SFT, increasing the preference dataset size in DPO, and online DPO training can significantly improve the performance of language models. We then train from Gemma-2b-base and LLama-3-8b-base, and find that our best models exceed the performance of the official instruct models tuned with closed-source data and algorithms.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗Columbia-NLP/LION-Gemma-2b-dpo-v1.0model· 2 dl2 dl
- 🤗Columbia-NLP/LION-Gemma-2b-odpo-v1.0model· 2 dl· ♡ 42 dl♡ 4
- 🤗Columbia-NLP/LION-LLaMA-3-8b-dpo-v1.0model· 7 dl· ♡ 27 dl♡ 2
- 🤗Columbia-NLP/LION-LLaMA-3-8b-odpo-v1.0model· 24 dl· ♡ 224 dl♡ 2
- 🤗Columbia-NLP/LION-LLaMA-3-8b-sft-v1.0model· 9 dl9 dl
- 🤗Columbia-NLP/LION-Gemma-2b-sft-v1.0model· 1 dl1 dl
- 🤗RichardErkhov/Columbia-NLP_-_LION-Gemma-2b-dpo-v1.0-ggufmodel· 39 dl39 dl
- 🤗RichardErkhov/Columbia-NLP_-_LION-LLaMA-3-8b-dpo-v1.0-ggufmodel· 176 dl176 dl
- 🤗RichardErkhov/Columbia-NLP_-_LION-Gemma-2b-odpo-v1.0-8bitsmodel
- 🤗RichardErkhov/Columbia-NLP_-_LION-Gemma-2b-dpo-v1.0-8bitsmodel
- Columbia-NLP/DPO-distilabel-capybara-dpo-7k-binarizeddataset· 7 dl7 dl
- Columbia-NLP/DPO-distilabel-intel-orca-dpo-pairs_cleaneddataset· 22 dl22 dl
- Columbia-NLP/DPO-UltraFeedback_binarizeddataset· 32 dl32 dl
- Columbia-NLP/DPO-py-dpo-v0.1dataset· 6 dl6 dl
- Columbia-NLP/DPO-tldr-summarisation-preferencesdataset· 81 dl81 dl
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling
MethodsDirect Preference Optimization · Shrink and Fine-Tune
