NeurIPS 2026Coming to NeurIPS in Sydney?Explore papers, orals & directions

vSFT: Learning to Verbally Tune Agents at Test Time

Qishuai Wen, Rui Chen, Haiwen Li, Zhiyuan Huang, Qiwen Gu, Bingjie Gao, Geng Li, Jing Tang, Xiangxiang Chu, Chun-Guang LiarXiv 2026

TL;DR

When an AI agent fails at a task, telling it what went wrong in the prompt often isn't enough—models tend to ignore their own notes. vSFT (verbally Supervised Fine-Tuning) fixes this by using a lightweight "hypernetwork" to instantly translate natural language critiques into actual weight updates right at test time, without needing expensive backpropagation. Instead of just training a static model, vSFT learns how to adapt a model on the fly, letting tiny agents outperform massive ones through genuine trial-and-error learning.

What Problem Does This Paper Address?

Teaching Large Language Model (LLM) agents to navigate multi-step tasks—like shopping online or tidying a virtual room—usually forces you into an uncomfortable compromise:

  1. Offline Training (SFT & RL): Supervised Fine-Tuning (SFT) imitates fixed datasets and stumbles when the agent wanders into unfamiliar states. Reinforcement Learning (RL) lets the agent learn from its own mistakes, but rewards are sparse (e.g., a lone "0" after 30 steps) and rolling out thousands of trajectories is brutally expensive—making it impractical at test time.
  2. Test-Time Prompting (Verbal RL / Reflexion): Instead of updating weights, you have the agent write down a "reflection" on why it failed and stuff that note into its context window for the next try. It's cheap and gradient-free, but it bloats the prompt over long tasks. Worse, LLMs suffer from a stubborn "knowing vs. doing" gap: even with the exact solution sitting in their prompt, they frequently fail to follow it.
Internalized reflections solve vastly more tasks over trials than in-context reflections

The authors ask: Can we get the rich, dense guidance of natural language feedback AND the reliable behavioral steering of actual weight updates—all at test time, without running backpropagation?

Comparison of agent improvement paradigms showing vSFT satisfies all four desirable properties

Methods

vSFT splits the problem into an offline meta-training phase (learning how to adapt) and a test-time closed loop (adapting on the fly).

Overview of the vSFT test-time loop

At test time, three components work in a backpropagation-free loop across up to 10 trials:

  • The Agent interacts with the environment using a remarkably clean context—just the task instruction and current history.
  • The Supervisor (either the agent itself or a stronger external model) inspects failed trajectories and writes verbal supervision: a reusable skill and a task-specific reflection, stored in a small first-in, first-out memory queue.
  • The Hypernetwork (a compact 421M-parameter model based on Doc-to-LoRA) reads the system prompt, few-shot examples, and accumulated verbal feedback, and instantly spits out a LoRA adapter—low-rank matrices added directly to the agent's MLP weights. Each trial, a fresh adapter replaces the old one, wiring the feedback directly into the agent's parameters.

How does the hypernetwork know how to translate English into neural weights? Through offline meta-training. First, the authors run standard in-context Verbal RL to collect successful trajectories where feedback was in the prompt. Then, they strip that feedback out of the agent's prompt, feed it to the hypernetwork instead, and train only the hypernetwork (via cross-entropy loss) so the LoRA-equipped agent reproduces those exact winning actions.

Offline hypernetwork meta-training pipeline

Datasets

No new benchmarks are introduced; the authors evaluate on three established testbeds:

  • ALFWorld: A text-based household environment testing long-horizon embodied instructions across seen (in-distribution) and unseen (out-of-distribution) splits.
  • WebShop: A simulated e-commerce website where agents search, filter, and buy products matching specific user criteria.
  • JSONSchemaBench: Real-world GitHub JSON schemas (Easy, Medium, Hard) used to cleanly isolate how well weight updates enforce strict structural rules compared to prompting.

Key Insights and Ideas

  • Natural language as a gradient-free optimizer: In backpropagation, a loss function computes a mathematical error signal to nudge weights. In vSFT, an LLM supervisor writes a semantic error signal in plain English, and the hypernetwork acts as a learned optimizer that converts words into weight updates.
  • API-compatible distillation: Standard On-Policy Distillation requires access to a teacher model's token probabilities—meaning closed-source APIs are off-limits and tokenizer mismatches hurt. Because vSFT communicates purely in text, any black-box API (GPT, DeepSeek, GLM) can supervise your local open-weights agent.
  • Consolidating "fast weights" into permanent skills: While vSFT generates temporary LoRAs per task, simply merging LoRAs from solved tasks into a single static adapter boosts first-try success on brand-new, unseen tasks (e.g., jumping from 65.7% to 83.6% on ALFWorld unseen)—something prompt-stuffing struggles to do.

Key Results

Using Qwen3-4B as the base agent:

  • Beats RL at a fraction of the cost: vSFT outperforms GRPO by 8.7% on ALFWorld (92.7% vs. 84.0% average success) and 4.8% on WebShop (49.0% vs. 44.2%), while using under 4% and 10% of GRPO's training rollout budget, respectively.
  • Crushes in-context reflection: vSFT beats Reflexion by 13.9% on ALFWorld and 18.2% on WebShop, solving tasks in significantly fewer steps.
  • Punching way above its weight class: Supervised by Qwen-Plus (and meta-trained on its trajectories), the tiny 4B agent hits 99.7% on ALFWorld and 62.0% on WebShop—matching or beating Qwen3.8-Max despite having under 5% as many active parameters.
  • Better rule-following: On JSONSchemaBench's Hard split, the meta-trained hypernetwork hits 86.1% JSON syntax compliance versus 67.1% for in-context prompting.

Limitations and Future Work

  • Two separate brains: Right now, the hypernetwork sits outside the agent as a separate 421M-parameter module.
  • Native self-adaptation: For future work, the authors envision unified, "native" self-improving models that directly generate their own fast weights internally—cutting out the middleman to improve both speed and accuracy.

Summary updated

Abstract

Large language model agents are increasingly improved via agentic reinforcement learning, which can be on-policy but suffers from expensive rollouts and sparse rewards, limiting its application at test time. In this paper, we present a verbally Supervised Fine-Tuning (vSFT) framework that enables the conjunction of dense feedback in natural language and weight updates at test time. Specifically, our vSFT forms a closed loop between an agent and a supervisor via a hypernetwork, in which the supervisor generates verbal supervision from the agent's failed trajectories, and the hypernetwork converts that supervision into low-rank weight updates to tune the agent. We validate that this test-time in-parameter evolving process outperforms both its in-context counterparts and prevalent reinforcement learning methods. In particular, our vSFT using Qwen3-4B outperforms GRPO and Reflexion by 8.7% and 13.9% in success rate on ALFWorld, and by 4.8% and 18.2% on WebShop, respectively. We believe that learning how to adapt a model, rather than an adapted model, offers a promising path towards more capable agents that improve themselves.
BibTeX
@misc{wen2026vsft,
  author = {Qishuai Wen and Rui Chen and Haiwen Li and Zhiyuan Huang and Qiwen Gu and Bingjie Gao and Geng Li and Jing Tang and Xiangxiang Chu and Chun-Guang Li},
  title = {{vSFT: Learning to Verbally Tune Agents at Test Time}},
  year = {2026},
  eprint = {2611.34440},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.34440},
}
Figure