Meta-Task Prompting Elicits Embedding from Large Language Models
Preprint
Abstract
In this work, we introduce a new unsupervised embedding method, Meta-Task Prompting with Explicit One-Word Limitation (MetaEOL), for generating high-quality sentence embeddings from Large Language Models (LLMs) without the need for model fine-tuning or task-specific engineering. Leveraging meta-task prompting, MetaEOL guides LLMs to produce embeddings through a series of carefully designed prompts that address multiple representational aspects. Our comprehensive experiments demonstrate that embeddings averaged from various meta-tasks yield competitive performance on Semantic Textual Similarity (STS) benchmarks and excel in downstream tasks, surpassing contrastive-trained models. Our findings suggest a new scaling law for embedding generation, offering a versatile, resource-efficient approach for embedding extraction across diverse sentence-centric scenarios.Keywords
All Related Versions
This publication has 17 references indexed in Scilit:
- Contrastive Learning of Sentence Embeddings from Scratch2023
- Task-aware Retrieval with Instructions2023
- PromptBERT: Improving BERT Sentence Embeddings with Prompts2022
- PCL: Peer-Contrastive Learning with Diverse Augmentations for Unsupervised Sentence Embeddings2022
- Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Tasks2022
- DiffCSE: Difference-based Contrastive Learning for Sentence Embeddings2022
- Cross-Task Generalization via Natural Language Crowdsourcing Instructions2022
- Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Models2022
- SimCSE: Simple Contrastive Learning of Sentence Embeddings2021
- SentiLARE: Sentiment-Aware Language Representation Learning with Linguistic Knowledge2020