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

基于监督图对比的文本分类预训练

Supervised Graph Contrastive Pretraining for Text Classification

IIT Hyderabad(印度理工学院海得拉巴分校);Amazon(亚马逊)

Samujjwal Ghosh, Subhadeep Maji, Maunendra Sankar Desarkar

摘要:

文本分类的对比预训练技术在无监督环境中得到了大量研究。然而,通常来自与当前任务共享标签语义的相关任务的标记数据是可用的。我们假设,有效地使用这些标记的数据可以导致更好的概括当前任务。在本文中,我们提出了一种新的方法,有效地利用标记数据的相关任务与基于图的监督对比学习方法。我们制定了一个令牌图外推的监督信息从例子到令牌。我们的公式导致嵌入空间,其中具有高/低概率属于同一类的令牌彼此接近/远离。我们还开发了详细的理论见解,作为我们的方法的动机。在我们的实验与$13$数据集,我们表明我们的方法优于预训练方案的$2.5\%$,也是基于示例级对比学习的配方平均$1.8\%$。此外,我们展示了跨域的有效性,我们的方法在zero-shot设置由$3.91\%$平均。最后,我们还证明了我们的方法可以作为一个嘈杂的教师在知识蒸馏设置显着提高性能的Transformer为基础的模型在低标记的数据制度平均$4.57\%$。

英文摘要:

Contrastive pretraining techniques for text classification has been largely studied in an unsupervised setting. However, oftentimes labeled data from related tasks which share label semantics with current task is available. We hypothesize that using this labeled data effectively can lead to better generalization on current task. In this paper, we propose a novel way to effectively utilize labeled data from related tasks with a graph based supervised contrastive learning approach. We formulate a token-graph by extrapolating the supervised information from examples to tokens. Our formulation results in an embedding space where tokens with high/low probability of belonging to same class are near/further-away from one another. We also develop detailed theoretical insights which serve as a motivation for our method. In our experiments with $13$ datasets, we show our method outperforms pretraining schemes by $2.5\%$ and also example-level contrastive learning based formulation by $1.8\%$ on average. In addition, we show cross-domain effectiveness of our method in a zero-shot setting by $3.91\%$ on average. Lastly, we also demonstrate our method can be used as a noisy teacher in a knowledge distillation setting to significantly improve performance of transformer based models in low labeled data regime by $4.57\%$ on average.

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

↑