Using RL to Make a 4B Parameter Model Outperform a 235B Parameter Model on Financial Analysis Tool Use

snorkel · Finance · 2026 · source Agentic: yes · promotional bias: med · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Financial analysis tool-use model training

Snorkel and UC Berkeley needed to improve enterprise financial-analysis tool use without defaulting to much larger, more expensive reasoning models.

Constraints:

Architecture

Snorkel and Berkeley built a financial tool-use training loop around expert-curated data, a self-contained FinQA environment, and GRPO reinforcement learning. Experts create answerable financial-analysis tasks, FinQA exposes table-discovery, schema-inspection, and SQL tools, rubrics evaluate behavior, and a 4B base model is trained for 21 hours under $500 to inspect tools, query schemas, recover from SQL errors, and outperform a 235B reasoning model on pass-at-one.

Diagram confidence: explicit (topology described by the source).

flowchart LR
  expert-curated-task-dataset["Expert-curated task dataset"] --> finqa-environment["FinQA environment"]
  expert-curated-task-dataset --> grpo-training-loop["GRPO training loop"]
  finqa-environment --> tool-interface["Tool interface"]
  tool-interface --> four-billion-parameter-model["Four billion parameter model"]
  four-billion-parameter-model --> grpo-training-loop
  grpo-training-loop --> evaluation-benchmarks["Evaluation benchmarks"]
  finqa-environment --> evaluation-benchmarks
  baseline-reasoning-model["Baseline reasoning model"] --> evaluation-benchmarks
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Expert-curated task dataset Provides verified financial analysis tasks with answerable queries and correct answers. FinQA environment, GRPO training loop
FinQA environment Self-contained financial-analysis environment with tables and tools. Expert-curated task dataset, Tool interface, Evaluation benchmarks
Tool interface Lets models discover tables, inspect schemas, and execute SQL queries. FinQA environment, Four billion parameter model
Four billion parameter model Learns disciplined financial tool use through reinforcement learning. Tool interface, GRPO training loop
GRPO training loop Optimizes tool-use behavior with reward from task outcomes. Expert-curated task dataset, Four billion parameter model, Evaluation benchmarks
Evaluation benchmarks Measure pass-at-one performance on standard and multi-table financial tasks. FinQA environment, GRPO training loop, Baseline reasoning model
Baseline reasoning model 235B quantized reasoning model used for comparison. Evaluation benchmarks

Data flow

Domain experts create verified financial-analysis tasks with known answers. The FinQA environment packages tables and tools for discovering available data, inspecting schema, and executing SQL. A 4B model interacts with the environment during GRPO training, receives reward from task outcomes, learns tool-discipline behaviors, and is evaluated on standard and harder reasoning benchmarks against larger model baselines.

3 supporting quotes
“The research team's approach centered on three key components: generating a high-quality expert-curated dataset, building a specialized evaluation environment, and applying reinforcement learning”summary, stated
“The FinQA environment provides a specific set of tools that models can interact with, including capabilities to discover available tables, inspect schemas, and execute SQL queries.”summary, stated
“For the actual training, the team used GRPO reinforcement learning starting with a 4 billion parameter base model.”summary, stated

Why this architecture

The team optimized a small model because the observed failure was tool discipline, not raw reasoning capacity. A self-contained environment and expert-verified tasks let reinforcement learning reward the behaviors that production systems need: inspect tools, inspect schemas, query correctly, observe errors, and self-correct.

3 supporting quotes
“The key insight was that the failure mode wasn't reasoning capability but rather tool discipline”summary, stated
“It first called the get_table_names tool to discover what tables were available.”summary, stated
“When it initially made a query that resulted in an error—requesting a "revenue" column that didn't exist—the model observed the error and self-corrected”summary, stated

Models used: 4B base model · 235B quantized reasoning model · GRPO reinforcement learning · FinQA · FinQA Reasoning

Scale

Alternatives considered (roads not taken)

Deploy a larger reasoning model

Rejected because: The 235B model still lacked tool discipline and hallucinated after failed queries.

“the 235 billion parameter model attempted to query a non-existent table without first inspecting what tables were available in the environment.”summary, stated
“Having received no data from either attempt, the model then hallucinated an answer”summary, stated

Train only on multi-table reasoning complexity

Rejected because: Single-table training generalized surprisingly well by teaching tool discipline.

“Surprisingly, training exclusively on single-table questions yielded the best overall performance.”summary, stated
“this single-table training regime produced similar performance improvements on the harder FinQA Reasoning benchmark containing multi-table questions.”summary, stated

Use an externally dependent evaluation environment

Rejected because: Financial deployments may need on-premise, data-sovereign evaluation with no remote dependencies.

“This environment is fully self-contained with no external dependencies, allowing it to be deployed anywhere without concerns about remote data access”summary, stated

Patterns

