关键词与实例:一种统一混合粒度用于文本生成的层次对比学习框架
Keywords and Instances: A Hierarchical Contrastive Learning Framework Unifying Hybrid Granularities for Text Generation
AI总结:
本文提出一种层次对比学习框架,通过关键词图、实例级与关键词级内部对比及跨对比机制统一混合粒度语义,缓解曝光偏差,在改写、对话生成和故事讲述任务上超越基线模型。
摘要:
对比学习在生成任务中取得了显著成功,用于缓解“曝光偏差”问题,并有区别地利用不同质量的参考文本。现有工作大多只关注实例级别的对比学习,而没有区分每个词的贡献,而关键词是文本的要旨,主导着受约束的映射关系。因此,在本工作中,我们提出了一种层次对比学习机制,能够统一输入文本中混合粒度的语义含义。具体来说,我们首先通过正负样本对的对比相关性构建关键词图,以迭代地优化关键词表示。然后,我们在实例级别和关键词级别内构建内部对比,其中我们假设词是从句子分布中采样的节点。最后,为了弥合独立对比层次之间的差距并解决常见的对比消失问题,我们提出了一种跨对比机制,分别度量对比关键词节点相对于实例分布的差异。实验表明,我们的模型在改写、对话生成和故事讲述任务上优于竞争性基线。
英文摘要:
Contrastive learning has achieved impressive success in generation tasks to militate the "exposure bias" problem and discriminatively exploit the different quality of references. Existing works mostly focus on contrastive learning on the instance-level without discriminating the contribution of each word, while keywords are the gist of the text and dominant the constrained mapping relationships. Hence, in this work, we propose a hierarchical contrastive learning mechanism, which can unify hybrid granularities semantic meaning in the input text. Concretely, we first propose a keyword graph via contrastive correlations of positive-negative pairs to iteratively polish the keyword representations. Then, we construct intra-contrasts within instance-level and keyword-level, where we assume words are sampled nodes from a sentence distribution. Finally, to bridge the gap between independent contrast levels and tackle the common contrast vanishing problem, we propose an inter-contrast mechanism that measures the discrepancy between contrastive keyword nodes respectively to the instance distribution. Experiments demonstrate that our model outperforms competitive baselines on paraphrasing, dialogue generation, and storytelling tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。