Skip to main content
QUICK REVIEW

[Paper Review] Open Category Detection with PAC Guarantees

Si Liu, Risheek Garrepalli|arXiv (Cornell University)|Aug 1, 2018
Domain Adaptation and Few-Shot LearningComputer Science41 citations
TL;DR

This paper studies open category detection with PAC-style guarantees under a two-set training scenario (clean nominal data and a contaminated mixture with a known upper bound on alien proportion). It provides a thresholding method using anomaly scores to achieve a user-specified alien-detection rate with finite-sample guarantees and evaluates it empirically.

ABSTRACT

Open category detection is the problem of detecting "alien" test instances that belong to categories or classes that were not present in the training data. In many applications, reliably detecting such aliens is central to ensuring the safety and accuracy of test set predictions. Unfortunately, there are no algorithms that provide theoretical guarantees on their ability to detect aliens under general assumptions. Further, while there are algorithms for open category detection, there are few empirical results that directly report alien detection rates. Thus, there are significant theoretical and empirical gaps in our understanding of open category detection. In this paper, we take a step toward addressing this gap by studying a simple, but practically-relevant variant of open category detection. In our setting, we are provided with a "clean" training set that contains only the target categories of interest and an unlabeled "contaminated" training set that contains a fraction $α$ of alien examples. Under the assumption that we know an upper bound on $α$, we develop an algorithm with PAC-style guarantees on the alien detection rate, while aiming to minimize false alarms. Empirical results on synthetic and standard benchmark datasets demonstrate the regimes in which the algorithm can be effective and provide a baseline for further advancements.

Motivation & Objective

  • Motivate open category detection as a safety-critical problem where aliens must be detected with a guaranteed rate.
  • Propose a simple two-training-set setup: clean nominal data plus contaminated data with an upper bound on alien fraction α.
  • Develop a PAC-style method to guarantee a user-specified alien-detection rate while controlling false alarms.
  • Provide finite-sample guarantees and show how upper bounds on α affect performance and data requirements.
  • Benchmark the approach using anomaly detectors on synthetic and standard datasets.

Proposed method

  • Define anomaly-score distributions for nominal (F0), alien (Fa), and mixture (Fm) data and derive Fa from Fm and F0 when α is known.
  • Compute empirical CDFs from S0 and Sm and form an empirical alien CDF Fa_hat via Fa_hat(x) = (Fm_hat(x) − (1−α)F0_hat(x)) / α.
  • Determine the threshold τ̂_q as the largest score with Fa_hat(τ̂_q) ≤ q to achieve 1−q alien recall.
  • Apply isotonization and clipping to ensure Fa_hat is a valid CDF before thresholding.
  • Provide a finite-sample guarantee (Theorem 1) showing n needed for target recall 1−η given ε and δ, with n = O((1/ε^2 α^2) log(1/δ)).
  • Discuss relaxing α with an admissible anomaly detector (F0 ≤ Fm for all x) and implications for guarantees.

Experimental results

Research questions

  • RQ1Can open category detection be achieved with PAC-style guarantees under a two-training-set setting with a known upper bound on alien proportion α?
  • RQ2How does the anomaly-detector quality affect alien recall and nominal false-alarm rates under finite samples?
  • RQ3What sample sizes are required to guarantee a target alien-detection rate, and how does overestimating α affect performance?
  • RQ4How do the proposed guarantees perform empirically on synthetic and standard benchmark datasets across varying α and n?

Key findings

  • The proposed thresholding method can achieve a user-specified alien-detection rate with finite-sample guarantees when α is known or bounded.
  • Recall improves with larger n and larger α, while false-positive rates depend on anomaly-detector quality and domain, with non-trivial FPR observed on benchmarks.
  • The required sample size grows polynomially with 1/(ε^2 α^2) and log(1/δ), indicating data needs rise as α decreases.
  • Empirical results show recall close to 1−q on several UCI and vision datasets for larger n, but gaps remain for small datasets or very small α.
  • Overestimating α degrades FPR more than it boosts recall, highlighting the importance of accurate α estimation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.