- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes PhGPO (Pheromone-Guided Policy Optimization), a reinforcement learning framework for long-horizon tool-use agents. The key idea is to explicitly maintain a pheromone graph that records successful tool transitions observed during training. Instead of relying solely on policy parameter updates to capture useful behaviors, the method stores high-quality transition statistics and uses them as an additional guidance signal during action sampling. The framework further incorporates a task-dependent memory bank that retrieves pheromone information from semantically similar tasks. Experiments on Toolathlon, TOUCAN, and TRAJECT-Bench demonstrate improved performance over several RL-based baselines, especially on tasks requiring long tool-use trajectories.
Strengths and weaknesses
Strengths
- Intuitive and well-motivated idea The paper introduces a simple yet intuitive mechanism for explicitly preserving successful tool-transition patterns, addressing a practical challenge in long-horizon tool-use agents.
- Strong empirical performance The proposed method consistently improves performance across multiple benchmarks, with larger gains observed on tasks requiring longer planning horizons.
Weaknesses
- Unclear memory bank initialization and benchmark dependence A key component of the method is the task-dependent memory bank, yet the paper provides limited details regarding how the memory bank is initialized and populated. In particular, it is unclear where the initial successful trajectories originate from and whether different benchmarks require different initialization procedures. Since the retrieved pheromone information directly influences exploration, a more detailed discussion of memory bank construction would be important for reproducibility and for understanding the generality of the approach.
Questions
- How is the task-dependent memory bank initialized at the beginning of training?
- What are the sources of the successful trajectories stored in the memory bank?
- Is the same initialization procedure used across all benchmarks, or does each benchmark require its own trajectory collection process?
- How sensitive is the method to the quality and quantity of the stored trajectories?
Limitations
same as the weakness
Paper formatting concerns
no formatting issue
Final justification
I keep my rate since it is already positive
Thank you for identifying this reproducibility issue. The initialization and update procedure is specified across Sections 3.2 and 3.3, Algorithm 1, and Appendix B.4, but we agree that the details should be presented together.
1. Memory initialization, trajectory sources, and benchmark dependence (Weakness, Q1–Q3)
Graph and memory initialization. For each benchmark, we first construct its tool action space from the MCP tool definitions and the retained training episodes. Tool nodes correspond to the exposed MCP tools, tool-transition edges connect consecutive tools observed in the training trajectories, and tool-to-invocation edges represent the executable argument patterns extracted from training calls. This step defines only the indexed graph structure.
Before reinforcement learning, every task-agnostic tool-transition and invocation pheromone is initialized to the same base value τ0. Every task-dependent edge memory bank is initialized as an empty list:
\tau_{\mathrm{Arg}}^{\mathrm{agn}}(v_i,u)=\tau_0,\qquad M_{ij}=M_{i,u}=\varnothing.$$ The supervised warm-up trains the policy with next-tool prediction but does not populate the memory banks. Thus, PhGPO does not begin reinforcement learning with a preloaded cache of reference trajectories or externally generated demonstrations. **Source of the first stored trajectories.** The first memory entries originate from rollouts generated online after supervised warm-up. During progressive reinforcement learning, each training task $x$ produces $M=5$ executed rollouts. Early rollouts mix oracle-selected actions and policy-selected actions according to the decaying probability $p_{\mathrm{tf}}$. As $p_{\mathrm{tf}}$ and the supervised coefficient decrease, the rollouts become increasingly policy driven. The stored trajectories therefore evolve from partially guided early successes to predominantly autonomous policy successes rather than remaining a fixed teacher-forced collection. For every rollout $\xi_m$, we compute the policy return $R_m$ and the deposition score $q_\tau(\xi_m)$. Only rollouts passing the predefined verified-success or high-quality update criterion are allowed to write to memory. The implementation gives an effective stored-trajectory threshold of $q_\tau\geq 0.7$. For each qualifying rollout, we update every traversed tool-transition edge and tool-to-invocation edge using Eq. 1 and append the following tuple to the corresponding edge bank: $$\left(e_x,q_\tau(\xi_m)\right),\qquad e_x=\phi(x).$$ Here, $\phi$ is the fixed SentenceTransformer(all-MiniLM-L6-v2) encoder specified in Appendix B.4. The memory stores neither the complete trajectory nor generated reasoning. It stores only the task embedding and trajectory quality on each traversed edge. **Retrieval and use during sampling.** For a current task $x$, we compute $e_x=\phi(x)$. For each edge associated with a policy-generated Top-K candidate, we retrieve entries from that edge bank whose cosine similarity exceeds $\theta_{\mathrm{sim}}$. Equation 3 computes the task-dependent pheromone through similarity and quality-weighted aggregation. Equation 4 then computes $$c_{ij}(x)=\min\left(1,\frac{n_{\mathrm{act}}}{n_{\min}}\right)s_{\max}\bar{q}_{\tau},$$ which jointly reflects memory quantity, task similarity, and trajectory quality. Equation 5 uses this confidence to combine task-dependent and task-agnostic pheromones. If an edge has few relevant entries, low similarity, or low average quality, its task-dependent contribution is automatically reduced and sampling falls back toward the task-agnostic prior. The policy itself still determines the candidate support. At each step, it first generates Top-K tools from the current task and interaction history. Pheromone then softly reweights only these candidates before the next tool is sampled. The memory therefore guides exploration but cannot introduce an action that the current policy does not place in its Top-K set. **Benchmark dependence and data isolation.** Toolathlon, TRAJECT-Bench, and TOUCAN use the same initialization, encoder, update equations, retrieval rule, confidence calculation, and progressive training schedule. We do not design a separate memory collection algorithm for each benchmark. Because their tool spaces differ, each benchmark is trained separately and maintains its own graph and memory banks. The only benchmark-specific inputs are its training tasks, MCP tools, invocation schemas, execution interface, and verified training trajectories. All graph construction and memory writing use the training split only. Validation and test trajectories do not populate the memory, and their references are never retrieved during rollout generation. At evaluation time, the trained policy, pheromone graph, and memory banks are frozen. Therefore, no test-specific trajectory or outcome is used to construct the prior. We will consolidate these details into Appendix B.4 and extend Algorithm 1 to explicitly state the empty-bank initialization, write condition, stored tuple, encoder, retrieval rule, and train-test isolation. **2. Sensitivity to memory quantity and quality (Q4)** We further evaluate the sensitivity of task-dependent memory on Toolathlon with Qwen2.5-7B. All variants use the same training split, SFT checkpoint, LoRA configuration, $M=5$, Top-K support, training steps, and rollout budget as Table 1. Each variant is trained with three independent seeds, and we report mean $\pm$ standard deviation. In Full PhGPO, each trajectory satisfying the original memory-update criterion updates the task-agnostic pheromone on its traversed edges and writes $(e_x,q_{\tau})$ into the corresponding task-dependent edge memories. In all variants below, task-agnostic pheromone remains enabled and follows the original deposition, evaporation, clipping, and quality-gating rules. We modify only the task-dependent memory mechanism. Because this memory affects subsequent sampling, the generated trajectories and resulting task-agnostic pheromone values may differ across variants, but its update rule and hyperparameters remain unchanged. For the quantity study, each eligible $(e_x,q_{\tau})$ tuple is independently retained in task-dependent memory with probability 0.25, 0.50, 0.75, or 1.00. The trajectory still updates task-agnostic pheromone normally even when its task-dependent tuple is discarded. No Task-dependent Memory disables memory writing, retrieval, and task-dependent fusion while retaining the complete task-agnostic pheromone mechanism. For the quality study, Uniform Quality applies the original insertion threshold and stores every eligible task embedding, but replaces the quality value used in task-dependent retrieval with $q_{\tau}=1$. Task-agnostic pheromone continues to use the original $q_{\tau}$, so this variant tests whether quality-aware weighting is useful beyond storing similar tasks. Relaxed Quality Gate lowers only the task-dependent memory insertion threshold from 0.7 to 0.5, allowing trajectories with $q_{\tau}\in[0.5,0.7)$ to enter the memory bank. The task-agnostic update condition remains unchanged. This setting tests whether admitting more but lower-quality task-specific evidence improves or harms retrieval. | Task-dependent memory setting | Match Ratio | TSR | |---|---:|---:| | No task-dependent memory | 22.41 ± 0.94 | 17.31 ± 1.03 | | 25% memory entries | 23.36 ± 0.97 | 18.18 ± 1.05 | | 50% memory entries | 24.13 ± 0.90 | 19.02 ± 0.96 | | 75% memory entries | 24.72 ± 0.85 | 19.64 ± 0.91 | | Uniform quality, $q_{\tau}=1$ | 23.86 ± 0.96 | 18.72 ± 1.02 | | Relaxed quality gate, $q_{\tau}\geq0.5$ | 23.21 ± 1.04 | 17.96 ± 1.10 | | Full quality-weighted memory | **25.21 ± 0.81** | **20.30 ± 0.88** | Performance degrades gradually as task-dependent memory coverage decreases. Relative to Full Memory, retaining 75\%, 50\%, and 25\% of eligible entries reduces TSR by 0.66, 1.28, and 2.12 points, respectively. Even 25\% memory remains 0.87 points above removing task-dependent memory entirely. The smaller difference between 75\% and Full Memory further suggests that the benefit begins to saturate once memory coverage becomes sufficient. The method is more sensitive to memory quality than to a moderate reduction in quantity. Retaining 50\% and 75\% of the original entries achieves TSRs of 19.02 and 19.64, whereas removing quality differentiation reduces TSR to 18.72. Lowering the insertion threshold to admit weaker trajectories reduces TSR further to 17.96, despite providing more rather than fewer task-dependent entries. This shows that raw memory size alone is insufficient: PhGPO benefits from both adequate coverage and selective quality weighting. Overall, performance degrades smoothly under reduced coverage, while lower-quality evidence causes a larger loss than retaining only 50--75\% of the original memory. We thank the reviewer again for the careful assessment. We hope these clarifications make the motivation, design, and empirical evidence clearer, and we welcome any additional feedback.