- No: fine-tuning raised Ministral 3 3B's API-Bank tool-call accuracy from 62.0% to 72.4%, while GRPO lowered it to 58.3%.
- In 78% of GRPO's practice groups, all eight attempts at a prompt scored the same, which gives GRPO no gradient to learn from.
- Practicing only on prompts the model sometimes solved let GRPO match fine-tuning on BFCL (79.0% vs 78.9%), but not on API-Bank.
- Biggest caveat: my GRPO recipe was light (small adapters, one pass). Qwen2.5-3B, which the paper used, also favored fine-tuning under it.
A recent paper, ToolRL (Qian et al., 2025), found that reinforcement learning teaches small models to call tools better than fine-tuning on the right answers does. That is a useful claim if it holds: reinforcement learning needs only a way to score answers, not a set of perfect ones. I wanted to know whether it holds for Mistral's smallest open model, Ministral 3 3B. To find out, I built the whole post-training pipeline: data conversion, a tested reward, fine-tuning and reinforcement learning on rented A100 GPUs, and evaluation on two public benchmarks. Then I trained the model both ways, three times each, and read the training logs to see why the results came out the way they did.
The setup: one task, two ways to train, two benchmarks
The task is single-turn tool calling. The model gets a user request and a list of tools, each described by a JSON schema, and must either call the right tool with the right arguments or answer in plain text when no tool fits. I trained Ministral 3 3B Instruct two ways on the same 3,276 examples, ToolRL's training mix drawn from three public tool-calling datasets (ToolACE, xLAM and Hammer):
- Supervised fine-tuning (SFT) shows the model the reference answer for each prompt and trains it to reproduce it.
- GRPO (group relative policy optimization, a widely used reinforcement learning method for language models) has the model write eight answers per prompt, which I call a group. A reward function scores each answer, and each answer's push is its reward minus the group's average, scaled by the group's spread (standard deviation). When all eight rewards are equal there is no spread, and every push is zero.
The reward, ported from ToolRL, adds a format score (1 if the output is a well-formed tool call, else 0) to a correctness score from −3 to 3 for the right tool names, argument names and values, so it runs from −3 to 4. Both methods train small adapter weights on top of the frozen model (LoRA): SFT for two passes over the data, GRPO for one. A third variant runs GRPO starting from the SFT model.
I measure on two benchmarks. BFCL, the Berkeley Function Calling Leaderboard (version 4), has 3,641 single-turn items, including ones where the right move is to call nothing. API-Bank has 597 items from realistic dialogues and is the closest like-for-like comparison with the paper, which used the same items and scoring.
- A reward you can't easily game. The paper calls for optimally pairing each predicted call with a reference call, but its released code pairs them greedily, which can miss credit. I implemented the optimal pairing, normalized argument values so “5” equals 5, and tested the reward against a dozen ways to game it, such as calling every tool, repeating the right call or padding the arguments. Every one scores below the right answer.
- Clean data. 308 of ToolRL's training records have reference arguments corrupted upstream, so I excluded them. I also checked that no test item appears in the training data: 0 of 3,641 BFCL items and 0 of 597 API-Bank items match.
- An evaluation that fails loudly. BFCL scores a crashed generation as an answer, and that answer passes the items where the model should call nothing. My runner counts these crashes and fails the run instead of reporting inflated scores.
- Gaps in the libraries. TRL's GRPO trainer could not give each prompt its own tool list, so I extended it. For SFT then GRPO, I merged both adapters into one and tested that it reproduces the trained model's outputs to within 1e-5; without that check, this method would have been evaluated with its SFT half missing.
- A budget-guarded cloud runner. Resumable training, automatic evaluation and upload, and a hard spending cap. It ran 13 training runs, including 172,704 GRPO answers sampled and scored, in about 25 hours on one A100 for $42.63.
Fine-tuning beat plain GRPO on both benchmarks
SFT raised API-Bank accuracy from 62.0% to 72.4% and BFCL from 76.2% to 78.9%, averaged over three training runs that landed within 1.2 points of each other on API-Bank. Plain GRPO, trained from the untrained model on all prompts, ended at 58.3% on API-Bank, below where it started, and 76.5% on BFCL, about where it started. Running GRPO after SFT did not add to SFT: 70.9% on API-Bank and 79.2% on BFCL.
GRPO did improve on data like its training set: exact match (right tool and every argument) on held-out examples from the same mix rose from 66.9% to 76.6% (SFT reached 81.2%). That gain did not carry over to the two benchmarks. Strict scoring is not the reason: when API-Bank counts values like “37” and 37 as equal, SFT still leads 73.3% to 64.7%, and plain GRPO stays below the untrained model's 68.2%.
Part of the API-Bank drop shows in the outputs: GRPO learned to decline. Here is one item, with a single Geocoding tool available, where the expected first step is to look up London:
In the first training run of each method, GRPO made no call at all on 26 of the 597 API-Bank items, against 10 for the untrained model and 18 for SFT. The reward gives full marks for any plain-text answer when no call is expected, which is true of 12.4% of training prompts, and that may push the model toward declining. Declining is only part of the drop, though: GRPO lost 43 items the untrained model got right and won 21 it got wrong.
Most of GRPO's practice groups taught it nothing
To see why GRPO fell behind, look at one training prompt. It gives the model eight tools and asks: “Sort the numbers [3.2, 1.5, 2.7] in descending order.” The right answer is one call, sort_numbers with those numbers and descending set to true. Before any training, I sampled eight answers from Ministral with its normal randomness (temperature 1), so they could differ. All eight made exactly that call, and all eight got the top reward, 4.0. Every answer equals the group's average, so every push is zero: the prompt costs eight generations and produces no gradient. A prompt the model is unsure about works differently. Asked for a bacterial count after 35 minutes of growth, it made the right call in 4 of 8 tries; the wrong answers earned different amounts of partial credit, so the rewards spread out, and GRPO can push toward the four right ones.
I picked the sorting prompt because it is short, but it is not rare. Before training, Ministral answered 1,038 of the 3,276 training prompts right on all eight tries and 760 on none. Only 1,478, or 45%, gave it a mix. A prompt it always gets wrong can still give a little signal, because the reward gives partial credit for the right tool or arguments; counting identical rewards rather than identical right-or-wrong outcomes, 1,256 prompts (38%) gave no signal at all.
Training made it worse, because a model that improves also becomes more consistent. TRL, the Hugging Face training library I used, logs the share of groups in each step whose eight rewards were identical; I call those groups silent. For plain GRPO it averaged 78% over the run. It was already 59% in the first tenth of training, up from 38% before training, and reached 84% in the last tenth, while the model's average per-token entropy, a measure of how varied its answers are, fell from 0.20 to 0.07. In 325 of its 819 steps not a single group had any spread, so those steps produced no gradient at all. Starting GRPO from the SFT model was worse, at 86%, likely because SFT had already made the model consistent.
That diagnosis changed what I spent the rest of the budget on. Two more runs of each method in the same setup would have cost about $21.80, just to measure a mostly stalled setup more precisely. A test of a fix for the training signal was estimated at about $5.90, so I ran that first. The fix is to practice only where the model is unsure. Before training, I scored every prompt with eight samples from the untrained model, which took 9 minutes and $0.22 of GPU time, and kept the 1,478 prompts it got right between one and seven times out of eight. GRPO on those started with 36% of groups silent in the first tenth instead of 59%, and its training took less than half as long (369 steps instead of 819).
It worked on one benchmark. Filtered GRPO matched SFT on BFCL, 79.0% against 78.9% over three runs each, and beat plain GRPO on API-Bank, 63.2% against 58.3%. It still finished 9.2 points below SFT on API-Bank, and about half of that gap is formatting: when values like “37” and 37 count as equal, it shrinks to 5.0 points. The silent share also climbed back above 70% by 40% of the way through training: once the model learned the kept prompts, they stopped teaching it too. Keeping the signal for a whole run would need fresh prompts picked during training, which TRL 1.18 does not do. The silent-group share is measured directly; how much of the gap to SFT it explains is my interpretation.
Qwen2.5-3B, a model the paper used, ranks the methods the same way here
The obvious objection is that this could be a Ministral quirk. To test that, I ran the identical pipeline, with the same data, reward, settings and evaluations, on Qwen2.5-3B-Instruct, which the paper reports. On API-Bank, Qwen gave the same order as Ministral: SFT 68.3%, untrained 61.5%, GRPO 53.4%. The paper reports the opposite for the same model: GRPO 67.0% and SFT 50.9%.
So the difference most likely lies in the setup rather than in Ministral, though each Qwen method is a single run. Three differences stand out, and I have not tested which one matters:
- The training recipe. I ran GRPO on small adapters for one pass at a learning rate of 1e-5; the paper trains all the weights for 15 passes at 1e-6, with 512 prompts per update.
- The prompt format. I prompt each model in its own native tool-call format (the special tokens it was trained to use for tool calls), which makes the untrained model much stronger (61.5% on API-Bank against the paper's 51.6% for the same model) and leaves less to learn.
- Even less signal. On 63% of prompts, untrained Qwen's eight answers all got identical rewards, against 38% for Ministral.
Each Qwen method is one training run, but the API-Bank gap between SFT and GRPO is 14.9 points (95% interval 11.4 to 18.4, from resampling the test items), larger than the 6-point spread I saw between training runs of the same method. Filtering helped Qwen as it helped Ministral: 64.7% on API-Bank, 11.2 points above plain GRPO.
Other findings
Details for each are in the report and analysis in the repo.
- No partial-credit gaming, but other reward-shaped habits. The correctness reward and the exact-match rate rose together during GRPO (correlation 0.75). But on API-Bank, which asks for exactly one call, GRPO made more than one call on 16.8% of items, against 5.2% for the untrained model.
- GRPO after SFT made the model decline more, with no net gain. Declining is right on BFCL's items that need no call, where it gained 4.7 to 7.6 points over SFT in each of three runs, and wrong elsewhere, so overall BFCL stayed level.
- About half of SFT's API-Bank gain is formatting. When values like “37” and 37 count as equal, SFT's gain over the untrained model is 5.1 points instead of 10.4.
- Qwen's SFT learned to write numbers as strings. 16% of argument values in the training targets are numbers written as strings, and Qwen after SFT lost 9.9 BFCL points outside the items that need no call.
- Two early conclusions did not survive more seeds. After the first round of runs, GRPO after SFT looked like it cost API-Bank accuracy and filtered GRPO looked like it beat the untrained model there. Two more runs each erased both, so neither is claimed here.
What this does not show
- That GRPO is worse than SFT for tool calling in general. My GRPO recipe was light (small adapters, one pass) next to the paper's full-weight training for 15 passes, and I did not tune GRPO's settings: its learning rate was 10 times the paper's. With most groups silent, GRPO also got far fewer real updates than SFT, which learns from every example.
- A reliable number for plain GRPO on Ministral. It is one training run, and runs of the same method differed by up to 6 points on API-Bank.
- Anything about multi-step agents. Every test is one request and one round of tool calls.
- That the reward is neutral. It pays full marks for any plain-text answer when no call is expected, which rewards declining; a stricter reward might change GRPO's results.
What to take from this
If you want a small model to call tools and you have reference answers, start with fine-tuning: it was the strongest and steadiest method for Ministral, and the best on API-Bank for Qwen too. Before spending compute on GRPO, sample a few answers per training prompt from your starting model and drop the prompts it always gets right or always gets wrong. Here that took 9 minutes, cut training time by more than half, and brought GRPO level with fine-tuning on BFCL. Then watch the share of groups with identical rewards while training runs: when most groups go silent, most of each step's compute produces no gradient. The next step for this project is a version that keeps the signal alive for the whole run, by picking fresh, uncertain prompts as training goes.