A Self-verified Method for Exploring Simile Knowledge from Pre-trained Language Models

Longxuan Ma, Changxin Ke, Shuhan Zhou, Churui Sun, Wei-Nan Zhang, Ting LiuCOLING 2024

Abstract

Simile tasks are challenging in natural language processing (NLP) because models require adequate world knowledge to produce predictions. In recent years, pre-trained language models (PLMs) have succeeded in NLP since they learn generic knowledge from a large corpus. The knowledge embedded in PLMs can be used for different kinds of Simile tasks. However, previous work usually explored one type of simile knowledge for a specific simile task, how to fully utilize different types of knowledge embedded in the PLMs requires further exploration. This paper proposes a self-verified method for exploring simile knowledge from PLMs, which allows the PLMs to leverage one type of simile knowledge to self-validate another. To this end, we first enhance PLMs with a novel multi-level simile recognition (MLSR) task that trains PLMs to evaluate the quality of similes. Then the PLMs leverage this evaluation score to assist the simile interpretation and generation tasks. In this way, we connect different types of simile knowledge in PLMs and make better use of them. Experiments on different pre-trained models and multiple publicly available datasets show that our method works for different kinds of PLMs and can explore more accurate simile knowledge for PLMs.

Introduction

Similes—vivid comparisons such as "the athlete runs as fast as a cheetah"—are fundamental to expressive language. In NLP, a simile is typically decomposed into three core components: the tenor (the subject being described), the vehicle (the object of comparison), and the shared property (the attribute they share).

Despite the success of Pre-trained Language Models (PLMs) in various NLP domains, similes remain a significant challenge. Effective simile processing requires deep world knowledge and semantic intuition. While existing models can be fine-tuned for specific tasks like Simile Recognition (SR), Interpretation (SI), or Generation (SG), these tasks are often treated in isolation. A model might generate a linguistically plausible vehicle but lack the "common sense" to verify its contextual appropriateness. This research introduces a self-verified framework that bridges these silos, allowing recognition knowledge to act as a quality filter for generation and interpretation.

Methodology

The cornerstone of this approach is the Multi-level Simile Recognition (MLSR) task. Moving beyond binary classification, the researchers established a four-level hierarchy of simile quality to teach the model nuanced semantic relationships.

The four-level hierarchy of simile quality used in the MLSR task, ranging from perfect similes to highly corrupted ones.

As shown in the figure above, the levels are defined by the degree of corruption:

  1. Level 1 (Perfect): High-quality, standard similes.
  2. Level 2 (Slightly Corrupted): The vehicle is replaced by a hypernym or a synonym of the tenor.
  3. Level 3 (Medium Corruption): Either the property or the vehicle is replaced with a random word.
  4. Level 4 (High Corruption): Both the property and the vehicle are replaced with random words.

By training models (such as BERT and T5) using multi-level contrastive learning, the system learns to map these levels to a continuous score range. During inference, the model employs a Self-verification mechanism. When performing interpretation or generation, the model produces multiple candidates and then utilizes its MLSR "quality score" to re-rank them.

The overall structure of the self-verified framework, illustrating how the MLSR score is integrated with SI/SG scores to produce a final prediction.

The final output is determined by a weighted combination of the initial task probability and the verification score, effectively allowing the model to "double-check" its own work.

Experimental Setup

The framework was evaluated using two primary benchmarks:

  • Multi-Choice Probing (MCP): Focused on sentence-level simile interpretation across a general corpus and specific quizzes.
  • Multilingual Simile Dialogue (MSD): A more complex dataset where similes are embedded within 3-turn dialogues, requiring the model to maintain context over multiple conversational turns.
  • Knowledge Integration: ConceptNet was utilized as an external knowledge base to programmatically generate the corrupted examples required for MLSR training.

Results and Analysis

The self-verified models demonstrated superior performance across multiple architectures and datasets:

  • Interpretation Accuracy: On the MCP task, a BERT-large model using this method achieved a Hit@1 of 84.64%, significantly outperforming the BERT-ANT baseline (76.20%).
  • Dialogue Performance: The T5-3B model showed substantial improvements on the MSD dataset, with interpretation scores rising from a 67.33% baseline to 81.11%.
  • Ablation Studies: Removing the MLSR component led to a performance decline of 4-6%, validating that the self-verification step is crucial for capturing accurate simile knowledge.

Conclusion

This paper presents a novel method for leveraging the latent knowledge in PLMs through self-verification. By connecting recognition, interpretation, and generation, the model develops a "semantic intuition" that mimics human-like verification of figurative language. Future work will focus on extending this framework to multilingual contexts and exploring automated methods for determining the optimal scoring distances between different levels of simile quality.

Summary updated

BibTeX
@inproceedings{ma2024self,
  author = {Longxuan Ma and Changxin Ke and Shuhan Zhou and Churui Sun and Wei-Nan Zhang and Ting Liu},
  title = {{A Self-verified Method for Exploring Simile Knowledge from Pre-trained Language Models}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2024},
  url = {https://openreview.net/forum?id=5T5lvqw2do},
}
Figure