GRPO + LoRA on Qwen3-8B for customer-service next actions: base vs tuned on 800 steps from 28 held-out company policies
One run, 2026-11-28/29, on one rented H100 SXM (RunPod Secure Cloud). Data: NVIDIA's Nemotron-RL-Agentic-Conversational-Tool-Use-Pivot-v1 (CC BY 4.0), 96,968 assistant steps from synthetic customer-service conversations under 406 company policies; the target is the expert's next action (a tool call or a message to the user). 28 policies were held out entirely. Difficulty filter: Qwen3-8B (thinking off) answered 32,000 steps 8 times each; the 1,733 it got right 1 to 6 times were used for GRPO + LoRA (100 steps). Scoring with NeMo Gym's own verifier and the dataset's config. Write-up: /blog/rl-customer-service-model-8b-learned-to-talk.html
Results
Greedy decoding, 800 steps from 28 company policies the model never trained on.
All steps
Steps that need a tool call (528)
Steps that need a message (272)
Accuracy, base vs GRPO LoRA (greedy)
Held-out: 28 policies never filtered or trained on. Seen: unseen steps (and trajectories) from training policies.
| Eval set | Base, all | LoRA, all | Base, tool call | LoRA, tool call | Base, message | LoRA, message |
|---|---|---|---|---|---|---|
| Held-out policies (800) | 26.3% | 29.3% | 15.7% | 16.5% | 46.7% | 54.0% |
| Seen policies (800) | 27.9% | 29.4% | 19.9% | 20.1% | 45.6% | 50.0% |
Paired comparison per step
Exact two-sided sign test. Sampled = mean reward over 4 samples at temperature 0.7.
| Eval set | Greedy: only LoRA right / only base right | p | Sampled: LoRA better / base better | p |
|---|---|---|---|---|
| Held-out policies | 34 / 10 | 0.00039 | 57 / 17 | <0.001 |
| Seen policies | 30 / 18 | 0.1114 | 55 / 30 | 0.00884 |
Where the answers went, held-out policies (greedy, 800 steps)
NeMo Gym verifier categories.
| Category | Base | GRPO LoRA |
|---|---|---|
| Expected a tool call, got none | 196 | 211 |
| Called the wrong tool | 162 | 145 |
| Called a tool when a message was expected | 145 | 125 |
| Right tool, wrong argument value | 50 | 48 |
| Correct message | 127 | 147 |
| Correct tool call | 83 | 87 |
Difficulty filter: 32,000 steps, 8 answers each (Qwen3-8B, thinking off, T 0.7)
Only steps answered right 1-6 times out of 8 give GRPO a learning signal.
| Right out of 8 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|---|
| Steps | 21,511 | 282 | 293 | 307 | 314 | 275 | 262 | 240 | 8,516 |
During training: share of text replies on steps that needed a tool call
Mean over 10-step windows of training batches. It rose as the model learned that replies are rarely penalized.
| Steps 1-10 | Steps 21-30 | Steps 51-60 | Steps 91-100 |
|---|---|---|---|
| 0.37 | 0.68 | 0.45 | 0.46 |
Setup
Any change to these fields makes it a different report.
- Data
- nvidia/Nemotron-RL-Agentic-Conversational-Tool-Use-Pivot-v1 (CC BY 4.0): 96,968 steps, 406 policies (md5 of the system prompt). Held out: 28 policies. Filter pool: 32,000 steps from the other policies with NVIDIA's own pass rate >= 0.1
- Prompt
- Qwen3-8B's chat template with the row's tools, thinking off; earlier tool calls become assistant tool_calls, their outputs tool messages; earlier hidden reasoning dropped
- Reward and scoring
- NeMo Gym's ActionComparator (Apache-2.0) with the dataset's config: tool name and arguments must match the expert's call; when the expert sent a message, any text reply scores 1
- Training
- TRL GRPO + LoRA r32 on all attention and MLP projections, 8 answers per prompt, 100 steps (~0.9 epoch of the 1,733 filtered steps)
- Evaluation
- 800 held-out-policy steps + 800 seen-policy steps; greedy (1 answer) and sampled (4 answers, T 0.7); max 512 new tokens
- Cost
- $44.80 of GPU time (612 minutes on one H100 SXM at $4.39/h): filter 95 min, training ~7.5 h, evaluation ~25 min
Not covered
Do not extrapolate this report to the following.
- A reward that grades message content (the fix this run points to)
- SFT before RL, thinking on, or a larger base
- More than one training run or seed
- Real (non-synthetic) customer-service conversations
- General-ability regression checks
Reproduce
Scripts are in the TokenWatt repository under bench/finetune-2026-11/step4-cs-toolcall-grpo.
python3 prep.py # policy split, eval sets, 32,000-step pool python3 remote/filter.py # 8 answers per step, keep 1-6/8 python3 remote/grpo.py --max-steps 100 python3 remote/evaluate.py --lora <adapter>