From Standard English to Singlish: A Retrieval-Augmented Approach for Code-Switched Creole Generation in Large Language Models
On the map: Retrieval-augmented generation → RAG pipeline design and evaluation
Abstract (arXiv)
Code-switching in contact varieties like Singaporean English (Singlish) challenges natural language generation due to limited parallel data and rapid lexical evolution. We propose a retrieval-augmented generation (RAG) framework that externalizes dialectal knowledge into a curated lexicon, enabling controlled lexical code-switching without fine-tuning. Our approach retrieves candidate Singlish expressions and guides generation through sparse lexical substitution. Human evaluation with 164 Singaporean participants found RAG and zero-shot prompting equally natural and appropriate. Automatic analyses reveal different transformation regimes: zero-shot prompting induces extensive paraphrasing (median 23 token edits), whereas RAG performs minimal substitutions (median 1 edit) with higher semantic preservation (mean cosine similarity 0.978 vs. 0.926). Our results demonstrate that externalizing code-switching into lexical resources enables control and auditability without sacrificing perceived quality, offering practical advantages for rapidly evolving contact varieties.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 14 of its 21 references that are in the map. First posted on arXiv 8 May 2026.
Builds on
14 of 21 references.
References · 14
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2017Style Transfer in Text: Exploration and Evaluationcited by 146
- 2020GLUECoS : An Evaluation Benchmark for Code-Switched NLPcited by 102
- 2019Encode, Tag, Realize: High-Precision Text Editingcited by 99
- 2023Multilingual Large Language Models Are Not (Yet) Code-Switcherscited by 65
- 2023A Survey of Code-switching: Linguistic and Social Perspectives for Language Technologiescited by 59
- 2020Felix: Flexible Text Editing Through Tagging and Insertioncited by 58
- 2024Linguistic Bias in ChatGPT: Language Models Reinforce Dialect Discriminationcited by 56
- 2019Code-Switched Language Models Using Neural Based Synthetic Data from Parallel Sentencescited by 55
- 2021From Machine Translation to Code-Switching: Generating High-Quality Code-Switched Textcited by 29
- 2021Evaluating the Evaluation Metrics for Style Transfer: A Case Study in Multilingual Formality Transfercited by 25
- 2025Large Language Models Discriminate Against Speakers of German Dialectscited by 13
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Optimizing Retrieval-Augmented Generation (RAG) for Colloquial Cantonese: A LoRA-Based Systematic Review
- 2026DiaLLM: An Investigation into the Robustness-Generation Gap in English Dialect Adaptation
- 2025Language Drift in Multilingual Retrieval-Augmented Generation: Characterization and Decoding-Time Mitigation
- 2024Linguistics Theory Meets LLM: Code-Switched Text Generation via Equivalence Constrained Large Language Models
- 2025CLARITY: Contextual Linguistic Adaptation and Accent Retrieval for Dual-Bias Mitigation in Text-to-Speech Generation
- 2026Can Large Language Models Understand, Reason About, and Generate Code-Switched Text?
- 2024Can Code-Switched Texts Activate a Knowledge Switch in LLMs? A Case Study on English-Korean Code-Switching
- 2026OLA: Output Language Alignment in Code-Switched LLM Interactions