Text Segmentation with LDA-Based Fisher Kernel

Qi Sun, Runxin Li, Dingsheng Luo, Xihong WuACL 2008

Introduction

Text segmentation is the process of automatically dividing a long document into smaller, topically coherent chunks. This task is fundamental for downstream applications such as information retrieval and document summarization. Traditional methods, like the widely-used TextTiling algorithm, primarily rely on "lexical cohesion"—the repetition of exact words. However, this approach fails to account for the semantic richness of human language, where synonyms (e.g., "astronaut" and "cosmonaut") are used to describe the same topic. This paper proposes a domain-independent method that bridges this "semantic gap" by leveraging Latent Dirichlet Allocation (LDA) and the Fisher Kernel.

Methodology

The proposed system utilizes a three-stage pipeline to achieve robust segmentation:

  1. Latent Dirichlet Allocation (LDA): Text blocks are treated as documents within an LDA framework, allowing each word and block to be represented as a distribution over latent topics.
  2. LDA-Based Fisher Kernel: This core innovation measures the similarity between text blocks based on the LDA generative model. Unlike simple word-matching, the Fisher Kernel accounts for synonymy (shared latent topics) and polysemy (context-weighted word overlaps).
  3. Dynamic Programming (DP) Optimization: A global cost function is defined to find optimal "cut" points. This function balances semantic similarity (from the Fisher Kernel) with the probability of segment lengths, modeled via a Gaussian distribution. Dynamic programming is then employed to minimize this total cost across the document.

Experimental Evaluation

The researchers evaluated their approach using a Chinese news corpus. Artificial test sets were constructed by concatenating documents to simulate topic shifts across three configurations:

  • Set 3-5: Segments of 3 to 5 sentences.
  • Set 13-15: Segments of 13 to 15 sentences.
  • Set 5-20: A challenging set with irregular segment sizes ranging from 5 to 20 sentences.

Key Results

The LDA-based Fisher Kernel demonstrated significant improvements over traditional methods. On average, the proposed method reduced the error rate ($P_k$) by approximately 30% compared to standard word-frequency cosine similarity.

Comparison of Pk error rates between the LDA-based Fisher kernel and word-frequency cosine similarity across different dataset configurations.

In the most challenging scenario (Set 5-20), the algorithm achieved a $P_k$ of 0.205, outperforming both TextTiling (0.226) and the baseline DP algorithm by Fragkou et al. (0.344). While there was a slight trade-off in recall, the proposed method maintained a higher precision of 62.27%, indicating more reliable topic shift predictions.

Performance comparison of the proposed algorithm against TextTiling and the Fragkou algorithm on the challenging Set 5-20.

Discussion and Insights

A key takeaway is the robustness of the LDA-based Fisher Kernel to irregular segment lengths. While many algorithms struggle when topic sizes vary wildly, this approach remains stable. Furthermore, by optimizing a global mathematical minimum, the method avoids the need for manual threshold setting required by algorithms like TextTiling.

However, the computational complexity of running LDA and Fisher Kernel derivations remains a consideration for real-time applications. Future work will focus on exploring more complex semantic similarity measures and refining the weighting between similarity and segment length in the cost function.

Summary updated

BibTeX
@inproceedings{sun2008text,
  author = {Qi Sun and Runxin Li and Dingsheng Luo and Xihong Wu},
  title = {{Text Segmentation with LDA-Based Fisher Kernel}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2008},
}
Figure