SegGen: A Genetic Algorithm for Linear Text Segmentation

Sylvain Lamprier, Tassadit Amghar, Bernard Levrat, Frédéric SaubionIJCAI 2007

Abstract

SegGen is a novel approach to linear text segmentation that treats the problem as a global combinatorial optimization task rather than a sequential one. By employing a multi-objective genetic algorithm, it simultaneously optimizes for high internal segment cohesion and low similarity between adjacent segments. Experimental results on synthetic datasets demonstrate that SegGen significantly outperforms classic local-view methods such as TextTiling and C99, particularly in terms of the WindowDiff metric.

Introduction

Automatic text segmentation aims to divide a document into thematic, homogeneous units, serving as a foundational task for information retrieval, document summarization, and text alignment. Traditional methods, including TextTiling and C99, typically rely on "local" views, utilizing sliding windows to detect lexical shifts or creating boundaries sequentially. This approach is often flawed; a sequential method cannot fully measure a segment's cohesion until both its start and end boundaries are fixed. Furthermore, selecting an appropriate window size is challenging—too small a window misses context, while too large a window blurs distinct topics. SegGen addresses these limitations by viewing the document globally, evaluating all potential boundaries simultaneously to identify the most semantically coherent structure.

Methodology

The authors introduce SegGen, a genetic algorithm (GA) based on the Strength Pareto Evolutionary Algorithm (SPEA).

Problem Representation

A segmentation is represented as a binary vector where a 1 at index $i$ indicates a thematic boundary between sentence $i$ and $i+1$. This allows the algorithm to explore the entire search space of possible segmentations.

Multi-Objective Optimization

Instead of a single fitness score, SegGen balances two competing goals:

  1. Internal Cohesion ($C$): Maximizing the average similarity of sentences within the same segment.
  2. Adjacent Dissimilarity ($D$): Minimizing the similarity between neighboring segments.

Evolutionary Process

The algorithm maintains a population of potential segmentations and evolves them through standard GA operators. Crossover involves swapping chunks of boundaries between "parent" solutions, while mutation includes randomly adding, removing, or shifting boundaries. Because $C$ and $D$ are often at odds—for instance, many small segments yield high cohesion but low dissimilarity—the algorithm maintains an "external archive" of non-dominated solutions, forming a Pareto front.

Overview of the SegGen genetic algorithm process, illustrating the evolution of populations and the role of the external archive in maintaining optimal solutions.

Experimental Evaluation

The researchers evaluated SegGen using articles from the TREC-1 corpus. Four synthetic test sets were constructed by concatenating articles to create known thematic breaks, ranging from 50 to 100 sentences with varying boundary densities (e.g., $T(50, 2)$ and $T(100, 8)$).

Performance was measured using standard Precision and Recall, as well as WindowDiff. Unlike strict boundary matching, WindowDiff is more forgiving of "near-miss" boundaries, better reflecting human judgment of topic shifts.

Results and Discussion

SegGen consistently outperformed the baselines, including TextTiling (TT) and C99. On the $T(50, 2)$ dataset, SegGen achieved a WindowDiff of 0.22, a stark improvement over 0.89 for C99 and 1.02 for TextTiling.

Impact of the Aggregation Coefficient

A critical component of the fitness function is the aggregation coefficient $\alpha$, which weights the importance of dissimilarity versus cohesion. As shown in the experimental results, tuning $\alpha$ is essential for balancing precision and recall.

The impact of the aggregation coefficient α on various performance metrics, including WindowDiff, Precision, Recall, and the resulting number of boundaries.

Key insights from the results include:

  • Global Advantage: By treating segmentation as a combinatorial problem, SegGen avoids the "horizon effect" of sliding windows, recognizing topic shifts that might be missed locally.
  • Stability: SegGen proved adaptable to different document lengths and boundary densities, whereas traditional methods often struggled as the number of boundaries increased.
  • Hybridization: Seeding the initial population with a solution from C99 (the $SC_5$ variant) significantly accelerated convergence in longer documents.

Conclusion

SegGen represents a significant step forward in text segmentation by leveraging global optimization. While genetic algorithms are computationally more expensive than simple statistical passes, the gains in accuracy and stability are substantial. Future work may involve incorporating more sophisticated semantic relations, such as synonyms and hypernyms, into the fitness function to further enhance the algorithm's ability to detect thematic shifts beyond simple word repetition.

Summary updated

BibTeX
@inproceedings{lamprier2007seggen,
  author = {Sylvain Lamprier and Tassadit Amghar and Bernard Levrat and Frédéric Saubion},
  title = {{SegGen: A Genetic Algorithm for Linear Text Segmentation}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2007},
}
Figure