Pay More Attention to the Robustness of Prompt for Instruction Data Mining

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Wang, Qiang, Feng, Dawei, Zhang, Xu, Shen, Ao, Xu, Yang, Ding, Bo, Wang, Huaimin
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915219277611008
author Wang, Qiang
Feng, Dawei
Zhang, Xu
Shen, Ao
Xu, Yang
Ding, Bo
Wang, Huaimin
author_facet Wang, Qiang
Feng, Dawei
Zhang, Xu
Shen, Ao
Xu, Yang
Ding, Bo
Wang, Huaimin
contents Instruction tuning has emerged as a paramount method for tailoring the behaviors of LLMs. Recent work has unveiled the potential for LLMs to achieve high performance through fine-tuning with a limited quantity of high-quality instruction data. Building upon this approach, we further explore the impact of prompt's robustness on the selection of high-quality instruction data. This paper proposes a pioneering framework of high-quality online instruction data mining for instruction tuning, focusing on the impact of prompt's robustness on the data mining process. Our notable innovation, is to generate the adversarial instruction data by conducting the attack for the prompt of online instruction data. Then, we introduce an Adversarial Instruction-Following Difficulty metric to measure how much help the adversarial instruction data can provide to the generation of the corresponding response. Apart from it, we propose a novel Adversarial Instruction Output Embedding Consistency approach to select high-quality online instruction data. We conduct extensive experiments on two benchmark datasets to assess the performance. The experimental results serve to underscore the effectiveness of our proposed two methods. Moreover, the results underscore the critical practical significance of considering prompt's robustness.
format Preprint
id arxiv_https___arxiv_org_abs_2503_24028
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Pay More Attention to the Robustness of Prompt for Instruction Data Mining
Wang, Qiang
Feng, Dawei
Zhang, Xu
Shen, Ao
Xu, Yang
Ding, Bo
Wang, Huaimin
Artificial Intelligence
Instruction tuning has emerged as a paramount method for tailoring the behaviors of LLMs. Recent work has unveiled the potential for LLMs to achieve high performance through fine-tuning with a limited quantity of high-quality instruction data. Building upon this approach, we further explore the impact of prompt's robustness on the selection of high-quality instruction data. This paper proposes a pioneering framework of high-quality online instruction data mining for instruction tuning, focusing on the impact of prompt's robustness on the data mining process. Our notable innovation, is to generate the adversarial instruction data by conducting the attack for the prompt of online instruction data. Then, we introduce an Adversarial Instruction-Following Difficulty metric to measure how much help the adversarial instruction data can provide to the generation of the corresponding response. Apart from it, we propose a novel Adversarial Instruction Output Embedding Consistency approach to select high-quality online instruction data. We conduct extensive experiments on two benchmark datasets to assess the performance. The experimental results serve to underscore the effectiveness of our proposed two methods. Moreover, the results underscore the critical practical significance of considering prompt's robustness.
title Pay More Attention to the Robustness of Prompt for Instruction Data Mining
topic Artificial Intelligence
url https://arxiv.org/abs/2503.24028