[Paper Review] FASTSUBS: An Efficient Admissible Algorithm for Finding the Most Likely Lexical Substitutes Using a Statistical Language Model
FASTSUBS is an efficient, admissible algorithm that finds the K most likely lexical substitutes for a word in a sentence using an n-gram language model, achieving sub-linear computation in both K and vocabulary size V. It enables scalable large-scale lexical substitution experiments by drastically reducing computational cost while guaranteeing optimality.
Lexical substitutes have found use in areas such as paraphrasing, text simplification, machine translation, word sense disambiguation, and part of speech induction. However the computational complexity of accurately identifying the most likely substitutes for a word has made large scale experiments difficult. In this paper I introduce a new search algorithm, FASTSUBS, that is guaranteed to find the K most likely lexical substitutes for a given word in a sentence based on an n-gram language model. The computation is sub-linear in both K and the vocabulary size V. An implementation of the algorithm and a dataset with the top 100 substitutes of each token in the WSJ section of the Penn Treebank are available at this http URL.
Motivation & Objective
- To address the high computational cost of identifying the most likely lexical substitutes for words in large-scale NLP applications.
- To develop a search algorithm that guarantees finding the K most probable substitutes based on an n-gram language model.
- To reduce the computational complexity of lexical substitution from linear to sub-linear in both K and vocabulary size V.
- To enable practical large-scale experiments in paraphrasing, text simplification, and word sense disambiguation by providing an efficient, optimal solution.
Proposed method
- The algorithm uses a statistical language model (n-gram) to score potential lexical substitutes for a target word in context.
- It applies a best-first search strategy with pruning based on upper bounds on substitute scores to avoid exhaustive enumeration.
- It maintains a priority queue of candidate substitutes, expanding only the most promising ones based on estimated likelihood.
- The algorithm guarantees admissibility by using conservative upper bounds that never underestimate the true score of any substitute.
- It achieves sub-linear time complexity by efficiently pruning large portions of the search space without sacrificing optimality.
- An implementation and a dataset of the top 100 substitutes for each token in the WSJ section of the Penn Treebank are publicly available.
Experimental results
Research questions
- RQ1Can an efficient search algorithm be designed to find the K most likely lexical substitutes with guaranteed optimality using a statistical language model?
- RQ2What is the computational complexity of identifying the top K substitutes, and can it be reduced below linear in K and vocabulary size V?
- RQ3How does the proposed algorithm compare in efficiency and accuracy to baseline methods across large-scale NLP tasks?
- RQ4To what extent can sub-linear complexity be achieved in lexical substitution without sacrificing the quality of the results?
Key findings
- FASTSUBS achieves sub-linear computation time in both K and vocabulary size V, significantly reducing the cost of lexical substitution.
- The algorithm is admissible, meaning it guarantees to find the K most likely substitutes without missing any optimal candidates.
- The method enables large-scale lexical substitution experiments that were previously computationally infeasible due to high complexity.
- A dataset of the top 100 lexical substitutes for each token in the WSJ section of the Penn Treebank is publicly released alongside the implementation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.