Identifying Semantically Deviating Outlier Documents

Honglei Zhuang, Chi Wang, Fangbo Tao, Lance M. Kaplan, Jiawei Han

Abstract

Identifying "semantic outliers"—documents that fundamentally differ in meaning from a surrounding collection—is a critical task for data cleaning and discovery in large text archives. This paper introduces a novel generative framework that models word embeddings using von Mises-Fisher (vMF) distributions. By focusing on the directional semantics of words and employing a robust quantile-based scoring system, the proposed method achieves significant performance gains over traditional baselines. Experimental evaluations on real-world datasets demonstrate up to a 135% improvement in detection recall and high alignment with human judgment.

Introduction

In massive datasets such as medical records, news archives, or academic publications, finding the "odd one out" is essential for error detection and trend spotting. However, traditional outlier detection methods struggle with the unique challenges of natural language. Lexical sparsity means that synonymous words (e.g., "physician" and "doctor") may not overlap, while generic terms (e.g., "increase", "report") can obscure the specific topic of a document. Furthermore, documents are often noisy, containing off-topic sentences that can mislead models relying on simple averages. This paper addresses these issues through unsupervised outlier detection, identifying semantically deviating documents without requiring pre-labeled "normal" data.

Methodology

The authors propose a three-step pipeline designed to isolate the semantic core of a document.

  1. Embedded von Mises-Fisher Allocation: Rather than treating documents as bags of words, the model treats them as bags of normalized word embedding vectors. Because cosine similarity is the standard metric for embeddings, the authors utilize the von Mises-Fisher (vMF) distribution, which acts as a Gaussian distribution on a hypersphere. This allows for the modeling of "semantic regions" based on the direction of word vectors.
  2. Identifying Semantic Focuses: To distinguish between informative topics and generic noise, the model utilizes the "concentration parameter" ($\kappa$) of the vMF distribution. Regions with low concentration represent vague, broad meanings, while high-concentration regions represent the specific "focuses" of the corpus. This provides an elegant, automated way to de-noise the data.
  3. Orthodox Quantile Outlierness: To handle document-level noise, the authors move away from average similarity scores. Instead, they calculate the probability that each word in a document is "orthodox" (belongs to a semantic focus). Using a Poisson-Binomial distribution, they derive a high-confidence lower bound (a quantile) for the number of orthodox words. A document is flagged as an outlier if even its most "normal" components fail to meet a threshold of corpus-wide orthodoxy.
Figure 2: (a) Ranked orthodox probability and (b) Probability distribution of the random variable for normal vs. outlier documents.

Evaluation and Results

The framework was evaluated on the New York Times (NYT) and ArnetMiner (ARNET) datasets. To create a benchmark for unsupervised detection, the researchers used an injection method, inserting a small percentage of documents from a different category (e.g., Sports) into a "normal" category (e.g., Health).

The primary model, VMF-Q, demonstrated massive performance gains, outperforming standard baselines like TF-IDF and Paragraph2Vec by 45% to 135% in terms of Recall at the top 1%. Ablation studies confirmed that both the vMF directional modeling and the quantile-based scoring were necessary for these results. Additionally, a crowdsourced study revealed that human evaluators agreed with the VMF-Q rankings significantly more often than with traditional word-embedding baselines, suggesting the model captures a more human-centric definition of "meaning."

Figure 5: Human agreement rates for the VMF-Q model compared to VMF-E and P2V-COS baselines on Health and Art datasets.

Conclusion

By combining directional semantics with a robust statistical approach to document noise, this research provides a powerful new tool for identifying semantic outliers. While the model involves computational costs associated with Gibbs sampling and requires pre-trained embeddings, its superior performance and alignment with human intuition make it a significant advancement in the field of unsupervised text analysis. Future work may explore applying this framework to even noisier, crowdsourced data environments.

Summary updated

BibTeX
@inproceedings{zhuang2017identifying,
  author = {Honglei Zhuang and Chi Wang and Fangbo Tao and Lance M. Kaplan and Jiawei Han},
  title = {{Identifying Semantically Deviating Outlier Documents}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2017},
  doi = {10.18653/v1/d17-1291},
}
Figure