Tracking unbounded Topic Streams

Dominik Wurzer, Victor Lavrenko, Miles OsborneACL 2015

Abstract

Real-time topic tracking in massive social media streams faces significant scalability challenges when dealing with millions of emerging topics. This paper evaluates traditional exact matching, Locality Sensitive Hashing (LSH), and a novel cluster-based tracking approach. We demonstrate that a data-aware clustering method significantly outperforms the industry-standard LSH in both computational efficiency and accuracy. Our results show an 83% reduction in runtime and an 86% reduction in dot product operations compared to exact baselines, while maintaining high recall.

Introduction

In the era of "Big Data," the volume of information is often secondary to its "unboundedness." Traditional topic tracking—filtering document streams like Twitter for relevance to specific interests—typically assumes a static set of topics. However, real-world scenarios involve thousands of new topics emerging daily. Financial analysts and security researchers require systems capable of monitoring millions of topics simultaneously. Previous systems struggled with this scale, either resorting to computationally expensive exhaustive comparisons or "data-blind" random indexing methods like LSH. This work addresses the challenge of tracking 4.4 million topics against a stream of 52 million documents using constant time and memory.

Methodology

Three primary approaches to topic tracking were evaluated:

  1. Traditional Baseline: An exact matching system comparing every document to every topic ($O(n_D \times n_T)$), serving as a gold standard for accuracy but failing at scale.
  2. Locality Sensitive Hashing (LSH): An approximate nearest neighbor search using random hyperplanes to partition the vector space. While sub-linear, its "data-blind" nature limits its efficiency in text streams.
  3. Cluster-based Tracking: A lightweight, single-pass clustering algorithm that groups similar topics into clusters represented by centroids. Documents are first compared to centroids; only those close to a centroid are compared to individual topics within that cluster.

To maintain constant space, a deletion policy evicts the least popular or oldest topics once memory limits are reached. Similarity was measured using a BM25-weighted dot product to handle length imbalances between short tweets and long topic descriptions (e.g., Wikipedia articles).

Key Insights: Data-Awareness vs. Randomness

A critical finding is that LSH is suboptimal for streaming text. Because LSH uses random partitions, it requires large candidate sets to achieve acceptable recall. In contrast, clustering creates partitions based on the actual distribution of data in the vector space.

Recall vs. Candidate Set Size: Clustering requires significantly smaller candidate sets than LSH to achieve the same recall.

As shown in the figure above, to reach a 50% recall rate, LSH must examine approximately 30% of all topics, whereas the cluster-based approach achieves this by examining only 9%. This efficiency in "cutting down the search space" is the primary driver of the system's performance.

Experimental Results

The cluster-based approach demonstrated superior performance across massive real-world datasets (52M tweets, 4.4M Wikipedia topics):

  • Efficiency: Clustering achieved an 83% reduction in runtime and an 86% reduction in computational cost (dot products) compared to the exact baseline.
  • Effectiveness: The method maintained high accuracy, with only a 6% drop in F1 score compared to the exhaustive traditional method.
F1 score vs. Dot Products: Cluster-based tracking achieves higher F1 scores with far fewer computational operations than LSH or random sampling.

The trade-off between computational effort (dot products) and accuracy (F1 score) highlights that cluster-based tracking reaches near-optimal performance much faster than competing methods.

Conclusion and Future Work

This research proves that unbounded topic tracking at the scale of millions is feasible through data-aware clustering. While highly effective, future work could improve deletion strategies beyond "least recently matched" to preserve critical low-frequency topics. Additionally, exploring hardware acceleration (GPUs/FPGAs) and handling long-term semantic drift in topics remain open challenges for production-grade streaming systems.

Summary updated

BibTeX
@inproceedings{wurzer2015tracking,
  author = {Dominik Wurzer and Victor Lavrenko and Miles Osborne},
  title = {{Tracking unbounded Topic Streams}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2015},
  doi = {10.3115/v1/p15-1170},
}
Figure