Fine-tuning TechniquesRobotics and Embodied AINov 23, 2026

Self-Upgrading Embodied Agents

This paper shows that an embodied agent can use its own experience to make and test a targeted change to its weights, improving task completion while avoiding the cost of extra tools or inference-time steps.

Jiajun Fan, Neil He, Qinglong Zheng, Changyi Yang

Read on arXivPDF

What is new

A test-and-revert loop for self-editing agent weights

The agent reviews its interaction history to identify a recurring failure, uses contrasts in its hidden states to define a small weight edit, and tests edited and unchanged versions on paired practice tasks. It keeps the edit only if a separate reserved confirmation set supports reduced failure without a clear loss in task completion; otherwise, it restores the previous weights. This offers a way to improve behavior between work periods without an optimizer, external model, or added computation on each action.

What the paper found

  • This paper presents a “self-upgrading” agent that uses its own experience to identify a recurring mistake, make a small change to its model weights between work periods, and keep the change only if its own tests support it. Unlike approaches that add reflection to every action, this method aims to improve the policy without increasing the cost of each action.
  • To reduce the risk of harmful or overfitted changes, the agent compares edited and unchanged versions on the same tasks and random seeds, then checks a promising edit on separate practice tasks it did not use to choose the edit. If that confirmation test fails, the agent discards the change; evaluation tasks remain off-limits during this process.
  • In the ALFWorld household task environment, the 27B agent found that it often used its limited reply length to deliberate without producing an action. It traced this behavior to a direction in its internal representations and made a rank-one weight change to one part of the model—rather than retraining the whole network.
  • On held-out tasks, the edit raised completion from 41.6% to 45.2%, while reducing steps without an action from 45.9% to 39.5%. It also lowered tokens used per episode, and the improvement appeared in rooms the agent had not encountered during practice.
  • The result is a proof of concept, not yet evidence that the approach works broadly: only the 27B model completed the process and kept an edit, while smaller models could not find or confirm a useful one. Across four sessions, unsuccessful edits were withdrawn; the successful session took 7.7 hours, and further testing is needed across models, environments, and longer periods.

How to use this

Use conservative self-improvement when an agent has measurable recurring failures

In ALFWorld, the 27B model retained one edit that raised held-out task completion by 3.6 percentage points and reduced wasted steps and token use; smaller 2B, 4B, and 9B variants did not complete the process successfully. The result supports testing this approach for capable agents with repeatable failure metrics, but does not establish that it will work across models or environments.

Read the longer summary

<p>“Self-Upgrading Embodied Agents” asks whether an acting AI can use its own experience to change its weights, instead of relying on extra reflection or tools each time it acts. After a work period, the agent reviews episodes to identify a recurring failure, compares its internal states to find a direction associated with that failure, and proposes a weight edit. It compares edited and unchanged versions on the same practice tasks and random seeds, then checks a promising edit on reserved practice tasks that were not used to select it. The edit is kept only if this final check shows a clear reduction in the targeted failure without a clear decline in task completion; otherwise, the original weights remain. The process uses the agent’s own forward passes, without gradients, an optimizer, a reward model, or a second model. In ALFWorld, a text-based household task environment, the 27B Qwen3.5 agent found that it often used its 512-token reply limit deliberating without producing an action. It compared internal states from concise and cut-off replies, then made a rank-one update—a change along one direction—to the output projection in layer 16, editing one of the model’s 1,184 tensors. Because cut-off text could make later replies more likely to be cut off as well, reducing this behavior addressed a recurring source of wasted steps.</p><p>On held-out tasks with 48 fresh seeds per task, the edited agent’s completion rate rose from 41.6% to 45.2%, while the share of steps without an action fell from 45.9% to 39.5%. It also used fewer tokens per episode (13.9k versus 15.1k) and fewer steps on average (37.2 versus 38.5). Gains extended to rooms absent from practice, where completion rose from 37.8% to 42.2%; the overall improvement was 3.6 percentage points, with a reported 95% interval of +1.9 to +5.2. The recovered steps went toward actions such as moving and handling objects, rather than simply ending episodes sooner. Across four sessions, one edit was retained and other candidates were withdrawn or not retained, so failed changes did not accumulate. The successful session took 7.7 hours on the GPU used to serve the agent—a one-time cost, rather than extra computation on each action. Smaller 2B, 4B, and 9B models did not retain an edit: they struggled to gather useful test results, found edits harmful, or ran out of turns before testing. The findings are a proof of concept for conservative, testable self-editing, but the evidence is limited to one successful 27B model in one environment; whether the approach works elsewhere or enables sustained improvement over longer periods remains open.</p>

Key results

Full paper