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

COSTAR-A:一种提升大型语言模型在观点类问题上性能的提示框架

COSTAR-A: A prompting framework for enhancing Large Language Model performance on Point-of-View questions

Kennesaw State University(肯尼索州立大学)

Nzubechukwu C. Ohalete, Kevin B. Gittner, Lauren M. Matheny

AI总结:

本研究提出COSTAR-A提示框架,通过添加“回答”组件增强COSTAR方法,提升小型微调LLM在观点类任务上的输出结构与决断力,并在Llama 3.1-8B上验证了性能改进。

摘要:

大型语言模型(LLMs)对提示设计高度敏感,因此制定优化的提示技术对于生成一致且高质量的输出至关重要。在本研究中,我们引入了COSTAR-A,一种新颖的提示工程框架,它通过在其末尾添加“回答”组件,增强了现有的COSTAR方法(COSTAR代表上下文、目标、风格、语气、受众和回答)。我们证明,虽然原始的COSTAR框架提高了提示的清晰度,并使较大LLM的输出保持一致,但其性能在较小的、本地优化的模型中不太一致,特别是在需要更具指导性或受限输出的任务中。通过一系列受控的提示-输出评估,使用较小的(最多80亿参数)微调模型,我们发现COSTAR-A可以增强本地化LLM在某些任务中的输出结构和决断力,尽管其有效性因模型和使用案例而异。值得注意的是,Llama 3.1-8B模型在使用COSTAR-A提示时,与仅使用COSTAR相比,表现出性能提升。这些发现强调了COSTAR-A作为提示框架的适应性和可扩展性,特别是在资源受限硬件上进行计算高效的AI部署时。

英文摘要:

Large Language Models (LLMs) are highly sensitive to prompt design, and making optimized prompting techniques is crucial for generating consistent, high-quality outputs. In this study, we introduce COSTAR-A, a novel prompt engineering framework that enhances the existing COSTAR method, which stands for Context, Objective, Style, Tone, Audience, and Response, by adding the 'Answer' component at the end. We demonstrate that while the original COSTAR framework improves prompt clarity and aligns outputs for larger LLMs, its performance is less consistent with smaller, locally optimized models, particularly in tasks that require more directive or constrained outputs. Through a series of controlled prompt-output assessments with smaller (at most 8 billion parameters), fine-tuned models, we found that COSTAR-A can enhance the output structure and decisiveness of localized LLMs for certain tasks, although its effectiveness varies across models and use cases. Notably, the Llama 3.1-8B model exhibited performance improvements when prompted with COSTAR-A compared to COSTAR alone. These findings emphasize the adaptability and scalability of COSTAR-A as a prompting framework, particularly in computationally efficient AI deployments on resource-constrained hardware.

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

↑