Uncertainty-informed dynamic threshold for time series anomaly detection

IF 7.5 1区 计算机科学 Q1 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE Expert Systems with Applications Pub Date : 2025-06-10 Epub Date: 2025-03-25 DOI:10.1016/j.eswa.2025.127379
Jungmin Lee , Jiyoon Lee , Seoung Bum Kim
{"title":"Uncertainty-informed dynamic threshold for time series anomaly detection","authors":"Jungmin Lee ,&nbsp;Jiyoon Lee ,&nbsp;Seoung Bum Kim","doi":"10.1016/j.eswa.2025.127379","DOIUrl":null,"url":null,"abstract":"<div><div>As time series data continues to be collected across various fields, the importance of automated anomaly detection systems is steadily increasing. A key challenge in anomaly detection lies in setting an optimal threshold for anomaly scores to distinguish anomalies from normal data. Most existing studies use a fixed threshold, often resulting in misclassification of ambiguous data. Therefore, defining a dynamic and optimal threshold is crucial for improving detection performance. We aim to quantify uncertainty as a metric that determines the degree of ambiguity in the data. Because our models are trained only on normal data, anomalies exhibiting patterns divergent from the normal data entail higher uncertainty. Accordingly, in this study, we propose a dynamic thresholding method that better aligns with the nature of the data through uncertainty quantification. Through experimentation with synthetic datasets and five benchmark datasets for time series anomaly detection, we demonstrate the efficacy of our proposed method. Our proposed method outperforms both the fixed threshold and existing dynamic thresholding methods, achieving an average F1-score improvement of over 0.06 across benchmark datasets. In particular, the performance improvement is more significant when the distributions of normal data and anomalies are more similar. The source code can be accessed at https://github.com/jungminkr9195/UDT.</div></div>","PeriodicalId":50461,"journal":{"name":"Expert Systems with Applications","volume":"278 ","pages":"Article 127379"},"PeriodicalIF":7.5000,"publicationDate":"2025-06-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Expert Systems with Applications","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0957417425010012","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/3/25 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

Abstract

As time series data continues to be collected across various fields, the importance of automated anomaly detection systems is steadily increasing. A key challenge in anomaly detection lies in setting an optimal threshold for anomaly scores to distinguish anomalies from normal data. Most existing studies use a fixed threshold, often resulting in misclassification of ambiguous data. Therefore, defining a dynamic and optimal threshold is crucial for improving detection performance. We aim to quantify uncertainty as a metric that determines the degree of ambiguity in the data. Because our models are trained only on normal data, anomalies exhibiting patterns divergent from the normal data entail higher uncertainty. Accordingly, in this study, we propose a dynamic thresholding method that better aligns with the nature of the data through uncertainty quantification. Through experimentation with synthetic datasets and five benchmark datasets for time series anomaly detection, we demonstrate the efficacy of our proposed method. Our proposed method outperforms both the fixed threshold and existing dynamic thresholding methods, achieving an average F1-score improvement of over 0.06 across benchmark datasets. In particular, the performance improvement is more significant when the distributions of normal data and anomalies are more similar. The source code can be accessed at https://github.com/jungminkr9195/UDT.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
时间序列异常检测的不确定性动态阈值
随着时间序列数据在各个领域的不断收集,自动化异常检测系统的重要性正在稳步增加。异常检测的一个关键挑战在于为异常分数设置一个最优阈值,以区分异常和正常数据。现有的研究大多使用固定的阈值,这往往导致对模糊数据的错误分类。因此,定义一个动态的最优阈值对于提高检测性能至关重要。我们的目标是将不确定性量化为确定数据模糊程度的度量。由于我们的模型仅在正常数据上进行训练,因此显示与正常数据不同的模式的异常需要更高的不确定性。因此,在本研究中,我们提出了一种动态阈值方法,通过不确定性量化,更好地符合数据的性质。通过合成数据集和5个基准数据集的时间序列异常检测实验,验证了该方法的有效性。我们提出的方法优于固定阈值和现有的动态阈值方法,在基准数据集上平均f1分数提高了0.06以上。特别是,当正态数据和异常数据的分布越接近时,性能的提升就越显著。源代码可以在https://github.com/jungminkr9195/UDT上访问。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Expert Systems with Applications
Expert Systems with Applications 工程技术-工程:电子与电气
CiteScore
13.80
自引率
10.60%
发文量
2045
审稿时长
8.7 months
期刊介绍: Expert Systems With Applications is an international journal dedicated to the exchange of information on expert and intelligent systems used globally in industry, government, and universities. The journal emphasizes original papers covering the design, development, testing, implementation, and management of these systems, offering practical guidelines. It spans various sectors such as finance, engineering, marketing, law, project management, information management, medicine, and more. The journal also welcomes papers on multi-agent systems, knowledge management, neural networks, knowledge discovery, data mining, and other related areas, excluding applications to military/defense systems.
期刊最新文献
FairDiff: Masked condition diffusion for fairness-aware recommendation CTGAN-MNLIME: A CTGAN-boosted multidimensional nonlinear LIME method for corporate environmental indicators prediction An explainable machine learning-based scoring function using interpretable features and model explanation approaches for binding affinity prediction Hybrid fuzzy multi-criteria decision-making model for assessing sustainable waste management strategies MPGCF: Multi-objective and popularity-smoothing graph collaborative filtering for long-tail web API recommendation
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1