LLMDP-U: Compiling LLM Reasoning into Persistent Time-Series Anomaly Detectors

Large language models (LLMs) can adapt anomaly detection to heterogeneous time series, but recent LLM-based detectors keep the model in the scoring loop, coupling score production to repeated context construction and model inference. We introduce LLMDP-U, which uses an LLM as a detector compiler: from a statistical profile of a reference prefix and a numerical interface, it generates and validates a series-specific Python program that emits multiple continuous anomaly scores. The retained program then executes without further LLM calls, and a fixed label-free rank fusion produces the final score. Evaluated offline and transductively on TSB-AD-U Eval-350, Opus-compiled programs achieve 0.5498 Average VUS-PR, a +0.0500 gain over a no-LLM Canonical Program and the third-highest result on the leaderboard. Performance increases from Haiku to Sonnet to Opus under a shared protocol, while a matched-size exhaustive primitive bank does not reproduce the Opus gain. An audit of 1,194 programs reveals recurring profile-conditioned activity, persistence, and value-support mechanisms. Together, these results establish detector programming as a third design point between fixed numerical detectors and recurring foundation-model inference: adaptation is compiled into a persistent, inspectable artifact, while score execution remains numerical.

Authors

Institutions

Publication Details

Journal
arXiv
Published
2026-12-03
Primary Topic
Anomaly Detection Techniques and Applications
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

LLMDP-U: Compiling LLM Reasoning into Persistent Time-Series Anomaly Detectors

Zhendong Bei, Ziyuan Li, Guanghui Wang, Peiyang He et al.
arXiv
Anomaly Detection Techniques and Applications
preprint

LLMDP-U: Compiling LLM Reasoning into Persistent Time-Series Anomaly Detectors

Zhendong Bei, Ziyuan Li, Guanghui Wang, Peiyang He, Ziqi Zhu, Zhihao Lin, Hao Huang, Yingli Liu, Bing Zhu
preprint en

Abstract

Large language models (LLMs) can adapt anomaly detection to heterogeneous time series, but recent LLM-based detectors keep the model in the scoring loop, coupling score production to repeated context construction and model inference. We introduce LLMDP-U, which uses an LLM as a detector compiler: from a statistical profile of a reference prefix and a numerical interface, it generates and validates a series-specific Python program that emits multiple continuous anomaly scores. The retained program then executes without further LLM calls, and a fixed label-free rank fusion produces the final score. Evaluated offline and transductively on TSB-AD-U Eval-350, Opus-compiled programs achieve 0.5498 Average VUS-PR, a +0.0500 gain over a no-LLM Canonical Program and the third-highest result on the leaderboard. Performance increases from Haiku to Sonnet to Opus under a shared protocol, while a matched-size exhaustive primitive bank does not reproduce the Opus gain. An audit of 1,194 programs reveals recurring profile-conditioned activity, persistence, and value-support mechanisms. Together, these results establish detector programming as a third design point between fixed numerical detectors and recurring foundation-model inference: adaptation is compiled into a persistent, inspectable artifact, while score execution remains numerical.

arXiv
Amazon (United States) (US), HSBC Holdings (GB)
Anomaly Detection Techniques and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon