Introduction
Similes are complex linguistic structures that extend beyond simple comparisons. In Natural Language Processing (NLP), the challenge lies in distinguishing between literal comparisons (e.g., "The boy looks like his father") and figurative similes (e.g., "The boy is as strong as a bull"). Furthermore, identifying the core components—the tenor (the subject) and the vehicle (the object of comparison)—is essential for semantic understanding. In Chinese, the common comparator "像" (xiàng) serves multiple syntactic roles, making rule-based extraction unreliable. This paper proposes a neural multitask learning framework to jointly address simile classification and component extraction.
Methodology: Multitask Learning Framework
The authors introduce an end-to-end neural framework that treats simile recognition as a three-pronged multitask problem. The architecture leverages shared representations to improve performance across all tasks.
- Simile Component Extraction (CE): Modeled as a sequence labeling task using a Bi-LSTM network with a CRF layer to identify tenor and vehicle boundaries.
- Simile Sentence Classification (SC): A classification task using an attention mechanism to focus on relevant context. A "labeling connection" feeds score vectors from the extraction task into the classifier, allowing the model to utilize structural information (the presence of a plausible tenor/vehicle pair) to inform the classification decision.
- Language Modeling (LM): An auxiliary task that forces the model to predict surrounding words, enhancing the learning of local semantic context and collocations.
Dataset Construction
To support this research, a large-scale annotated corpus was developed from over 20,000 Chinese student essays. The final dataset consists of 11,337 sentences containing the comparator "像", with 5,088 identified as similes and 6,249 as literal comparisons. Each simile is annotated with precise boundaries for the tenor and vehicle.
Key Results and Analysis
The multitask approach significantly outperformed standalone models and traditional baselines. The integration of related tasks allows the model to capture the interdependencies between identifying a simile and extracting its components.
As shown in the results, the comprehensive multitask model (SC+CE+LM) achieved the highest performance with an F1-score of 0.8615 for classification. In the extraction task, the model reached an F1 of 0.6306 on the whole test set. An "Optimized Pipeline" approach, which uses the multitask classifier to filter sentences before extraction, further improved the component extraction F1 to 0.6707.
Insights and Future Work
A key finding is the "Labeling Connection": the interdependence between classification and extraction is a powerful signal. Additionally, the data suggests that while vehicles are often adjacent to the comparator and easier to locate, tenors are frequently dispersed, representing the primary challenge in extraction.
Future work will focus on identifying "shared properties" (the ground of the comparison) and incorporating external knowledge bases to better distinguish between semantic domains, a hallmark of figurative language.
Summary updated