# SMAD: A Semantics-Guided Multi-Agent Framework for Unsupervised Time-Series Anomaly Detection

> SMAD makes anomaly intent explicit in a frozen contract, then uses shared synthetic tests to refine candidates and combine scores by pattern. On both reported splits, it beats supervised selection in VUS-PR and uses fewer tokens than Claude Code and Codex.

- arXiv: https://arxiv.org/abs/2611.28348
- Authors: Qinghua Liu, Junpeng Wang, Mingzhi Hu, Menghai Pan, Shubham Jain, Yuzhong Chen, Yan Zheng, Yiwei Cai, John Paparrizos
- Published: 2026-11-25
- Topic: Agents
- Visual carousel: https://instaxiv.com/p/2611.28348
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## Before choosing a detector, decide what it should detect

**11.5%** Univariate VUS-PR gain vs AvgEns (relative)

## More candidates cannot fix an unstated target

**What stays implicit:** Automation can rank or combine detectors from historical performance or label-free proxies, while leaving the target anomaly pattern unstated.

**What SMAD changes:** SMAD first writes a semantic contract: relevant event patterns, expected score responses, and shared questions for testing each candidate.

More candidates cannot repair a missing objective.

## A contract turns intent into a test

1. **Profile the series**: Measure trend, seasonality, noise, missingness, and channel relationships; add domain context when available.
2. **Specify event and score**: For each priority, state the event shape, expected score response, and validation questions.
3. **Freeze before search**: Every proposal faces the same objective, so the target stays fixed as candidates change.

## A nighttime load can be anomalous

![Figure 1](https://cdn.instaxiv.com/figures/2611.28348/figure1.webp)

Panel (a) shows AutoML capturing only some patterns; (b) shows a contract guiding planning, label-free checks, and aggregation. In the building-power example, night load can be anomalous when similar daytime load is normal. (Figure 1)

## How label-free tests steer candidate search

1. **Ground the target**: The grounding LLM freezes priorities and score behavior from measured structure and optional context.
2. **Propose and run**: The planner proposes catalog detectors or composes semantic scorers from fixed numerical operators; candidate execution and shared validation are deterministic.
3. **Test coverage**: Shared injections and original-series checks test recovery, shape, localization and restraint without target labels.
4. **Refine and audit**: Feedback targets gaps. Optional benchmark cards use disjoint meta-training labels for proposals, not ensemble weights; an evidence bank records decisions for deterministic claim audits.

## Keep anomaly types separate when combining scores

**Flat weighted mean:** It mixes standardized detector scores across targets; a sharp spike response can be diluted by candidates tuned to persistent shifts.

**Semantic aggregation:** SMAD averages candidates within each declared semantic group, standardizes each group stream, then takes the strongest group's score at every timestamp.

Replay on the same candidates found higher accuracy than a flat weighted mean.

## SMAD leads; the comparator matters

| Method | Univariate VUS-PR | Multivariate VUS-PR |
| --- | --- | --- |
| AvgEns (uni) / MSAD (multi) | 0.4673 | 0.3133 |
| Supervised Selection (ref.) | 0.4826 | 0.3087 |
| **SMAD (+0.0386/+0.0299)** | **0.5212** | **0.3432** |

_Per-series VUS-PR; eval 115 uni/31 multi. Supervised Selection is label-informed; badge is absolute gain vs best comparator per split._

## Higher VUS-PR, fewer LLM tokens

![Figure 4](https://cdn.instaxiv.com/figures/2611.28348/figure4.webp)

Each point is a hosted-LLM method: mean tokens per evaluation series (log x) versus mean VUS-PR; upper left is better. SMAD uses 3.6× fewer tokens than Claude Code and Codex on average, up to 5.1×. (Figure 4)

## What the tests and benchmark cannot promise

- **Proxy, not ground truth**: Coverage measures agreement with the frozen contract, not detection accuracy; the contract remains a hypothesis about the series.
- **Fixed workflow, bounded test**: Prompted LLMs refine candidates within a predefined episode, without task-specific training or cross-episode learning; evaluation spans 12 license-permitted source datasets.
- **Context can mislead**: Actionable channel roles or timing can help, but generic descriptions may admit scorers that flag normal activity changes.

Best used when: Treat coverage as a search signal, not a guarantee; add domain context only when it yields testable structure.

## Key takeaways

- For heterogeneous series, the anomaly target can matter as much as the detector choice.
- Specify event shape and expected score behavior, then compare candidates on a shared label-free test suite.
- Could validation signals teach planners better policies across episodes? The paper points to agentic reinforcement learning as future work.

## Links

- arXiv: https://arxiv.org/abs/2611.28348
- PDF: https://arxiv.org/pdf/2611.28348

## Citation

```bibtex
@article{liu2026smad,
  title   = {SMAD: A Semantics-Guided Multi-Agent Framework for Unsupervised Time-Series Anomaly Detection},
  author  = {Liu, Qinghua and Wang, Junpeng and Hu, Mingzhi and Pan, Menghai and Jain, Shubham and Chen, Yuzhong and Zheng, Yan and Cai, Yiwei and Paparrizos, John},
  journal = {arXiv preprint arXiv:2611.28348},
  year    = {2026},
  url     = {https://arxiv.org/abs/2611.28348}
}
```
