AI Engineer World's Fair 2026

Small Models, Big Results: Training a Finance Agent for Under $500 — Charles Dickens, Snorkel AI

Loading slides…

Read the talk

Small Models, Big Results: Training a Finance Agent for Under $500

Charles Dickens explains how verified financial data and reinforcement learning helped a 4-billion-parameter agent outperform its 235-billion-parameter sibling—and why disciplined tool use mattered more than harder training examples or elaborate rewards.

From a talk by Charles Dickens

At a glance

Ideas worth remembering

  • On 290 held-out financial questions, the trained 4B model reached almost 60% accuracy versus 51% for its 235B sibling. The advantage is specific to this simulated financial task.

  • Schema hallucination, context flooding, and repeated failed strategies make tool discipline a concrete training target.

  • The reported training run cost about $420 for compute and $40 for judging. A binary final-answer reward outperformed the more elaborate reward designs tested.

  • Single-table training produced the greatest lift among the tested data mixtures and transferred to questions involving two to five tables, while general tool-calling performance held up.

  • Enterprise evaluations should match the intended environment complexity, autonomy horizon, and output complexity.

The financial task behind the model comparison

A financial agent can know plenty about finance and still fail at the job. It must work with the tables and APIs actually available, finish a workflow without compounding mistakes, and leave behavior that someone can audit. Charles Dickens, a research scientist at Snorkel AI, frames those requirements as the practical meaning of the question, “How well does the model or the agent reason?”

Selected presentation frame from Small Models, Big Results: Training a Finance Agent for Under $500 — Charles Dickens, Snorkel AI at 273 secondsOpen full source frame
A slide contrasts the large generalist with the small specialist and asks what financial institutions need from an agent.

Snorkel and UC Berkeley’s Sky Computing Lab tested whether specialization could meet those requirements more effectively than parameter scale. Their trained 4-billion-parameter Qwen model reached almost 60% on financial questions, compared with 51% for its 235-billion-parameter variant. This is a result in a simulated financial environment, rather than evidence that the smaller model is generally more capable.

The project sits within Snorkel’s open research and benchmarking work, alongside its work on frontier-model data and enterprise deployments. Its starting judgment is deliberately practical: a specialist that knows the forms, tools, and rules may be the right choice for a narrow workflow. As Dickens puts it, you would not call Terence Tao for a tax audit. The experiment asks whether training can give a small model that kind of operational competence.

0:123:42
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

0:12 · section reference included

Turn annual filings into questions with checkable answers

Snorkel’s FinQA data begins with SEC 10-K annual reports pulled from EDGAR. These filings supply the financial material analysts use to identify risks and inform investment decisions. A model converts that material into approximately 6,900 SQL tables; each table then supplies one generated question-answer pair.

Generation follows a question taxonomy developed with financial experts who work with these documents. That taxonomy gives the model context about the kinds of questions to produce. The generated examples also carry metadata, including lineage, table names, and columns. Those details make it possible to check whether a question refers to the data that was actually extracted.

Verification has three distinct jobs:

  • Programmatic consistency checks: Use the metadata to catch invented table or column references and check the example’s connection to its source data.
  • Independent agent reviews: Add automated review beyond the original generation step.
  • Expert manual review: Have humans assess whether the questions and answers are realistic and verified.
Selected presentation frame from Small Models, Big Results: Training a Finance Agent for Under $500 — Charles Dickens, Snorkel AI at 365 secondsOpen full source frame
A slide outlines programmatic checks, automated review, and expert review for FinQA examples.

The resulting tasks require planning, tool calling, and reasoning, but finish with a single verifiable answer. That choice matters later: training can reward a final outcome without having to assign a separate score to every intermediate action. The reported splits contain 4,000 training examples, 500 validation examples, and 290 held-out benchmark examples. Companies in the benchmark do not overlap with the other splits, so evaluation tests work on different companies rather than another question about a company already represented in training.

4:425:12
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

4:42 · section reference included

A plausible query can still derail the workflow

The benchmark exposed recurring failures even in frontier models. These failures concern how an agent uses its environment:

  • Schema hallucination: Assume a table or column exists, potentially carrying a familiar schema from pretraining into an unfamiliar database.
  • Context flooding: Issue poorly planned queries that return more information than the agent can use within its context limits.
  • Poor recovery: Repeat a failed strategy instead of using the error message to change the next attempt. Dickens reports this behavior in the 235-billion-parameter model.
