arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.07132cs.HC
收藏

从标准英语到新加坡英语:一种检索增强的方法用于大型语言模型中的克里奥尔生成

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

National University of Singapore(新加坡国立大学)

Foong Ming Lai, Yujin Tan, Han Meng, Yi-Chieh Lee

AI总结:

本文提出一种检索增强生成框架,通过外部化方言知识实现受控的克里奥尔语言生成,无需微调,通过稀疏词法替换指导生成,实验表明其在自然度和语义保留方面表现优异。

摘要:

接触语言如新加坡英语(Singlish)中的语言转换挑战了自然语言生成,由于平行数据有限和词汇快速演变。我们提出一种检索增强生成(RAG)框架,将方言知识外部化为精选词典,实现受控的词汇转换而不进行微调。我们的方法检索候选Singlish表达并通过稀疏词汇替换指导生成。164名新加坡参与者的人类评估发现RAG和零样本提示同样自然且合适。自动分析揭示了不同的转换机制:零样本提示导致广泛的改写(中位数23个token编辑),而RAG进行最小替换(中位数1个编辑)并具有更高的语义保留(均值余弦相似度0.978 vs. 0.926)。我们的结果表明,将语言转换外部化为词汇资源可以实现控制和可审计性,而不牺牲感知质量,为快速演变的接触语言提供实用优势。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