Introduction
While Large Language Models (LLMs) demonstrate remarkable linguistic capabilities, they frequently falter when encountering multiword expressions (MWEs)—phrases like "break the ice" whose meanings are non-compositional. This study investigates whether state-of-the-art models like GPT-4 truly understand these nuances or merely rely on memorized patterns, particularly in multilingual and code-switched (mixed-language) environments.
The Challenge of Multiword Expressions
MWEs represent a significant hurdle for Natural Language Processing due to their ambiguity and non-compositionality. For instance, "kicking the bucket" can be interpreted literally or idiomatically depending on the context. The researchers explore how LLM performance scales across low-resource languages like Galician and complex linguistic scenarios such as code-switching, where speakers alternate between languages within a single sentence.
Methodology and Datasets
The evaluation involved four prominent models: GPT-3.5-turbo, GPT-4, Llama-3-70B, and Llama-3-8B. These models were tested on three primary tasks:
- MWE Interpretation: Classifying phrases as literal or idiomatic.
- MWE Paraphrase Similarity: Assessing semantic equivalence between MWE-containing sentences and their paraphrases.
- Synthetic MWE Interpretation: A stress test replacing real idioms with nonsense words (e.g., "wrawpths chaumb") accompanied by definitions, forcing models to rely on in-context reasoning rather than training data memory.
The study utilized the SemEval 2022 Task 2 dataset (English, Portuguese, Galician) and introduced two new benchmarks: a Code-Switched (CS) Dataset (e.g., "Spanglish") and a Synthetic MWE set.
Key Insights: Memorization vs. Reasoning
A primary finding is the "Memorization Crutch": LLMs performed significantly worse on synthetic MWEs than on real idioms, suggesting they often fail to reason through new linguistic rules on the fly.
Furthermore, the study identified "Few-Shot Fragility." As seen in Figure 1, while few-shot prompting typically improves performance, the Llama-3-8B model's performance collapsed in this setting, often failing to maintain the required output format. Conversely, code-switching with high-resource languages like Spanish surprisingly acted as a "linguistic anchor," improving performance in related lower-resource languages like Portuguese and Galician.
Experimental Results
The results highlight a "nuance gap" where general-purpose scaling does not equate to mastering linguistic subtleties. A fine-tuned, much smaller model (xlm-roBERTa-base) consistently outperformed massive LLMs in several tasks.
As detailed in the experimental data, GPT-4 achieved a respectable F1 score of 0.748 on English MWEs, but this only marginally surpassed the xlm-roBERTa baseline of 0.707. Performance dropped sharply in Galician (GL), where Llama-3-8B reached a low of 0.363. In the paraphrase similarity task—the most challenging—no LLM could beat the fine-tuned baseline; for Portuguese, the baseline scored 0.765 compared to GPT-4's 0.614.
Conclusion
The study concludes that LLMs still struggle with the figurative "soul" of language. While they are powerful tools, specialized, fine-tuned models remain superior for detecting and interpreting complex idioms. Future research should focus on moving beyond statistical co-occurrence toward true semantic understanding in low-resource and naturally occurring code-switched contexts.
Summary updated