AI 与机器学习2025arxiv.org
时间序列异常检测:十年综述
Time-Series Anomaly Detection: A Decade Review
进阶 · 约 90 分钟读完前置知识:时间序列分析基础、机器学习基础、异常检测基本概念
导读
这篇论文是对时间序列异常检测领域近十年研究的综述,系统梳理了该领域的方法演进与现状。评论中讨论者分享了各自的实践经验,涉及 Matrix Profile 等实用工具以及基于预测的异常检测思路。
HN 关注点:是因为时间序列异常检测缺乏好用的现成方案,讨论焦点集中在实用工具推荐和该领域方法的实际可用性。
HN 评论精选
这几条评论里:质疑 1 补充 2 亲历 1
补充该领域缺乏好用的现成工具,存在很大机会
我最近为一个性能追踪项目自己动手做异常检测,惊讶地发现这个领域几乎没有现成的开源或商业解决方案——要么太基础,要么太复杂。这里有大量可开拓的空间!
zaporozhets查看英文原文
I recently tried to homebrew some anomaly detection work for a performance tracking project and was surprised at the absence of any off-the-shelf OSS or Paid solutions in this space (that weren’t super basic or way too complex). Lots of fertile ground here!
补充推荐 Matrix Profile:高效且免调参的异常检测工具
补充一个很好用的工具:UCR 的 Matrix Profile。它可以说是时间序列分析领域最被低估的工具之一,效率极高。杀手级特性是无需像传统方法那样折腾窗口大小和阈值,就能直接发现 motifs 和异常。而且在制造传感器数据、心电分析、地震检测等多个领域都表现可靠。
bluechair查看英文原文
Didn’t see it mentioned but good to know about: UCR matrix profile. The Matrix Profile is honestly one of the most underrated tools in the time series analysis space - it's ridiculously efficient. The killer feature is how it just works for finding motifs and anomalies without having to mess around with window sizes and thresholds like you do with traditional techniques. Solid across domains too, from manufacturing sensor data to ECG analysis to earthquake detection. https://www.cs.ucr.edu/~eamonn/MatrixProfile.html
质疑综述未覆盖最新进展(如时序基础模型),并指出异常检测本质是预测+偏差观察
这篇综述没有涵盖最近一年的工作。比如我前同事做的时序基础模型 Granite TS,我们实验时效果相当不错。对我来说的一个顿悟是:异常检测模型本质上可以理解为预测接下来 N 步,然后观察实际测量值与预期是否“差异足够大”。单条信号在白板上很容易画出来,但在多变量场景下它依然有效,这一点很妙。
mikehollinger查看英文原文
This doesn’t capture work that’s happened in the last year or so. For example some former colleagues timeseries foundation model (Granite TS) which was doing pretty well when we were experimenting with it. [1] An aha moment for me was realizing that the way you can think of anomaly models working is that they’re effectively forecasting the next N steps, and then noticing when the actual measured values are “different enough” from the expected. This is simple to draw on a whiteboard for one signal but when it’s multi variate, pretty neat that it works. [1] https://huggingface.co/ibm-granite/granite-timeseries-ttm-r1
亲历亲历分享:用多种异常检测方法分析彩票数据,随机数据中很难发现异常
我最近才了解时间序列异常检测方法,当时用多个 LLM 辅助分析佛罗里达州彩票 Pick4 的历史数据(4 位数,中奖概率 1:10000)。我做了大量测试:聚类、孤立森林、DBSCAN、z-score、卡方检验、自相关、预测建模等。对于真正随机的数字,除了极明显的异常外很难识别出什么。之所以做这个,是因为 2023 年左右 FL 彩票大改网站,历史排列查询功能被移除,完整历史只能下载充满杂乱字符、无法直接搜索的 PDF……
eth0up查看英文原文
I had not known of Time Series (or most other) anomaly detection methods until recently, when I used several LLMs to assist with an analysis of the Florida Lottery Pick4 history. For years, I'd been casually observing the daily numbers (2 draws daily for each since around ?/?/2004?, and 1 prior), which are Pick2, 3, 4, and 5, but mostly Pick4, which is 4 digits, thus has 1:10,000 odds, vs 1:100, 1:1000 and 1:100,000 for the others. With truly random numbers, it is pretty difficult to identify anything but glaring anomalies. Among some of the tests performed were: (clusters\daily\weekly; (isolated forest; (popular permutations\by date\special holidays\etc; (individual digits\deviations; (temporal frequency; (dbscan; (zscore; (patterns; (correlation; (external factors; (auto correlation by cluster; (predictive modeling; (chi squared; (Time Series ... and a few more I've forgotten. For those wondering why I'd do this, around 2023-23, the FL Lottery drastically modified their website. Previously, one could enter a number for the game of their choice and receive all historical permutations of that number over all years, going back to the 1990s. With the new modification, the permutations have been eliminated and the history only shows for 2 years. The only option for the complete history is to download the provided PDF -- however, it is full of extraneous characters and cannot be readily searched via Ctrl-F, etc. Processing this PDF involves extensive character removal to render it parsable or modestly readable. So to restore the previously functional search ability, manual work is required. The seemingly deliberate obfuscation, or obstruction, was my motivation. The perceived anomalies over the years were secondary, as I am capable of little more than speculation without proper testing. But those two factors intrigued me. Having no background in math and only feeble abilities in programming, this was a task that I could not have performed without LLMs and python code used for the tests. The test is still incomplete, having increased in complexity as I progressed and left me too tired to persist. The result were ultimately within acceptable ranges of randomness, but some patterns were present. I had made files of (all numbers that ever occurred; (all numbers that have never occurred; (popularity of single, isolated digits -- I was actually correct in my intuition here, which proved certain single were occurring with lesser or greater frequencies as would be expected; (a script to apply Optical Character Recognition on the website and append the latest results to a living text and PDF file to offer anyone interested an opportunity to freely search, parse and analyze the numbers. But I couldn't quite wangle the OCR successfully. Working with a set over 60k individual number sets, looking for anomalies over a 30 year period; if there are other methods anyone would suggest, please offer them and I might resume this abandoned project.
相关资源
从这篇论文所有 HN 讨论帖的全部评论里整理出来的链接。
历次讨论
- 2025Hacker News 讨论帖446 分 · 80 评
同领域还值得读
DeepSeek-R1:通过强化学习激励 LLM 的推理能力
DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via RL
研究如何用强化学习激励大语言模型的推理能力,提出 DeepSeek-R1,并探讨 RL 训练对模型推理表现的影响。
AI 与机器学习2025 · 1,351 分 · 1,056 评 · 引用 30进阶 · 约 80 分钟编辑精选1-bit LLM 时代:面向低成本计算的三值参数
The Era of 1-bit LLMs: ternary parameters for cost-effective computing
提出用三值参数 {-1, 0, 1} 替代 LLM 中的浮点权重,即所谓“1-bit LLM”。
AI 与机器学习2024 · 1,040 分 · 447 评 · 引用 19进阶 · 约 45 分钟编辑精选DeepSeek-V3.2:推进开放大语言模型的前沿
DeepSeek-v3.2: Pushing the frontier of open large language models
这是 DeepSeek-V3.2 的技术报告,延续了 DeepSeek 开源权重模型的路线,目标是让开放模型继续逼近甚至追平前沿闭源模型。
AI 与机器学习2025 · 982 分 · 465 评进阶 · 约 90 分钟编辑精选通过自我对弈与通用强化学习掌握国际象棋和将棋(AlphaZero)
Mastering Chess and Shogi by Self-Play with General Reinforcement Learning
DeepMind 的 AlphaZero 论文:用通用强化学习算法(自我博弈 + MCTS + 神经网络),从零开始仅数小时训练便在国际象棋和将棋上击败了世界顶级引擎 Stock…
AI 与机器学习2017 · 539 分 · 270 评 · 引用 13进阶 · 约 90 分钟编辑精选用强化学习发现更快的矩阵乘法算法
Discovering faster matrix multiplication algorithms with reinforcement learning
论文提出 AlphaTensor,用强化学习搜索矩阵乘法算法。
AI 与机器学习2022 · 518 分 · 111 评专业 · 约 90 分钟编辑精选