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

Prompt Chaining 还是 Stepwise Prompt?文本摘要中的精炼

Prompt Chaining or Stepwise Prompt? Refinement in Text Summarization

The Hong Kong Polytechnic University(香港理工大学);Generative AI Research Lab (GAIR)(生成式人工智能研究实验室(GAIR));Soochow University(苏州大学);Shanghai Jiao Tong University(上海交通大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)

Shichao Sun, Ruifeng Yuan, Ziqiang Cao, Wenjie Li, Pengfei Liu

AI总结:

本文比较了文本摘要中Prompt Chaining与Stepwise Prompt两种迭代精炼策略,发现Prompt Chaining因能避免模拟精炼而产生更优结果,其结论可外推至其他LLM应用。

摘要:

大型语言模型(LLMs)已展现出通过模仿人类从初始草稿开始的批评与精炼迭代过程来提升摘要质量的能力。现有两种旨在执行此迭代过程的策略:Prompt Chaining和Stepwise Prompt。Prompt chaining通过一系列三个离散的提示来协调起草、批评和精炼阶段,而Stepwise prompt则将这些阶段整合在单个提示中。然而,这两种方法的相对有效性尚未得到广泛研究。本文致力于在文本摘要的语境下检验和比较这两种方法,以确定哪种方法最为有效。实验结果表明,prompt chaining方法能够产生更有利的结果。这可能是由于根据我们的各项实验,stepwise prompt可能会产生一种模拟的精炼过程。由于精炼可适应于多种任务,我们的结论有望被外推至其他应用,从而提供可能促进LLMs更广泛发展的见解。

英文摘要:

Large language models (LLMs) have demonstrated the capacity to improve summary quality by mirroring a human-like iterative process of critique and refinement starting from the initial draft. Two strategies are designed to perform this iterative process: Prompt Chaining and Stepwise Prompt. Prompt chaining orchestrates the drafting, critiquing, and refining phases through a series of three discrete prompts, while Stepwise prompt integrates these phases within a single prompt. However, the relative effectiveness of the two methods has not been extensively studied. This paper is dedicated to examining and comparing these two methods in the context of text summarization to ascertain which method stands out as the most effective. Experimental results show that the prompt chaining method can produce a more favorable outcome. This might be because stepwise prompt might produce a simulated refinement process according to our various experiments. Since refinement is adaptable to diverse tasks, our conclusions have the potential to be extrapolated to other applications, thereby offering insights that may contribute to the broader development of LLMs.

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

↑