Efficient Alignment of Large Language Models via Data Sampling
Amrit Khera, Rajat Ghosh, Debojyoti Dutta
TL;DR
The paper addresses the high data and compute costs of aligning large language models by analyzing how alignment performance scales with data. It reveals an exponential plateau in performance and proposes an information-theoretic subsampling approach, ISA, built on a two-component Gaussian Mixture Model and entropy-based sampling to select a small, high-quality subset. Across multiple alignment datasets and models, ISA outperforms baselines and matches full-data performance using as little as 3.5–10% of the data, yielding substantial resource savings. This work offers a practical pathway to more scalable, cost-effective LLM alignment and lays groundwork for applying data-efficient alignment to even larger models.
Abstract
LLM alignment ensures that large language models behave safely and effectively by aligning their outputs with human values, goals, and intentions. Aligning LLMs employ huge amounts of data, computation, and time. Moreover, curating data with human feedback is expensive and takes time. Recent research depicts the benefit of data engineering in the fine-tuning and pre-training paradigms to bring down such costs. However, alignment differs from the afore-mentioned paradigms and it is unclear if data efficient alignment is feasible. In this work, we first aim to understand how the performance of LLM alignment scales with data. We find out that LLM alignment performance follows an exponential plateau pattern which tapers off post a rapid initial increase. Based on this, we identify data subsampling as a viable method to reduce resources required for alignment. Further, we propose an information theory-based methodology for efficient alignment by identifying a small high quality subset thereby reducing the computation and time required by alignment. We evaluate the proposed methodology over multiple datasets and compare the results. We find that the model aligned using our proposed methodology outperforms other sampling methods and performs comparable to the model aligned with the full dataset while using less than 10% data, leading to greater than 90% savings in costs, resources, and faster LLM alignment.
