arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.04122cs.HCcs.AI
收藏

从提示工程到人在回路的提示科学

From Prompt Engineering to Prompt Science With Human in the Loop

University of Washington(华盛顿大学)

Chirag Shah

AI总结:

针对科研中 LLM 提示使用缺乏严谨性与可复现性的问题,提出人在回路、多阶段验证的提示科学方法论。

摘要:

随着大语言模型(LLM)进入我们生活的许多方面,科学研究是一个需要对 LLM 使用加强审查的领域。利用 LLM 为研究目的生成或分析数据正变得越来越普遍。但是,当此类应用充斥着临时决策和工程化解决方案时,我们需要关注它可能如何影响相关研究、研究发现,或基于该研究的任何未来工作。我们需要一种更科学的方法,在研究中使用 LLM。尽管已有若干积极努力支持更系统地构建提示,但它们往往更关注获得理想结果,而不是以足够的透明度、客观性或严谨性产生可复现、可泛化的知识。本文提出一种受定性研究中编码簿构建启发的新方法论,以解决这一问题。该方法通过人在回路和多阶段验证流程,为以更系统、客观和可信的方式应用 LLM 分析数据奠定基础。具体而言,我们展示了一组研究人员如何通过严格的标注、审议和记录流程来消除主观性,并为提示生成过程带来透明度与可复现性。文中还给出了一组实验,以展示如何在实践中实施该方法论。

英文摘要:

As LLMs make their way into many aspects of our lives, one place that warrants increased scrutiny with LLM usage is scientific research. Using LLMs for generating or analyzing data for research purposes is gaining popularity. But when such application is marred with ad-hoc decisions and engineering solutions, we need to be concerned about how it may affect that research, its findings, or any future works based on that research. We need a more scientific approach to using LLMs in our research. While there are several active efforts to support more systematic construction of prompts, they are often focused more on achieving desirable outcomes rather than producing replicable and generalizable knowledge with sufficient transparency, objectivity, or rigor. This article presents a new methodology inspired by codebook construction through qualitative methods to address that. Using humans in the loop and a multi-phase verification processes, this methodology lays a foundation for more systematic, objective, and trustworthy way of applying LLMs for analyzing data. Specifically, we show how a set of researchers can work through a rigorous process of labeling, deliberating, and documenting to remove subjectivity and bring transparency and replicability to prompt generation process. A set of experiments are presented to show how this methodology can be put in practice.

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

↑