paper-with-me

Papers

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

2021-04-11 · NAACL 2021 4 · James Y. Huang, Kuan-Hao Huang, Kai-Wei Chang

Pre-trained language models have achieved huge success on a wide range of NLP tasks. However, contextual representations from pre-trained models contain entangled semantic and syntactic information, and therefore cannot be directly used to derive useful semantic sentence embeddings for some tasks. Paraphrase pairs offer an effective way of learning the distinction between semantics and syntax, as they naturally share semantics and often vary in syntax. In this work, we present ParaBART, a semantic sentence embedding model that learns to disentangle semantics and syntax in sentence embeddings obtained by pre-trained language models. ParaBART is trained to perform syntax-guided paraphrasing, based on a source sentence that shares semantics with the target paraphrase, and a parse tree that specifies the target syntax. In this way, ParaBART learns disentangled semantic and syntactic representations from their respective inputs with separate encoders. Experiments in English show that ParaBART outperforms state-of-the-art sentence embedding models on unsupervised semantic similarity tasks. Additionally, we show that our approach can effectively remove syntactic information from semantic sentence embeddings, leading to better robustness against syntactic variation on downstream semantic tasks.

📄 PDF Abstract BibTeX arXiv:2104.05115

Code (1)

uclanlp/ParaBART 공식 구현 pytorch

Tasks

Semantic SimilaritySemantic Textual SimilaritySentenceSentence EmbeddingSentence-EmbeddingSentence Embeddings

Similar Papers 제목 키워드 기반

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

Breaking Down Word Semantics from Pre-trained Language Models through Layer-wise Dimension Selection

2023-10-08 · Nayoung Choi

Contextual word embeddings obtained from pre-trained language model (PLM) have proven effective for various natural language processing tasks at the word level. However, interpreting the hidden aspects within embeddings,…

Binary ClassificationLanguage ModelingLanguage ModellingRepresentation Learning+1

A Deep Decomposable Model for Disentangling Syntax and Semantics in Sentence Representation

2021-11-01 · Findings (EMNLP) 2021 11 · Dingcheng Li, Hongliang Fei, Shaogang Ren, Ping Li

Recently, disentanglement based on a generative adversarial network or a variational autoencoder has significantly advanced the performance of diverse applications in CV and NLP domains. Nevertheless, those models still …

DisentanglementGenerative Adversarial NetworkSemantic SimilaritySemantic Textual Similarity+1

Adversarial Training on Disentangling Meaning and Language Representations for Unsupervised Quality Estimation

2022-10-01 · COLING 2022 10 · Yuto Kuroda, Tomoyuki Kajiwara, Yuki Arase, Takashi Ninomiya

We propose a method to distill language-agnostic meaning embeddings from multilingual sentence encoders for unsupervised quality estimation of machine translation. Our method facilitates that the meaning embeddings focus…

Machine TranslationSentenceTranslation

Mitigating Semantic Leakage in Cross-lingual Embeddings via Orthogonality Constraint

2024-09-24 · Dayeon Ki, Cheonbok Park, Hyunjoong Kim

Accurately aligning contextual representations in cross-lingual sentence embeddings is key for effective parallel data mining. A common strategy for achieving this alignment involves disentangling semantics and language …

DisentanglementRepresentation LearningSemantic Textual SimilaritySentence+1