mlsanityData to 14 Oct 2026

From Standard English to Singlish: A Retrieval-Augmented Approach for Code-Switched Creole Generation in Large Language Models

arXiv 2605.07132 ↗First posted 8 May 2026cs.HCcited by 0

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

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  2. 2017Style Transfer in Text: Exploration and Evaluationcited by 146
  3. 2020GLUECoS : An Evaluation Benchmark for Code-Switched NLPcited by 102
  4. 2019Encode, Tag, Realize: High-Precision Text Editingcited by 99
  5. 2023Multilingual Large Language Models Are Not (Yet) Code-Switcherscited by 65
  6. 2023A Survey of Code-switching: Linguistic and Social Perspectives for Language Technologiescited by 59
  7. 2020Felix: Flexible Text Editing Through Tagging and Insertioncited by 58
  8. 2024Linguistic Bias in ChatGPT: Language Models Reinforce Dialect Discriminationcited by 56
  9. 2019Code-Switched Language Models Using Neural Based Synthetic Data from Parallel Sentencescited by 55
  10. 2021From Machine Translation to Code-Switching: Generating High-Quality Code-Switched Textcited by 29
  11. 2021Evaluating the Evaluation Metrics for Style Transfer: A Case Study in Multilingual Formality Transfercited by 25
  12. 2025Large Language Models Discriminate Against Speakers of German Dialectscited by 13
2 more
  1. 2017Universal Dependencies Parsing for Colloquial Singaporean Englishcited by 10
  2. 2025BanglAssist: A Bengali-English Generative AI Chatbot for Code-Switching and Dialect-Handling in Customer Servicecited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Optimizing Retrieval-Augmented Generation (RAG) for Colloquial Cantonese: A LoRA-Based Systematic Review
  2. 2026DiaLLM: An Investigation into the Robustness-Generation Gap in English Dialect Adaptation
  3. 2025Language Drift in Multilingual Retrieval-Augmented Generation: Characterization and Decoding-Time Mitigation
  4. 2024Linguistics Theory Meets LLM: Code-Switched Text Generation via Equivalence Constrained Large Language Models
  5. 2025CLARITY: Contextual Linguistic Adaptation and Accent Retrieval for Dual-Bias Mitigation in Text-to-Speech Generation
  6. 2026Can Large Language Models Understand, Reason About, and Generate Code-Switched Text?
  7. 2024Can Code-Switched Texts Activate a Knowledge Switch in LLMs? A Case Study on English-Korean Code-Switching
  8. 2026OLA: Output Language Alignment in Code-Switched LLM Interactions