Saved in:
Bibliographic Details
Main Authors: Faille, Juliette, Gatt, Albert, Gardent, Claire
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2409.16707
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913517386334208
author Faille, Juliette
Gatt, Albert
Gardent, Claire
author_facet Faille, Juliette
Gatt, Albert
Gardent, Claire
contents In Natural Language Generation (NLG), important information is sometimes omitted in the output text. To better understand and analyse how this type of mistake arises, we focus on RDF-to-Text generation and explore two methods of probing omissions in the encoder output of BART (Lewis et al, 2020) and of T5 (Raffel et al, 2019): (i) a novel parameter-free probing method based on the computation of cosine similarity between embeddings of RDF graphs and of RDF graphs in which we removed some entities and (ii) a parametric probe which performs binary classification on the encoder embeddings to detect omitted entities. We also extend our analysis to distorted entities, i.e. entities that are not fully correctly mentioned in the generated text (e.g. misspelling of entity, wrong units of measurement). We found that both omitted and distorted entities can be probed in the encoder's output embeddings. This suggests that the encoder emits a weaker signal for these entities and therefore is responsible for some loss of information. This also shows that probing methods can be used to detect mistakes in the output of NLG models.
format Preprint
id arxiv_https___arxiv_org_abs_2409_16707
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Probing Omissions and Distortions in Transformer-based RDF-to-Text Models
Faille, Juliette
Gatt, Albert
Gardent, Claire
Computation and Language
In Natural Language Generation (NLG), important information is sometimes omitted in the output text. To better understand and analyse how this type of mistake arises, we focus on RDF-to-Text generation and explore two methods of probing omissions in the encoder output of BART (Lewis et al, 2020) and of T5 (Raffel et al, 2019): (i) a novel parameter-free probing method based on the computation of cosine similarity between embeddings of RDF graphs and of RDF graphs in which we removed some entities and (ii) a parametric probe which performs binary classification on the encoder embeddings to detect omitted entities. We also extend our analysis to distorted entities, i.e. entities that are not fully correctly mentioned in the generated text (e.g. misspelling of entity, wrong units of measurement). We found that both omitted and distorted entities can be probed in the encoder's output embeddings. This suggests that the encoder emits a weaker signal for these entities and therefore is responsible for some loss of information. This also shows that probing methods can be used to detect mistakes in the output of NLG models.
title Probing Omissions and Distortions in Transformer-based RDF-to-Text Models
topic Computation and Language
url https://arxiv.org/abs/2409.16707