Skip to main content
QUICK REVIEW

[Paper Review] Using temporal IDF for efficient novelty detection in text streams

Margarita Karkali, François Rousseau|arXiv (Cornell University)|Jan 7, 2014
Web Data Mining and AnalysisComputer Science31 references16 citations
TL;DR

This paper proposes a novel, efficient novelty detection method for text streams using a temporal variant of Inverse Document Frequency (IDF) to measure document novelty without comparing to all past documents. By leveraging term specificity through time-decayed IDF and maintaining only a lightweight index, the method achieves high accuracy—outperforming baselines with lower time and memory costs—making it ideal for mobile and real-time applications.

ABSTRACT

Novelty detection in text streams is a challenging task that emerges in quite a few different scenarios, ranging from email thread filtering to RSS news feed recommendation on a smartphone. An efficient novelty detection algorithm can save the user a great deal of time and resources when browsing through relevant yet usually previously-seen content. Most of the recent research on detection of novel documents in text streams has been building upon either geometric distances or distributional similarities, with the former typically performing better but being much slower due to the need of comparing an incoming document with all the previously-seen ones. In this paper, we propose a new approach to novelty detection in text streams. We describe a resource-aware mechanism that is able to handle massive text streams such as the ones present today thanks to the burst of social media and the emergence of the Web as the main source of information. We capitalize on the historical Inverse Document Frequency (IDF) that was known for capturing well term specificity and we show that it can be used successfully at the document level as a measure of document novelty. This enables us to avoid similarity comparisons with previous documents in the text stream, thus scaling better and leading to faster execution times. Moreover, as the collection of documents evolves over time, we use a temporal variant of IDF not only to maintain an efficient representation of what has already been seen but also to decay the document frequencies as the time goes by. We evaluate the performance of the proposed approach on a real-world news articles dataset created for this task. The results show that the proposed method outperforms all of the baselines while managing to operate efficiently in terms of time complexity and memory usage, which are of great importance in a mobile setting scenario.

Motivation & Objective

  • To address the scalability and efficiency limitations of document-to-document similarity methods in real-time text stream novelty detection.
  • To improve detection of novel content in dynamic, evolving streams such as social media and news feeds.
  • To develop a lightweight, resource-aware method that avoids costly comparisons with all previously seen documents.
  • To incorporate temporal decay into IDF to reflect shifting topics and prioritize recent content.
  • To evaluate the method on a real-world news dataset and compare it against established baselines in terms of accuracy, speed, and memory usage.

Proposed method

  • Proposes a document-level novelty score based on the sum of time-decayed IDF values for terms in an incoming document.
  • Uses a temporal IDF variant where document frequency decays over time, giving more weight to recent occurrences.
  • Employs a sliding window mechanism with decay functions (e.g., sigmoid, exponential, linear) to model the temporal evolution of term importance.
  • Maintains only a term-to-last-occurrence index (tdf index), eliminating the need to store full documents or similarity matrices.
  • Applies a novelty threshold to classify incoming documents as novel or not based on their computed novelty score.
  • Extends the basic model with temporal decay to better detect small clusters and adapt to topic shifts in evolving streams.

Experimental results

Research questions

  • RQ1Can IDF at the document level effectively serve as a proxy for document novelty without pairwise similarity comparisons?
  • RQ2How does temporal decay in IDF improve novelty detection in evolving text streams with shifting topics?
  • RQ3What decay function (e.g., sigmoid, exponential, linear) optimizes novelty detection performance across different cluster sizes?
  • RQ4How does the proposed method compare to traditional similarity-based baselines in terms of accuracy, speed, and memory efficiency?
  • RQ5Can a lightweight index based only on term occurrence timestamps achieve high detection accuracy while minimizing resource usage?

Key findings

  • The extended model with temporal decay outperforms the basic model, especially in detecting small clusters, with avgC_DET reduced to 0.27 on snippets and 0.28 on article content.
  • The sigmoid decay function achieved the best performance, with avgC_DET = 0.17 on snippets and 0.28 on article content, outperforming exp1, exp2, and linear decay.
  • The proposed method achieved higher detection accuracy than all four baseline methods (cosine similarity, online clustering, one-class classification, and centroid-based similarity) across all evaluation settings.
  • The method operates with significantly lower time complexity and memory usage than similarity-based approaches, requiring only a tdf index in memory.
  • The basic model struggled with small clusters (avgC_DET = 0.31), but the extended model reduced this to below 0.27, demonstrating improved sensitivity to emerging topics.
  • The results confirm that IDF is not only a measure of term specificity but also an effective indicator of document novelty when combined with temporal decay.

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.