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

HPSS:面向LLM评估器的启发式提示策略搜索

HPSS: Heuristic Prompting Strategy Search for LLM Evaluators

The Conversational Artificial Intelligence (CoAI) Group, Tsinghua University(清华大学对话人工智能(CoAI)小组);University of Electronic Science and Technology of China(电子科技大学);Zhipu AI(智谱AI);The Knowledge Engineering Group (KEG), Tsinghua University(清华大学知识工程小组(KEG))

Bosi Wen, Pei Ke, Yufei Sun, Cunxiang Wang, Xiaotao Gu, Jinfeng Zhou, Jie Tang, Hongning Wang, Minlie Huang

AI总结:

针对LLM评估器提示优化忽略多因素组合影响的问题,提出受遗传算法启发的启发式提示策略搜索方法HPSS,整合8个关键因素进行迭代搜索,在四项任务上持续优于人工设计与现有自动优化方法。

摘要:

随着在自然语言处理(NLP)领域采用大语言模型(LLMs)进行文本评估日益普遍,一系列现有工作试图优化LLM评估器的提示,以改善其与人类判断的对齐。然而,它们的努力仅限于优化评估提示的个别因素,例如评估标准或输出格式,忽略了多个因素的组合影响,导致评估流程的优化不够充分。尽管如此,识别表现良好的提示策略以调整多个因素需要大量枚举。为此,我们全面整合了评估提示的8个关键因素,并提出了一种新颖的自动提示策略优化方法,称为启发式提示策略搜索(HPSS)。受遗传算法启发,HPSS进行迭代搜索,为LLM评估器寻找表现良好的提示策略。采用启发式函数来指导搜索过程,提升了算法的性能。在四个评估任务上的广泛实验证明了HPSS的有效性,其表现持续优于人工设计的评估提示和现有的自动提示优化方法。代码可在https://github.com/thu-coai/HPSS获取。

英文摘要:

Since the adoption of large language models (LLMs) for text evaluation has become increasingly prevalent in the field of natural language processing (NLP), a series of existing works attempt to optimize the prompts for LLM evaluators to improve their alignment with human judgment. However, their efforts are limited to optimizing individual factors of evaluation prompts, such as evaluation criteria or output formats, neglecting the combinatorial impact of multiple factors, which leads to insufficient optimization of the evaluation pipeline. Nevertheless, identifying well-behaved prompting strategies for adjusting multiple factors requires extensive enumeration. To this end, we comprehensively integrate 8 key factors for evaluation prompts and propose a novel automatic prompting strategy optimization method called Heuristic Prompting Strategy Search (HPSS). Inspired by the genetic algorithm, HPSS conducts an iterative search to find well-behaved prompting strategies for LLM evaluators. A heuristic function is employed to guide the search process, enhancing the performance of our algorithm. Extensive experiments across four evaluation tasks demonstrate the effectiveness of HPSS, consistently outperforming both human-designed evaluation prompts and existing automatic prompt optimization methods. Our code is available at https://github.com/thu-coai/HPSS.

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

↑