Abstract
Deletion-based sentence compression aims to shorten sentences while preserving their core meaning and grammatical correctness. Traditional models often treat this as a sequence labeling task, which can lead to ungrammatical outputs due to objective mismatches and noisy training data. We propose a reinforcement learning framework that employs a syntax-aware neural language model (SLM) as an evaluator. This evaluator provides a readability reward to a policy network, guiding it to produce more natural and structurally sound compressions. Our approach demonstrates superior performance on the Gigaword dataset and correlates better with human judgment than standard sequence-to-sequence models.
Introduction
The goal of deletion-based sentence compression is to remove non-essential words from a source sentence. While seemingly straightforward, maintaining grammatical integrity is a significant challenge. Most existing methods utilize Recurrent Neural Networks (RNNs) trained to maximize the likelihood of individual "keep" or "delete" decisions. However, this word-level objective often fails to capture the overall readability of the resulting sentence. Furthermore, many datasets are derived from automatic tree-pruning, which can introduce errors that models inadvertently learn to replicate.
To address these issues, we shift the focus from local word prediction to global sentence quality. We introduce a "judge" in the form of a language model that evaluates the entire compressed sequence, ensuring that the final output flows naturally and adheres to English syntax.
Methodology
Our framework consists of two primary components operating within a reinforcement learning loop: a Policy Network and an Evaluator.
The Policy Network
The Policy Network acts as the compressor. It is a bi-directional RNN that processes the source sentence and outputs a binary decision (RETAIN or REMOVE) for each word. To enhance its decision-making, the network incorporates enriched input features, including word embeddings, Part-of-Speech (POS) tags, and dependency relations.
The Evaluator
The Evaluator is a syntax-based neural language model (SLM) pre-trained on large-scale corpora. Unlike standard language models that only predict the next word, our SLM considers the structural dependencies between words. This allows it to act as a sophisticated "grammar checker."
Learning via Reinforcement
We use the REINFORCE algorithm to train the system. The Policy Network generates a candidate compression, which the Evaluator then scores. The reward function is a combination of a readability reward (derived from the perplexity of the compressed sentence) and a compression rate reward designed to encourage the model to reach a target length.
Experimental Setup
We evaluated our model on several datasets:
- Gigaword: A news corpus from which we extracted 1.02 million sentence-headline pairs.
- Manual Benchmark: A high-quality test set of 200 sentences manually compressed by two human annotators to serve as a gold standard.
- Google Dataset: A standard benchmark of 200,000 pairs for broader comparison.
Key Results
The proposed Evaluator-SLM significantly outperformed strong baselines, including standard LSTMs and Integer Linear Programming (ILP) methods.
As shown in the table above, the Evaluator-SLM achieved an $F_1$ score of 65.0 and a RASP-$F_1$ (measuring grammatical relations) of 69.6 on the Gigaword dataset. This is a marked improvement over the Seq2seq baseline. Human evaluations further confirmed these results, with participants rating the SLM-based compressions at 4.16/5.0 for readability, compared to 3.56/5.0 for standard LSTMs.
A qualitative analysis showed that the Evaluator is highly sensitive to core sentence components. Deleting a subject or verb causes a sharp spike in perplexity, while removing non-essential adjectives often improves the score, aligning the model's behavior with human intuition for compression.
Conclusion
By incorporating a syntax-aware language model as an evaluator, we have developed a sentence compression system that prioritizes structural integrity and readability. While the model's performance is somewhat dependent on the quality of the pre-training data, it offers a robust solution to the common pitfalls of sequence-labeling approaches. Future work will explore deeper syntactic integration to further refine the evaluator's ability to judge complex sentence structures.
Summary updated