Skip to main content
QUICK REVIEW

[Paper Review] JARVix at SemEval-2022 Task 2: It Takes One to Know One? Idiomaticity Detection using Zero and One-Shot Learning

Yash Jakhotiya, Vaibhav Kumar|arXiv (Cornell University)|Feb 4, 2022
Natural Language Processing TechniquesComputer Science8 references1 citations
TL;DR

This paper proposes a zero-shot and one-shot learning approach for idiomaticity detection using multilingual large language models (LLMs) and Siamese/Relation Networks to classify whether multi-word expressions (MWEs) are used idiomatically. It achieves an F1 score of 0.73 in zero-shot and 0.85 in one-shot settings, demonstrating that learnable similarity functions and dissimilarity-aware inference improve zero-shot generalization on multilingual idiomaticity detection.

ABSTRACT

Large Language Models have been successful in a wide variety of Natural Language Processing tasks by capturing the compositionality of the text representations. In spite of their great success, these vector representations fail to capture meaning of idiomatic multi-word expressions (MWEs). In this paper, we focus on the detection of idiomatic expressions by using binary classification. We use a dataset consisting of the literal and idiomatic usage of MWEs in English and Portuguese. Thereafter, we perform the classification in two different settings: zero shot and one shot, to determine if a given sentence contains an idiom or not. N shot classification for this task is defined by N number of common idioms between the training and testing sets. In this paper, we train multiple Large Language Models in both the settings and achieve an F1 score (macro) of 0.73 for the zero shot setting and an F1 score (macro) of 0.85 for the one shot setting. An implementation of our work can be found at https://github.com/ashwinpathak20/Idiomaticity_Detection_Using_Few_Shot_Learning.

Motivation & Objective

  • To evaluate the ability of large language models (LLMs) to detect idiomatic multi-word expressions (MWEs) without fine-tuning.
  • To investigate zero-shot and one-shot generalization in idiomaticity detection across multiple languages (English, Portuguese, Galician).
  • To improve few-shot performance by modeling semantic similarity and dissimilarity between literal and idiomatic MWE usages.
  • To develop a novel inference strategy that leverages both similarity and dissimilarity scores for improved classification in low-resource settings.

Proposed method

  • Fine-tune multilingual LLMs (e.g., XLM-RoBERTa, DistilBERT) for zero-shot classification using only the training split with no overlap between train and test MWEs.
  • Apply ensemble inference across multiple multilingual LLMs to improve robustness and performance in zero-shot settings.
  • Implement Siamese and Relation Networks with cross-entropy and MSE loss to learn contextual representations of MWEs in one-shot learning.
  • Design a novel inference mechanism that selects the label based on the maximum of either similarity or dissimilarity scores between query and support set samples.
  • Use multilingual models to handle input in English, Portuguese, and Galician, ensuring cross-lingual generalization.
  • Evaluate models on SemEval-2022 Task 2 Subtask A, using macro F1 as the primary metric across zero-shot and one-shot setups.

Experimental results

Research questions

  • RQ1Can multilingual LLMs detect idiomaticity in MWEs without any fine-tuning (zero-shot) when the test MWEs are unseen during training?
  • RQ2How effective is one-shot learning with a single positive or negative example per MWE in detecting idiomatic usage?
  • RQ3Does incorporating learnable similarity and dissimilarity functions improve few-shot idiomaticity detection compared to standard LLM classification?
  • RQ4How does model performance vary across languages (English, Portuguese, Galician) in zero-shot and one-shot settings?
  • RQ5Can ensemble inference across multiple LLMs improve zero-shot performance, especially on low-resource languages?

Key findings

  • The best zero-shot model achieved a macro F1 score of 0.73 on the test set, outperforming the baseline Multilingual BERT (0.65) and demonstrating effective zero-shot generalization.
  • The one-shot setting achieved a macro F1 score of 0.85 using XLM-RoBERTa with Relation Networks, indicating strong few-shot performance.
  • Portuguese data yielded higher F1 scores than English in one-shot learning, suggesting language-specific model behavior or data distribution effects.
  • The ensemble of XL-NET, XLM-RoBERTa, and Multilingual DistilBERT achieved 0.71 F1 in zero-shot, outperforming individual models on English but underperforming on Portuguese.
  • The proposed inference method that considers both similarity and dissimilarity scores improved classification robustness, especially in one-shot scenarios with imbalanced support sets.
  • Galician, which had no development data, achieved a test F1 of 0.5588 in zero-shot and 0.7918 in one-shot, indicating challenges in low-resource language generalization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.