fine-tuning-adaptation (model training)

A 4B model was adapted with GRPO reinforcement learning for financial tool-use behavior.

“For the actual training, the team used GRPO reinforcement learning starting with a 4 billion parameter base model.”summary, stated

tool-use-orchestration (tool discipline)

The model learned to discover tables, inspect schemas, execute SQL, observe errors, and self-correct.

“properly discover, inspect, and utilize available tools, and to self-correct when errors occurred.”summary, stated

eval-driven-development (training data)

Expert-verified tasks, benchmarks, and rubrics guide training and diagnosis of model behavior.

“The dataset generation process leveraged Snorkel's platform for working with domain experts. They engaged financial analysis experts to create tasks and questions appropriate to the domain.”summary, stated
“breaking down model responses into multiple dimensions through rubrics enables teams to identify specific areas needing improvement.”summary, stated

cost-aware-routing (model deployment)

The work shows that a smaller specialized model can beat a much larger model for a constrained tool-use task at lower serving cost.

“smaller models directly impacts deployment feasibility—a 4 billion parameter model can run on less expensive hardware, with lower latency, and with reduced infrastructure costs”summary, stated

structured-output-contract (environment design)

The self-contained environment exposes a fixed tool contract for table discovery, schema inspection, and SQL execution.

“The FinQA environment provides a specific set of tools that models can interact with, including capabilities to discover available tables, inspect schemas, and execute SQL queries.”summary, stated

Tradeoffs

Optimize behavior instead of scale

Chose Train a 4B model with RL over Use a 235B reasoning model.

Rationale: The bottleneck was systematic tool interaction, not general reasoning capacity.

“More importantly, it outperformed the 235 billion parameter reasoning model on these financial analysis tasks, demonstrating that the right training approach matters more than raw model scale for specific use cases.”summary, stated

Single-table training curriculum

Chose Train on single-table questions over Mix or progressively introduce multi-table questions.

Rationale: Single-table training best taught transferable tool discipline.

“The team tested three approaches: training only on single-table questions, training on a mix of single-table and multi-table questions, and curriculum learning”summary, stated
“Surprisingly, training exclusively on single-table questions yielded the best overall performance. Even more remarkably, this single-table training regime produced similar performance improvements on the harder FinQA Reasoning benchmark containing multi-table questions.”summary, stated

Self-contained financial environment

Chose Package tools and data without external dependencies over Depend on remote services during evaluation.

Rationale: This supports reproducibility, on-prem deployment, and data sovereignty.

“For financial services and healthcare applications, the ability to deploy entirely on-premise without external dependencies can be a hard requirement.”summary, stated

Gotchas (what bit them)

Bigger reasoning models can fail from poor tool discipline.

Root cause: The 235B baseline guessed table names, retried guesses, and hallucinated instead of inspecting the environment.

Resolution: RL trained the smaller model to inspect tools, query schemas, and self-correct after errors.

“the 235 billion parameter model attempted to query a non-existent table without first inspecting what tables were available in the environment.”summary, stated
“This behavior represents a critical failure mode for production systems: unreliable tool use leading to confident but incorrect outputs.”summary, stated

Training-cost claims can omit expert-data costs.

Root cause: The reported under-$500 figure covers training, not the preceding expert curation.

Resolution: Teams should budget for data generation as well as compute.

“The $500 figure covers training but not the preceding data work.”summary, stated

A self-contained benchmark may understate messy integration complexity.

Root cause: Real financial systems often require external APIs, legacy systems, and longer tool chains.

Resolution: Treat FinQA results as strong evidence for structured-tool tasks, not a blanket proof for all production finance workflows.

“The environment's self-contained nature is a strength for deployment but might not reflect the complexity of production financial analysis systems”summary, stated

Evaluation

The team evaluated pass-at-one performance on FinQA and FinQA Reasoning, compared the fine-tuned 4B model with a 235B baseline, and used rubrics to diagnose tool-use behaviors.

Metrics: Pass-at-one performance · FinQA 290-sample benchmark · FinQA Reasoning 79-sample benchmark · 13.9% to 26.6% FinQA Reasoning improvement · Under-$500, 21-hour GRPO run

“The fine-tuned 4 billion parameter model achieved essentially double the pass-at-one performance compared to its pre-training baseline”summary, stated
“Performance on that benchmark jumped from 13.9% to 26.6%—again roughly a doubling.”summary, stated

Outcomes

The headline comparison is a 4B specialized model beating a 235B quantized reasoning baseline after a 21-hour GRPO run costing under $500.

“More importantly, it outperformed the 235 billion parameter reasoning model on these financial analysis tasks, demonstrating that the right training approach matters more than raw model scale for specific use cases.”summary, stated
“This accessibility means enterprises don't need to accept poor performance from smaller models or automatically escalate to larger, more expensive alternatives.”summary, stated