SOTAVerified

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

2019-04-02NAACL 2019Code Available0· sign in to hype

Mingda Chen, Qingming Tang, Sam Wiseman, Kevin Gimpel

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

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.

Tasks

Reproductions