BreakingTechEN

Artificial Intelligence

ToolGrad: AI Agents Learn Better When Starting from a Verified Solution

Research presented by Google upends training data generation: first a working sequence of tools, then the query. The core issue remains verification outside the lab.

Redazione

September 11, 2026 · 13:07

Translated from the Italian original: Italiano. This English edition was produced automatically and reviewed by our newsroom tools.

Share

ToolGrad: AI Agents Learn Better When Starting from a Verified Solution
Photo: Pavel Danilyuk · Source · Pexels License

To teach an artificial intelligence how to use external tools, it might be better to start from the solution rather than the question. That is the idea behind ToolGrad, a paper presented in the ACL scientific circuit and detailed by Google Research on September 10. Its significance goes beyond setting a model's next record: it concerns the very way we build the examples from which agents learn to act.

A working sequence before the problem

As the authors describe it, many data generation systems begin by inventing a prompt and then searching for a chain of operations capable of satisfying it. This process can produce broken execution paths or require numerous attempts. ToolGrad reverses that order: it constructs and verifies a sequence of tool usage, refines it through an iterative process, and only then generates a prompt consistent with that solution.

So-called textual gradients are natural language feedback used to correct the process. They should not be confused with the numerical gradients typically used to update neural network parameters. In the paper, the authors report gains in synthetic data quality and in the performance of models trained on these examples.

The value lies in the intermediate steps

A correct answer and a correct action are not the same thing. Consider an assistant tasked with preparing a report: it must locate the right document, extract the relevant data, and use the appropriate tool. A plausible final text could easily conceal an error that occurred much earlier. A set of verified examples, by contrast, also makes it possible to inspect the path taken.

The engineering takeaway is compelling: before scaling up training data, a team should ask what errors it contains and what behavior it is reinforcing. Ten poorly executed paths do not become useful simply because they are rephrased into a thousand linguistic variants. Diversity must go hand in hand with operational validity.

The benchmark is not the real world

A crucial distinction remains. A successful chain in an evaluation environment does not guarantee that the same agent will properly handle permissions, costs, interruptions, or incomplete data in a public-facing service. Even the choice of questions derived from solutions can influence what the model learns: novel and ambiguous requests remain a separate test.

The most useful takeaway from ToolGrad, therefore, is not that agents have solved the problem of reliability. It is that data verification can become part of the design process, rather than a check tacked on at the end. For those developing automations, it means measuring operational outcomes and keeping permissions, limits, and stop controls independent of the confidence with which the AI formulates its response.

Sources