MOSS: A Production Framework for Monitoring and Diagnosing Semantic Failures in Search and Recommendation Systems
Alina Nesen, Prathyusha Kanmanth Reddy, David Relyea, Rohit Avinash Mujumdar, Samaneh Karimi, Bo Shen, Jordan Hashemi
Key points
From the paper's conclusion- We present Model Sanity Service (MOSS), a production framework that addresses this operational gap by embedding LLM-based relevance scoring into a recurring monitoring loop with targeted sampling, strategy-aware prompting, structured alerting, and diagnostic follow-up prompting that categorizes failures into actionable root causes.
Abstract
Detecting semantic failures in production recommendation and search systems is hard: behavioral metrics lag by days, manual review does not scale, and most LLM evaluation frameworks are designed for offline, fixed datasets rather than continuous operational monitoring. We present Model Sanity Service (MOSS), a production framework that addresses this operational gap by embedding LLM-based relevance scoring into a recurring monitoring loop with targeted sampling, strategy-aware prompting, structured alerting, and diagnostic follow-up prompting that categorizes failures into actionable root causes. MOSS has been running in production at a large U.S. retailer for over six months across recommendation, search, and offer surfaces, and has surfaced two confirmed serving defects. For one of these, a backfill blending defect, MOSS quantified the impact of the proposed fix offline as a 76.4\% relative reduction in alert rate. On a 498-pair human-annotated recommendation benchmark, frontier LLM judges achieve higher F1 and AUC point estimates than non-LLM baselines (internal production embeddings and SBERT), with the largest gains on strategy-dependent tasks requiring intent-level relational reasoning. The same judge, score scale, and threshold transfer to a 466-pair search benchmark spanning 21 queries with only a surface-specific prompt adaptation, achieving strong F1 and AUC without retuning. These results show that a single LLM monitoring framework can provide useful, actionable quality signals across multiple product discovery surfaces in a large-scale e-commerce setting.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Monitoring Machine Learning Systems in Production: A Multivocal Literature ReviewarXiv · 2026
- EMBERS: Empirically Motivated Robustness Testing of Deep Research Systems via Defect-Guided FuzzingarXiv · 2026
- Cascadeability and the Realization Gap: An Empirical Study of LLM-Powered Semantic FilteringarXiv · 2026
- Where Root Cause Analysis Fails: A Retrieval-Reranking DecompositionarXiv · 2026
- Sightline: Calibrated Data-Flow Summaries for LLM-Integrated ApplicationsarXiv · 2026
- SANE: Automated Scorer-Specific Metamorphic Testing for LLM JudgesarXiv · 2026