Abstract
Neural sentence compression models often struggle with domain adaptability and require massive amounts of training data. This paper proposes a hybrid approach that integrates syntactic information—specifically Part-of-Speech (POS) and dependency features—into a Bi-directional Long Short-Term Memory (Bi-LSTM) network. By further enforcing grammatical constraints through Integer Linear Programming (ILP), the model achieves superior performance in out-of-domain scenarios while requiring significantly less training data than standard neural baselines.
Introduction
Sentence compression is the task of shortening a sentence while preserving its core meaning and grammatical correctness. While recent shifts have favored neural models like LSTMs, these systems face two primary challenges: extreme data hunger and domain brittleness. Models trained on large-scale news corpora often fail to generalize to other text types, such as research papers, because they overfit to specific lexical patterns. This study addresses domain adaptability by injecting "linguistic common sense" into the neural framework, allowing the model to learn structural deletion patterns that remain stable across different subjects.
Methodology
The proposed architecture combines a neural backbone with explicit syntactic features and a global inference layer.
Neural Backbone and Syntactic Features
The core of the model is a three-layered Bi-LSTM that performs sequence labeling to decide whether to "keep" or "delete" each word. Unlike standard models that rely solely on word embeddings, this approach concatenates word embeddings with Part-of-Speech (POS) and Dependency Relation embeddings. This explicit representation allows the model to prioritize keeping essential components like subjects and verbs over modifiers.
Global Inference via ILP
To prevent the generation of ungrammatical fragments, the authors employ Integer Linear Programming (ILP) to enforce hard constraints during the final word selection. Key constraints include:
- Dependency Consistency: If a child word is retained, its parent in the dependency tree must also be kept.
- Critical Relations: For relations like
nsubj(nominal subject), if the parent is kept, the child must be kept to ensure grammaticality. - Length Constraints: Minimum and maximum compression rates are set to control the output length.
Experimental Setup
The model was evaluated across three distinct datasets:
- Google News: ~10,000 sentence pairs used for primary training and in-domain testing.
- BNC News: ~1,500 sentence pairs from the British National Corpus, serving as an out-of-domain test set.
- Research Papers: 100 sentences from ACL 2016 papers for manual evaluation of readability and informativeness.
Results and Discussion
The hybrid model (BiLSTM+SynFeat+ILP) demonstrated significant improvements in cross-domain performance.
Key Findings
- Domain Robustness: In out-of-domain testing (BNC News), the proposed model achieved an F1 score of 0.66, substantially higher than the 0.54 achieved by the standard LSTM+ baseline.
- Data Efficiency: The model reached competitive performance with only 8,000 training pairs, whereas traditional neural models often require millions. This suggests that syntactic features effectively compensate for smaller dataset sizes.
- Human Evaluation: Manual ratings on research paper data showed a significant jump in readability (4.29/5.0) compared to the neural baseline (3.69/5.0).
Conclusion
Integrating syntactic information is a powerful strategy for enhancing the generalization of neural sentence compression models. While the ILP constraints occasionally lowered F1 scores on datasets with very aggressive ground-truth compressions, they consistently improved the grammatical quality and readability of the output. Future work will explore integrating these syntactic constraints into abstractive sequence-to-sequence models to combine grammatical stability with paraphrasing capabilities.
Summary updated