Selected presentation frame from Small Models, Big Results: Training a Finance Agent for Under $500 — Charles Dickens, Snorkel AI at 456 secondsOpen full source frame
A slide lists schema hallucination and context flooding among the agent discipline gaps.

Consider the talk’s concrete example: SELECT *. The query asks for all columns, so a tool response can fill the agent’s context with material that was never selected for relevance to the question. The causal problem starts before the final calculation: a broad retrieval produces an oversized observation, and that observation consumes the space needed to continue the task. Better query planning would control what comes back. The training results later show an overall improvement in answering questions; they do not isolate a measured before-and-after change for this particular query behavior.

Error recovery creates another opportunity to learn from the environment. An error message can tell the agent that its chosen operation will not work; repeating the same strategy wastes that information. Dickens also reports seeing these kinds of failures in insurance underwriting. That recurrence motivates training for reliable tool use rather than treating every failure as a shortage of financial knowledge.

7:087:39
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

7:08 · section reference included

Reward the answer produced by the whole tool-use loop

The team used rLLM, developed by its Sky Computing Lab collaborators, to train the agent. Dickens describes a CLI-first framework that connects to existing agent frameworks through a decorator pattern with very little code change. It supports multiple reinforcement-learning algorithms and training backends; this experiment uses GRPO.

Inside the training environment, the agent runs a ReAct loop: it reasons about what to do, calls a tool to interact with the generated tables, receives the result, and continues toward an answer. The environment contains roughly 7,000 tables. A language-model judge compares the final answer with a reference and supplies a binary correctness reward. The reward therefore evaluates the result of a trajectory, rather than separately paying the agent for accessing a table or completing a query.

Where does feedback enter this system? The diagram separates two kinds of feedback: tool responses guide the next action within an attempt, while the reference-based correctness reward guides training across attempts. That distinction explains how a simple final score can train a workflow containing several decisions.

The base model is Qwen3 4B. Roughly 1,000 concurrent environments generated training trajectories, with training run on eight H100s. The reported cost was about $420 for compute and $40 for the judge API, keeping the run below $500. Those figures describe the training compute and judging costs; they do not establish an all-in cost for building and reviewing the financial dataset.

On the 290 expert-curated held-out examples, the trained model’s accuracy more than doubled relative to its base model. Its almost-60% result exceeded the 235-billion-parameter model’s 51%. The observable change is substantial, but the remaining errors matter too: the successful specialist still answers only about six in ten questions correctly in this evaluation.

Tool feedback within an attempt, reward across attempts

Qwen3 4B agentRuns a ReAct loop to choose actions and produce an answer.
Tools and financial tablesTools give access to roughly 7,000 generated tables.
Final answerThe trajectory ends with an answer that can be compared with a reference.
Reference-based judgeAssigns a binary correctness reward.
GRPO trainingUses trajectories and binary rewards to train the model.
The agent interacts with tables through tools. Final-answer correctness supplies the binary reward used by GRPO.
Read the diagram as text
  • Qwen3 4B agent. Runs a ReAct loop to choose actions and produce an answer.
  • Tools and financial tables. Tools give access to roughly 7,000 generated tables.
  • Final answer. The trajectory ends with an answer that can be compared with a reference.
  • Reference-based judge. Assigns a binary correctness reward.
  • GRPO training. Uses trajectories and binary rewards to train the model.
  • Qwen3 4B agent → Tools and financial tables: Tool calls.
  • Tools and financial tables → Qwen3 4B agent: Observations and errors inform subsequent actions.
  • Qwen3 4B agent → Final answer: Complete the attempt.
  • Final answer → Reference-based judge: Compare with the reference.
  • Reference-based judge → GRPO training: Binary reward.
  • GRPO training → Qwen3 4B agent: Train the model.
8:098:38
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

8:09 · section reference included

Single-table training helped with multi-table questions

The first benchmark asks one question about one table. A harder extension, FinQA reasoning data, introduces dependencies across two to five tables and requires sequential decisions and planning. Its reported splits contain roughly 1,000 training examples, 120 validation examples, and 80 benchmark examples.

