Detection of Abnormal Input-Output Associations

Charmgil Hong, Siqi Liu, Milos HauskrechtarXiv 2017

TL;DR

This paper introduces a novel approach to outlier detection that focuses on identifying "conditional outliers" – instances where the output is unusual given a specific input context. They achieve this by building a probabilistic model of the input-output relationship and then projecting data into a lower-dimensional space to better detect these context-dependent anomalies. This method shows improved performance over existing techniques for this specific type of outlier.

What Problem Does This Paper Address?

Traditional outlier detection methods often look for anomalies in the "joint space" of all data attributes. However, this can lead to issues when dealing with data where the relationship between different attributes is crucial. The paper highlights a specific problem: conditional outliers. These are data points where the output (e.g., a label, a measurement) is unusual given a particular input or context (e.g., an image, a set of sensor readings).

Imagine trying to detect unusual image tags. If you just look at all tags across all images, you might flag images with rare themes as outliers (false positives), even if their tags are perfectly normal for that theme. Conversely, you might miss unusual tags on very common image themes because the overall "outlierness" is diluted. This paper tackles this challenge by specifically aiming to detect these context-dependent anomalies, which are often missed by standard methods.

Methods

The authors propose a two-phase approach:

  1. Probabilistic Multi-dimensional Model Building: They first build a probabilistic model that captures the conditional relationship between inputs (X) and outputs (Y), denoted as P(Y|X). To manage the complexity of modeling all possible output combinations, they decompose the joint conditional probability into a product of univariate conditional factors using the chain rule of probability. This means they model the probability of each output dimension given the input and potentially other output dimensions. They use a generalized mixture framework with 1-2 regularized logistic regression for this modeling.
  2. Transformation for Outlier Detection: Once the model is built, they use it to transform the original data. For each input-output pair (x, y), they estimate a vector of normalized confidence levels (conditional probabilities) for each output dimension. This transformed vector, denoted as ρ, acts as a low-dimensional proxy for the original instance. The core idea is that multivariate conditional outliers will be more effectively detected in this "proxy space" of conditional probabilities.

Datasets

The paper evaluates their approach on two scene image datasets, annotated with semantic tags.

  • Dataset #1: 2,407 instances, 294 input dimensions, 6 output dimensions (tags: beach, sunset, foliage, field, mountains, urban).
  • Dataset #2: 2,000 instances, 135 input dimensions, 5 output dimensions (tags: desert, mountains, sea, sunset, trees).

These datasets are described as having input features representing images and binary output vectors indicating the presence of specific semantic tags.

Key Insights and Ideas

  • The importance of context: The paper strongly emphasizes that for many real-world problems, the "outlierness" of a data point is not absolute but depends heavily on its context. Standard outlier detection methods often fail to capture this nuance.
  • Conditional probability space as a detection ground: Projecting data into a space defined by conditional probabilities (how likely is an output given an input) is a powerful way to reveal anomalies that are specific to that input-output relationship.
  • Decomposition for tractability: Breaking down the complex joint conditional probability into simpler univariate factors is crucial for making the modeling computationally feasible, especially with high-dimensional outputs.

Key Results

The authors compare their approach (dubbed "OURS") combined with two base outlier detection methods (LOF and OCS) against several baselines:

  • Base methods on joint space (LOF-JOINT, OCS-JOINT): Applying LOF or OCS to the raw input-output data.
  • Base methods on output space (LOF-OUT, OCS-OUT): Applying LOF or OCS only to the output attributes.
  • Subspace methods (HICS, FB): Feature bagging and high contrast subspaces, which are state-of-the-art for outlier detection.

On both datasets, their proposed approach (OURS+LOF and OURS+OCS) consistently outperformed all other methods, including the specialized subspace techniques. The results are presented in terms of Area Under the Curve (AUC), with their method achieving the highest AUC values.

Limitations and Future Work

  • Computational Cost: While the decomposition helps, building the probabilistic model can still be computationally expensive, especially with very high-dimensional inputs and outputs.
  • Model Choice: The paper uses logistic regression for univariate conditional factors. Exploring other probabilistic models might yield further improvements.
  • Future Work: The authors suggest that their model-based approach can be extended to other types of conditional outlier detection problems and potentially applied to different domains where input-output relationships are key. They also mention that further research could explore more efficient model building techniques.

Summary updated

Abstract

We study a novel outlier detection problem that aims to identify abnormal input-output associations in data, whose instances consist of multi-dimensional input (context) and output (responses) pairs. We present our approach that works by analyzing data in the conditional (input--output) relation space, captured by a decomposable probabilistic model. Experimental results demonstrate the ability of our approach in identifying multivariate conditional outliers.
BibTeX
@misc{hong2017detection,
  author = {Charmgil Hong and Siqi Liu and Milos Hauskrecht},
  title = {{Detection of Abnormal Input-Output Associations}},
  year = {2017},
  eprint = {1708.01035},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1708.01035},
}
Figure