Trendoday

Single-Database Rewards Are Hackable: Counterfactual Execution for Trustworthy Text-to-SQL RL

Reinforcement learning (RL) for text-to-SQL agents pays a query when its result matches the reference on one database. However, a wrong query can match by luck when the data lack the rows that expose

  • Upvotes3
#24Rank now –
#21Peak rank
3Days on list
144Score · 7d
Nov 26, 2026First seen
Rank · 7 days

About this paper

A counterfactual-database reward for reinforcement learning text-to-SQL agents reduces full payment to buggy queries and reward hacks, though training with its mean form did not improve in-domain accuracy in a controlled GRPO comparison.

Reinforcement learning (RL) for text-to-SQL agents pays a query when its result matches the reference on one database. However, a wrong query can match by luck when the data lack the rows that expose its bug. We study a counterfactual-database (CF) reward that also runs the final query on a few hidden, code-generated copies of the database and pays only if all results match (strict form) or by the share matched (mean form). On 1,302 synthetic audit questions, the strict form lowers the share of buggy queries paid in full from 29.5% to 16.8% and of reward hacks from 54.1% to 1.9%, rejecting 0 of 2,847 correct queries; copies from a family-blind generator do about as well. In a controlled…

reinforcement learningtext-to-SQL agentscounterfactual-database rewardstrict formmean formreward hacksGRPOrolloutsin-domain accuracyfamily-blind generator
Upvotes
3
Authors
3
Published
Nov 25, 2026

Summary and abstract excerpt via Hugging Face Papers ↗ · arXiv.

Trending history

Single-Database Rewards Are Hackable: Counterfactual Execution for Trustworthy Text-to-SQL RL was first seen on Hugging Face · Daily papers on Nov 26, 2026. Since then it has appeared in 24 checks on 3 different days. Its best position was #21 of 30, reached on Nov 27, 11:29 UTC. It is #24 right now, slipping from #22 to #24 over the last 6 checks.

Rank history

Position on Hugging Face · Daily papers at every check (lower is better).

#1#11#20#30 17:2904:5916:2903:5915:29 Nov 26, 17:29 UTC · #26Nov 26, 19:29 UTC · #25Nov 26, 21:29 UTC · #25Nov 26, 23:29 UTC · #24Nov 27, 01:29 UTC · #22Nov 27, 03:29 UTC · #22Nov 27, 05:29 UTC · #23Nov 27, 07:29 UTC · #22Nov 27, 09:29 UTC · #22Nov 27, 11:29 UTC · #21Nov 27, 13:29 UTC · #22Nov 27, 15:29 UTC · #22Nov 27, 17:29 UTC · #23Nov 27, 19:29 UTC · #23Nov 27, 21:29 UTC · #22Nov 27, 23:29 UTC · #22Nov 28, 01:29 UTC · #22Nov 28, 03:29 UTC · #22Nov 28, 05:29 UTC · #22Nov 28, 07:29 UTC · #22Nov 28, 09:29 UTC · #24Nov 28, 11:29 UTC · #24Nov 28, 13:29 UTC · #24Nov 28, 15:29 UTC · #24

Last 14 days

Best rank per day (UTC).

Nov 15today

Metric history

▲ as reported by Hugging Face.

0134 17:2904:5916:2903:5915:29 Nov 26, 17:29 UTC · 3Nov 26, 19:29 UTC · 4Nov 26, 21:29 UTC · 4Nov 26, 23:29 UTC · 4Nov 27, 01:29 UTC · 4Nov 27, 03:29 UTC · 4Nov 27, 05:29 UTC · 4Nov 27, 07:29 UTC · 4Nov 27, 09:29 UTC · 4Nov 27, 11:29 UTC · 4Nov 27, 13:29 UTC · 4Nov 27, 15:29 UTC · 4Nov 27, 17:29 UTC · 4Nov 27, 19:29 UTC · 4Nov 27, 21:29 UTC · 4Nov 27, 23:29 UTC · 4Nov 28, 01:29 UTC · 4Nov 28, 03:29 UTC · 4Nov 28, 05:29 UTC · 4Nov 28, 07:29 UTC · 4Nov 28, 09:29 UTC · 4Nov 28, 11:29 UTC · 4Nov 28, 13:29 UTC · 4Nov 28, 15:29 UTC · 4

Questions

Is Single-Database Rewards Are Hackable: Counterfactual Execution for Trustworthy Text-to-SQL RL trending on HF Daily Papers right now?

Yes. As of Nov 28, 15:29 UTC it is #24, slipping from #22 to #24 over the last 6 checks.

What is the highest rank Single-Database Rewards Are Hackable: Counterfactual Execution for Trustworthy Text-to-SQL RL reached?

#21 on Hugging Face · Daily papers, on Nov 27, 11:29 UTC. Trendoday checks this list every 120 minutes.

How long has Single-Database Rewards Are Hackable: Counterfactual Execution for Trustworthy Text-to-SQL RL been trending?

It was first seen on Nov 26, 2026 and has been on the list on 3 days (24 checks) since.