Expert judgment in the reward function beats scaffolds on text-to-SQL
- Source
- x.com
- Date
Cleaning data and aligning the reward function for RLVR takes expertise and effort upfront, but the result is a model that's state-of-the-art on a complex task. Guest post by researchers at UIUC and Bridgewater, in collaboration with our team. https://t.co/1UHTXFcZnW https://t.co/ezB1anl4KC
Context
A database query can return the expected answer for the wrong reason. In a guest post by researchers at UIUC and Bridgewater, published by Thinking Machines, a generated query averaged the prices of individual line items instead of whole-order totals, yet matched the reference result because each order happened to contain a single line item. Rewarding such answers teaches a model unreliable SQL, the language used to query databases. The researchers corrected training examples and added a solver-based check for whether two queries are truly equivalent, plus a check that the query follows the background information supplied with the question. Their report explains the reward changes.
The resulting model scored 91.37% on the cleaned Arcwise-Plat-SQL with one generated answer. Voting across 16 candidates raised that to 92.97%. The useful finding is that expertise can improve what training rewards, rather than only adding more steps around an unchanged model. Results.
- eval — A repeatable test for AI quality — a set of tasks plus scoring — used the way software teams use test suites, because model output is too variable to judge by eyeballing.
Checking sign-in…
Loading comments…





