SLANG: New Concept Comprehension of Large Language Models

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

Introduction: The Challenge of Evolving Language

Language is a dynamic, moving target. While humans effortlessly adopt new slang and memes, Large Language Models (LLMs) are often "frozen in time" due to training data cutoffs. A model trained in 2021 may struggle with viral phrases from 2023, missing the contextual nuance required for accurate interpretation.

The core challenge lies in understanding contextual nuance. For example, the phrase "The sunset is beautiful, isn't it?" literally describes a view, but in specific online subcultures, it serves as a metaphorical way of saying, "I love you, but I'm letting you go." Standard techniques like Chain-of-Thought (CoT) often fail here, leaning too heavily on literal definitions and missing the social subtext that gives slang its power.

Figure 1: Comparison of Chain-of-Thought vs. the proposed method on a metaphorical slang phrase.

The SLANG Benchmark

To address this, researchers introduced SLANG, a benchmark designed to test LLMs on rapidly evolving internet culture. The dataset includes 408 concepts pulled from Urban Dictionary entries posted after January 2022, ensuring the terms were "new" to models like GPT-4. The benchmark features:

  • Factual Scenarios: Real-world usage of the slang.
  • Counterfactual Scenarios: Hypothetical contexts where meanings are intentionally altered to test if the model is reasoning or merely memorizing patterns.

FOCUS: A Causal Inference Approach

The authors propose FOCUS (Factual cOntext CaUsal analysiS), a method that uses causal inference to help models "disentangle" phrases from their contexts. Instead of relying on simple correlation, FOCUS treats context as a causal factor for meaning.

Figure 6: Causal graph illustrating the relationship between the Phrase (W), Context (X), the LLM (M), and the resulting Explanation (Y).

The FOCUS pipeline operates in four distinct stages:

  1. Direct Inquiry (DI): The baseline contextual interpretation.
  2. Masked Entity Inquiry (MEI): Hiding the phrase to force the model to infer meaning solely from surrounding linguistic cues.
  3. Entity Replacement Inquiry (ERI): Swapping key entities in the context to isolate the effect of specific words on the overall meaning.
  4. Synthesis (SY): Integrating these different perspectives to produce a final, nuanced interpretation.

Key Insights and Results

A primary finding is the "literal bias" bottleneck. LLMs often suffer from entity bias, where literal word meanings distract from metaphorical intent. By masking the slang term (the MEI stage), researchers found that models are often better at "reading between the lines" when they aren't looking at the words themselves.

The FOCUS method consistently outperformed standard prompting and CoT across various models:

  • Claude 3 Opus: Achieved an impressive 89.7% accuracy (F1: 0.4596) using FOCUS.
  • GPT-4: Reached 88.2% accuracy, demonstrating that even powerful models benefit from structured causal analysis.
  • Mistral-7B: Smaller, open-source models saw a significant jump, moving from 43.1% (Direct) to 76.0% accuracy.

Conclusion and Future Work

While FOCUS shows great promise in bridging the gap between static training data and dynamic language, limitations remain. Current research is limited to English, and the multi-stage pipeline introduces higher computational costs. Future work aims to optimize the pipeline for real-time applications and expand the benchmark to include multi-lingual internet culture.

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