SelectIT: Selective Instruction Tuning for LLMs via Uncertainty-Aware Self-Reflection
Liangxin Liu, Xuebo Liu, Derek F. Wong, Dongfang Li, Ziyi Wang, Baotian Hu, Min Zhang
TL;DR
SelectIT introduces an uncertainty-aware framework for selecting high-quality instruction-tuning data without extra resources, using token-, sentence-, and model-level self-reflection to score IT samples. By applying SelectIT to Alpaca-GPT4, the authors produce Selective Alpaca, a compact dataset that yields substantial performance gains across multiple foundation models and domains, including reasoning and multilingual tasks. The study shows that longer, more computation-intensive IT data can be particularly effective, and demonstrates robustness across models and datasets while offering improved efficiency in data selection. The work provides open-source tooling and insights into data curation, with potential to reduce resource costs while boosting LLM alignment and capability.
Abstract
Instruction tuning (IT) is crucial to tailoring large language models (LLMs) towards human-centric interactions. Recent advancements have shown that the careful selection of a small, high-quality subset of IT data can significantly enhance the performance of LLMs. Despite this, common approaches often rely on additional models or data, which increases costs and limits widespread adoption. In this work, we propose a novel approach, termed SelectIT, that capitalizes on the foundational capabilities of the LLM itself. Specifically, we exploit the intrinsic uncertainty present in LLMs to more effectively select high-quality IT data, without the need for extra resources. Furthermore, we introduce a curated IT dataset, the Selective Alpaca, created by applying SelectIT to the Alpaca-GPT4 dataset. Empirical results demonstrate that IT using Selective Alpaca leads to substantial model ability enhancement. The robustness of SelectIT has also been corroborated in various foundation models and domain-specific tasks. Our findings suggest that longer and more computationally intensive IT data may serve as superior sources of IT, offering valuable insights for future research in this area. Data, code, and scripts are freely available at https://github.com/Blue-Raincoat/SelectIT.
