arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.26830cs.LGcs.AIcs.SE
收藏

用于理解提示组件对LLM性能影响的回归框架

A Regression Framework for Understanding Prompt Component Impact on LLM Performance

Andrew Lauziere, Jonathan Daugherty, Taisa Kushner

AI总结:

本文提出回归框架分析提示特征对LLM性能的影响,通过回归模型解释提示部分对模型表现的解释力,发现错误示例会阻碍模型解决算术问题,正负指令对模型性能有矛盾影响。

摘要:

随着大型语言模型(LLMs)的持续改进和在软件系统中的进一步集成,理解其在不同条件下性能需求的重要性也日益增加。本文贡献了一个统计框架,用于理解特定提示特征对LLM性能的影响。该方法扩展了先前的可解释人工智能(XAI)方法,专门用于检查LLM,通过拟合将提示部分与LLM评估相关联的回归模型。我们应用该方法比较了两个开源模型Mistral-7B和GPT-OSS-20B如何利用提示解决简单的算术问题。回归模型对个别提示部分的解释力分别为72%和77%。我们发现错误信息以错误的示例查询-回答对形式阻碍了两个模型解决算术查询,尽管正例并未在正负指令的影响上发现显著差异——这些提示对模型性能有矛盾影响。该框架为关键场景中的决策者提供了一个工具,以获得提示如何影响LLM完成任务的细致洞察。

英文摘要:

As large language models (LLMs) continue to improve and see further integration into software systems, so does the need to understand the conditions in which they will perform. We contribute a statistical framework for understanding the impact of specific prompt features on LLM performance. The approach extends previous explainable artificial intelligence (XAI) methods specifically to inspect LLMs by fitting regression models relating portions of the prompt to LLM evaluation. We apply our method to compare how two open-source models, Mistral-7B and GPT-OSS-20B, leverage the prompt to perform a simple arithmetic problem. Regression models of individual prompt portions explain 72% and 77% of variation in model performances, respectively. We find misinformation in the form of incorrect example query-answer pairs impedes both models from solving the arithmetic query, though positive examples do not find significant variability in the impact of positive and negative instructions - these prompts have contradictory effects on model performance. The framework serves as a tool for decision makers in critical scenarios to gain granular insight into how the prompt influences an LLM to solve a task.

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

↑