paper-with-me

홈 › Papers

Are the Best Multilingual Document Embeddings simply Based on Sentence Embeddings?

2023-04-28 · Sonal Sannigrahi, Josef van Genabith, Cristina Espana-Bonet

Dense vector representations for textual data are crucial in modern NLP. Word embeddings and sentence embeddings estimated from raw texts are key in achieving state-of-the-art results in various tasks requiring semantic understanding. However, obtaining embeddings at the document level is challenging due to computational requirements and lack of appropriate data. Instead, most approaches fall back on computing document embeddings based on sentence representations. Although there exist architectures and models to encode documents fully, they are in general limited to English and few other high-resourced languages. In this work, we provide a systematic comparison of methods to produce document-level representations from sentences based on LASER, LaBSE, and Sentence BERT pre-trained multilingual models. We compare input token number truncation, sentence averaging as well as some simple windowing and in some cases new augmented and learnable approaches, on 3 multi- and cross-lingual tasks in 8 languages belonging to 3 different language families. Our task-based extrinsic evaluations show that, independently of the language, a clever combination of sentence embeddings is usually better than encoding the full document as a single unit, even when this is possible. We demonstrate that while a simple sentence average results in a strong baseline for classification tasks, more complex combinations are necessary for semantic tasks.

📄 PDF Abstract BibTeX arXiv:2304.14796

Code (1)

sonalsannigrahi/document_embeddings 공식 구현 pytorch

Tasks

SentenceSentence EmbeddingsWord Embeddings

Methods 이 논문이 사용한 방법론

Attention 설명 없음
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$…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Adam 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
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…
WordPiece 설명 없음
Weight Decay 설명 없음

Similar Papers 제목 키워드 기반

Hierarchical Document Encoder for Parallel Corpus Mining

2019-06-20 · WS 2019 8 · Mandy Guo, Yinfei Yang, Keith Stevens, Daniel Cer 외

We explore using multilingual document embeddings for nearest neighbor mining of parallel data. Three document-level representations are investigated: (i) document embeddings generated by simply averaging multilingual se…

Parallel Corpus MiningSentenceSentence EmbeddingSentence-Embedding+1

Exploiting Sentence Order in Document Alignment

2020-04-30 · EMNLP 2020 11 · Brian Thompson, Philipp Koehn

We present a simple document alignment method that incorporates sentence order information in both candidate generation and candidate re-scoring. Our method results in 61% relative reduction in error compared to the best…

Sentence

Improving Multilingual Sentence Embedding using Bi-directional Dual Encoder with Additive Margin Softmax

2019-02-22 · Yinfei Yang, Gustavo Hernandez Abrego, Steve Yuan, Mandy Guo 외

In this paper, we present an approach to learn multilingual sentence embeddings using a bi-directional dual-encoder with additive margin softmax. The embeddings are able to achieve state-of-the-art results on the United …

NMTRetrievalSentenceSentence Embedding+2

A Multi-task Approach to Learning Multilingual Representations

2018-07-01 · ACL 2018 7 · Karan Singla, Dogan Can, Shrikanth Narayanan

We present a novel multi-task modeling approach to learning multilingual distributed representations of text. Our system learns word and sentence embeddings jointly by training a multilingual skip-gram model together wit…

Cross-Lingual Document ClassificationDocument ClassificationGeneral ClassificationSentence+3

Lingua Custodi's participation at the WMT 2025 Terminology shared task

2025-10-20 · Jingshu Liu, Raheel Qader, Gaëtan Caillaut, Mariam Nakhlé arxiv

While BERT is an effective method for learning monolingual sentence embeddings for semantic similarity and embedding based transfer learning BERT based cross-lingual sentence embeddings have yet to be explored. We system…

Semantic SimilarityTransfer LearningText Retrieval