基于参数高效LLM微调和往返翻译的文本风格迁移
RT-SFT: Text Style Transfer from Non-Parallel Corpora by Roundtrip Translation
AI总结:
本文提出基于参数高效LLM微调和往返翻译的文本风格迁移方法,通过合成平行语料库提升风格迁移效果,并结合RAG增强术语和名称知识的鲁棒性与一致性。
摘要:
本文提出了一种基于参数高效细调大型语言模型(LLM)的文本风格迁移(TST)新方法。针对平行语料库稀缺的问题,研究利用往返翻译从单语语料库中合成此类平行数据集。该方法创建了无风格属性的'中性'文本,在训练和推理时均采用共享的输入风格。实验结果表明,该方法在四个研究领域中,通过BLEU分数和风格准确性分数均优于零样本提示和少量样本ICL技术。此外,检索增强生成(RAG)的整合增强了术语和名称知识的鲁棒性和风格一致性。
英文摘要:
Text style transfer (TST) is naturally a supervised task - rewrite a sentence in a target style while preserving its meaning - yet the parallel corpora that supervision requires exist for only a handful of style domains. A common workaround is to *normalize* an input into a style-agnostic intermediate and then *stylize* it into the target style, but the normalizer is typically a lightweight, task-specific paraphraser applied only at test time, feeding a correspondingly small stylizer. We observe that a style-stripping normalizer already exists at scale: neural MT systems trained on hundreds of millions of general-domain sentence pairs preserve content while regressing toward generic phrasing, so roundtrip translation through a pivot language strips stylistic signal without any task-specific training. This turns normalization from an inference-time patch into a data-generation tool. Roundtrip-translating a monolingual in-style corpus yields a pseudo-parallel corpus on which we LoRA-finetune an instruction-tuned LLM as the stylizer (RT-SFT); applying the same normalizer to test queries keeps that stylizer in-distribution. We show that across four style domains, RT-SFT outperforms state-of-the-art methods, such as few-shot in-context learning, by considerable margins. We also report on effective retrieval augmentation methods for expert style domains with strict terminology and naming conventions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。