Small Models, Big Results: Training a Finance Agent for Under $500 — Charles Dickens, Snorkel AI
- Source
- youtube.com
- Author
- AI Engineer
- Date
In an AI Engineer talk, Snorkel AI described training a small finance agent with Berkeley's Sky Lab. The base was a 4B Qwen3 model, trained with reinforcement learning on questions over SEC filings, and the total cost was under $500. The trained agent outscored the 235B model on the task. The talk is useful for its failure analysis as much as its result. Early agents hallucinated database schemas and flooded their own context with tool output, and the fix was teaching disciplined tool use rather than deeper reasoning. Snorkel also explains why simple binary rewards were enough for this setup. The takeaway for builders is that a narrow, tool-heavy domain task may not need a frontier model at inference time if a modest RL budget can teach a small model to query carefully and keep its context clean.
Context
In one reported case, a small model trained for a specialized task outperformed a much larger relative. Snorkel AI's finance-agent write-up says a fine-tuned Qwen3 model with four billion parameters beat a 235-billion-parameter Qwen3 model on Snorkel's expert-curated financial benchmarks.
concentrated on using tools reliably: exploring tables before querying them, validating data before proceeding, and retrying on failure rather than giving up. The authors report that training on simple single-table questions also generalized to more complex financial tasks. They the team kept training cost under $500 per run. The result supports investigating targeted tool-use training when errors come from handling data, but it is a vendor-reported result on its own benchmarks and does not show that model size never matters.
- Snorkel and UC Berkeley's Sky Computing Lab built FinQA from SEC 10-K filings, a financial question-answering dataset with expert-validated answers and three layers of verification.
- On FinQA, even frontier models hallucinated table schemas, flooded their own , and repeated strategies that had already failed.
- They trained Qwen3 4B with reinforcement learning in the open-source rLLM framework using a simple pass/fail reward, for under $500. It reached about 60% versus 51% for the 235B model and is published as rLLM-FinQA-4B.
- The skills transferred to harder multi-table questions without hurting general , and simpler training data and binary rewards worked better than fancier setups.
- Training — The process that adjusts a model using examples and a measure of how well it performs.
- State — Information describing a system at a particular moment, such as its current text, settings or saved records.
- Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
- tool use — A model's ability to call external functions — run code, search the web, edit files — instead of only generating text.
video12 Rules for a Software Factory That Doesn't Ship Slop — Dex Horthy, Factory
videoBuild the Workshop Before the Software Factory — Armin Ronacher, Earendil
videoWhat Runs Where? Local AI in Production — Ahmad Osman, Osmantic
videoHow to build an agent that builds the culture — Zach Bruggeman, Ramp
Checking sign-in…
Loading comments…


