Overview
Attune fine-tunes a 7B language model on one person's feedback
during a four-minute session, so it learns the communication
style they prefer. The user gives a role and a scenario, then
picks a favorite and least favorite from four answers to each of
five questions. Each pick is the reward for an online GRPO update
to a LoRA adapter. The finished model needs no style prompt, and
against simulated users it was preferred over the base model in
93% of comparisons.
A training round. All four answers contain the same two facts. They differ only in empathy, directiveness, formality, and depth.
Architecture
Browseradvisor + topic
App server
Name gate and private relaysigned cookie · forwards to the GPU service
Serverless CPU function
Draft the setting5 questions + fact sheets · LLM API
GPU service · one live session per user
↻ Repeats for each of the 5 questions
Draw 4 stylesstyle instructions, for variety only
Write 4 answers7B language model + LoRA adapter
Check factsredraw if a fact-sheet point is missing
Browsermark best + worst
GRPO updateon the plain prompt · best and worst as the reward
Measure5 unseen questions · LLM API as judge
Package the adapterzip with a run script
Browserresults · try it · download
Browser
Model I host
Call to an external LLM API
Plain code
How the update works. The adapter is updated
online, once per question. The four answers in a round are
written under four different style instructions drawn from a
menu. The instructions exist only to make the answers differ.
Each answer is then scored as a reply to the plain question, with
no style named, so GRPO makes the favorite more likely as a plain
answer and the least favorite less likely. Every step is clipped
at a ratio of 0.2, and half of each update's steps revisit
selections from earlier rounds (experience replay). Because the
answers are not sampled from the plain prompt itself, this is
GRPO's objective used off-policy. The tuned model is never given
a style instruction.
Keeping the content fixed. Each question has a
two-point fact sheet that every answer must cover. An answer that
misses a point is regenerated before it is shown, so a selection
reflects style and not which answer said more.
Results
93% win rate against the untouched model
94% for a DPO baseline on the same users and seeds
100% of fact-sheet points covered
For benchmarking, simulated users stand in for people. The judge model is given a
persona with fixed preferences, gives five rounds of feedback,
and then rates each tuned model on ten questions it was not
trained on, asked with no style prompt. GRPO and DPO train on the
same selections at the same learning rate, with four personas and
matched seeds. Settings were chosen on one set of 12 runs per
method, and the win rates below come from a second set with fresh
seeds.
Comparison
Result
GRPO against the untouched model
93% win rate (106 wins, 11 ties, 3 losses)
DPO against the untouched model
94% win rate
GRPO against DPO, same users and seeds
45% win rate (33 wins, 43 ties, 44 losses)
Fact-sheet points covered
100% for GRPO, 99.6% for DPO
Malformed answers
0.8% for GRPO, 1.7% for DPO
Ties count as half a win. The last two rows cover both sets of
runs.
Head to head, DPO is slightly ahead, by a margin within chance.
Its lead comes from one of the four personas, where GRPO did not
pick up the empathy that persona wants. Over the other three, the
two methods are level. They land close together because GRPO
runs off-policy here, which makes its update similar to DPO's.
Attune uses GRPO because a reward is a more general signal than a
preference pair. The same update could take ratings, rankings, or
automatic checks, and at five rounds it showed no measurable cost
against DPO.
Session length. Experience replay raised the
five-round win rate from 85% to 93% on the same seeds. It also
damages the text in longer sessions: malformed answers rose from
0.8% at five rounds to 4.6% at seven and 24% at ten. Sessions
therefore stop at five questions.
The results page. It shows where the tuned model lands on
each of the four style scales, compared with the standard model.
Stack
Model
Qwen2.5-7B-Instruct LoRA (r = 16) PyTorch Transformers PEFT
Training
GRPO DPO baseline
Judging
Gemini 3.8 Flash
Infrastructure
Modal L40S GPU FastAPI
Frontend
React 19 TypeScript Vite 7 Tailwind CSS v4
Trade-offs and limits
Every answer is held to the same fact sheet so that feedback
measures style alone. The trade-off is that this only works
if the model sticks to the fact sheet, and it did so less
reliably outside advice.
In a test with speakers who aren't advising, the styles came
through but the fact sheet was covered less reliably. Both
points appeared in 62% of a student's answers and 84% of a
client's, against 90% for an advisor. The app therefore keeps
every session to advice: it recasts the role as someone
advising the user and declines scenarios it can't recast.
Five rounds is a ceiling set by the method. The style comes
through more strongly after eight rounds, but experience replay
damages the text from seven rounds on.
The judge model has been spot-checked by hand but not validated
against a full set of human labels. It is least reliable on
depth.
Results depend on how each style instruction is worded. The
model learns from answers written under those instructions, so
it can inherit their habits, such as empathetic answers that
open the same way.
The answers demonstrate a style. They can be wrong and are not
medical, legal, or financial advice.