arXiv:2610.26902cs.IROct 2026

Manuscript Offprint

arXiv:2610.26902

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

Alina Nesen 1^{1}

Prathyusha Kanmanth Reddy 1^{1}

David Relyea 1^{1}

Rohit Avinash Mujumdar 2^{2}

Samaneh Karimi 1^{1}

Bo Shen 2^{2}

Jordan Hashemi 1^{1}

Data Sciences, Target Corporation

1^{1}Minneapolis, MN, USA 2^{2}Sunnyvale, CA, USA

{alina.nesen, prathyusha.kanmanthreddy, david.relyea, rohitavinash.mujumdar, samaneh.karimi, bo.shen, jordan.hashemi}@target.com

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.

Index Terms—Recommender systems, search relevance, product search, LLM-as-a-judge, production monitoring, semantic failure detection

I. INTRODUCTION

Modern search and recommendation systems are typically evaluated using lagging behavioral metrics such as click-through rate and conversion, which delay detection of semantic failures and provide limited insight into their root causes [1]. In practice, issues such as category mismatches, intent violations, or degraded relevance may persist until they impact users, while manual evaluation does not scale to the volume and diversity of production outputs [2].

Recent work shows that LLMs can approximate human judgments in relevance assessment and information retrieval tasks [3], [4], [5], [6]. However, most such systems are designed for offline labeling or fixed evaluation sets. They do not directly address the needs of continuous monitoring: targeted sampling, model-specific thresholding, structured alerting, failure diagnosis, and operational triage in live recommender systems.

We present Model Sanity Service (MOSS), a production framework for monitoring and diagnosing semantic quality in product discovery systems. MOSS integrates LLM-based evaluation into a full monitoring loop that supports recommendations, search, and offers. A key feature is a two-stage design: the first stage scores relevance, while a follow-up prompt categorizes low-scoring cases into failure modes such as category mismatch, intent mismatch, and attribute inconsistency. This turns isolated scores into reviewer-facing diagnostics and aggregate root-cause signals.