Skip to main content
QUICK REVIEW

[论文解读] Principled Instructions Are All You Need for Questioning LLaMA-1/2, GPT-3.5/4

Sondos Mahmoud Bsharat, Aidar Myrzakhan|arXiv (Cornell University)|Dec 26, 2023
Topic ModelingComputer Science被引用 47
一句话总结

本文提出了 26 条原则性指令来引导大语言模型的提示设计,证明精心设计的提示可以在 LLaMA-1/2、GPT-3.5/4 的多种模型中显著提升回答质量和正确性,而更大的模型获得的收益更大。

ABSTRACT

This paper introduces 26 guiding principles designed to streamline the process of querying and prompting large language models. Our goal is to simplify the underlying concepts of formulating questions for various scales of large language models, examining their abilities, and enhancing user comprehension on the behaviors of different scales of large language models when feeding into different prompts. Extensive experiments are conducted on LLaMA-1/2 (7B, 13B and 70B), GPT-3.5/4 to verify the effectiveness of the proposed principles on instructions and prompts design. We hope that this work can provide a better guide for researchers working on the prompting of large language models. Project page is available at https://github.com/VILA-Lab/ATLAS.

研究动机与目标

  • 展示原则性提示可以在不同模型规模上引导大语言模型输出更高质量的结果。
  • 系统性地对影响清晰度、具体性和任务对齐的提示原则进行分类与验证。
  • 在多样化的大语言模型上应用原则性提示时,量化回答质量和正确性的提升。

提出的方法

  • 将 26 条提示原则分为五类(提示结构、具体性、用户交互、内容/风格、复杂任务)。
  • 在 ATLAS 基准上使用 LLaMA-1/2(7B、13B、70B)和 GPT-3.5/4,在 Boosting(质量)和 Correctness(正确性)设置下评估原则。
  • 通过人工评估比较有无原则性提示的回答。
  • 分析模型规模效应,显示更大模型获得的收益更大。
  • 提供一个包含 ATLAS 基准和原则的项目页,以确保可复现性。
Figure 1: Illustration example of prompts and corresponding responses before and after applying principles. Left is the original promotes and their responses from GPT-4, right is the principled prompts and the associated responses. Principles 5 and 6 are utilized.
Figure 1: Illustration example of prompts and corresponding responses before and after applying principles. Left is the original promotes and their responses from GPT-4, right is the principled prompts and the associated responses. Principles 5 and 6 are utilized.

实验结果

研究问题

  • RQ1原则性提示是否在不同模型规模(7B、13B、70B、GPT-3.5/4)上提升 LLM 的回答质量?
  • RQ2提出的 26 条原则如何影响不同模型下输出的正确性和简洁性?
  • RQ3哪些原则在更大模型和复杂推理任务中带来最大的收益?

主要发现

  • 原则性提示在小型、中型和大型 LLM 中显著提升回答质量。
  • 大型模型在若干原则(2、5、15、16、25、26)上显示出最大的改进。
  • 原则性 14 对所有应用到的问题都能带来改进。
  • 绝对正确性平均提升约 20–40%;更大模型的绝对准确性收益可能超过 40%,相对收益>20%。
  • 在应用原则性提示时,模型间平均约有 ~50% 的回答质量提升。
  • GPT-4 在 ATLAS 基准上,应用原则性提示后质量平均提升 57.7%,准确性提升 36.4%。”],
  • table_headers:[],
  • table_rows: []} } // Note: The last two fields are retained as empty arrays per original structure. } } // End of GeneratedReview fields. } } // End of JSON object. } } // Corrected to maintain valid JSON. } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } }
Figure 2: Boosting example of LLM response after using the principle 13 on prompts.
Figure 2: Boosting example of LLM response after using the principle 13 on prompts.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。