Thank you for recognizing the effectiveness of our method, the comprehensive experiments we conducted, and the clarity in the method description.
**W3: AWM sensitivity to example order**
It’s a good observation that example ordering may affect the AWM agent performance. We can test the effect of example ordering on the Mind2Web dataset (cross-task split) using AWM online approach. Specifically, we compare original order, random shuffling, ordering from easiest to hardest, and ordering from the hardest to the easiest (the more steps in the ground-truth trajectory, the harder the task).
Results are shown in the table below.
| Method | Element Acc. | Action F1 | Step SR | SR |
| -- | -- | -- | -- | -- |
| Mind2Act (baseline) | 41.6 | 60.6 | 36.2 | 2.8 |
| Original Ordering | 50.6 | 57.3 | 45.1 | 4.8 |
| Random Shuffle | 49.4 | 57.9 | 45.9 | 4.0 |
| Easy-to-Hard | 49.8 | 57.8 | 45.7 | 4.0 |
| Hard-to-Easy | 48.5 | 59.0 | 45.6 | 4.2 |
First of all, AWM using any example ordering still substantially outperforms the MindAct baseline.
Moreover, the ordering of examples does not significantly affect the performance of our AWM approach, where all four example ordering achieves similar success rates. Coupled with a careful analysis of the derived workflows, we found that our design of “sub-task level” workflow contributes to AWM’s robustness to example ordering — regardless of the complexity of the task, our method can induce useable workflow.
However, for the WebArena dataset we experimented on, the examples are intentionally ordered in a specific ordering to maintain the validity of the browser environment. Therefore, we could not change the orders arbitrarily to examine this effect.
**W4: “# steps” is unclear**
We argue that “# steps” is more informative than “# tokens” in agentic settings, where each step represents an agent action such as “click(12)”; where tokens may mislead this number, e.g., a step “click(12)” and a step “send_msg_to_user(“The highest score is 98”)” takes roughly same amount of time and same number of LM calls; however, if presented by tokens, “click(12)” has four tokens [click, (, 12, )] and “send_msg_to_user(“The highest score is 98”)” has 13 tokens [send, _msg, _to, _user, (, “, The, highest, score, is, 98, “, )], which misleadingly shows a big difference.
Moreover, the number of actions/steps is a commonly adopted metric in agent works, e.g., SteP [1].
W5: Explain “wrapping each workflow into a high-level function”
We provide concrete examples for wrapping workflows into high-level functions in line 480–482, where we rewrite the textual workflows to executable functions, and the step in textual workflows turns to lines of programs in the high-level function. More concretely, given a textual workflow:
```
Workflow: login to the website
# I will first click the username box to input
click(box1-id)
# next, type in the username
type(box1-id, username)
# after finishing the username, I will now click the password textbox
click(box2-id)
# then, input the password
type(box2-id, password)
# lastly, click the submit button to initiate the login process
click(submit-id)
```
We turn it into a high-level function:
```python
def login_to_website(username, password, box1-id, box2-id):
click(box1-id)
type(box1-id, username)
click(box2-id)
type(box2-id, password)
click(submit-id)
```
**Q1: Explaining high gains on Maps Website**
In short, compared to the other websites, the tasks on Maps website are relatively simple and similar to each other, thus benefiting more from our workflow reuse strategy.
We provide a detailed illustration of the agent learning process on the Maps website in Figure 1, where all marked workflows and accumulative success rates are accurately depicted. As we stated in section 3.1.3, validated with quantitative experiment results in Table 2, and illustrated the major pattern of AWM in Figure 6, our AWM-equipped agent learns increasingly complex workflows built on top of earlier, easier ones, thus being able to solve more and harder problems over time, leading to higher results than baselines. We do not modify our method in any way particularly for the Maps website.
**W1: Refine Figure 4**
Thank you for pointing this out. To possibly improve the figure, we could (1) add arrows to indicate example ordering and streaming, (2) use icon to highlight the “induce” part. Free feel to provide more suggestions and we are happy to incorporate them.
**W2: Causing WebArena data leakage**
AWM does not leak WebArena data. As we highlighted in Section 1, 2, and Figure 4, our method **only requires test queries**, and never uses ground-truth trajectories nor evaluations. Since our AWM agent never has access to any potential “answers”, we believe our method will not cause WebArena data leakage.
[1] Sodhi, Paloma, et al. "Step: Stacked llm policies for web actions." First Conference on Language Modeling. 2024.