paper-with-me

Papers

Learning with Contrastive Examples for Data-to-Text Generation

2020-12-01 · COLING 2020 8 · Yui Uehara, Tatsuya Ishigaki, Kasumi Aoki, Hiroshi Noji, Keiichi Goshima, Ichiro Kobayashi, Hiroya Takamura, Yusuke Miyao

Existing models for data-to-text tasks generate fluent but sometimes incorrect sentences e.g., {`}Nikkei gains{''} is generated when {}Nikkei drops{''} is expected. We investigate models trained on contrastive examples i.e., incorrect sentences or terms, in addition to correct ones to reduce such errors. We first create rules to produce contrastive examples from correct ones by replacing frequent crucial terms such as {}gain{''} or {`}drop{''}. We then use learning methods with several losses that exploit contrastive examples. Experiments on the market comment generation task show that 1) exploiting contrastive examples improves the capability of generating sentences with better lexical choice, without degrading the fluency, 2) the choice of the loss function is an important factor because the performances on different metrics depend on the types of loss functions, and 3) the use of the examples produced by some specific rules further improves performance. Human evaluation also supports the effectiveness of using contrastive examples.

📄 PDF Abstract BibTeX

Code (1)

aistairc/contrastive_data2text 공식 구현 pytorch

Tasks

Comment GenerationData-to-Text GenerationText Generation

Similar Papers 제목 키워드 기반

CoNT: Contrastive Neural Text Generation

2022-05-29 · Chenxin An, Jiangtao Feng, Kai Lv, Lingpeng Kong 외

Recently, contrastive learning attracts increasing interests in neural text generation as a new solution to alleviate the exposure bias problem. It introduces a sequence-level training signal which is crucial to generati…

Code Comment GenerationComment GenerationContrastive LearningData-to-Text Generation+3

Improving RAG for Personalization with Author Features and Contrastive Examples

2025-03-24 · Mert Yazan, Suzan Verberne, Frederik Situmeang

Personalization with retrieval-augmented generation (RAG) often fails to capture fine-grained features of authors, making it hard to identify their unique traits. To enrich the RAG context, we propose providing Large Lan…

RAGRetrieval-augmented GenerationText Generation

Contrastive Semantic Projection: Faithful Neuron Labeling with Contrastive Examples

2026-04-24 · Oussama Bouanani, Jim Berend, Wojciech Samek, Sebastian Lapuschkin 외 arxiv

Neuron labeling assigns textual descriptions to internal units of deep networks. Existing approaches typically rely on highly activating examples, often yielding broad or misleading labels by focusing on dominant but inc…

KACE: Generating Knowledge Aware Contrastive Explanations for Natural Language Inference

2021-08-01 · ACL 2021 5 · Qianglong Chen, Feng Ji, Xiangji Zeng, Feng-Lin Li 외

In order to better understand the reason behind model behaviors (i.e., making predictions), most recent works have exploited generative models to provide complementary explanations. However, existing approaches in NLP ma…

counterfactualLanguage ModellingNatural Language Inference

Contrastive Identification and Generation in the Limit

2026-05-07 · Xiaoyu Li, Andi Han, Jiaojiao Jiang, Junbin Gao arxiv

In the classical identification in the limit model of Gold [1967], a stream of positive examples is presented round by round, and the learner must eventually recover the target hypothesis. Recently, Kleinberg and Mullain…