arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.17630cs.CL
收藏

InstOptima:基于大语言模型指令算子的进化多目标指令优化

InstOptima: Evolutionary Multi-objective Instruction Optimization via Large Language Model-based Instruction Operators

University of Exeter(埃克塞特大学)

Heng Yang, Ke Li

AI总结:

本文提出 InstOptima,将指令生成建模为进化多目标优化问题,利用 LLM 模拟变异与交叉算子,并通过目标引导机制同时优化性能、长度和困惑度,从而生成多样且高质量的指令。

摘要:

基于指令的语言建模在预训练语言模型中受到了广泛关注。然而,指令工程的效率仍然较低,阻碍了指令研究的发展。近期研究主要聚焦于自动化指令生成,但它们主要旨在提升性能,而未考虑影响指令质量的其他关键目标,例如指令长度和困惑度。因此,我们提出了一种新方法(即 InstOptima),将指令生成视为一个进化多目标优化问题。与基于文本编辑的方法不同,我们的方法利用大语言模型(LLM)来模拟指令算子,包括变异和交叉。此外,我们为这些算子引入了一种目标引导机制,使 LLM 能够理解目标并提升所生成指令的质量。实验结果表明,微调性能得到了改善,并生成了一组多样化的高质量指令。

英文摘要:

Instruction-based language modeling has received significant attention in pretrained language models. However, the efficiency of instruction engineering remains low and hinders the development of instruction studies. Recent studies have focused on automating instruction generation, but they primarily aim to improve performance without considering other crucial objectives that impact instruction quality, such as instruction length and perplexity. Therefore, we propose a novel approach (i.e., InstOptima) that treats instruction generation as an evolutionary multi-objective optimization problem. In contrast to text edition-based methods, our approach utilizes a large language model (LLM) to simulate instruction operators, including mutation and crossover. Furthermore, we introduce an objective-guided mechanism for these operators, allowing the LLM to comprehend the objectives and enhance the quality of the generated instructions. Experimental results demonstrate improved fine-tuning performance and the generation of a diverse set of high-quality instructions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