arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2406.09095cs.CL
收藏

面向文本生成的对比学习比较逻辑关系建模

Modeling Comparative Logical Relation with Contrastive Learning for Text Generation

East China Normal University(华东师范大学);Shanghai Institute of Artificial Intelligence for Education, ECNU(华东师范大学上海人工智能教育研究院);School of Computer Science and Technology, ECNU(华东师范大学计算机科学与技术学院);Xiaohongshu Inc(小红书公司);Alibaba Group(阿里巴巴集团)

Yuhao Dan, Junfeng Tian, Jie Zhou, Ming Yan, Ji Zhang, Qin Chen, Liang He

AI总结:

针对现有数据到文本生成忽略深层比较逻辑关系的问题,本文提出CLRG新任务与基于CoLo的对比学习生成方法,构建了CLRD数据集,实验证明该方法在自动和人工评估中均表现优异。

摘要:

数据到文本生成(Data-to-Text Generation, D2T)是经典的自然语言生成问题,旨在为表格等结构化输入数据生成流畅的描述。现有D2T研究主要聚焦于描述实体间的表层关联关系,却忽略了深层的比较逻辑关系——例如某实体在特定维度上优于另一实体且附带相应观点,这类关系在日常生活中十分常见。本文提出了一项名为比较逻辑关系生成(comparative logical relation generation, CLRG)的全新D2T任务。此外,我们提出了一种基于比较逻辑(Comparative Logic, CoLo)的文本生成方法,通过对比学习生成符合特定比较逻辑关系的文本。具体而言,我们首先通过对实体、维度和观点进行细粒度扰动,构建各类正负样本。随后,我们在编码器层开展对比学习以加深对比较逻辑关系的理解,并将该能力融入解码器层,引导模型正确生成对应关系。针对数据稀缺问题,我们构建了中文比较逻辑关系数据集(Chinese Comparative Logical Relation Dataset, CLRD),这是一个高质量的人工标注数据集,包含多实体描述及实体间比较逻辑关系标注,对文本生成任务具有挑战性。大量实验表明,我们的方法在自动评估和人工评估中均取得了优异性能。

英文摘要:

Data-to-Text Generation (D2T), a classic natural language generation problem, aims at producing fluent descriptions for structured input data, such as a table. Existing D2T works mainly focus on describing the superficial associative relations among entities, while ignoring the deep comparative logical relations, such as A is better than B in a certain aspect with a corresponding opinion, which is quite common in our daily life. In this paper, we introduce a new D2T task named comparative logical relation generation (CLRG). Additionally, we propose a Comparative Logic (CoLo) based text generation method, which generates texts following specific comparative logical relations with contrastive learning. Specifically, we first construct various positive and negative samples by fine-grained perturbations in entities, aspects and opinions. Then, we perform contrastive learning in the encoder layer to have a better understanding of the comparative logical relations, and integrate it in the decoder layer to guide the model to correctly generate the relations. Noting the data scarcity problem, we construct a Chinese Comparative Logical Relation Dataset (CLRD), which is a high-quality human-annotated dataset and challenging for text generation with descriptions of multiple entities and annotations on their comparative logical relations. Extensive experiments show that our method achieves impressive performance in both automatic and human evaluations.

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

↑