Introduction
Sentence compression is a fundamental task in Natural Language Processing (NLP) that involves shortening a sentence while preserving its core meaning and grammatical integrity. Traditionally, this task has faced a significant trade-off between linguistic richness and computational efficiency. This paper, presented at ACL 2014, introduces a novel approach that breaks the "exponential time" barrier for joint structural inference in sentence compression.
The Limitations of Current Approaches
Existing models for sentence compression often fall into two categories:
- Subtree Deletion Models: These models operate under the strict constraint that a word can only be deleted if all its modifiers in the parse tree are also deleted. However, analysis of the Edinburgh sentence compression corpus reveals that 47.6% of human-generated compressions violate this rule, making it too restrictive.
- Joint Models via ILP: To overcome the limitations of subtree deletion, joint models consider both syntax (dependency trees) and fluency (n-gram language models) simultaneously. While effective, these models typically rely on Integer Linear Programming (ILP) for inference. Since ILP is NP-hard, it can lead to exponential running times, hindering real-time applications.
Proposed Methodology: Joint Structural Inference
The authors propose two polynomial-time algorithms that move away from ILP toward Dynamic Programming (DP). The core idea is to jointly optimize for dependency structure and bigram fluency.
Virtual Arcs and Exact Inference
A key innovation is the introduction of "virtual dependency arcs." By creating a dummy structure for deleted words, the authors map the compression problem back into a parsing problem, allowing the use of an extended version of Eisner’s algorithm. The exact algorithm achieves $O(n^6)$ time complexity by adding "signatures" to the DP table to track the number of deleted words and the rightmost kept word for bigram scoring.
Approximate Inference via Lagrangian Relaxation
To further improve efficiency, the authors developed an approximate $O(n^4)$ algorithm using Lagrangian relaxation. By relaxing the hard constraint on the number of deleted words, they simplify the DP state, resulting in a significant speedup without substantial loss in accuracy.
Experimental Results
The models were evaluated on the Edinburgh sentence compression corpus (1,188 training sentences, 441 test sentences) using Unigram F-measure ($F_{uni}$) and the RASP syntactic F1 score.
- Efficiency: The approximate $O(n^4)$ algorithm is 10 times faster than a high-performance commercial ILP solver (Gurobi).
- Accuracy: The proposed joint models consistently outperformed subtree deletion baselines. The approximate model achieved a Unigram F1 of 0.802 and a RASP score of 0.598, matching state-of-the-art performance.
Conclusion and Future Work
This work demonstrates that joint structural inference for sentence compression can be performed efficiently in polynomial time. While the current approach assumes projective dependency trees—a limitation for some languages—it provides a robust framework for real-time sentence compression. Future research will explore non-projective parsing techniques to extend the model's applicability across diverse languages.
Summary updated