cs.CLMar 24, 2026

Span Modeling for Idiomaticity and Figurative Language Detection with Span Contrastive Loss

Authors: Blake Matheny, Phuong Minh Nguyen, Minh Le Nguyen

Organizations: Information Science, Japan Advanced Institute of Science and Technology, Ishikawa, Japan.

Abstract

The category of figurative language contains many varieties, some of which are non-compositional in nature. This type of phrase or multi-word expression (MWE) includes idioms, which represent a single meaning that does not consist of the sum of its words. For language models, this presents a unique problem due to tokenization and adjacent contextual embeddings. Many large language models have overcome this issue with large phrase vocabulary, though immediate recognition frequently fails without one- or few-shot prompting or instruction finetuning. The best results have been achieved with BERT-based or LSTM finetuning approaches. The model in this paper contains one such variety. We propose BERT- and RoBERTa-based models finetuned with a combination of slot loss and span contrastive loss (SCL) with hard negative reweighting to improve idiomaticity detection, attaining state of the art sequence accuracy performance on existing datasets. Comparative ablation studies show the effectiveness of SCL and its generalizability. The geometric mean of F1 and sequence accuracy (SA) is also proposed to assess a model's span awareness and general performance together.

Figures & tables

Explore similar work

CardsList
  1. IdiomX A Multilingual Benchmark for Idiom Understanding, Retrieval, and Interpretation

    Apr 25, 2026Ayman Ali ShararaFigurative Language UnderstandingMultilingual Language Model Evaluation

  2. IdioLink: Retrieving Meaning Beyond Words Across Idiomatic and Literal Expressions

    May 21, 2026Kai Golan Hashiloni, Daniel Fadlon, Lior Livyatan +3Figurative Language UnderstandingSemantic Search

  3. When Meaning Isn't Literal: Exploring Idiomatic Meaning Across Languages and Modalities

    Apr 12, 2026Sarmistha Das, Shreyas Guha, Suvrayan Bandyopadhyay +3Retrieval-Augmented ReasoningFigurative Language Understanding