Weakly-Supervised Log-Based Anomaly Detection with Inexact Labels via Multi-Instance Learning

Log-based anomaly detection is essential for maintaining software availability. However, existing log-based anomaly detection approaches heavily rely on fine-grained exact labels of log entries which are very hard to obtain in real-world systems. This brings a key problem that anomaly detection models require supervision signals while labeled log entries are unavailable. Facing this problem, we propose a new labeling strategy called inexact labeling that instead of labeling an log entry, system experts can label a bag of log entries in a time span. Furthermore, we propose MIDLog, a weakly supervised log-based anomaly detection approach with inexact labels. We leverage the multiinstance learning paradigm to achieve explicit separation of anomalous log entries from the inexact labeled anomalous log set so as to deduce exact anomalous log labels from inexact labeled log sets. Extensive evaluation on three public datasets shows that our approach achieves an F1 score of over 85% with inexact labels.

Authors

Institutions

Publication Details

Published
2025-04-26
DOI
https://doi.org/10.1109/icse55347.2025.00189
Citations
8
Primary Topic
Anomaly Detection Techniques and Applications
Type
article
Field-Weighted Citation Impact
19.85
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Weakly-Supervised Log-Based Anomaly Detection with Inexact Labels via Multi-Instance Learning

Chiming Duan, Huaqian Cai, Tong Jia, Ying Li et al.
8 citations
Anomaly Detection Techniques and Applications
19.85
article

Weakly-Supervised Log-Based Anomaly Detection with Inexact Labels via Multi-Instance Learning

Chiming Duan, Huaqian Cai, Tong Jia, Ying Li, Gang Huang, Minghua He
article en
8 citations

Abstract

Log-based anomaly detection is essential for maintaining software availability. However, existing log-based anomaly detection approaches heavily rely on fine-grained exact labels of log entries which are very hard to obtain in real-world systems. This brings a key problem that anomaly detection models require supervision signals while labeled log entries are unavailable. Facing this problem, we propose a new labeling strategy called inexact labeling that instead of labeling an log entry, system experts can label a bag of log entries in a time span. Furthermore, we propose MIDLog, a weakly supervised log-based anomaly detection approach with inexact labels. We leverage the multiinstance learning paradigm to achieve explicit separation of anomalous log entries from the inexact labeled anomalous log set so as to deduce exact anomalous log labels from inexact labeled log sets. Extensive evaluation on three public datasets shows that our approach achieves an F1 score of over 85% with inexact labels.

Peking University (CN), Beijing Academy of Artificial Intelligence (CN)
Reduced inequalities
Openalex Percentile: Top 1%
Anomaly Detection Techniques and Applications
19.85
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.

Weakly-Supervised Log-Based Anomaly Detection with Inexact Labels via Multi-Instance Learning — Chiming Duan, Huaqian Cai, et al. · (2025) | TGRS Research Map | TGRS