用合成句子提升日语句子嵌入的领域适应能力
Domain Adaptation for Japanese Sentence Embeddings with Contrastive Learning based on Synthetic Sentence Generation
- 通过生成同结构异语义句子增强对比学习
- 在两个下游任务上显著提升日语嵌入效果
- 专为日语构建了首个语义相似度基准数据集
通用预训练模型可生成通用句子嵌入,但低资源语言如日语因缺乏大规模标注数据,领域适应困难。本文提出SDJC方法,利用数据生成器创建与目标领域未标注语料句式相同但语义不同的合成句子,用于强化对比学习,使骨干模型更准确地区分特定领域句子。此外,由于日语缺乏评测基准,研究者构建了一个综合英译日语及现有数据集的日本语语义文本相似度(STS)基准数据集。实验验证了SDJC在两项特定领域下游任务中的有效性,同时证明了新数据集的可用性。代码、数据集及适配后的模型已在GitHub公开:https://github.com/ccilab-doshisha/SDJC。
原文摘要 · Abstract (English)
Several backbone models pre-trained on general domain datasets can encode a sentence into a widely useful embedding. Such sentence embeddings can be further enhanced by domain adaptation that adapts a backbone model to a specific domain. However, domain adaptation for low-resource languages like Japanese is often difficult due to the scarcity of large-scale labeled datasets. To overcome this, this paper introduces SDJC (Self-supervised Domain adaptation for Japanese sentence embeddings with Contrastive learning) that utilizes a data generator to generate sentences, which have the same syntactic structure to a sentence in an unlabeled specific domain corpus but convey different semantic meanings. Generated sentences are then used to boost contrastive learning that adapts a backbone model to accurately discriminate sentences in the specific domain. In addition, the components of SDJC like a backbone model and a method to adapt it need to be carefully selected, but no benchmark dataset is available for Japanese. Thus, a comprehensive Japanese STS (Semantic Textual Similarity) benchmark dataset is constructed by combining datasets machine-translated from English with existing datasets. The experimental results validates the effectiveness of SDJC on two domain-specific downstream tasks as well as the usefulness of the constructed dataset. Datasets, codes and backbone models adapted by SDJC are available on our github repository https://github.com/ccilab-doshisha/SDJC.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。