Abstract
Chinese homophones, prevalent in Internet culture, bring rich linguistic twists that are challenging for language models. While native speakers disambiguate them through phonological reasoning and contextual understanding, it remains untested how well LLMs perform on this task and whether LLMs also achieve this via similar reasoning processes or merely through memorization of homophone-original word pairs during training. In this paper, we present HomoP-CN, the first Chinese Internet homophones dataset with systematic perturbations for evaluating LLMs' homophone restoration capabilities. Using this benchmark, we investigated the influence of semantic, phonological, and graphemic features on LLMs' restoration accuracy, measured the reliance levels of each model on memorization during restoration through consistency ratios under controlled perturbations, and assessed the effectiveness of various prompting strategies, including contextual cues, pinyin augmentation, few-shot learning, and thought-chain approaches.
Introduction
Chinese internet culture is renowned for its creative use of homophonic wordplay. Users frequently substitute characters with phonetically identical or similar ones to bypass automated censorship, inject humor, or create "cute" expressions. A classic example is the use of "蕉绿" (jiao1 lü4, "banana-green") to represent "焦虑" (jiao1 lü4, "anxiety"). While native speakers decode these effortlessly by leveraging phonetic logic and context, Large Language Models (LLMs) face a significant challenge due to the high homophone density and complex tonal structures of the Chinese language. This study investigates whether LLMs are performing genuine "phonological reasoning" or if they are simply reciting memorized pairs encountered during pre-training.
Methodology and the HomoP-CN Dataset
To evaluate these capabilities, we introduced HomoP-CN, the first dataset specifically designed for Chinese internet homophone restoration. The dataset comprises 365 frequent homophones harvested from major social platforms like Weibo and Tieba, spanning the years 2010 to 2025. The data is categorized across three dimensions: semantics (real-word vs. pseudo-word), phonology (syllable and tone matching), and graphemics (word length).
We evaluated four representative models: Qwen 2.5-7B, Llama 3.1-8B, OpenAI o3-mini, and DeepSeek-R1. To distinguish reasoning from rote memorization, we employed Adversarial Perturbations. For every homophone, we generated four "non-existent" variants that maintain phonetic similarity. A model that can restore the standard internet slang but fails on a phonetic variant is likely relying on memorization. We quantified this using the Consistency Ratio (CR), a metric measuring how robustly a model restores these variants.
Key Results and Analysis
Our findings highlight a stark "reasoning gap" between model scales. Frontier models, specifically DeepSeek-R1 and OpenAI o3-mini, demonstrated significant reasoning capabilities. DeepSeek-R1 led the field with a restoration accuracy of 83.3% and a CR of 0.514. In contrast, smaller models like Llama 3.1-8B appeared almost entirely dependent on memorization, yielding a near-zero CR of 0.022.
Factors Influencing Restoration
- Semantic Interference: Models performed notably better when the homophone was an "inherently meaningless" pseudo-word. When the homophone was an existing word (like "banana-green"), its inherent semantic meaning often interfered with the model's ability to identify the phonetic link to the target word ("anxiety").
- Graphemic Challenges: The most difficult cases involved "Type 1" differences, where the homophone is shorter than the original word (e.g., "酱紫" for "这样子"). This suggests that LLMs struggle with phonetic elision or "shortcuts."
- Prompting Efficacy: We tested various strategies, including context sentences and pinyin annotations. The most successful was Memory-of-Thought (MoT), which provides a structured reasoning path. Surprisingly, providing explicit pinyin did not consistently help, likely because LLMs are primarily trained on character-based orthography rather than phonetic strings.
Conclusion
While frontier models are making strides in phonological reasoning, the reliance on memorization remains a significant hurdle for smaller LLMs. The HomoP-CN benchmark provides a rigorous framework for evaluating these linguistic nuances. Future research will focus on expanding the dataset to include messier, real-world user-generated content and exploring multi-lingual homophonic structures.
Summary updated