mlsanityData to 14 Oct 2026

Seeing the Needle in the Haystack: Towards Weakly-Supervised Log Instance Anomaly Localization via Counterfactual Perturbation

arXiv 2605.10988 ↗First posted 9 May 2026cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Log anomaly detection is a critical task for system operations and security assurance. However, in networked systems at scale, log data are generated at massive scale while instance-level annotations are prohibitively expensive, posing great difficulties to fine-grained anomaly localization. To address this challenge, we propose LogMILP (Log anomaly localization based on Multi-Instance Learning enhanced by prototypes and Perturbation), a weakly supervised framework that enables both bag-level anomaly detection and instance-level anomaly localization using only bag-level labels. Our method guides the model to pinpoint the critical log entries using prototype-guided structural modeling with counterfactual perturbation consistency regularization, thereby improving localization reliability and interpretability under coarse-grained supervision. Experimental results on three public datasets demonstrate that LogMILP achieves competitive detection performance while yielding significantly more reliable instance-level localization. Our code is open-sourced at https://github.com/YUK1207/LogMILP.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 10 of its 24 references that are in the map. First posted on arXiv 9 May 2026.

Builds on

10 of 24 references.

References · 10

  1. 2017Attention Is All You Needcited by 60,361
  2. 2019Unsupervised Data Augmentation for Consistency Trainingcited by 1,060
  3. 2022Towards Faithful Model Explanation in NLP: A Surveycited by 130
  4. 2021LogBERT: Log Anomaly Detection via BERTcited by 118
  5. 2024Prompt Perturbation Consistency Learning for Robust Language Modelscited by 26
  6. 2023Weakly Supervised Anomaly Detection: A Surveycited by 22
  7. 2025Walk the Talk: Is Your Log-based Software Reliability Maintenance System Really Reliable?cited by 10
  8. 2023Prototype-Based Interpretability for Legal Citation Predictioncited by 9
  9. 2023Industrial Anomaly Detection and Localization Using Weakly-Supervised Residual Transformerscited by 6
  10. 2024Multi-Normal Prototypes Learning for Weakly Supervised Anomaly Detectioncited by 1

Built on by

Not cited yet.