稳定的大语言模型集成:示例代表性与多样性之间的相互作用
Stable LLM Ensemble: Interaction between Example Representativeness and Diversity
AI总结:
本研究提出基于质心的代表性示例选择并结合较高采样温度,显著提升一次性大语言模型集成的准确性与鲁棒性,在宏F1和RMSE上均优于随机选择和5-shot基线。
摘要:
大语言模型(LLMs)在广泛领域取得了显著成果。然而,一次性(one-shot)LLM预测的准确性和鲁棒性对示例的选择以及集成成员之间的多样性高度敏感。本研究系统性地探究了示例代表性(一次性策略)和输出多样性(采样温度)对LLM集成性能的影响。研究比较了两种一次性策略:基于质心的代表性示例(本文提出)和随机采样示例(基线),并同时变化采样温度。所提出的方法在较高温度设置下,相较于随机选择,在宏F1分数上显著提升了+7.6%,在均方根误差(RMSE)上降低了-10.5%。此外,所提出的模型相较于5-shot提示,在宏F1分数上提升了+21.1%,在RMSE上降低了-24.0%。我们的研究结果表明,将代表性示例选择与提高温度相结合,能够为集成提供适当的多样性水平。这项工作强调了在设计有效的一次性LLM集成时,示例选择与受控多样性两者的实际重要性。
英文摘要:
Large language models (LLMs) have achieved remarkable results in wide range of domains. However, the accuracy and robustness of one-shot LLM predictions remain highly sensitive to the examples and the diversity among ensemble members. This study systematically investigates the effects of example representativeness (one-shot strategy) and output diversity (sampling temperature) on LLM ensemble performance. Two one-shot strategies are compared: centroid-based representative examples (proposed) and randomly sampled examples (baseline) and sampling temperature also is varied. The proposed approach with higher temperature setting significantly outperforms random selection by +7.6% (macro-F1) and -10.5% (RMSE). Furthermore, the proposed model exceeds 5-shot prompting by +21.1% (macro-F1) and -24.0% (RMSE). Our findings demonstrate that combining representative example selection with increased temperature provides the appropriate level of diversity to the ensemble. This work highlights the practical importance of both example selection and controlled diversity in designing effective one-shot LLM ensembles.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。