Abstract
Vlad Niculae. Proceedings of the Joint Symposium on Semantic Processing. Textual Inference and Structures in Corpora.
2013.
Introduction
Identifying comparisons is a fundamental task in Natural Language Processing (NLP), yet it remains challenging due to the nuance between literal comparisons and figurative similes. A literal comparison, such as "ink is like paint," states a factual similarity between two entities. In contrast, a creative simile, like "the piano ripples like patent leather," uses figurative language to evoke imagery and creative associations.
Traditional methods for identifying these structures often rely on rigid phrase-structure parsing, which can be brittle and sensitive to complex sentence structures. This paper proposes a more flexible approach using dependency-based pattern matching combined with semantic similarity measures to better distinguish between literal and figurative comparisons.
Methodology
The proposed system consists of two primary components: a syntactic pattern matcher and a semantic filter.
Dependency-based Pattern Matching (DEP)
Instead of constituent trees, the authors utilize dependency parsing (via TurboParser) to define a "slot-based" description of comparisons. This model identifies relationships between four key elements:
- Topic ($T$): The entity being described.
- Eventuality: The action or state associated with the comparison.
- Comparator ($C$): The word signaling the comparison (e.g., "like", "as").
- Vehicle ($V$): The entity the topic is compared to.
By focusing on these dependencies, the system is more robust to variations in word order and complex syntax compared to older systems like GLARF.
Semantic Filtering (DEPSEM)
To separate creative similes from literal comparisons, the authors hypothesize that "conventionality" serves as a proxy for figurativeness. They measure the semantic similarity between the head words of the Topic ($T$) and the Vehicle ($V$) using two resources:
- Distributional Memory (DM): A word-vector model capturing contextual usage.
- Thesaurus Rex: A knowledge base of categories and stereotypes.
The logic is straightforward: if $T$ and $V$ are semantically similar (e.g., "ink" and "paint"), the comparison is likely literal. If they are distant (e.g., "piano" and "leather"), it is likely a creative simile.
Evaluation and Results
The system was evaluated using the VU Amsterdam Metaphor Corpus (VUAMC) and the British National Corpus (BNC). The authors compared their dependency-based system (DEP) against a baseline and the GLARF system.
The DEP system achieved a significantly higher recall (0.717) than GLARF (0.434), indicating it is far more effective at finding valid comparisons. When the semantic filter was added (DEPSEM), precision improved, leading to a peak F1 score of 0.373.
Qualitatively, the system demonstrated its ability to distinguish creativity. For example, "The piano ripples like patent leather" received a low similarity score (0.076), correctly identifying its figurative nature, while "Ink, like paint..." received a higher score (0.502), suggesting a literal comparison.
Conclusion
Moving from rigid phrase-structure rules to dependency-based patterns significantly improves the recall of comparison extraction. Furthermore, incorporating semantic distance allows for a mathematically grounded way to estimate the creativity of a simile. Future work includes expanding the scope of patterns beyond "like" and exploring compositional distributional semantics to better handle complex phrases and modifiers.
Summary updated