Saved in:
Bibliographic Details
Main Authors: Zhang, Yingji, Carvalho, Danilo S., Freitas, André
Format: Preprint
Published: 2022
Subjects:
Online Access:https://arxiv.org/abs/2210.06230
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915367013580800
author Zhang, Yingji
Carvalho, Danilo S.
Freitas, André
author_facet Zhang, Yingji
Carvalho, Danilo S.
Freitas, André
contents Formal/symbolic semantics can provide canonical, rigid controllability and interpretability to sentence representations due to their \textit{localisation} or \textit{composition} property. How can we deliver such property to the current distributional sentence representations to control and interpret the generation of language models (LMs)? In this work, we theoretically frame the sentence semantics as the composition of \textit{semantic role - word content} features and propose the formal semantic geometry. To inject such geometry into Transformer-based LMs (i.e. GPT2), we deploy Transformer-based Variational AutoEncoder with a supervision approach, where the sentence generation can be manipulated and explained over low-dimensional latent Gaussian space. In addition, we propose a new probing algorithm to guide the movement of sentence vectors over such geometry. Experimental results reveal that the formal semantic geometry can potentially deliver better control and interpretation to sentence generation.
format Preprint
id arxiv_https___arxiv_org_abs_2210_06230
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle Quasi-symbolic Semantic Geometry over Transformer-based Variational AutoEncoder
Zhang, Yingji
Carvalho, Danilo S.
Freitas, André
Computation and Language
Artificial Intelligence
Formal/symbolic semantics can provide canonical, rigid controllability and interpretability to sentence representations due to their \textit{localisation} or \textit{composition} property. How can we deliver such property to the current distributional sentence representations to control and interpret the generation of language models (LMs)? In this work, we theoretically frame the sentence semantics as the composition of \textit{semantic role - word content} features and propose the formal semantic geometry. To inject such geometry into Transformer-based LMs (i.e. GPT2), we deploy Transformer-based Variational AutoEncoder with a supervision approach, where the sentence generation can be manipulated and explained over low-dimensional latent Gaussian space. In addition, we propose a new probing algorithm to guide the movement of sentence vectors over such geometry. Experimental results reveal that the formal semantic geometry can potentially deliver better control and interpretation to sentence generation.
title Quasi-symbolic Semantic Geometry over Transformer-based Variational AutoEncoder
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2210.06230