Specialized Reinforcement Learning for Financial Table-Reasoning Agents

Charles Dickens10 Oct 2026

Problem

Financial teams want agents that query complex schemas, run long workflows without compounding errors and leave an audit trail. The default answer is a bigger model, which is expensive and still fails in the same ways. On Snorkel's FinQA data, frontier models invent tables and columns, flood their own context with queries such as SELECT *, and repeat a failed strategy instead of reading the error message. A narrow workflow needs tool discipline, not raw scale.

Example from the article: Qwen3 235B reached 51% pass@1 on 290 held-out questions over tables built from SEC 10-K filings.

Solution in brief

Build verified question-answer data from 10-K filings. Train a 4B model with reinforcement learning in a simulated tool-use environment, using one binary reward from an LLM judge. The 4B model reached almost 60% pass@1 for under $500, beating the 235B sibling.

Questions this case answers
  • How to make a small model match a much larger one on a narrow tool-using task when the large model fails on tool discipline rather than reasoning
  • How to build expert-verified training and evaluation data for a domain agent when no labeled question-answer sets exist
  • How to train a small model with reinforcement learning to answer questions over tables reliably and cheaply
  • How to stop an agent from hallucinating table and column names and flooding its own context with SELECT * queries

Tools and methods

  • GRPO — RL algorithm that trained Qwen3 4B on a binary reward
  • rLLM — Sky Computing Lab's RL framework: any agent framework, CLI-first, several built-in algorithms
  • ReAct loop — agent loop with tools over the generated tables
  • LLM-as-a-judge (GPT-5 nano) — reference-based correctness reward
  • Synthetic data generation (Qwen3 30B) — builds about 6,900 SQL tables and question-answer pairs from 10-K filings
  • Qwen — Qwen3 4B base model, Qwen3 235B as the comparison
Continue reading — it's free

Google or a one-time email code. No password.