[论文解读] KAN-AD: Time Series Anomaly Detection with Kolmogorov-Arnold Networks
KAN-AD 提出了一种新颖的时间序列异常检测模型,该模型采用截断傅里叶展开替代 B 样条函数,利用柯尔莫哥洛夫-阿诺德网络(Kolmogorov-Arnold Networks)对平滑的单变量函数进行建模,从而增强对局部扰动的鲁棒性。该模型在参数少于 1,000 个的情况下,相较于最先进基线模型实现了 15% 的平均 F1 分数提升,且推理速度比原始 KAN 快 50%。
Time series anomaly detection (TSAD) underpins real-time monitoring in cloud services and web systems, allowing rapid identification of anomalies to prevent costly failures. Most TSAD methods driven by forecasting models tend to overfit by emphasizing minor fluctuations. Our analysis reveals that effective TSAD should focus on modeling "normal" behavior through smooth local patterns. To achieve this, we reformulate time series modeling as approximating the series with smooth univariate functions. The local smoothness of each univariate function ensures that the fitted time series remains resilient against local disturbances. However, a direct KAN implementation proves susceptible to these disturbances due to the inherently localized characteristics of B-spline functions. We thus propose KAN-AD, replacing B-splines with truncated Fourier expansions and introducing a novel lightweight learning mechanism that emphasizes global patterns while staying robust to local disturbances. On four popular TSAD benchmarks, KAN-AD achieves an average 15% improvement in detection accuracy (with peaks exceeding 27%) over state-of-the-art baselines. Remarkably, it requires fewer than 1,000 trainable parameters, resulting in a 50% faster inference speed compared to the original KAN, demonstrating the approach's efficiency and practical viability.
研究动机与目标
- 解决基于预测的时间序列异常检测(TSAD)模型对现实世界时间序列中峰值和下降等局部扰动的过拟合问题。
- 通过强调全局模式并降低对局部噪声的敏感性,提升模型在训练过程中的鲁棒性。
- 在极少数可训练参数下实现高检测精度,以支持在实时系统中的高效部署。
- 基于柯尔莫哥洛夫-阿诺德表示定理,将时间序列建模重新定义为平滑单变量函数逼近问题。
- 开发一种轻量化、高效且鲁棒的异常检测框架,适用于在含噪声训练数据的生产环境中使用。
提出的方法
- 用截断傅里叶级数替代 KAN 中的 B 样条激活函数,以增强局部平滑性并提升全局模式建模能力。
- 引入一种轻量级学习机制,强调全局时间模式,同时对局部扰动保持鲁棒性。
- 应用常数项消除模块,以处理时间序列数据中的长期时间趋势。
- 通过傅里叶分解利用频域信息,以改善对周期性和平滑底层模式的建模。
- 采用通道无关策略,通过将每个通道视为独立的单变量实例,将模型扩展至多变量时间序列。
- 在重塑后的单变量时间序列上端到端训练模型,以学习所有通道中通用的正常行为。
实验结果
研究问题
- RQ1在 KAN 中用傅里叶级数替代 B 样条函数,能否提升时间序列异常检测对局部扰动的鲁棒性?
- RQ2平滑单变量函数逼近框架在多大程度上可减少对训练数据中微小波动的过拟合?
- RQ3整合频域信息在保持参数效率的同时,如何提升检测性能?
- RQ4基于 KAN 的模型能否在可训练参数少于 1,000 个且推理速度超过原始 KAN 的情况下,实现最先进性能?
- RQ5当在含局部峰值和下降的噪声数据上进行训练时,所提出方法是否仍能保持高精度?
主要发现
- 在四个公开的时间序列异常检测基准上,KAN-AD 相较于最先进基线模型,平均检测准确率(以最佳 F1 分数衡量)提升了 15%。
- 在 MSL 数据集上,KAN-AD 的最佳 F1 分数达到 0.9076,为所有对比方法中的最高值。
- 在 MSL 数据集上,KAN-AD 仅需 4,491 个可训练参数,相比原始 KAN 减少了 80% 的参数量。
- KAN-AD 的推理速度比原始 KAN 快 50%,显著提升了部署效率。
- 即使在包含局部峰值和下降的噪声数据上进行训练,该模型仍保持高性能,而 TimesNet 和原始 KAN 则表现下降。
- 与 B 样条函数相比,使用傅里叶级数能更好地建模全局模式,并提升对局部扰动的鲁棒性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。