🀯 AI Fixes Itself: 21% Success! πŸš€

September 25, 2026 |

Tech

🎧 Audio Summaries
English flag
French flag
German flag
Japanese flag
Korean flag
Mandarin flag
Spanish flag

🧠Quick Intel


  • Perplexity Computer conducted a study using rejection sampling fine-tuning with hint-guided self-distillation, resulting in a 21.2% relative reduction in tool-call failures.
  • A live A/B test between two trained checkpoints achieved a tool-call failure rate reduction from 2.24% to 1.77%.
  • The Perplexity team differentiates between successful and unsuccessful sessions, utilizing imitation and correction targets respectively.
  • On-Policy Self-Distillation (OPSD) employs a GLM 5.2 checkpoint, with the teacher pass receiving hints while the student pass does not.
  • Setting Ξ» to 0 recovers standard SFT, highlighting the importance of the cross-entropy (CE) term in correction-only training.
  • The pipeline draws from training-eligible Computer sessions served by GLM 5.2, excluding sessions with personally identifiable information or users who opted out.
  • Two LLM judges must both approve a final delivery for a session to be considered successful, and at least two LLM judges must agree on the responsible turn for user feedback.
  • πŸ“Summary


    Perplexity Research conducted a study utilizing a model to analyze real user sessions, focusing on reducing tool-call failures. The research combined rejection sampling fine-tuning with hint-guided self-distillation, employing an on-policy self-distillation method. A live A/B test showed a 21.2% relative decrease in failures, shifting from 2.24% to 1.77% between trained checkpoints. The team’s approach involved identifying successful and unsuccessful sessions, providing hints and correction targets to the assistant. Ultimately, the research highlights a refined technique for assistant training, prioritizing accuracy through targeted correction and validation processes.

    πŸ’‘Insights

    β–Ό


    PERPLEXITY’S INNOVATIVE TRAINING METHODOLOGY
    Perplexity Research has pioneered a novel training approach for their language models that directly incorporates real user sessions, including those that result in failures. This methodology combines rejection sampling fine-tuning with hint-guided self-distillation, representing a significant departure from traditional methods. The core of the technique involves a live A/B test where tool-call failures were dramatically reduced. Specifically, the rate dropped from 2.24% to 1.77% between two trained checkpoints, representing a statistically significant 21.2% relative reduction in errors. This demonstrates a powerful ability to learn from mistakes in a practical, operational setting.

    KEY COMPONENTS OF THE TRAINING PROCESS
    This innovative training process centers around a layered approach designed to maximize learning efficiency. The system employs a dual-decision framework, strategically separating sessions for imitation versus correction. Each assistant turn receives one of three treatments: successful sessions provide both imitation and correction targets, while unsuccessful sessions are solely used for correction. Crucially, Perplexity utilizes hints – concise corrective instructions grounded in the model's existing knowledge – to guide the learning process. These hints are carefully constructed, naming the failed call, detailing the validation error, and suggesting permissible values or omitting optional fields. Furthermore, the team employs On-Policy Self-Distillation (OPSD) – a technique where the same GLM 5.2 checkpoint is run twice, one with the hint and one without – to refine the model’s responses. This process leverages teacher forcing and a forward KL divergence term to ensure accuracy and minimize divergence from standard SFT (Standard Rejection Sampling Fine-Tuning). (Blank Line)

    EFFICIENT AND ROBUST SESSION SELECTION
    To ensure the quality and relevance of the training data, Perplexity implements rigorous selection criteria. The pipeline draws from training-eligible computer sessions served by the GLM 5.2 base model. Critically, sessions containing personally identifiable information or those originating from users who have opted out of data collection are excluded. A sophisticated LLM judge is then utilized to assess task difficulty, with sessions rated 4 or 5 on a 5-point scale being considered for inclusion. For user feedback, a multi-judge system ensures accuracy; at least two LLM judges must agree on the final delivery, focusing on the turn immediately preceding the complaint. This layered validation process significantly reduces the impact of hindsight bias, as each hint is meticulously checked against the information available before the initial mistake. For example, a user requesting their 'w3' on Paychex was initially misinterpreting the request as a W-2 form error, leading to an incorrect search. The hint corrected this earlier interpretation, demonstrating the system’s ability to learn from and avoid recurring errors. This approach, combined with the innovative training techniques, significantly improves the model's performance and reliability.