Meituan's CARE System Makes a 31B Agent Learn From Its Own Mistakes
A self-hosted 31B model can now match and even beat a closed strong model in customer service while cutting per-order cost by 70.5%, making the switch from pay-per-call APIs to in-house weights a practical option. The OPSD training method, which uses a teacher with privileged information, offers a template for any agent that must learn from its own mistakes without reinforcing them.
Meituan's customer-service agents run on a closed-source strong model, but that costs a lot per call and leaves behavior outside the team's control. To replace it, the team built CARE, a recursive self-improvement loop that turns the agent's own online failures into training data. The pipeline splits into a one-time cold start that cleans historical trajectories, and an iterative phase where a dedicated inspection system confirms failures, attribution separates model errors from tool or SOP issues, and only model-caused defects become repair samples.
The training uses On-Policy Self-Distillation (OPSD): a frozen copy of the model (the teacher) reads the same input plus privileged information about the error, the SOP in effect, and a verified repair, and scores the student's output token by token using forward KL divergence truncated to the top-32 tokens with a zero lower bound. This corrects the model's current behavior without forcing it to memorize a fixed target. Over five rounds, the 31B model's bad-case rate fell from 6.42% to 1.97%, online satisfaction went from 4.57 points behind the strong model to 1.73 points ahead in some regions, and full replacement cut per-order service cost by 70.5%.
The article also details how inspection works (evidence-gated, multi-stage reviews), how repairs are constructed (only the first error decision, with a "no hindsight" rule), and how the team decides a candidate is ready for production (simulated tests plus offline inspection, with a composite score). The key lesson is that experience comes from the model itself, but judgment about right and wrong stays outside the model.
The separation of inspection from model self-assessment is what makes the loop safe: the model never judges its own failures, avoiding reinforcement of its own biases.
The "no hindsight" rule in repair construction is a subtle but crucial guardrail that prevents the model from learning to assert facts it cannot know, which would otherwise cause hallucination in production.
The team's decision to compare only against the simultaneous strong model, not across versions, acknowledges that harness changes pollute absolute metrics; this is a practical lesson for anyone running continuous evaluation.
The flat cost of OPSD training, where the teacher is a frozen copy of the student, avoids the instability seen with SFT and DPO on small increments, making recursive updates feasible.