SLANG: New Concept Comprehension of Large Language Models

Lingrui Mei, Shenghua Liu, Yiwei Wang, Baolong Bi, Xueqi Cheng · DOI

TL;DR

This paper introduces SLANG, a benchmark for evaluating how well Large Language Models (LLMs) understand rapidly evolving internet slang, and FOCUS, a novel prompting framework based on causal inference. By using a four-stage pipeline to isolate the effects of context and phrase, FOCUS significantly improves an LLM's ability to grasp metaphorical and "deeper" meanings of new concepts without requiring expensive retraining.

What Problem Does This Paper Address?

Language is a moving target. On the internet, new slang and memes emerge and shift in meaning at a pace that static training datasets cannot match. While LLMs like GPT-4 are incredibly capable, they are "anchored" to their knowledge cutoff dates. When they encounter a new phrase, they often fall back on literal interpretations or superficial patterns rather than understanding the nuanced, colloquial context.

For example, a standard model might interpret the phrase "The sunset is beautiful, isn't it?" as a simple observation about nature. However, in specific online subcultures, this can be a metaphorical way of acknowledging the end of a relationship. As shown in Figure 1, traditional methods like Chain-of-Thought (CoT) often miss these deeper layers.

Figure 1: Comparative analysis of LLMs’ understand- ing of new phrases using CoT (Wei et al., 2022) and FOCUS methods. The left side demonstrates the limited understanding through the CoT approach, focusing on the literal interpretation. In contrast, the right side using the FOCUS method shows the model’s enhanced capa- bility to grasp metaphors and deeper meanings.

Methods

The authors propose FOCUS (Factual cOntext CaUsal analysiS), which treats the interpretation of a phrase as a causal inference problem. Instead of just asking the model "what does this mean?", FOCUS uses a Structural Causal Model (SCM) to disentangle the influence of the phrase itself, the surrounding context, and potential confounding entities.

The FOCUS pipeline consists of four stages:

  1. Direct Inquiry (DI): The baseline step where the model interprets the phrase within its context.
  2. Masked Entity Inquiry (MEI): The phrase is hidden, forcing the model to guess the meaning based solely on the surrounding linguistic cues. This reduces the model's bias toward the literal meaning of the words.
  3. Entity Replacement Inquiry (ERI): Key entities in the context are swapped out to see how the phrase's meaning might shift, testing the model's robustness.
  4. Synthesis (SY): The model integrates the insights from the previous three steps to produce a final, multi-dimensional interpretation.
Figure 5: The four-stage pipeline of the FOCUS method

Datasets

The researchers developed the SLANG (Similarity of Lexical Analysis aNd Grasp) benchmark, which is built on data from UrbanDictionary.

  • Factual Dataset: Contains 408 usable new concepts extracted from UrbanDictionary. The authors used strict temporal filtering to ensure these concepts emerged after the knowledge cutoff of models like GPT-4. They also used a "needle in a haystack" test to verify that the models didn't already "know" these terms from their training data.
  • Counterfactual Dataset: To further challenge the models, the authors created a dataset where original phrases are placed in entirely new, hypothetical contexts with divergent meanings. This tests if a model can truly adapt to new linguistic shifts rather than just memorizing a dictionary definition.

Key Insights and Ideas

  • Causality over Correlation: Traditional prompting relies on the model's internal correlations. By using "do-operations" (a concept from causal inference) to intervene on the context and entities, FOCUS forces the model to reason about why a phrase means what it does in a specific setting.
  • The Literal Bias: LLMs have a strong tendency to stick to the literal definitions of words. The "Masked Entity" step is a clever way to break this bias by removing the literal trigger entirely, allowing the context to "speak" for itself.
  • Standardization Matters: UrbanDictionary is notoriously messy. The authors created a standardized template for definitions (Basic description + Context + Additional details) to ensure evaluations were consistent and fair.

Key Results

FOCUS consistently outperformed baselines like Direct prompting, Chain-of-Thought (CoT), and CauView across multiple models:

  • Claude 3 Opus: Achieved the highest performance with an $F_1$ score of 0.4596 and an accuracy of 89.7% on the factual dataset.
  • GPT-4: Showed significant gains, reaching 88.2% accuracy compared to much lower scores for standard prompting.
  • Robustness: Even on the difficult counterfactual dataset, FOCUS maintained high performance (e.g., 84.9% accuracy for GPT-4), proving it isn't just relying on "memorized" slang but is actually analyzing the logic of the context.

Limitations and Future Work

The authors acknowledge several hurdles:

  • Language Scope: The current study is limited to English. Internet slang in morphologically rich or non-English languages presents a much more complex challenge.
  • Computational Cost: Because FOCUS requires four separate inquiries (prompts) to reach a conclusion, it has higher latency and computational cost than simple direct prompting, which might limit its use in real-time mobile applications.
  • Data Access: Finding reliable sources for the absolute "newest" slang can be difficult, as these terms often appear on social media before they are ever recorded in a database like UrbanDictionary.

Future work will likely focus on optimizing the pipeline for efficiency and expanding the benchmark to include a more diverse range of global languages and digital subcultures.

Summary updated

BibTeX
@inproceedings{mei2024slang,
  author = {Lingrui Mei and Shenghua Liu and Yiwei Wang and Baolong Bi and Xueqi Cheng},
  title = {{SLANG: New Concept Comprehension of Large Language Models}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.698},
}
Figure