← All reports

Report · 2026-11-29

GRPO + LoRA on Qwen3-8B for customer-service next actions: base vs tuned on 800 steps from 28 held-out company policies

1× NVIDIA H100 SXMQwen/Qwen3-8B + LoRA (r32)BF16vLLM + TRL vLLM 0.31.0, TRL 1.19.0, PEFT 0.22.0GRPO + LoRA · customer serviceheld-out policies · 800 steps

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

ConclusionOn 800 steps from held-out policies, accuracy rose from 26.3% to 29.3% (34 steps only the tuned model got right, 10 only the base: sign test p = 0.00039). Almost all of it came from steps where the expert replied to the user (46.7% → 54.0%); on steps that needed a tool call it moved 15.7% → 16.5%, and missed tool calls went up. The verifier gives any text reply full credit when the expert sent a message, so the model learned to reply more often.

Results

Greedy decoding, 800 steps from 28 company policies the model never trained on.

All steps

% correct · higher is better
Base26.3Base: 26.3 % correct
GRPO LoRA29.3GRPO LoRA: 29.3 % correct

Steps that need a tool call (528)

% correct · higher is better
Base15.7Base: 15.7 % correct
GRPO LoRA16.5GRPO LoRA: 16.5 % correct

Steps that need a message (272)

% correct · higher is better
Base46.7Base: 46.7 % correct
GRPO LoRA54.0GRPO LoRA: 54.0 % correct

Accuracy, base vs GRPO LoRA (greedy)

Held-out: 28 policies never filtered or trained on. Seen: unseen steps (and trajectories) from training policies.

Eval setBase, allLoRA, allBase, tool callLoRA, tool callBase, messageLoRA, 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 setGreedy: only LoRA right / only base rightpSampled: LoRA better / base betterp
Held-out policies34 / 100.0003957 / 17<0.001
Seen policies30 / 180.111455 / 300.00884

Where the answers went, held-out policies (greedy, 800 steps)

NeMo Gym verifier categories.

CategoryBaseGRPO LoRA
Expected a tool call, got none196211
Called the wrong tool162145
Called a tool when a message was expected145125
Right tool, wrong argument value5048
Correct message127147
Correct tool call8387

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 8012345678
Steps21,5112822933073142752622408,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-10Steps 21-30Steps 51-60Steps 91-100
0.370.680.450.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.

shell
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>

Read the write-up Download raw JSON