paper-with-me

홈 › Papers

Simple Techniques for Enhancing Sentence Embeddings in Generative Language Models

2024-04-05 · BoWen Zhang, Kehua Chang, Chunping Li

Sentence Embedding stands as a fundamental task within the realm of Natural Language Processing, finding extensive application in search engines, expert systems, and question-and-answer platforms. With the continuous evolution of large language models such as LLaMA and Mistral, research on sentence embedding has recently achieved notable breakthroughs. However, these advancements mainly pertain to fine-tuning scenarios, leaving explorations into computationally efficient direct inference methods for sentence representation in a nascent stage. This paper endeavors to bridge this research gap. Through comprehensive experimentation, we challenge the widely held belief in the necessity of an Explicit One-word Limitation for deriving sentence embeddings from Pre-trained Language Models (PLMs). We demonstrate that this approach, while beneficial for generative models under direct inference scenario, is not imperative for discriminative models or the fine-tuning of generative PLMs. This discovery sheds new light on the design of manual templates in future studies. Building upon this insight, we propose two innovative prompt engineering techniques capable of further enhancing the expressive power of PLMs' raw embeddings: Pretended Chain of Thought and Knowledge Enhancement. We confirm their effectiveness across various PLM types and provide a detailed exploration of the underlying factors contributing to their success.

📄 PDF Abstract BibTeX arXiv:2404.03921

Code (2)

zbwpro/pretcotandke 공식 구현 pytorch
ZBWpro/CSE-SFP pytorch

Tasks

Prompt EngineeringSentenceSentence EmbeddingSentence-EmbeddingSentence Embeddings

Methods 이 논문이 사용한 방법론

LLaMA LLaMA is a collection of foundation language models ranging from 7B to 65B parameters. It is based on the transformer architecture with various improvements that were…

Similar Papers 제목 키워드 기반

Towards Arabic Sentence Simplification via Classification and Generative Approaches

2022-04-20 · Nouran Khallaf, Serge Sharoff

This paper presents an attempt to build a Modern Standard Arabic (MSA) sentence-level simplification system. We experimented with sentence simplification using two approaches: (i) a classification approach leading to lex…

ClassificationLexical SimplificationSentenceWord Embeddings

Extracting Sentence Embeddings from Pretrained Transformer Models

2024-08-15 · Lukas Stankevičius, Mantas Lukoševičius

Pre-trained transformer models shine in many natural language processing tasks and therefore are expected to bear the representation of the input sentence or text meaning. These sentence-level embeddings are also importa…

ClusteringRetrieval-augmented GenerationSemantic Textual SimilaritySentence+6

Bag-of-Words Transfer: Non-Contextual Techniques for Multi-Task Learning

2019-11-01 · WS 2019 11 · Seth Ebner, Felicity Wang, Benjamin Van Durme

Many architectures for multi-task learning (MTL) have been proposed to take advantage of transfer among tasks, often involving complex models and training procedures. In this paper, we ask if the sentence-level represent…

Multi-Task LearningSentenceWord Embeddings

Unsupervised document summarization using pre-trained sentence embeddings and graph centrality

2021-06-01 · NAACL (sdp) 2021 6 · Juan Ramirez-Orta, Evangelos Milios

This paper describes our submission for the LongSumm task in SDP 2021. We propose a method for incorporating sentence embeddings produced by deep language models into extractive summarization techniques based on graph ce…

Abstractive Text SummarizationDocument SummarizationExtractive SummarizationSentence+1

Information Leakage of Sentence Embeddings via Generative Embedding Inversion Attacks

2025-04-23 · Antonios Tragoudaras, Theofanis Aslanidis, Emmanouil Georgios Lionis, Marina Orozco González 외

Text data are often encoded as dense vectors, known as embeddings, which capture semantic, syntactic, contextual, and domain-specific information. These embeddings, widely adopted in various applications, inherently cont…

SentenceSentence EmbeddingSentence-EmbeddingSentence Embeddings