Saved in:
Bibliographic Details
Main Authors: Parkar, Ritik Sachin, Kim, Jaehyung, Park, Jong Inn, Kang, Dongyeop
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2401.16553
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916371471794176
author Parkar, Ritik Sachin
Kim, Jaehyung
Park, Jong Inn
Kang, Dongyeop
author_facet Parkar, Ritik Sachin
Kim, Jaehyung
Park, Jong Inn
Kang, Dongyeop
contents Instruction tuning benefits from large and diverse datasets; however, creating such datasets involves a high cost of human labeling. While synthetic datasets generated by large language models (LLMs) have partly solved this issue, they often contain low-quality data. One effective solution is selectively annotating unlabelled instructions, especially given the relative ease of acquiring unlabeled instructions or texts from various sources. However, how to select unlabelled instructions is not well-explored, especially in the context of LLMs. Therefore, we introduce SelectLLM, an alternative framework that leverages the capabilities of LLMs to select unlabeled instructions more effectively. Specifically, SelectLLM consists of two key steps: Coreset-based clustering of unlabelled instructions for enlarging diversity and prompting of LLM to identify the most beneficial instructions within each cluster. We evaluate SelectLLM on AlpacaEval2 and MT-Bench, demonstrating its ability to outperform state-of-the-art methods like Alpagasus. In addition, we compare the performance and compatibility of SelectLLM with various LLMs, such as ChatGPT, LLaMA-3.1-70B, and Gemma-2-27b. SelectLLM's adaptability and robustness are further evidenced by its ability to maintain high performance across both human and synthetic datasets. All code and data are publicly available (https://github.com/minnesotanlp/select-llm).
format Preprint
id arxiv_https___arxiv_org_abs_2401_16553
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle SelectLLM: Can LLMs Select Important Instructions to Annotate?
Parkar, Ritik Sachin
Kim, Jaehyung
Park, Jong Inn
Kang, Dongyeop
Computation and Language
Artificial Intelligence
Instruction tuning benefits from large and diverse datasets; however, creating such datasets involves a high cost of human labeling. While synthetic datasets generated by large language models (LLMs) have partly solved this issue, they often contain low-quality data. One effective solution is selectively annotating unlabelled instructions, especially given the relative ease of acquiring unlabeled instructions or texts from various sources. However, how to select unlabelled instructions is not well-explored, especially in the context of LLMs. Therefore, we introduce SelectLLM, an alternative framework that leverages the capabilities of LLMs to select unlabeled instructions more effectively. Specifically, SelectLLM consists of two key steps: Coreset-based clustering of unlabelled instructions for enlarging diversity and prompting of LLM to identify the most beneficial instructions within each cluster. We evaluate SelectLLM on AlpacaEval2 and MT-Bench, demonstrating its ability to outperform state-of-the-art methods like Alpagasus. In addition, we compare the performance and compatibility of SelectLLM with various LLMs, such as ChatGPT, LLaMA-3.1-70B, and Gemma-2-27b. SelectLLM's adaptability and robustness are further evidenced by its ability to maintain high performance across both human and synthetic datasets. All code and data are publicly available (https://github.com/minnesotanlp/select-llm).
title SelectLLM: Can LLMs Select Important Instructions to Annotate?
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2401.16553