Lune

KDD2023Top-tier venue

Learning from Positive and Unlabeled Multi-Instance Bags in Anomaly Detection

Lorenzo Perini, Vincent Vercruyssen, Jesse Davis

Abstract

In the multi-instance learning (MIL) setting instances are grouped together into bags. Labels are provided only for the bags and not on the level of individual instances. A positive bag label means that at least one instance inside the bag is positive, while a negative bag label restricts all the instances in the bag to be negative. MIL data naturally arises in many contexts, such as anomaly detection, where labels are rare and costly, and one often ends up annotating the label for sets of instances. Moreover, in many real-world anomaly detection problems, only positive labels are collected because they usually represent critical events. Such a setting, where only positive labels are provided along with unlabeled data, is called Positive and Unlabeled (PU) learning. Despite being useful for several use cases, there is no work dedicated to learning from positive and unlabeled data in a multi-instance setting for anomaly detection. Therefore, we propose the first method that learns from PU bags in anomaly detection. Our method uses an autoencoder as an underlying anomaly detector. We alter the autoencoder's objective function and propose a new loss that allows it to learn from positive and unlabeled bags of instances. We theoretically analyze this method. Experimentally, we evaluate our method on 30 datasets and show that it performs better than multiple baselines adapted to work in our setting.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Estimating the Contamination Factor's Distribution in Unsupervised Anomaly Detection cites Transferring the Contamination Factor between Anomaly Detection Domains by Shape Similarity
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. United We Stand: Towards End-to-End Log-based Fault Diagnosis via Interactive Multi-Task LearningMinghua He, Chiming Duan, Pei Xiao, Tong Jia et al.ASE 2025 · 1 citation
  2. Noise-Resilient Point-wise Anomaly Detection in Time Series Using Weak Segment LabelsYaxuan Wang, Hao Cheng, Jing Xiong, Qingsong Wen et al.KDD 2025

Builds on2

  1. Estimating the Contamination Factor's Distribution in Unsupervised Anomaly DetectionLorenzo Perini, Paul-Christian Bürkner, Arto KlamiICML 2023 · 27 citations
  2. Transferring the Contamination Factor between Anomaly Detection Domains by Shape SimilarityLorenzo Perini, Vincent Vercruyssen, Jesse DavisAAAI 2022 · 20 citations

Related papers

  1. TAIL-MIL: Time-Aware and Instance-Learnable Multiple Instance Learning for Multivariate Time Series Anomaly DetectionJaeseok Jang, Hyuk-Yoon KwonAAAI 2025 · 5 citations
  2. Learning from positive and unlabeled examples -Finite size sample boundsFarnam Mansouri, Shai Ben-DavidNeurIPS 2025 · 6 citations
  3. Multi-Instance Causal Representation Learning for Instance Label Prediction and Out-of-Distribution GeneralizationWeijia Zhang, Xuanhui Zhang, Hanwen Deng, Min-Ling ZhangNeurIPS 2022 · 32 citations
  4. Prompt-Enhanced Multiple Instance Learning for Weakly Supervised Video Anomaly DetectionJunxi Chen, Liang Li, Li Su, Zheng-Jun Zha et al.CVPR 2024
  5. Dist-PU: Positive-Unlabeled Learning from a Label Distribution PerspectiveYunrui Zhao, Qianqian Xu, Yangbangyan Jiang, Peisong Wen et al.CVPR 2022 · 47 citations
Dusk over the sea between two cliffs drawn in fine vertical lines