This research, originally presented at EMNLP 2009, addresses a classic "hard" problem in Natural Language Processing: Quantifier Scope Disambiguation (QSD). By bridging the gap between Open Information Extraction and formal logic, the authors demonstrate how "common sense" world knowledge can be harvested from the web to resolve linguistic ambiguities that have long plagued computational linguistics.
The Challenge of Quantifier Scope
Consider the sentence: "A doctor lives in every city."
To a computer, this sentence is inherently ambiguous. It can be interpreted in two ways:
- Direct Reading: There is one specific "super-doctor" who lives in all cities simultaneously.
- Indirect Reading: For every city, there exists a resident doctor (a much more likely scenario).
While syntax often favors the first reading, human "world knowledge" tells us the second is correct. Historically, QSD has been difficult because it requires vast amounts of "pragmatic" or "common sense" knowledge—information about how the world works that is rarely hand-coded into software. This paper proposes a method to automatically acquire that knowledge and use it to make logical choices.
Methodology
The authors' approach consists of three main components designed to move from raw text to logical disambiguation.
1. Pragmatic Knowledge Extraction
Instead of looking for specific named entities, the system uses "numeric phrases" as proxies for set sizes. For example, phrases like "two trees," "hundreds of students," or "millions of stars" provide statistical clues about the expected number of participants in various relations. The system maps these natural language phrases to discrete numeric values to build a distribution of expected counts.
2. Markov Logic Networks (MLNs)
To combine rigid logic with messy, probabilistic world knowledge, the authors utilize Markov Logic Networks. This framework allows them to define the "rules" of a sentence (e.g., a person generally cannot be in two places at once) while assigning weights to different readings based on the extracted web data. This creates a bridge between first-order logic and statistical inference.
3. Zipf Flattening
Raw web data is notoriously biased toward small numbers (e.g., people mention "one car" more often than "ten thousand cars" even if the latter is a valid set size). To correct this, the authors introduced "Zipf Flattening"—a statistical technique that fits the extracted counts to a Zipf distribution and then "flattens" the curve to give appropriate weight to larger, more realistic values.
Datasets and Evaluation
The system was trained and tested using the following resources:
- Web1Tgram Corpus: The primary source for knowledge extraction, consisting of n-grams from the Google Web 1T corpus.
- Function Detection Set: A set of 200 relations sampled to test the system's ability to determine if a relationship is one-to-one (functional) or one-to-many.
- QSD Test Sets: Two sets containing 46 labeled examples each, focusing on "a/every" and "every/a" quantifier pairs.
Key Results
The system's ability to identify the nature of relations (Function Detection) was a critical first step. As shown in the table below, the model achieved high precision and recall, particularly for non-functional relations, which are often the source of scope ambiguity.
In the primary QSD tasks, the results were equally promising:
- Task 1 ("A... every..."): The "Corrected MLN" model achieved 74% accuracy, significantly outperforming a baseline (53%) that always chose the direct reading.
- Task 2 ("Every... a..."): The model achieved 72% accuracy in determining if an indirect reading was plausible, outperforming both the uncorrected model (49%) and the baseline (67%).
Discussion and Future Work
The cleverest aspect of this work is using numeric phrases as proxies for pragmatics, bypassing the need for complex entity resolution. However, the authors note several limitations. The extraction method can struggle with polysemy (words with multiple meanings) and currently only handles "a" and "every" quantifiers.
Future robust systems will likely need to combine this pragmatic approach with traditional syntactic features and consider the surrounding discourse context, as real-world conversations often provide the strongest clues for resolving these logical puzzles.
Summary updated