Toward Informal Language Processing: Knowledge of Slang in Large Language Models
Sun, Zhewei, Hu, Qian, Gupta, Rahul, Zemel, Richard, Xu, Yang
–arXiv.org Artificial Intelligence
Recent advancement in large language models (LLMs) has offered a strong potential for natural language systems to process informal language. A representative form of informal language is slang, used commonly in daily conversations and online social media. To date, slang has not been comprehensively evaluated in LLMs due partly to the absence of a carefully designed and publicly accessible benchmark. Using movie subtitles, we construct a dataset that supports evaluation on a diverse set of tasks pertaining to automatic processing of slang. For both evaluation and finetuning, we show the effectiveness of our dataset on two core applications: 1) slang detection, and 2) identification of regional and historical sources of slang from natural sentences. We also show how our dataset can be used to probe the output distributions of LLMs for interpretive insights. We find that while LLMs such as GPT-4 achieve good performance in a zero-shot setting, smaller BERT-like models finetuned on our dataset achieve comparable performance. Furthermore, we show that our dataset enables finetuning of LLMs such as GPT-3.5 that achieve substantially better performance than strong zero-shot baselines. Our work offers a comprehensive evaluation and a high-quality benchmark on English slang based on the OpenSubtitles corpus, serving both as a publicly accessible resource and a platform for applying tools for informal language processing.
arXiv.org Artificial Intelligence
Apr-12-2024
- Country:
- Asia
- China
- Japan > Honshū
- Kansai > Osaka Prefecture > Osaka (0.04)
- Middle East
- Republic of Türkiye > Istanbul Province
- Istanbul (0.04)
- UAE > Abu Dhabi Emirate
- Abu Dhabi (0.04)
- Republic of Türkiye > Istanbul Province
- Taiwan > Taiwan
- Taipei (0.04)
- Europe
- Albania > Tirana County
- Tirana (0.04)
- Bulgaria > Sofia City Province
- Sofia (0.04)
- Germany > Berlin (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Middle East > Republic of Türkiye
- Istanbul Province > Istanbul (0.04)
- Slovenia (0.04)
- Spain
- Catalonia > Barcelona Province
- Barcelona (0.04)
- Valencian Community > Valencia Province
- Valencia (0.04)
- Catalonia > Barcelona Province
- United Kingdom > England
- Cambridgeshire > Cambridge (0.04)
- Albania > Tirana County
- North America
- Canada
- Nova Scotia > Halifax Regional Municipality
- Halifax (0.04)
- Ontario > Toronto (0.14)
- Nova Scotia > Halifax Regional Municipality
- United States
- California > San Diego County
- San Diego (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- New York (0.04)
- North Carolina > Orange County
- Chapel Hill (0.04)
- Pennsylvania (0.04)
- Washington > King County
- Seattle (0.14)
- California > San Diego County
- Canada
- Asia
- Genre:
- Research Report > Experimental Study (0.46)
- Industry:
- Leisure & Entertainment (0.48)
- Media > Film (0.48)
- Technology: