Commit ebedfc11 by wangchenglong

update.

parent 12643756
\begin{thebibliography}{146} \begin{thebibliography}{147}
\providecommand{\natexlab}[1]{#1} \providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{\texttt{#1}} \providecommand{\url}[1]{\texttt{#1}}
\expandafter\ifx\csname urlstyle\endcsname\relax \expandafter\ifx\csname urlstyle\endcsname\relax
...@@ -425,6 +425,11 @@ Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zh ...@@ -425,6 +425,11 @@ Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zh
\newblock \emph{ArXiv preprint}, abs/2402.03300, 2024. \newblock \emph{ArXiv preprint}, abs/2402.03300, 2024.
\newblock URL \url{https://arxiv.org/abs/2402.03300}. \newblock URL \url{https://arxiv.org/abs/2402.03300}.
\bibitem[Shinn et~al.(2023)Shinn, Cassano, Gopinath, Narasimhan, and Yao]{shinn-etal:reflexion}
Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao.
\newblock Reflexion: Language agents with verbal reinforcement learning.
\newblock \emph{Advances in neural information processing systems}, 36:\penalty0 8634--8652, 2023.
\bibitem[Silver \& Sutton(2025)Silver and Sutton]{sutton-etal:welcome} \bibitem[Silver \& Sutton(2025)Silver and Sutton]{sutton-etal:welcome}
David Silver and Richard~S Sutton. David Silver and Richard~S Sutton.
\newblock Welcome to the era of experience. \newblock Welcome to the era of experience.
......
...@@ -4,6 +4,17 @@ ...@@ -4,6 +4,17 @@
@article{shinn-etal:reflexion,
title={Reflexion: Language agents with verbal reinforcement learning},
author={Shinn, Noah and Cassano, Federico and Gopinath, Ashwin and Narasimhan, Karthik and Yao, Shunyu},
journal={Advances in neural information processing systems},
volume={36},
pages={8634--8652},
year={2023}
}
@article{fu-etal:self, @article{fu-etal:self,
title={Self-Play Meets Skill Evolution: Self-Evolving Search Agents that Pose, Solve, and Remember}, title={Self-Play Meets Skill Evolution: Self-Evolving Search Agents that Pose, Solve, and Remember},
author={Zenghuang Fu and Zhaoyang Li and Qiuyuan Ai and Haoyu Wu and Minghui Wu and Chenxu Zhao and Ante Wang and Guannan He and Changwei Wang}, author={Zenghuang Fu and Zhaoyang Li and Qiuyuan Ai and Haoyu Wu and Minghui Wu and Chenxu Zhao and Ante Wang and Guannan He and Changwei Wang},
......
No preview for this file type
...@@ -162,7 +162,7 @@ Prompt-based tool is a simple approach to enable LLM-based agents to interact wi ...@@ -162,7 +162,7 @@ Prompt-based tool is a simple approach to enable LLM-based agents to interact wi
\textcolor{gray}{Demonstration} & \textcolor{gray}{Demonstration} &
\textit{Task}: Tom earns \$15 per hour. He worked for 2 hours. How much did he earn? Please save the result into the database. \newline \textit{Task}: Tom earns \$15 per hour. He worked for 2 hours. How much did he earn? Please save the result into the database. \newline
\textbf{Thought}: I need to compute the total payment. \newline \textbf{Thought}: I need to compute the total payment. \newline
\colorbox{green!35}{\strut\textbf{Action}: \texttt{calculator}($15 \times 2$)} \newline {\setlength{\fboxsep}{0pt}\colorbox{green!35}{\strut\textbf{Action}: \texttt{calculator}($15 \times 2$)}} \newline
\textbf{Observation}: 30 \newline \textbf{Observation}: 30 \newline
\textbf{Thought}: The payment is 30 dollars. I need to save it into the database. \newline \textbf{Thought}: The payment is 30 dollars. I need to save it into the database. \newline
\textbf{Action}: \texttt{update\_record}(\{"earning": 30\}) \newline \textbf{Action}: \texttt{update\_record}(\{"earning": 30\}) \newline
...@@ -174,7 +174,7 @@ Weng earns \$12 per hour for babysitting. Yesterday, she babysat for 50 minutes. ...@@ -174,7 +174,7 @@ Weng earns \$12 per hour for babysitting. Yesterday, she babysat for 50 minutes.
\textcolor{gray}{Output} & \textcolor{gray}{Output} &
\textbf{Thought}: I need to compute the payment based on the hourly wage and working time. \newline \textbf{Thought}: I need to compute the payment based on the hourly wage and working time. \newline
\colorbox{green!35}{\strut\textbf{Action}: \texttt{calculator}($12 \times 50 / 60$)} \newline {\setlength{\fboxsep}{0pt}\colorbox{green!35}{\strut\textbf{Action}: \texttt{calculator}($12 \times 50 / 60$)}} \newline
\textbf{Observation}: 10 \newline \textbf{Observation}: 10 \newline
\textbf{Thought}: The payment is 10 dollars. I need to save it into the database. \newline \textbf{Thought}: The payment is 10 dollars. I need to save it into the database. \newline
\textbf{Action}: \texttt{update\_record}(\{"earning": 10\}) \newline \textbf{Action}: \texttt{update\_record}(\{"earning": 10\}) \newline
...@@ -313,7 +313,7 @@ The second approach is \textbf{skill optimization}. One challenge of using memor ...@@ -313,7 +313,7 @@ The second approach is \textbf{skill optimization}. One challenge of using memor
The third approach is to learn from experience via \textbf{trajectory refinement}. From this perspective, test-time scaling in agents can also be viewed as a form of learning from experience. Instead of updating the model parameters, the agent improves its current solution by leveraging immediate feedback during task execution. For example, the agent can use tool execution results or environment feedback to identify mistakes and refine its trajectory. Through repeated attempts and continuous refinement, the agent can gradually improve its decision-making process and achieve better task performance. The third approach is to learn from experience via \textbf{trajectory refinement}. From this perspective, test-time scaling in agents can also be viewed as a form of learning from experience. Instead of updating the model parameters, the agent improves its current solution by leveraging immediate feedback during task execution. For example, the agent can use tool execution results or environment feedback to identify mistakes and refine its trajectory. Through repeated attempts and continuous refinement, the agent can gradually improve its decision-making process and achieve better task performance.
The three approaches mentioned above can be implemented through various techniques. Since this paper focuses on RL, we will introduce RL-based methods for these approaches in detail in the following sections. It is worth noting that, although these approaches do not always rely on traditional parametric updates, they can still be formulated under the RL paradigm described in Eqs.~\ref{eq:tau-define} and~\ref{eq:reward-optimization-for-agent}, where agents improve their behaviors through sequential interaction and feedback from experience. The three approaches mentioned above can be implemented through various techniques. Since this paper focuses on RL, we will introduce RL-based methods for these approaches in detail in the following sections. It is worth noting that, although these approaches do not always rely on traditional parametric updates, they can still be formulated under the RL paradigm described in Eqs.~\ref{eq:tau-define} and~\ref{eq:reward-optimization-for-agent}, where agents improve their behaviors via feedback from experience.
\subsubsection{Memory Management} \subsubsection{Memory Management}
...@@ -424,7 +424,7 @@ Solve complex mathematical, logical, tabular, and constraint reasoning tasks. Us ...@@ -424,7 +424,7 @@ Solve complex mathematical, logical, tabular, and constraint reasoning tasks. Us
\{More skill descriptions\} \par \{More skill descriptions\} \par
\textbf{User Query:} Solve the equation $2x+5=13$. \par \textbf{User Query:} Solve the equation $2x+5=13$. \par
\par \par
\colorbox{green!35}{\strut\textbf{Selected Skill:} \uline{Math-Logic-Reasoning}} \par {\setlength{\fboxsep}{0pt}\colorbox{green!35}{\strut\textbf{Selected Skill:} \uline{Math-Logic-Reasoning}}} \par
\endgroup \endgroup
\end{tcolorbox} \end{tcolorbox}
...@@ -468,10 +468,82 @@ By repeating the above process, the agent can improve its skill library through ...@@ -468,10 +468,82 @@ By repeating the above process, the agent can improve its skill library through
\subsubsection{Trajectory Refinement} \subsubsection{Trajectory Refinement}
Different from memory management and skill optimization, which focus on storing and abstracting experiences, trajectory refinement directly improves agent behaviors by revising generated trajectories. This idea is motivated by the self-refinement capability of LLMs. As discussed in Section~\ref{sec:tts}, reasoning-enhanced RL training enables LLMs to evaluate their intermediate reasoning processes and revise incorrect solutions. For example, when solving mathematical problems, an LLM can verify intermediate results after each reasoning step and adjust its solution trajectory based on the verification outcomes. A natural extension is to apply this self-refinement capability to LLM-based agents. During interaction with environments, agents continuously receive external feedback, such as skill execution results. Instead of directly following the initial trajectory, agents can leverage these feedback signals to revise previous decisions. In this way, the agent learns from its own interaction experience by continuously refining its behaviors. Different from memory management and skill optimization, which focus on storing and abstracting experiences, trajectory refinement directly improves agent behaviors by revising generated trajectories. This idea is motivated by the self-refinement capability of LLMs. As discussed in Section~\ref{sec:tts}, reasoning-enhanced RL training enables LLMs to evaluate their intermediate reasoning processes and revise incorrect solutions. For example, when solving mathematical problems, an LLM can verify intermediate results after each reasoning step and adjust its solution trajectory based on the verification outcomes.
A natural extension is to apply this self-refinement capability to LLM-based agents. During interaction with environments, agents continuously receive external feedback, such as tool execution results or environment states. Instead of blindly following the initial trajectory, agents can leverage these feedback signals to identify mistakes, revise previous decisions, and generate improved trajectories. In this way, agents can learn from their own interaction experiences by continuously refining their behaviors. One commonly used trajectory refinement approach is Reflexion \citep{shinn-etal:reflexion}. The basic idea is to introduce an explicit reflection process into agent execution. Given a task, the agent first generates an initial trajectory and receives feedback from an evaluator. The agent then analyzes the feedback, summarizes potential errors or improvement strategies, and generates a reflection. Based on this reflection, the agent produces an improved trajectory in subsequent attempts. Here, we take mathematical reasoning as an example.
\begin{tcolorbox}[frame empty]
\textbf{Task:} Solve the equation $3x+7=22$.
\vspace{0.1cm}
{\setlength{\fboxsep}{0pt}\colorbox{green!35}{\strut\textbf{Initial Trajectory:}}}
\textbf{Thought:}
I need to isolate $x$ by moving the constant term to the other side.
\textbf{Action:}
Subtract 7 from both sides:
\[
3x+7-7=22-7
\]
\textbf{Observation:}
The equation becomes:
\[
3x=15
\]
\textbf{Thought:}
I need to divide both sides by 3 to obtain $x$.
\textbf{Action:}
Calculate:
\[
x=\frac{15}{3}=4
\]
\textbf{Answer:}
$x=4$.
\vspace{0.1cm}
\uline{\textbf{Feedback:} The answer is incorrect. This is because: $\frac{15}{3}=5 \neq 4 $.}
\vspace{0.1cm}
\uline{\textbf{Reflection:} The previous trajectory failed because I made an error during intermediate calculation. For future tasks, I should carefully verify arithmetic operations and check the final answer by substituting it back into the original equation.}
\vspace{0.1cm}
{\setlength{\fboxsep}{0pt}\colorbox{green!35}{\textbf{Refined Trajectory:}}}
\textbf{Thought:}
I need to isolate $x$ and verify the final solution.
\textbf{Action:}
Subtract 7 from both sides:
\[
3x=22-7=15
\]
\textbf{Action:}
Divide both sides by 3:
\[
x=\frac{15}{3}=5
\]
\textbf{Observation:}
Verify the solution:
\[
3\times5+7=22
\]
\textbf{Answer:}
$x=5$.
\end{tcolorbox}
Training-free: \\ Training-free: \\
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论