paper-with-me

홈 › Papers

Towards Unsupervised Content Disentanglement in Sentence Representations via Syntactic Roles

2022-06-22 · Ghazi Felhi, Joseph Le Roux, Djamé Seddah

Linking neural representations to linguistic factors is crucial in order to build and analyze NLP models interpretable by humans. Among these factors, syntactic roles (e.g. subjects, direct objects,$\dots$) and their realizations are essential markers since they can be understood as a decomposition of predicative structures and thus the meaning of sentences. Starting from a deep probabilistic generative model with attention, we measure the interaction between latent variables and realizations of syntactic roles and show that it is possible to obtain, without supervision, representations of sentences where different syntactic roles correspond to clearly identified different latent variables. The probabilistic model we propose is an Attention-Driven Variational Autoencoder (ADVAE). Drawing inspiration from Transformer-based machine translation models, ADVAEs enable the analysis of the interactions between latent variables and input tokens through attention. We also develop an evaluation protocol to measure disentanglement with regard to the realizations of syntactic roles. This protocol is based on attention maxima for the encoder and on latent variable perturbations for the decoder. Our experiments on raw English text from the SNLI dataset show that $\textit{i)}$ disentanglement of syntactic roles can be induced without supervision, $\textit{ii)}$ ADVAE separates syntactic roles better than classical sequence VAEs and Transformer VAEs, $\textit{iii)}$ realizations of syntactic roles can be separately modified in sentences by mere intervention on the associated latent variables. Our work constitutes a first step towards unsupervised controllable content generation. The code for our work is publicly available.

📄 PDF Abstract BibTeX arXiv:2206.11184

Code (1)

ghazi-f/advae 공식 구현 pytorch

Tasks

DecoderDisentanglementMachine TranslationSentence

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Position-Wise Feed-Forward Layer 설명 없음
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Multi-Head Attention 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…

Similar Papers 제목 키워드 기반

Learning Disentangled Representations for Natural Language Definitions

2022-09-22 · Danilo S. Carvalho, Giangiacomo Mercatali, Yingji Zhang, Andre Freitas

Disentangling the encodings of neural models is a fundamental aspect for improving interpretability, semantic control and downstream task performance in Natural Language Processing. Currently, most disentanglement method…

DisentanglementSentence

Learning Disentangled Representations in Natural Language Definitions with Semantic Role Labeling Supervision

2021-11-16 · ACL ARR November 2021 11 · Anonymous

Disentangling the encodings of neural models is a fundamental aspect for improving interpretability, semantic control and downstream task performance in Natural Language Processing. However, most disentanglement methods …

DisentanglementSemantic Role LabelingSentence

StyleFlow: Disentangle Latent Representations via Normalizing Flow for Unsupervised Text Style Transfer

2022-12-19 · Kangchen Zhu, Zhiliang Tian, Ruifeng Luo, Xiaoguang Mao

Text style transfer aims to alter the style of a sentence while preserving its content. Due to the lack of parallel corpora, most recent work focuses on unsupervised methods and often uses cycle construction to train mod…

Data AugmentationDecoderDisentanglementSentence+3

Unsupervised Distillation of Syntactic Information from Contextualized Word Representations

2020-10-11 · EMNLP (BlackboxNLP) 2020 11 · Shauli Ravfogel, Yanai Elazar, Jacob Goldberger, Yoav Goldberg

Contextualized word representations, such as ELMo and BERT, were shown to perform well on various semantic and syntactic tasks. In this work, we tackle the task of unsupervised disentanglement between semantics and struc…

DisentanglementMetric Learning

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

2019-04-02 · NAACL 2019 6 · Mingda Chen, Qingming Tang, Sam Wiseman, Kevin Gimpel

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 disentangleme…

DisentanglementSemantic SimilaritySemantic Textual SimilaritySentence