paper-with-me

홈 › Papers

What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuning

2023-12-25 · Wei Liu, Weihao Zeng, Keqing He, Yong Jiang, Junxian He

Instruction tuning is a standard technique employed to align large language models to end tasks and user preferences after the initial pretraining phase. Recent research indicates the critical role of data engineering in instruction tuning -- when appropriately selected, only limited data is necessary to achieve superior performance. However, we still lack a principled understanding of what makes good instruction tuning data for alignment, and how we should select data automatically and effectively. In this work, we delve deeply into automatic data selection strategies for alignment. We start with controlled studies to measure data across three dimensions: complexity, quality, and diversity, along which we examine existing methods and introduce novel techniques for enhanced data measurement. Subsequently, we propose a simple strategy to select data samples based on the measurement. We present deita (short for Data-Efficient Instruction Tuning for Alignment), a series of models fine-tuned from LLaMA and Mistral models using data samples automatically selected with our proposed approach. Empirically, deita performs better or on par with the state-of-the-art open-source alignment models with only 6K SFT training data samples -- over 10x less than the data used in the baselines. When further trained with direct preference optimization (DPO), deita-Mistral-7B + DPO trained with 6K SFT and 10K DPO samples achieve 7.55 MT-Bench and 90.06% AlpacaEval scores. We anticipate this work to provide tools on automatic data selection, facilitating data-efficient alignment. We release our models as well as the selected datasets for future researches to effectively align models more efficiently.

📄 PDF Abstract BibTeX arXiv:2312.15685

Code (1)

hkust-nlp/deita 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

DPO 설명 없음
ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…
SFT Shrink and Fine-Tune, or SFT, is a type of distillation that avoids explicit distillation by copying parameters to a student student model and then fine-tuning.…

Similar Papers 제목 키워드 기반

What makes instance discrimination good for transfer learning?

2020-06-11 · ICLR 2021 1 · Nanxuan Zhao, Zhirong Wu, Rynson W. H. Lau, Stephen Lin

Contrastive visual pretraining based on the instance discrimination pretext task has made significant progress. Notably, recent work on unsupervised pretraining has shown to surpass the supervised counterpart for finetun…

object-detectionObject DetectionTransfer Learning

Analyzing Text Representations by Measuring Task Alignment

2023-05-31 · Cesar Gonzalez-Gutierrez, Audi Primadhanty, Francesco Cazzaro, Ariadna Quattoni

Textual representations based on pre-trained language models are key, especially in few-shot learning scenarios. What makes a representation good for text classification? Is it due to the geometric properties of the spac…

ClassificationClusteringFew-Shot Learningtext-classification+1

Explainable AI: Definition and attributes of a good explanation for health AI

2024-09-09 · Evangelia Kyrimi, Scott McLachlan, Jared M Wohlgemut, Zane B Perkins 외

Proposals of artificial intelligence (AI) solutions based on increasingly complex and accurate predictive models are becoming ubiquitous across many disciplines. As the complexity of these models grows, transparency and …

What Makes a Good Dataset for Knowledge Distillation?

2024-11-19 · CVPR 2025 1 · Logan Frank, Jim Davis

Knowledge distillation (KD) has been a popular and effective method for model compression. One important assumption of KD is that the teacher's original dataset will also be available when training the student. However, …

Continual LearningKnowledge DistillationModel Compression

What makes a good concept anyway ?

2024-09-10 · Naren Khatwani, James Geller

A good medical ontology is expected to cover its domain completely and correctly. On the other hand, large ontologies are hard to build, hard to understand, and hard to maintain. Thus, adding new concepts (often multi-wo…

Bayesian Optimization