A Multi-Task Approach for Disentangling Syntax and Semantics in Sentence Representations

04/02/2019
by   Mingda Chen, et al.
0

We propose a generative model for a sentence that uses two latent variables, with one intended to represent the syntax of the sentence and the other to represent its semantics. We show we can achieve better disentanglement between semantic and syntactic representations by training with multiple losses, including losses that exploit aligned paraphrastic sentences and word-order information. We also investigate the effect of moving from bag-of-words to recurrent neural network modules. We evaluate our models as well as several popular pretrained embeddings on standard semantic similarity tasks and novel syntactic similarity tasks. Empirically, we find that the model with the best performing syntactic and semantic representations also gives rise to the most disentangled representations.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/11/2021

Disentangling Semantics and Syntax in Sentence Embeddings with Pre-trained Language Models

Pre-trained language models have achieved huge success on a wide range o...
research
05/12/2022

Exploiting Inductive Bias in Transformers for Unsupervised Disentanglement of Syntax and Semantics with VAEs

We propose a generative model for text generation, which exhibits disent...
research
06/20/2022

SynWMD: Syntax-aware Word Mover's Distance for Sentence Similarity Evaluation

Word Mover's Distance (WMD) computes the distance between words and mode...
research
01/21/2023

Syntax-guided Neural Module Distillation to Probe Compositionality in Sentence Embeddings

Past work probing compositionality in sentence embedding models faces is...
research
12/14/2022

ContraFeat: Contrasting Deep Features for Semantic Discovery

StyleGAN has shown strong potential for disentangled semantic control, t...
research
09/06/2019

Efficient Sentence Embedding using Discrete Cosine Transform

Vector averaging remains one of the most popular sentence embedding meth...
research
06/27/2019

Relating Simple Sentence Representations in Deep Neural Networks and the Brain

What is the relationship between sentence representations learned by dee...

Please sign up or login with your details

Forgot password? Click here to reset