Selected presentation frame from Small Models, Big Results: Training a Finance Agent for Under $500 — Charles Dickens, Snorkel AI at 669 secondsOpen full source frame
A slide introduces FinQA reasoning data with questions, answers, and dataset splits.

Training on the simpler single-table data improved performance on this multi-table benchmark without explicit multi-table training. The useful interpretation is compositional: a model that becomes more reliable at using a table can apply those skills repeatedly when a question requires several tables. This transfer result makes the original tool-discipline diagnosis more plausible, because the benefit survives an increase in planning demands.

Specialization also raised a different concern: would finance training damage general tool-calling ability? On BFCL, a benchmark for general tool calling, overall accuracy slightly improved, with minor gains in multi-turn and memory categories. For this model and evaluation, reinforcement-learning fine-tuning preserved broader tool-use competence rather than sacrificing it for the financial task.

10:5711:26
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

10:57 · section reference included

Harder examples and richer rewards did not win

The data ablation compared three ways to train:

  • Single-table FinQA only: Concentrate on the simpler tasks.
  • A single- and multi-table mixture: Include both kinds of questions during training.
  • A curriculum: Start with single-table questions, then move to multi-table questions.
Selected presentation frame from Small Models, Big Results: Training a Finance Agent for Under $500 — Charles Dickens, Snorkel AI at 760 secondsOpen full source frame
A slide compares single-table training with mixed and curriculum data approaches.

The simpler dataset produced the most lift. Dickens interprets this as evidence that reasoning depth was not the main bottleneck in this experiment. The model first needed to become reliable at the fundamentals of tool use; once those improved, it could compose them into longer solutions. Adding harder examples did not beat addressing the failures already visible in the easier tasks.

Reward design tested a separate idea. Perhaps an agent would learn faster if it received credit for intermediate behavior, such as table access or query completeness. The most elaborate variant used an expert-developed rubric with multiple weighted components. That creates a more detailed definition of a good trajectory, but also requires decisions about which behaviors deserve credit and how much each should count.

Again, the simplest version won: a single binary correctness reward produced the greatest lift on this data. The result supports starting with the task’s verifiable outcome before investing in a complicated reward rubric. It does not make intermediate rewards useless everywhere; here, the additional reward engineering did not outperform pass or fail.

12:3513:05
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

12:35 · section reference included

Evaluate the environment, the workflow length, and the output

The enterprise blueprint starts with data that represents the target tasks and outcomes, then uses reinforcement learning to improve a small model within that setting. Dickens connects this approach to better deployment economics and reports related results in healthcare, law, and insurance. The concrete finance experiment supplies the detailed example: verified questions, an interactive table environment, a checkable final answer, and a training objective that improves completion.

Reliable evaluation must then grow beyond a short question with one final answer. Dickens proposes three axes:

  • Environment complexity: Test how realistic, complex, and dynamic the agent’s working environment is. A tidy task does not exercise all the difficulties of an enterprise stack.
  • Autonomy horizon: Evaluate the lengths of workflows people actually intend to delegate, including whether the agent makes safe, useful decisions on its own and improves its judgment as a copilot over time.
  • Output complexity: Cover the range of outputs produced in day-to-day work. Dickens sees rigorous evaluation beyond the prevailing focus on text artifacts as an underexplored opportunity.
Selected presentation frame from Small Models, Big Results: Training a Finance Agent for Under $500 — Charles Dickens, Snorkel AI at 912 secondsOpen full source frame
A slide presents three axes for evaluating agents: environment, autonomy horizon, and output.

Those axes expose the next challenge for the specialist. Answering a verifiable financial question is a useful training target, but dependable enterprise work also requires handling changing environments, longer sequences of decisions, and richer deliverables. The benchmark should expand along the dimensions that the intended deployment actually demands.

Snorkel’s Open Benchmarks grants funded this project as part of a multimillion-dollar commitment to open benchmarks. The program’s described path runs from submission and selection through development, publication, launch, and promotion. The talk closes by pointing readers toward the released training scripts, synthetic data, and model artifacts—a practical invitation to build on the experiment and to create evaluations that test the next set of real workflows.

9:1013:48
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

13:48 · section reference included

Resources

Transcript download
Full transcript

Loading transcript…