Document Summarization Using Conditional Random Fields

Dou Shen, Jian-Tao Sun, Hua Li, Qiang Yang, Zheng ChenIJCAI 2007

Abstract

Modern information workers frequently switch between tasks, making manual task tracking burdensome and error-prone. This paper presents a framework for automated task switch detection using window-focus observations. By analyzing sequences of observations in a FIFO queue rather than single snapshots, we evaluate three methods: Class Probability Voting, Likelihood Ratio Scores, and Minimal Transition Costs (Viterbi). Our results demonstrate that the Viterbi-based transition cost model significantly improves precision and reduces false alarms. We identify an optimal observation queue length of 10–12 segments, balancing detection timeliness with accuracy.

Introduction

Information workers often multitask, switching "working spheres" approximately every 12 minutes. Systems like TaskTracer aim to organize resources by task, but they typically rely on manual user declarations, which are often forgotten or delayed. This research addresses the challenge of automated task switch detection—a form of change-point detection—aiming for high precision, timeliness, and low computational overhead.

Methodology

The proposed framework moves beyond the "Single Window Classifier" (SWC) approach, which is prone to noise from momentary distractions or "null" windows. Instead, it analyzes a FIFO queue of window-document segments. Three mathematical approaches were developed to detect switches within this queue:

  • Class Probability Voting: Aggregates predicted task probabilities across the queue halves.
  • Likelihood Ratio Scores: Uses statistical tests (Likelihood Ratio Test via the Central Limit Theorem) to identify significant shifts in the distribution of task probabilities, accounting for prediction confidence.
  • Minimal Transition Costs (Viterbi): Models task switching as a pathfinding problem. It balances the negative log-likelihood of staying in a task against a fixed "switch cost," using the Viterbi algorithm to find the most likely sequence of tasks, assuming at most one switch occurs in the observation window.

Experimental Evaluation

The methods were tested on both synthetic and real-world datasets. Synthetic data involved 8 tasks and 500 words. Real-world data was collected from four researchers (labeled FA, FB, FC, and SA) over several months, capturing hundreds of manual task switches and thousands of distinct words.

Precision vs. Coverage performance of the proposed methods.

Results and Discussion

The Minimal Transition Cost (Viterbi) approach consistently outperformed other methods. As shown in the precision-coverage curves, it provides a significant boost in precision, particularly at lower coverage levels where minimizing "false alarms" is critical for user acceptance. Compared to the baseline method, the new framework improved precision by more than 15% at these levels.

A critical factor in performance is the observation queue length. Analysis of the Change-point Overlap Accuracy and Precision (COAP) metric reveals a "sweet spot" around 10–12 observations.

Impact of queue size on detection performance (COAP).

As seen in the COAP analysis, too few observations result in excessive noise and false positives, while too many observations introduce unacceptable delays in detection. The Viterbi method effectively acts as a buffer, requiring strong evidence to "pay" the transition cost before declaring a switch.

Conclusion

By leveraging temporal sequences and transition costs, automated systems can reliably detect task switches with high precision. This reduces the burden on users to manually update their status. Future work will explore handling noisy human-generated labels through Expectation-Maximization and implementing dynamic thresholds to balance the cost of user interruption against the benefits of accurate tracking.

Summary updated

BibTeX
@inproceedings{shen2007document,
  author = {Dou Shen and Jian-Tao Sun and Hua Li and Qiang Yang and Zheng Chen},
  title = {{Document Summarization Using Conditional Random Fields}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2007},
  url = {https://openreview.net/forum?id=B1NrHBG_ZH},
}
Figure