Commit 23ba82d7 by wangchenglong

update.

parent e4152378
\begin{thebibliography}{190}
\begin{thebibliography}{191}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{\texttt{#1}}
\expandafter\ifx\csname urlstyle\endcsname\relax
......@@ -823,12 +823,17 @@ Zhaoyang Wang, Canwen Xu, Boyi Liu, Yite Wang, Siwei Han, Zhewei Yao, Huaxiu Yao
\newblock Agent world model: Infinity synthetic environments for agentic reinforcement learning, 2026{\natexlab{g}}.
\newblock URL \url{https://arxiv.org/abs/2602.10090}.
\bibitem[Wei et~al.(2022)Wei, Bosma, Zhao, Guu, Yu, Lester, Du, Dai, and Le]{wei-etal:2022finetuned}
\bibitem[Wei et~al.(2022{\natexlab{a}})Wei, Bosma, Zhao, Guu, Yu, Lester, Du, Dai, and Le]{wei-etal:2022finetuned}
Jason Wei, Maarten Bosma, Vincent~Y. Zhao, Kelvin Guu, Adams~Wei Yu, Brian Lester, Nan Du, Andrew~M. Dai, and Quoc~V. Le.
\newblock Finetuned language models are zero-shot learners.
\newblock In \emph{The Tenth International Conference on Learning Representations, {ICLR} 2022, Virtual Event, April 25-29, 2022}. OpenReview.net, 2022.
\newblock In \emph{The Tenth International Conference on Learning Representations, {ICLR} 2022, Virtual Event, April 25-29, 2022}. OpenReview.net, 2022{\natexlab{a}}.
\newblock URL \url{https://openreview.net/forum?id=gEZrGCozdqR}.
\bibitem[Wei et~al.(2022{\natexlab{b}})Wei, Wang, Schuurmans, Bosma, Xia, Chi, Le, Zhou, et~al.]{wei-etal:chain}
Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Fei Xia, Ed~Chi, Quoc~V Le, Denny Zhou, et~al.
\newblock Chain-of-thought prompting elicits reasoning in large language models.
\newblock \emph{Advances in neural information processing systems}, 35:\penalty0 24824--24837, 2022{\natexlab{b}}.
\bibitem[Wu et~al.(2023)Wu, Hu, Shi, Dziri, Suhr, Ammanabrolu, Smith, Ostendorf, and Hajishirzi]{wu-etal:2023fine}
Zeqiu Wu, Yushi Hu, Weijia Shi, Nouha Dziri, Alane Suhr, Prithviraj Ammanabrolu, Noah~A. Smith, Mari Ostendorf, and Hannaneh Hajishirzi.
\newblock Fine-grained human feedback gives better rewards for language model training.
......
@article{wei-etal:chain,
title={Chain-of-thought prompting elicits reasoning in large language models},
author={Wei, Jason and Wang, Xuezhi and Schuurmans, Dale and Bosma, Maarten and Xia, Fei and Chi, Ed and Le, Quoc V and Zhou, Denny and others},
journal={Advances in neural information processing systems},
volume={35},
pages={24824--24837},
year={2022}
}
@inproceedings{guo-etal:connecting,
title={Connecting large language models with evolutionary algorithms yields powerful prompt optimizers},
......
......@@ -246,7 +246,9 @@ The aim of this paper is to provide a comprehensive introduction to RL from the
\section*{Acknowledgements}
We would like to thank those who provided suggestions on improving the early version of this work.
\phantomsection
\addcontentsline{toc}{section}{Acknowledgements}
This work was supported in part by the National Science Foundation of China (Nos. 62276056 and U24A20334), the Yunnan Fundamental Research Projects (No.202401BC070021), the Yunnan Science and Technology Major Project (No. 202502AD080014), the Liaoning Provincial Science and Technology Plan Project (No. 2026JH40/10100033), the Fundamental Research Funds for the Central Universities (Nos. N25BSS054 and N25BSS094), and the Program of Introducing Talents of Discipline to Universities, Plan 111 (No.B16009). The authors thank Ziming Zhu, Yuzhang Wu, Yifu Huo, Xihan Yang, and Kaiwei Wang for their valuable comments and discussions, which helped improve the manuscript.
% \clearpage
\input{appendix/appendix}
......
......@@ -76,7 +76,7 @@ Please make the response clear, practical, and easy to follow. \\[1mm]
\vspace{0.5em}
In this example, the input itself specifies the task, and the LLM generates the answer by continuing the sequence. Prompts can also be constructed from templates. A prompt template is a piece of text containing placeholders, where each placeholder is filled with concrete information before being sent to the LLM. For example, we can use the following template to construct prompts for a homework assistant:
In this example, the prompt specifies both the task and the desired response style. The LLM then generates the answer by continuing the input sequence. Prompts can also be constructed from templates. A \textit{prompt template} contains placeholders that can be replaced with task-specific information. For example, we can use the following template for a homework assistant:
\vspace{0.1cm}
......@@ -124,6 +124,34 @@ Another important concept related to prompting is in-context learning. When prom
\end{tcolorbox}
\vspace{0.5em}
When a single demonstration is provided, this setting is commonly called \textit{one-shot} prompting. When several demonstrations are included, it is referred to as \textit{few-shot} prompting. In contrast, prompting without any demonstration is usually called \textit{zero-shot} prompting.
In-context learning can also be combined with \textit{chain-of-thought} (CoT) prompting \citep{wei-etal:chain}. The basic idea is to encourage the model to generate intermediate reasoning steps before producing the final answer. This can be achieved either by explicitly asking the model to reason step by step or by providing demonstrations that contain both reasoning traces and answers. For example:
\vspace{0.1cm}
\begin{tcolorbox}[frame empty]
\begingroup
\setlength{\leftskip}{2em}
\setlength{\rightskip}{2em}
\textit{Input:} A student solves 8 math problems and gets 6 correct. What is the accuracy? Please reason step by step. \\[1mm]
\textit{Output:} The student gets 6 out of 8 problems correct. The accuracy is therefore $6/8=0.75$, or 75\%. \\[2mm]
\textit{Input:} A student solves 20 math problems and gets 17 correct. What is the accuracy? Please reason step by step. \\[1mm]
\textit{Output:} \underline{\hspace{4cm}}
\endgroup
\end{tcolorbox}
\vspace{0.5em}
Prompting adapts an LLM by changing the context used for generation. Therefore, prompt quality can strongly affect model performance. Even for the same task, we can write the prompt in many different ways. For example, ``Give me two tips to improve my English writing.'' can also be written as ``What are two simple ways to improve my English writing skills?''. The two prompts express nearly the same intent, but they may lead to noticeably different outputs. In practice, we often refine prompts through repeated trial and error for a given LLM. More advanced methods automate this process and search for better prompts using techniques such as RL \citep{deng-etal:rlprompt} or evolutionary algorithms \citep{guo-etal:connecting}.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论