Perplexity Research published a new post-training study. It trains a mannequin inside Perplexity Computer on actual consumer classes, together with failed ones. The tactic pairs rejection sampling fine-tuning with hint-guided self-distillation. In a stay A/B check, tool-call failures fell from 2.24% to 1.77% between 2 educated checkpoints. Perplexity staff reviews this as a statistically important 21.2% relative discount.
Is it deployable? Indirectly. Perplexity has not launched the post-trained weights or coaching code. The mannequin runs solely as a mannequin possibility inside Perplexity Pc. The bottom mannequin, GLM 5.2, is brazenly obtainable on Hugging Face.
Why Consequence-Solely Filtering Falls Quick
Customary rejection sampling fine-tuning (RFT) judges every session and imitates solely the profitable ones. A profitable end result doesn’t imply each step was right. An agent can get well from a nasty device name and nonetheless ship the fitting reply. Imitating that full trajectory can reinforce the error. Discarding failed classes additionally throws away clear proof of avoidable errors.
Imitate, Right, or Maintain as Context
Perplexity staff separates 2 selections: which classes maintain habits value imitating, and which turns maintain errors value correcting.
Every assistant flip will get 1 of three remedies:
- Imitate: non-error turns in profitable classes obtain cross-entropy (CE) loss.
- Right: error turns with a validated trace obtain Kullback-Leibler (KL) divergence loss, in any session.
- Maintain as context: remaining turns keep within the enter however obtain no loss.
Profitable classes can provide each imitation and correction targets. Unsuccessful classes provide solely correction targets.
How a Trace Turns into a Coaching Sign
A touch is a brief corrective instruction grounded in info the mannequin already had. In a single instance, a search name set recency_filter to ‘year.’ The schema allowed solely ‘day,’ ‘week,’ or ‘month.’ The trace names the failed name, contains the validation error, and suggests an allowed worth or omitting the non-compulsory discipline.
The corrective half makes use of On-Policy Self-Distillation (OPSD). The coach runs the identical GLM 5.2 checkpoint twice on the recorded flip. The trainer go sees the trace; the scholar go doesn’t. Each use trainer forcing, so no alternative reply is generated. The trainer’s next-token possibilities are indifferent and act as a delicate goal by means of ahead KL.
The mixed loss is (CE + λ × KL), divided by the variety of imitated tokens. Setting λ to 0 recovers normal SFT. The CE time period issues. Correction-only coaching can let trainer and pupil agree by ignoring context.
Tracing Complaints to the Actual Mistake
The pipeline attracts from training-eligible Pc classes served by GLM 5.2. Periods with personally identifiable info and customers who opted out are excluded. An LLM choose retains duties rated 4 or 5 on a 5-point issue scale. Two LLM judges should each approve the ultimate supply for a session to rely as profitable.
For consumer suggestions, threes LLM judges find the accountable flip, and a minimum of 2 should agree. That is essential as a result of the final assistant flip earlier than a grievance is the foundation trigger solely about half the time. Every trace can be checked towards info obtainable earlier than the error. That verify reduces hindsight bias.
One instance: a consumer requested for his or her ‘w3’ on Paychex. The mannequin assumed a W-2 typo and looked for the fallacious kind. The trace targets that earlier interpretation, not simply the ultimate reply.
Interactive Explainer
What the Evaluations Present
- Hints work earlier than coaching: On 985 held-out tool-error turns, the unchanged base mannequin averted the unique failure in 93.7% of circumstances with hints, up from 75.1%. The share taking the corrected motion rose from 60.6% to 82.3%. On user-feedback turns, fastened or on-track charges rose from 40.0% to 75.0% for express proof. For inferred intent, they rose from 32.5% to 80.0%.
- Offline device errors fell: Recorded tool-error charges had been 2.79% for inventory GLM 5.2 and 1.35% for RFT solely. The RFT plus OPSD checkpoint reached 0.87%. Perplexity notes these checkpoints used completely different coaching knowledge, so this isn’t a matched ablation. Job-level benchmark outcomes on suites like BrowseComp and SpreadsheetBench had been combined.
- Stay outcomes are narrower: Every A/B check used about 100,000 customers per situation. An early checkpoint versus inventory GLM 5.2 confirmed 2.82% versus 2.94% failures, which was not important. The later checkpoint comparability produced the numerous 21.2% drop, with out hints at inference. Sturdy dissatisfaction moved from 2.58% to 2.54%, which was additionally not important. Perplexity didn’t evaluate the later checkpoint straight towards inventory GLM 5.2 on-line.
Key Takeaways
- Perplexity learns from failed classes, not simply profitable ones.
- Validated hints flip avoidable errors into KL correction targets.
- 1 mannequin acts as trainer (with trace) and pupil (with out).
- Stay tool-call failures fell from 2.24% to 1.77%.
- Person dissatisfaction confirmed no important change.
Try the Technical Details. All credit score goes to the researcher of this challenge. Additionally, be at liberty to observe us on Twitter and don’t neglect to affix our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.
Have to associate with us for selling your GitHub Repo OR Hugging Face Web page OR Product Launch OR Webinar and many others.? Connect with us

