TL;DR
Large Language Models (LLMs) are surprisingly good at turning cryptic time-series alerts into fluent explanations, but their "helpfulness" is a liability: they often generate convincing rationales for false alarms. This paper proposes a reliability router—a lightweight filter that uses detector-side signals to decide if an alert is strong enough to warrant an LLM explanation, significantly boosting precision and reducing operational costs.
What Problem Does This Paper Address?
In multivariate time-series anomaly detection (TSAD), operators need to know why a system is failing. LLMs are increasingly used to provide these "natural language rationales." However, there is a hidden danger: fluency can amplify trust in weak or false alerts.
If a detector fires a low-confidence alert, an LLM might still produce a confident-sounding explanation, leading a human operator to waste time investigating a "ghost" in the machine. The authors argue that explanation generation should be an invocation decision—we shouldn't ask an LLM to explain an alert unless the underlying evidence is robust.
Methods
The authors introduce Reliability Routing, a gatekeeper that sits between the anomaly detector and the LLM. The router evaluates three specific signals from the detector before allowing the LLM to speak:
- Score Extremeness ($q_t$): Is this anomaly score actually rare compared to the historical training distribution?
- Margin ($m_t$): How far is the score above the operational threshold? (i.e., is it a "barely-there" alert?)
- Concentration ($c_t$): Is the evidence localized to a few specific variables? If the deviation is spread thinly across many variables, it’s a "diffuse" signal that likely won't support a specific root-cause explanation.
The study compares a "Hard Router" (simple threshold logic) against learned models (Logistic Regression, Decision Trees) and LLM self-gating, where the model itself is asked if it should provide an explanation.
Datasets
- SMD (Server Machine Dataset): A multivariate dataset from 28 machines used as the primary benchmark.
- TSB-UAD: A univariate public dataset used for cross-dataset "sanity checks" and transfer analysis.
- Detectors: The authors intentionally used three lightweight detectors (robust_z, delta_z, and pca_residual) to ensure the reliability signals were "cheap" and broadly available.
Key Insights and Ideas
- The "Yes-Man" Problem: LLMs are naturally permissive. When tested with "self-gating" prompts, models like DeepSeek and Qwen were far too eager to explain weak alerts, achieving only a modest precision gain over the raw detector.
- Concentration is the Secret Sauce: While score and margin are standard, the concentration of evidence proved vital. A diffuse anomaly might be a real alert, but it's a "weak basis" for a natural language rationale. Routing based on concentration helps prevent the LLM from hallucinating specific root causes where none are clear.
- The Precision-Coverage Tradeoff: You can make LLM explanations highly reliable, but you'll have to stay silent more often. On the SMD dataset, conservative routing raised precision from 0.125 to 0.512, but only for 1.1% of alerts.
- Brittleness of Thresholds: Thresholds that work for one machine often fail on another. The authors found that "static" routing policies don't transfer well, suggesting that monitoring systems need local, per-device calibration.
Key Results
- Precision Gains: On the SMD dataset, the "Full Router" (using all three signals) achieved the highest precision (0.512) compared to using score alone (0.158).
- Cost and Latency: Routing isn't just about accuracy; it's about efficiency. By filtering out weak alerts, the system reduced token usage and dropped mean per-alert latency significantly (e.g., DeepSeek-v4-pro dropped from 76.36s to 40.71s).
- Self-Gating vs. Routing: LLM self-gating (asking the model to decide) was a weak substitute for numerical routing, allowing 55-69% of alerts through but only reaching ~0.12 precision.
Limitations and Future Work
- Detector Sophistication: The study focused on lightweight detectors. The authors acknowledge that testing with SOTA architectures like Anomaly Transformer or TimesNet is a necessary next step.
- Evaluation Proxies: The study uses "alert validity" (whether the alert overlapped with a ground-truth window) as a proxy for explanation quality. Future work needs to tackle the harder problem of "semantic faithfulness"—did the LLM actually identify the correct root cause?
- Univariate Constraints: Part of the analysis used univariate data (TSB-UAD), which limits the ability to test the "concentration" signal, as there is only one variable to track.
Summary updated