English

Can we only use guideline instead of shot in prompt?

Human-Computer Interaction 2024-09-23 v1 Artificial Intelligence

Abstract

Currently, prompting techniques can be mainly divided into two categories:1)shot method implicitly inspires the model to answer the question by mimicing the steps in the given example, e.g., the few-shot CoT. 2) Guideline method explicitly instructs the model to reason by following guidelines, which contains succinct and concise task-specific knowledge. Shot method is prone to difficulties in terms of selection of shots type, the number of shots, and the design of the reasoning steps, so a question arises: can we only use guideline instead of shot in the prompt? To this end, we propose the FGT framework to automatically learn task-specific guidelines from dataset consisting of Feedback, Guideline, and Tree-gather agents. First, the feedback agent is designed to evaluate the outcomes, both right and wrong, of each Q&A to gather insights guiding more effective optimization strategies. Next, the guideline agent is tasked with deriving guidelines from each piece of feedback and storing them in local memory. Lastly, the tree-gather agent aggregates all guidelines hierarchically through a tree structure, ultimately obtaining all unduplicated guidelines from a global perspective. In addition, we induce the model to generate intermediate processes to ensure the reasoning consistent with the guidelines. Experimental results demonstrate that our approach achieves superior performance across multiple tasks, thereby highlighting the effectiveness of using the guidelines in prompt.

Keywords

Cite

@article{arxiv.2409.12979,
  title  = {Can we only use guideline instead of shot in prompt?},
  author = {Jiaxiang Chen and Song Wang and Zhucong Li and Wayne Xiong and Lizhen Qu and Zenglin Xu and Yuan Qi},
  journal= {arXiv preprint arXiv:2409.12979},
  year   = {2024}
}