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

大型语言模型实际上真的擅长文本风格转换吗?

Are Large Language Models Actually Good at Text Style Transfer?

Charles University(查理大学);University of Galway(戈尔韦大学)

Sourabrata Mukherjee, Atul Kr. Ojha, Ondřej Dušek

AI总结:

本文评估了大型语言模型在多语言文本风格转换任务中的表现,发现基于提示的方法在英语外表现一般,而参数高效微调能显著提升性能并媲美现有最优水平,凸显了专用数据集与专门模型的必要性。

摘要:

我们分析了大型语言模型(LLMs)在文本风格转换(TST)上的性能,特别关注英语、印地语和孟加拉语三种语言的情感转换和文本去毒。文本风格转换涉及修改文本的语言风格,同时保留其核心内容。我们使用零样本和少样本提示以及参数高效微调,在公开可用的数据集上评估了预训练LLMs的能力。我们使用自动指标、GPT-4和人工评估进行的评估表明,尽管一些基于提示的LLMs在英语中表现良好,但它们在其他语言(印地语、孟加拉语)上的表现仍属平庸。然而,与零样本和少样本提示相比,微调显著改善了结果,使其与先前的最先进水平相当。这强调了专用数据集和专门模型对于有效TST的必要性。

英文摘要:

We analyze the performance of large language models (LLMs) on Text Style Transfer (TST), specifically focusing on sentiment transfer and text detoxification across three languages: English, Hindi, and Bengali. Text Style Transfer involves modifying the linguistic style of a text while preserving its core content. We evaluate the capabilities of pre-trained LLMs using zero-shot and few-shot prompting as well as parameter-efficient finetuning on publicly available datasets. Our evaluation using automatic metrics, GPT-4 and human evaluations reveals that while some prompted LLMs perform well in English, their performance in on other languages (Hindi, Bengali) remains average. However, finetuning significantly improves results compared to zero-shot and few-shot prompting, making them comparable to previous state-of-the-art. This underscores the necessity of dedicated datasets and specialized models for effective TST.

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

↑