arXiv cs.AI· Ziqi Zhu, Guanghui Wang, Zhihao Lin, Hao Huang, Bing Zhu, Ziyuan Li, Yingli Liu, Zhendong Bei, Peiyang He·· 2 天前AI 评分41
LLMDP-U:将 LLM 推理编译为持久化时间序列异常检测器
LLMDP-U: Compiling LLM Reasoning into Persistent Time-Series Anomaly Detectors
AI 导读
LLMDP-U 让 LLM 充当检测器编译器,从参考前缀统计画像和数值接口生成并验证特定序列的 Python 程序,随后程序独立执行,不再调用 LLM。在 TSB-AD-U Eval-350 上,Opus 编译的程序取得 0.5498 Average VUS-PR,比无 LLM 的 Canonical Program 高 +0.0500,居排行榜第三。
正文 · 原文
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.
| Comments: | 17 pages, 4 figures. Accepted at the TS-LIMITS Workshop, NeurIPS 2026 |
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Machine Learning (stat.ML) |
| Cite as: | arXiv:2612.05082 [cs.LG] |
| (or arXiv:2612.05082v1 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2612.05082 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Ziqi Zhu [view email]
[v1]
Thu, 3 Dec 2026 06:34:50 UTC (562 KB)
来源:arXiv cs.AI · arxiv.org