NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Genetic Algorithms For Extractive Summarization

William Chen, Kensal Ramos, Kalyan Naidu MullaguriarXiv 2021

TL;DR

This paper explores Genetic Algorithms (GAs) as an alternative to deep learning for extractive text summarization. By representing words as weights and optimizing these weights with a GA, the authors demonstrate that GAs can learn to identify important sentences, offering a potentially more customizable and less computationally intensive approach than current deep learning models.

What Problem Does This Paper Address?

The field of Natural Language Processing (NLP), particularly text summarization, is heavily dominated by deep learning models. While these models achieve impressive results, they often require vast amounts of training data and significant computational resources, making them less accessible for low-power devices or scenarios with limited data. Extractive summarization, which involves selecting key sentences from a document, is the focus here. The authors hypothesize that Genetic Algorithms (GAs), known for their adaptability and optimization capabilities, could offer a viable and efficient alternative for this task, potentially leading to more generalizable solutions.

Methods

The core of this work lies in applying Genetic Algorithms to extractive summarization. The process involves:

  • Vocabulary Creation: A vocabulary of words is built from the training data.
  • Individual Representation: Each "individual" in the GA's population is represented as an array of weights, where each weight corresponds to a word in the vocabulary. These weights range from 0 to 1.
  • Sentence Weighting: The weight of a sentence is calculated as the average of the weights of its constituent words. Words not present in the vocabulary are assigned a weight of 0.
  • Summarization: Sentences with a weight exceeding a predefined hyper-parameter threshold are selected for the summary.
  • Genetic Algorithm Operations:
    • Initialization: The GA starts with a population of individuals initialized with random weights.
  • Fitness Function: The fitness of each individual is evaluated using the ROUGE-1 score (averaged across samples), aiming for maximization.
  • Crossover: A two-point crossover operator is used with a rate of 0.8.
  • Mutation: Deletion mutation (setting a gene's weight to 0) is employed with a mutation rate of 0.01.
  • Selection: Tournament selection with a tournament size of 5 is used.
  • Generations: Experiments are run for a fixed 15 generations.

Datasets

The CNN / Daily Mail dataset is used for both training and testing. This dataset is described as containing over 90,000 article and summary pairs. The authors split this dataset in various ways to test the GA's performance under different conditions.

Key Insights and Ideas

  • GA as a Viable Alternative: The paper successfully demonstrates that GAs can be effectively used for extractive summarization, challenging the sole dominance of deep learning.
  • Semantic Weighting: The GA learns to assign weights to words, which implicitly captures semantic importance, allowing it to filter out less relevant vocabulary and identify key sentences.
  • Generalizability Potential: The authors hypothesize that GA-based approaches, due to their customizability, could lead to more generalizable summarization models compared to deep learning models that might overfit to specific domains or formats.
  • Efficiency: GAs offer a potentially more computationally efficient approach, especially for low-power devices, as they don't necessarily require the same extensive training infrastructure as deep learning models.
  • Handling "Noise": The GA's ability to learn effectively even with an excessively large vocabulary suggests it can filter out irrelevant information and focus on meaningful semantic cues.

Key Results

  • ROUGE Scores:
    • On the training set, the best performing individuals achieved ROUGE scores ranging from approximately 23.98 to 28.6.
  • On the testing set (50 samples), ROUGE scores ranged from approximately 18.47 to 23.59.
  • Impact of Training Size and Vocabulary Size: Generally, larger training sets and vocabulary sizes correlated with higher ROUGE scores. However, an interesting exception was noted where a model trained on 50 samples with a vocabulary built from those same 50 samples outperformed models trained on more data but with larger vocabularies. This suggests a potential benefit from a closer "match" between training data and vocabulary for semantic learning.
  • Convergence: Figure 1 and Figure 2 show that the GA population converges to a local optimum relatively quickly, often well before the 15-generation limit. This suggests that the GA is efficiently finding solutions within the given parameters.

Limitations and Future Work

  • Population Size: The authors acknowledge that the GA converged quickly with a population size of 100, suggesting this might be insufficient to maintain diversity within the population.
  • Hyper-parameter Reliance: The current approach relies on a fixed sentence weight threshold.
  • Mutation Operator: While deletion mutation was used, exploring other mutation strategies (e.g., using new random weights) is suggested.
  • Increased Population Size and Generations: Future work could benefit from increasing the population size and the number of generations to allow for more thorough exploration of the solution space and potentially better diversity.
  • Encoding Threshold: Encoding the sentence weight threshold as part of the chromosome is proposed as a way to make the GA less reliant on hyper-parameters and improve generalizability.

Summary updated

BibTeX
@misc{chen2021genetic,
  author = {William Chen and Kensal Ramos and Kalyan Naidu Mullaguri},
  title = {{Genetic Algorithms For Extractive Summarization}},
  year = {2021},
  eprint = {2105.02365},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.02365},
}
Figure