arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.10056cs.CLcs.IR
收藏

生成以理解表示

Generate to Understand for Representation

Baidu Inc.(百度公司)

Changshang Xue, Xiande Zhong, Xiaoqing Liu

AI总结:

提出GUR预训练框架,结合语言建模与对比学习,利用无标签数据的最长公共子串选择相似对,在零样本检索中超越基线并保持语言建模能力。

摘要:

近年来,大量高质量的预训练模型涌现,极大地影响了自然语言理解(NLU)、自然语言生成(NLG)和文本表示任务。传统上,这些模型在定制领域语料库上进行预训练,并针对特定任务进行微调,导致与GPU使用和人工相关的高成本。不幸的是,语言建模的近期趋势已转向通过扩展规模来提升性能,进一步加剧了相关成本。\n\n我们引入GUR:一种预训练框架,在单次训练步骤中结合了语言建模和对比学习目标。我们基于原始无标签文档的最长公共子串(LCS)选择相似文本对,并使用掩码语言建模和无监督对比学习训练模型。由此产生的模型GUR,在没有任何标注训练数据的情况下取得了令人印象深刻的结果,在零样本设置下的召回基准中作为检索器超越了所有其他预训练基线。此外,我们的消融实验表明,GUR保持了其语言建模能力。我们的代码可在\url{https://github.com/laohur/GUR}获取。

英文摘要:

In recent years, a significant number of high-quality pretrained models have emerged, greatly impacting Natural Language Understanding (NLU), Natural Language Generation (NLG), and Text Representation tasks. Traditionally, these models are pretrained on custom domain corpora and finetuned for specific tasks, resulting in high costs related to GPU usage and labor. Unfortunately, recent trends in language modeling have shifted towards enhancing performance through scaling, further exacerbating the associated costs. Introducing GUR: a pretraining framework that combines language modeling and contrastive learning objectives in a single training step. We select similar text pairs based on their Longest Common Substring (LCS) from raw unlabeled documents and train the model using masked language modeling and unsupervised contrastive learning. The resulting model, GUR, achieves impressive results without any labeled training data, outperforming all other pretrained baselines as a retriever at the recall benchmark in a zero-shot setting. Additionally, GUR maintains its language modeling ability, as demonstrated in our ablation experiment. Our code is available at \url{https://github.com/laohur/GUR}.

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

↑