Disentangling continuous and discrete linguistic signals in transformer-based sentence embeddings

Vivi Nastase, Paola Merlo
12/18/2023
cs.CL

No confident code implementation found for this paper.

Abstract

Sentence and word embeddings encode structural and semantic information in a distributed manner. Part of the information encoded -- particularly lexical information -- can be seen as continuous, whereas other -- like structural information -- is most often discrete. We explore whether we can compress transformer-based sentence embeddings into a representation that separates different linguistic signals -- in particular, information relevant to subject-verb agreement and verb alternations. We show that by compressing an input sequence that shares a targeted phenomenon into the latent layer of a variational autoencoder-like system, the targeted linguistic information becomes more explicit. A latent layer with both discrete and continuous components captures better the targeted phenomena than a latent layer with only discrete or only continuous components. These experiments are a step towards separating linguistic signals from distributed text embeddings and linking them to more symbolic representations.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{nastase2023disentangling,
  title  = {Disentangling continuous and discrete linguistic signals in transformer-based sentence embeddings},
  author = {Vivi Nastase and Paola Merlo},
  year   = {2023},
  eprint = {2312.11272},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.11272v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.11272.svg)](https://codeofpaper.com/paper/2312.11272)

Discussion