Evaluating Large Language Models on Multiword Expressions in Multilingual and Code-Switched Contexts
Frances Laureano De Leon, Harish Tayyar Madabushi, Mark G. Lee
TL;DR
This study interrogates whether state-of-the-art LLMs can comprehend nuanced multiword expressions (MWEs) across multilingual and code-switched contexts. Using SemEval 2022 Task 2 data for English, Portuguese, and Galician, plus a novel code-switching dataset, the authors evaluate MWE detection and semantic interpretation under zero-shot and few-shot settings across four models (GPT-3.5, GPT-4, and two Meta LLaMA variants) and three tasks. They find that LLMs generally underperform compared to small, fine-tuned PLMs like xlm-roBERTa-base, with English being the most tractable and non-English results notably weaker; code-switching can improve detection but does not reliably improve semantic understanding. The work highlights persistent challenges in modeling non-compositional meaning in multilingual and mixed-language data, demonstrates the value of diverse datasets (including CS data), and argues for new approaches to better capture nuanced language beyond memorization.
Abstract
Multiword expressions, characterised by non-compositional meanings and syntactic irregularities, are an example of nuanced language. These expressions can be used literally or idiomatically, leading to significant changes in meaning. While large language models have demonstrated strong performance across many tasks, their ability to handle such linguistic subtleties remains uncertain. Therefore, this study evaluates how state-of-the-art language models process the ambiguity of potentially idiomatic multiword expressions, particularly in contexts that are less frequent, where models are less likely to rely on memorisation. By evaluating models across in Portuguese and Galician, in addition to English, and using a novel code-switched dataset and a novel task, we find that large language models, despite their strengths, struggle with nuanced language. In particular, we find that the latest models, including GPT-4, fail to outperform the xlm-roBERTa-base baselines in both detection and semantic tasks, with especially poor performance on the novel tasks we introduce, despite its similarity to existing tasks. Overall, our results demonstrate that multiword expressions, especially those which are ambiguous, continue to be a challenge to models.
