Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Data Advisor: Dynamic Data Curation for Safety Alignment of Large Language Models

About

Data is a crucial element in large language model (LLM) alignment. Recent studies have explored using LLMs for efficient data collection. However, LLM-generated data often suffers from quality issues, with underrepresented or absent aspects and low-quality datapoints. To address these problems, we propose Data Advisor, an enhanced LLM-based method for generating data that takes into account the characteristics of the desired dataset. Starting from a set of pre-defined principles in hand, Data Advisor monitors the status of the generated data, identifies weaknesses in the current dataset, and advises the next iteration of data generation accordingly. Data Advisor can be easily integrated into existing data generation methods to enhance data quality and coverage. Experiments on safety alignment of three representative LLMs (i.e., Mistral, Llama2, and Falcon) demonstrate the effectiveness of Data Advisor in enhancing model safety against various fine-grained safety issues without sacrificing model utility.

Fei Wang, Ninareh Mehrabi, Palash Goyal, Rahul Gupta, Kai-Wei Chang, Aram Galstyan• 2024

Related benchmarks

TaskDatasetResultRank
Multiple-choice Question AnsweringMedQA
Accuracy47.83
39
Problem-SolvingGSM8K
Exact Match Accuracy75.42
20
Question AnsweringLogiQA
Accuracy43.88
17
Multiple-choice Question AnsweringCFA
Accuracy (%)57.91
15
Multiple-choice Question AnsweringPubMedQA
Accuracy62.15
15
Problem-SolvingMATH
Exact Match (%)56.24
15
Multiple-choice Question AnsweringGPQA
Accuracy (%)26.09
15
Showing 7 of 7 rows

Other info

Follow for update