← Latest papers
💻 computer science

LLM Maintainer: A Judge-in-the-Loop Framework for Continuous Quality Monitoring and Regression Detection in Deployed Large Language Model Systems

This paper introduces LLM Maintainer, an open-source framework that employs an LLM-as-a-judge to continuously monitor deployed systems against golden prompts and detect quality regressions, demonstrating through a synthetic case study that while such a system can identify behavioral drift, simple thresholding requires statistical refinement to mitigate false positives caused by sampling variance.

Original author: Ook Lee¹

Published 2026-11-20
📖 5 min read🧠 Deep dive

Original author: Ook Lee¹

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the author. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a world where the software you rely on does not just run on fixed code, but on a living, breathing intelligence that can change its mind without anyone touching a single line of programming. For decades, the promise of software maintenance rested on a simple, comforting rule: if a program worked yesterday, it will work today, unless a human engineer deliberately changed it. But the rise of large language models has shattered that rule. These are not static programs; they are services provided by companies that can update their internal weights, safety filters, or instructions at any moment, often without the people using them knowing. A customer service bot that was polite and accurate last week might suddenly become rude or hallucinate facts today, not because of a bug in the application, but because the engine powering it shifted underneath it. This creates a silent, invisible danger for businesses that depend on these tools, as there is no error message to alert them that the quality of the answers has quietly slipped.

To solve this, researchers have developed a new kind of watchdog system called LLM Maintainer. The core idea is surprisingly simple: to catch these silent changes, you need a second, independent intelligence to grade the first one. The researchers built a tool that runs a fixed set of standard questions, known as "golden prompts," against the system being tested. These questions cover real-world scenarios, such as explaining a refund policy, refusing a request for private data, or extracting information into a specific format. After the system answers, a second language model acts as a judge, reading the response and scoring it based on a clear set of rules written in plain language. This judge looks for specific qualities like tone, accuracy, and safety, assigning a score from one to five. The tool then saves these scores and compares the new results against the recent history of that specific question. If the score drops significantly compared to what the system has been doing lately, the tool raises an alarm, telling the operators that something has changed and needs attention.

The researchers tested this system by running a simulation that mimicked a month of daily operations for a fictional bank's customer support assistant. They did not use a live internet connection for the test, but instead ran the actual, unmodified software code they built, feeding it a carefully scripted sequence of 180 interactions over 30 days. To see if the tool worked, they deliberately injected three specific problems into the simulation: a momentary network failure that caused a timeout, a subtle change in the system's instructions that made it less effective at refusing dangerous requests, and a single instance where the system wrapped its answer in the wrong type of formatting. The tool performed well at catching the obvious failures. It immediately flagged the network timeout and the formatting error, correctly identifying that the system had failed to deliver a usable response. It also successfully detected the drop in quality when the instructions were changed, catching the problem on the first two days it occurred.

However, the test revealed a significant challenge that the researchers had not anticipated. While the tool was excellent at finding the real problems, it was also very noisy. Out of the 23 times the system raised an alarm, only five were actually caused by the problems the researchers had planted. The other 18 alarms were false positives, triggered simply because the judging model had a slightly different opinion on a single day, even though the system's performance had not truly changed. This happened because the tool was using a simple, rigid rule: if the score dropped by even one point on a five-point scale compared to the recent average, it sounded the alarm. Because the judging model naturally varies its scores slightly from day to day, this simple rule treated normal, harmless fluctuations as serious failures. The researchers found that while the tool caught 83 percent of the real incidents, it only had a 21 percent accuracy rate in its overall warnings, meaning that for every real problem it found, it raised four false alarms.

This finding is crucial because it shows that while the idea of using a judge to monitor a model is sound, the way the alarm is triggered needs to be smarter. The researchers argue that relying on a single, sharp drop in score is too sensitive to the natural noise of the system. Instead, they suggest that future versions of the tool should look for patterns over time, waiting to see if a low score persists for several days before raising an alert, or using more sophisticated statistical methods to distinguish between a random fluctuation and a genuine decline. The study concludes that continuous monitoring is essential for keeping these systems reliable, but it must be done with a level of statistical care that goes beyond simple comparisons. Without this care, the constant stream of false alarms could exhaust the people responsible for fixing the systems, causing them to miss the very real, silent degradations that the tool was designed to find.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →