Skip to main content
QUICK REVIEW

[Paper Review] Outlier Detection for Text Data : An Extended Version

Ramakrishnan Kannan, Hyenkyun Woo|arXiv (Cornell University)|Jan 5, 2017
Anomaly Detection Techniques and ApplicationsComputer Science31 references17 citations
TL;DR

This paper proposes TONMF, a non-negative matrix factorization (NMF)-based method for detecting outliers in text data by leveraging low-rank approximations to distinguish anomalies from natural data variations. The method uses block coordinate descent to iteratively optimize matrix factors, achieving superior performance over baseline methods on text and sparse high-dimensional data, particularly in identifying outliers based on structural and distributional anomalies beyond topic similarity.

ABSTRACT

The problem of outlier detection is extremely challenging in many domains such as text, in which the attribute values are typically non-negative, and most values are zero. In such cases, it often becomes difficult to separate the outliers from the natural variations in the patterns in the underlying data. In this paper, we present a matrix factorization method, which is naturally able to distinguish the anomalies with the use of low rank approximations of the underlying data. Our iterative algorithm TONMF is based on block coordinate descent (BCD) framework. We define blocks over the term-document matrix such that the function becomes solvable. Given most recently updated values of other matrix blocks, we always update one block at a time to its optimal. Our approach has significant advantages over traditional methods for text outlier detection. Finally, we present experimental results illustrating the effectiveness of our method over competing methods.

Motivation & Objective

  • To address the challenge of detecting outliers in sparse, high-dimensional text data where traditional distance-based methods fail due to noise and non-uniform word distributions.
  • To develop a robust, interpretable method that identifies anomalies not only by topic deviation but also by statistical and structural irregularities in word distribution.
  • To design a non-negative matrix factorization model specifically optimized for outlier detection, overcoming limitations of generic NMF and standard outlier detection techniques.
  • To evaluate the method on diverse text datasets and demonstrate its superiority over existing approaches in terms of accuracy and robustness.
  • To enable practical deployment through open-source code and scalability considerations for large-scale and streaming data.

Proposed method

  • TONMF employs a non-negative matrix factorization framework to decompose the term-document matrix into low-rank components representing semantic clusters of words and documents.
  • The method uses a block coordinate descent (BCD) optimization strategy, updating one matrix block at a time using the most recently updated values of others to achieve convergence.
  • A regularization term is introduced with parameters α and β to balance outlier detection importance against matrix sparsity, allowing control over sensitivity to anomalies.
  • The model is designed to detect outliers not only by topic deviation but also by extreme word frequency patterns, such as unusually long or short documents with repetitive vocabulary.
  • The algorithm is implemented in a parallelized manner using MATLAB’s Parallel Computing Toolbox, enabling efficient execution on multicore systems.
  • The method is extensible to other domains such as market basket analysis and can be adapted for temporal and spatial extensions in future work.

Experimental results

Research questions

  • RQ1Can a low-rank matrix factorization approach effectively detect outliers in sparse, high-dimensional text data where traditional distance-based methods fail?
  • RQ2How does the inclusion of a dedicated outlier regularization term improve detection performance compared to standard NMF or baseline outlier detection methods?
  • RQ3To what extent can the method identify outliers based on statistical anomalies in word distribution, independent of topical similarity?
  • RQ4How does the algorithm perform across diverse text datasets, including RCV20 and market basket data, in terms of precision and recall?
  • RQ5Can the method be effectively scaled for web-scale or streaming text data, and what are the implications for real-time anomaly detection?

Key findings

  • TONMF significantly outperforms baseline methods such as distance-based and density-based approaches on text outlier detection tasks, particularly in handling sparse and high-dimensional data.
  • The method successfully identifies outliers that are not detectable by topic-based similarity, including documents that are unusually long (>400 words) or short (<150 words) with high vocabulary repetition.
  • Experiments on the RCV20 dataset show that TONMF detects subtle structural anomalies—such as atypical word frequency patterns—better than other baselines, even when such documents belong to regular topical classes.
  • Parameter sensitivity analysis reveals that increasing α (outlier regularization weight) beyond a threshold does not improve performance, indicating a saturation point where the main objective of low-rank approximation dominates.
  • The algorithm demonstrates robustness across multiple datasets, including news articles and market basket data, confirming its generalizability beyond pure text applications.
  • The open-source implementation on GitHub enables reproducibility and extension to new domains, including video and streaming data, with potential for large-scale deployment.

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.