SMAD: A Semantics-Guided Multi-Agent Framework for Unsupervised Time-Series Anomaly Detection
Liu et al. in Agents
Before choosing a detector, decide what it should detect
SMAD: A Semantics-Guided Multi-Agent Framework for Unsupervised Time-Series Anomaly Detection
More candidates cannot fix an unstated target
Automation can rank or combine detectors from historical performance or label-free proxies, while leaving the target anomaly pattern unstated.
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

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.
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
It mixes standardized detector scores across targets; a sharp spike response can be diluted by candidates tuned to persistent shifts.
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
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

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×.
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.
Why it matters
- 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.
10 slides, 3 min
25 Nov 2026